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 are there with the GET problem status call.
  2. Gain high-level details of open problems with the GET problems feed call.
  3. Once you found the problem you want to dig into, fetch the detailed information about it from the GET problem details call.
  4. Additionally you can manage comments to a problem.

GET problem status

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

The request produces an application/json payload.

GET
  • Managed https://{your-domain}/e/{your-environment-id}/api/v1/problem/status
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/v1/problem/status

GET problems feed

Lists the problems observed by Dynatrace during a relative period of time, along with their details.

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.

GET
  • Managed https://{your-domain}/e/{your-environment-id}/api/v1/problem/feed
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/v1/problem/feed

GET problem details

Lists all details of the specified problem.

The request produces an application/json payload.

GET
  • Managed https://{your-domain}/e/{your-environment-id}/api/v1/problem/details/{problemId}
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/v1/problem/details/{problemId}

Comments to problems

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