Extensions 2.0 API - GET the status of a monitoring configuration

Gets the most recent execution of a monitoring configuration.

The request produces an application/json payload.

GETSaaShttps://{your-environment-id}.live.dynatrace.com/api/v2/extensions/{extensionName}/monitoringConfigurations/{configurationId}/status
Environment ActiveGateCluster ActiveGatehttps://{your-activegate-domain}:9999/e/{your-environment-id}/api/v2/extensions/{extensionName}/monitoringConfigurations/{configurationId}/status

Authentication

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

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

Parameters

Parameter
Type
Description
In
Required
extensionName
string

The name of the requested extension 2.0.

path
required
configurationId
string

The ID of the requested monitoring configuration.

path
required

Response

Response codes

Code
Type
Description
404

Failed. The requested resource doesn't exist.

4XX

Client side error.

5XX

Server side error.

Response body objects

The ExtensionStatusDto object

Element
Type
Description
status
string

Latest status of given configuration.

  • ERROR
  • OK
  • UNKNOWN
timestamp
integer

Timestamp of the latest status of given configuration.

Response body JSON model

{
"status": "ERROR",
"timestamp": 1
}