This API is deprecated. Use the Problems API v2 instead.
Gets the count of problems in your environment and their distribution by impact level.
The request produces an application/json payload.
| GET | SaaS | https://{your-environment-id}.live.dynatrace.com/api/v1/problem/status |
| GET | Environment ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v1/problem/status |
To execute this request, you need an access token with DataExport scope.
To learn how to obtain and use it, see Tokens and authentication.
The request doesn't provide any configurable parameters.
| Code | Type | Description |
|---|---|---|
| 200 | Problem | Success |
| 4XX | Error | Client side error. |
| 5XX | Error | Server side error. |
ProblemStatusResultWrapper object| Element | Type | Description |
|---|---|---|
| result | Global | The count of open problems in your environment. |
GlobalProblemStatus objectThe count of open problems in your environment.
| Element | Type | Description |
|---|---|---|
| openProblemCounts | object | Numbers of open problems per impact level. |
| totalOpenProblemsCount | integer | The total number of open problems in your environment. |
ErrorEnvelope object| Element | Type | Description |
|---|---|---|
| error | Error | - |
Error object| Element | Type | Description |
|---|---|---|
| code | integer | The HTTP status code |
| constraintViolations | Constraint | A list of constraint violations |
| message | string | The error message |
ConstraintViolation objectA list of constraint violations
| Element | Type | Description |
|---|---|---|
| location | string | - |
| message | string | - |
| parameterLocation | string | -The element can hold these values
|
| path | string | - |
{"result": {"openProblemCounts": {"APPLICATION": 1,"ENVIRONMENT": 1,"INFRASTRUCTURE": 1,"SERVICE": 1},"totalOpenProblemsCount": 1}}
{"error": {"code": 1,"constraintViolations": [{"location": "string","message": "string","parameterLocation": "HEADER","path": "string"}],"message": "string"}}
In this example, the request gets the number of problems in an environment.
The API token is passed in the Authorization header.
The response shows there are 34 problems detected:
curl -X GET \https://mySampleEnv.live.dynatrace.com/api/v1/problem/status \-H 'Authorization: Api-Token dt0c01.abc123.abcdefjhij1234567890'
https://mySampleEnv.live.dynatrace.com/api/v1/problem/status
{"result": {"totalOpenProblemsCount": 34,"openProblemCounts": {"INFRASTRUCTURE": 4,"SERVICE": 0,"APPLICATION": 30,"ENVIRONMENT": 0}}}
200