Problems API

The Problems API delivers details about problems that Dynatrace detects within your environment. The returned list of problems is identical to that shown in the Dynatrace UI and within the Dynatrace mobile app. A single problem typically contains summary information, impact analysis, and a list of any events that are correlated with the problem.

The following example is a typical sequence of API calls to the Problems API.

  1. Find out how many open problems there are with the GET problem status call.
  2. Gain high-level details of open problems with the GET problems feed call.
  3. When you find a problem you want to investigate, fetch details about it with the GET problem details call.
  4. You can also manage comments on a problem.

GET problem status

Gets the count of problems in your environment and their distribution by impact level.

The request produces an application/json payload.

  • Managed https://{your-domain}/e/{your-environment-id}/api/v1/problem/status
  • SaaS https://{your-environment-id}

GET problems feed

Lists the problems (and their details) observed by Dynatrace during a relative period of time.

Keep in mind that a complete list could be very long. You can narrow down the output by specifying filtering criteria—see the Parameters expandable section.

The request produces an application/json payload.

  • Managed https://{your-domain}/e/{your-environment-id}/api/v1/problem/feed
  • SaaS https://{your-environment-id}

GET problem details

Lists all details of the specified problem.

The request produces an application/json payload.

  • Managed https://{your-domain}/e/{your-environment-id}/api/v1/problem/details/{problemId}
  • SaaS https://{your-environment-id}{problemId}

Comments to problems

By attaching comments to detected problems, you can share insights related to remediation actions or additional information about possible root causes. You can: