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}:9999/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 | ServiceBaselineValues | Success |
4XX | ErrorEnvelope | Client side error. |
5XX | ErrorEnvelope | Server side error. |
Response body objects
The ServiceBaselineValues
object
The baseline data for a service and its children for the Response time duration metric.
Element | Type | Description |
---|---|---|
displayName | string | The display name of the service. |
entityId | string | The ID of the service. |
serviceResponseTimeBaselines | EntityBaselineData[] | 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 |
---|---|---|
childBaselines | EntityBaselineData[] | The baseline data for child entities of this entity, for example a |
displayName | string | The display name of the entity. |
entityId | string | The ID of the Dynatrace entity. |
errorRate | number | The error rate baseline. |
hasLoadBaseline | boolean | The entity has a load baseline ( |
micros90thPercentile | number | The 90th percentile baseline, in microseconds. |
microsMedian | number | The median baseline, in microseconds. |
Response body JSON model
{"displayName": "string","entityId": "string","serviceResponseTimeBaselines": [{"childBaselines": [{}],"displayName": "string","entityId": "string","errorRate": 1,"hasLoadBaseline": true,"micros90thPercentile": 1,"microsMedian": 1}]}