Problems API v2 - GET problems details

Lists all details of the specified problem.

The request produces an application/json payload.

GETSaaShttps://{your-environment-id}.live.dynatrace.com/api/v2/problems/{problemId}
Environment ActiveGateCluster ActiveGatehttps://{your-activegate-domain}:9999/e/{your-environment-id}/api/v2/problems/{problemId}

Authentication

To execute this request, you need an access token with problems.read scope.

To learn how to obtain and use it, see Tokens and authentication.

Parameters

ParameterTypeDescriptionInRequired
problemIdstring

The ID of the required problem.

pathrequired
fieldsstring

A list of additional problem properties you can add to the response.

The following properties are available (all other properties are always included and you can't remove them from the response):

  • evidenceDetails: The details of the root cause.
  • impactAnalysis: The impact analysis of the problem on other entities/users.
  • recentComments: A list of the most recent comments to the problem.

To add properties, specify them as a comma-separated list (for example, evidenceDetails,impactAnalysis).

queryoptional

Response

Some JSON models vary depending on the type of the model. To find all the possible variations, refer to JSON models.

Response codes

CodeTypeDescription
200Problem

Success

4XXErrorEnvelope

Client side error.

5XXErrorEnvelope

Server side error.

Response body objects

The Problem object

The properties of a problem.

ElementTypeDescription
affectedEntitiesEntityStub[]

A list of all entities that are affected by the problem.

displayIdstring

The display ID of the problem.

endTimeinteger

The end timestamp of the problem, in UTC milliseconds.

Has -1 value, if the problem is still open.

entityTagsMETag[]

A list of all entity tags of the problem.

evidenceDetailsEvidenceDetails

The evidence details of a problem.

impactAnalysisImpactAnalysis

A list of all impacts of the problem.

impactLevelstring

The impact level of the problem. It shows what is affected by the problem.

  • APPLICATION
  • ENVIRONMENT
  • INFRASTRUCTURE
  • SERVICES
impactedEntitiesEntityStub[]

A list of all entities that are impacted by the problem.

k8s.cluster.namestring[]

The related Kubernetes cluster names.

k8s.cluster.uidstring[]

The related Kubernetes cluster UIDs.

k8s.namespace.namestring[]

The related Kubernetes namespace names.

linkedProblemInfoLinkedProblem

The properties of the linked problem.

managementZonesManagementZone[]

A list of all management zones that the problem belongs to.

problemFiltersAlertingProfileStub[]

A list of alerting profiles that match the problem.

problemIdstring

The ID of the problem.

recentCommentsCommentsList

A list of comments.

rootCauseEntityEntityStub

A short representation of a monitored entity.

severityLevelstring

The severity of the problem.

  • AVAILABILITY
  • CUSTOM_ALERT
  • ERROR
  • INFO
  • MONITORING_UNAVAILABLE
  • PERFORMANCE
  • RESOURCE_CONTENTION
startTimeinteger

The start timestamp of the problem, in UTC milliseconds.

statusstring

The status of the problem.

  • CLOSED
  • OPEN
titlestring

The name of the problem, displayed in the UI.

The EntityStub object

A short representation of a monitored entity.

ElementTypeDescription
entityIdEntityId

A short representation of a monitored entity.

namestring

The name of the entity.

Not included in the response in case no entity with the relevant ID was found.

The EntityId object

A short representation of a monitored entity.

ElementTypeDescription
idstring

The ID of the entity.

typestring

The type of the entity.

The METag object

The tag of a monitored entity.

ElementTypeDescription
contextstring

The origin of the tag, such as AWS or Cloud Foundry.

Custom tags use the CONTEXTLESS value.

keystring

The key of the tag.

stringRepresentationstring

The string representation of the tag.

valuestring

The value of the tag.

The EvidenceDetails object

The evidence details of a problem.

ElementTypeDescription
detailsEvidence[]

A list of all evidence.

totalCountinteger

The total number of evidence of a problem.

The Evidence object

An evidence of a root cause.

The actual set of fields depends on the type of the evidence. Find the list of actual objects in the description of the evidenceType field or see Problems API v2 - JSON models.

ElementTypeDescription
displayNamestring

The display name of the evidence.

entityEntityStub

A short representation of a monitored entity.

evidenceTypestring

Defines the actual set of fields depending on the value. See one of the following objects:

  • EVENT -> EventEvidence
  • METRIC -> MetricEvidence
  • TRANSACTIONAL -> TransactionalEvidence
  • MAINTENANCE_WINDOW -> MaintenanceWindowEvidence
  • AVAILABILITY_EVIDENCE -> AvailabilityEvidence
  • AVAILABILITY_EVIDENCE
  • EVENT
  • MAINTENANCE_WINDOW
  • METRIC
  • TRANSACTIONAL
groupingEntityEntityStub

A short representation of a monitored entity.

rootCauseRelevantboolean

The evidence is (true) or is not (false) a part of the root cause.

startTimeinteger

The start time of the evidence, in UTC milliseconds.

The ImpactAnalysis object

A list of all impacts of the problem.

ElementTypeDescription
impactsImpact[]

A list of all impacts of the problem.

The Impact object

The impact analysis of the problem on other entities/users.

The actual set of fields depends on the type of the impact. Find the list of actual objects in the description of the impactType field or see Problems API v2 - JSON models.

ElementTypeDescription
estimatedAffectedUsersinteger

The estimated number of affected users.

impactTypestring

Defines the actual set of fields depending on the value. See one of the following objects:

  • SERVICE -> ServiceImpact
  • APPLICATION -> ApplicationImpact
  • MOBILE -> MobileImpact
  • CUSTOM_APPLICATION -> CustomApplicationImpact
  • APPLICATION
  • CUSTOM_APPLICATION
  • MOBILE
  • SERVICE
impactedEntityEntityStub

A short representation of a monitored entity.

The LinkedProblem object

The properties of the linked problem.

ElementTypeDescription
displayIdstring

The display ID of the problem.

problemIdstring

The ID of the problem.

The ManagementZone object

A short representation of a management zone.

ElementTypeDescription
idstring

The ID of the management zone.

namestring

The name of the management zone.

The AlertingProfileStub object

Short representation of the alerting profile.

ElementTypeDescription
idstring

The ID of the alerting profile.

namestring

The name of the alerting profile.

The CommentsList object

A list of comments.

ElementTypeDescription
commentsComment[]

The result entries.

nextPageKeystring

The cursor for the next page of results. Has the value of null on the last page.

Use it in the nextPageKey query parameter to obtain subsequent pages of the result.

pageSizeinteger

The number of entries per page.

totalCountinteger

The total number of entries in the result.

The Comment object

The comment to a problem.

ElementTypeDescription
authorNamestring

The user who wrote the comment.

contentstring

The text of the comment.

contextstring

The context of the comment.

createdAtTimestampinteger

The timestamp of comment creation, in UTC milliseconds.

idstring

The ID of the comment.

Response body JSON model

{
"affectedEntities": [
{
"entityId": {
"id": "string",
"type": "string"
},
"name": "string"
}
],
"displayId": "string",
"endTime": 1,
"entityTags": [
{
"context": "string",
"key": "string",
"stringRepresentation": "string",
"value": "string"
}
],
"evidenceDetails": {
"details": [
{
"displayName": "string",
"entity": {},
"evidenceType": "AVAILABILITY_EVIDENCE",
"groupingEntity": {},
"rootCauseRelevant": true,
"startTime": 1
}
],
"totalCount": 1
},
"impactAnalysis": {
"impacts": [
{
"estimatedAffectedUsers": 1,
"impactType": "APPLICATION",
"impactedEntity": {}
}
]
},
"impactLevel": "APPLICATION",
"impactedEntities": [
{}
],
"k8s.cluster.name": [
"string"
],
"k8s.cluster.uid": [
"string"
],
"k8s.namespace.name": [
"string"
],
"linkedProblemInfo": {
"displayId": "string",
"problemId": "string"
},
"managementZones": [
{
"id": "string",
"name": "string"
}
],
"problemFilters": [
{
"id": "string",
"name": "string"
}
],
"problemId": "string",
"recentComments": {
"comments": [
{
"authorName": "string",
"content": "string",
"context": "string",
"createdAtTimestamp": 1,
"id": "string"
}
],
"nextPageKey": "AQAAABQBAAAABQ==",
"pageSize": 1,
"totalCount": 1
},
"rootCauseEntity": {},
"severityLevel": "AVAILABILITY",
"startTime": 1,
"status": "CLOSED",
"title": "string"
}