Services API - GET baseline
Gets the baseline data of the specified service.
The request produces an application/json
payload.
GET | ManagedDynatrace for Government | https://{your-domain}/e/{your-environment-id}/api/v1/entity/services/{meIdentifier}/baseline |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/v1/entity/services/{meIdentifier}/baseline | |
Environment ActiveGate | https://{your-activegate-domain}/e/{your-environment-id}/api/v1/entity/services/{meIdentifier}/baseline |
Authentication
To execute this request, you need an access token with DataExport
scope.
To learn how to obtain and use it, see Tokens and authentication.
Parameters
Parameter | Type | Description | In | Required |
---|---|---|---|---|
meIdentifier | string | The Dynatrace entity ID of the required service. | path | required |
Response
Response codes
Code | Type | Description |
---|---|---|
200 | Service | Success |
Response body objects
The ServiceBaselineValues
object
The baseline data for a service and its children for the Response time duration metric.
Element | Type | Description |
---|---|---|
entityId | string | The ID of the service. |
displayName | string | The display name of the service. |
serviceResponseTimeBaselines | Entity | The baseline data for the Response time duration metric. |
The EntityBaselineData
object
The baseline data for a Dynatrace entity for a specific duration metric.
Element | Type | Description |
---|---|---|
entityId | string | The ID of the Dynatrace entity. |
displayName | string | The display name of the entity. |
errorRate | number | The error rate baseline. |
hasLoadBaseline | boolean | The entity has a load baseline ( |
microsMedian | number | The median baseline, in microseconds. |
micros90thPercentile | number | The 90th percentile baseline, in microseconds. |
childBaselines | Entity | The baseline data for child entities of this entity, for example a |
Response body JSON model
{
"entityId": "string",
"displayName": "string",
"serviceResponseTimeBaselines": [
{
"entityId": "string",
"displayName": "string",
"errorRate": 1,
"hasLoadBaseline": true,
"microsMedian": 1,
"micros90thPercentile": 1,
"childBaselines": [
{}
]
}
]
}