Get the latest execution status of a monitoring configuration in Dynatrace Extensions 2.0 by extension name and configuration ID.
| GET | SaaS | https://{your-environment-id}.apps.dynatrace.com/platform/extensions/v2/extensions/{extension-name}/monitoring-configurations/{configuration-id}/status |
You provide the extension name and monitoring configuration ID in the path to retrieve the most recent execution status for one monitoring configuration. The operation returns a 200 success response with the status data.
To execute this request, you need a platform token or OAuth access token with extensions:configurations:read scope. To learn how to obtain and use it, see Tokens and authentication.
| Parameter | Type | Description | In | Required |
|---|---|---|---|---|
| extension-name | string | The name of the requested Extension 2.0. | path | Required |
| configuration-id | string | The ID of the requested monitoring configuration. | path | Required |
| Code | Type | Description |
|---|---|---|
| 200 | Extension | Success. |
| 4XX | Error | Client error. |
| 5XX | Error | Server error. |
ExtensionStatus object| Element | Type | Description |
|---|---|---|
| status | string | Latest status of given configuration. The element can hold these values
|
| timestamp | string | Timestamp of the latest status of given configuration. |
ErrorEnvelope object| Element | Type | Description |
|---|---|---|
| error | Error | - |
Error object| Element | Type | Description |
|---|---|---|
| code | integer | The HTTP status code. |
| details | Error | The error details. |
| message | string | The error message. |
ErrorDetails objectThe error details.
| Element | Type | Description |
|---|---|---|
| constraintViolations | Constraint | A list of constraint violations. |
ConstraintViolation objectA list of constraint violations.
| Element | Type | Description |
|---|---|---|
| location | string | - |
| message | string | - |
| parameterLocation | string | -The element can hold these values
|
| path | string | - |
{"status": "ERROR","timestamp": "string"}
{"error": {"code": 1,"details": {"constraintViolations": [{"location": "string","message": "string","parameterLocation": "HEADER","path": "string"}]},"message": "string"}}