• Home
  • Dynatrace API
  • Environment
  • Extensions 2.0
  • Monitoring configurations
  • GET all monitoring configurations

Extensions 2.0 API - GET all monitoring configurations

Lists all monitoring configurations of the specified Extensions 2.0 extension.

The request produces an application/json payload.

GETManagedDynatrace for Governmenthttps://{your-domain}/e/{your-environment-id}/api/v2/extensions/{extensionName}/monitoringConfigurations
SaaShttps://{your-environment-id}.live.dynatrace.com/api/v2/extensions/{extensionName}/monitoringConfigurations
Environment ActiveGatehttps://{your-activegate-domain}/e/{your-environment-id}/api/v2/extensions/{extensionName}/monitoringConfigurations

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

ParameterTypeDescriptionInRequired
nextPageKeystring

The cursor for the next page of results. You can find it in the nextPageKey field of the previous response.

The first page is always returned if you don't specify the nextPageKey query parameter.

When the nextPageKey is set to obtain subsequent pages, you must omit all other query parameters.

queryoptional
pageSizeinteger

The amount of extensions in a single response payload.

The maximal allowed page size is 100.

If not set, 20 is used.

queryoptional
extensionNamestring

The name of the requested extension 2.0.

pathrequired
versionstring

Filters the resulting set of configurations by extension 2.0 version.

queryoptional
activeboolean

Filters the resulting set of configurations by the active state.

queryoptional

Response

Response codes

CodeTypeDescription
200ExtensionMonitoringConfigurationsList

Success

400ErrorEnvelope

Failed. The input is invalid.

404ErrorEnvelope

Failed. The requested resource doesn't exist.

Response body objects

The ExtensionMonitoringConfigurationsList object

ElementTypeDescription
itemsExtensionMonitoringConfiguration[]

A list of extension monitoring configurations.

totalCountinteger

The total number of entries in the result.

pageSizeinteger

The number of entries per page.

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.

The ExtensionMonitoringConfiguration object

ElementTypeDescription
objectIdstring

Configuration id

scopestring

Configuration scope

valueobject

Configuration

Response body JSON model

json
{ "items": [ { "objectId": "string", "scope": "string", "value": {} } ], "totalCount": 1, "pageSize": 1, "nextPageKey": "AQAAABQBAAAABQ==" }
Related topics
  • Extensions

    Learn about the extensions framework offered by Dynatrace.