Try it free

Get an objective template

  • Latest Dynatrace
  • Reference
  • Published Oct 13, 2026

Get an objective template by ID in Dynatrace with the SLO API and return the template details for the specified objective template ID.

GETSaaShttps://{your-environment-id}.apps.dynatrace.com/platform/slo/v1/objective-templates/{id}

Overview

You provide the objective template ID in the path to retrieve one template. The response returns a single objective template.

Authentication

To execute this request, you need a platform token or OAuth access token with one of the following scopes:

  • slo:objective-templates:read
  • slo:slos:read

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

Parameters

ParameterTypeDescriptionInRequired
idstring

objective template ID

pathRequired

Response

Response codes

CodeTypeDescription
200ObjectiveTemplateConfig

A single objective template

400--
401--
403--
404--
429--
5XX--

Response body objects

The ObjectiveTemplateConfig object

ElementTypeDescription
idstring-
versionstring

The version of the object for optimistic locking. You can use it to detect simultaneous modifications by different users.

It's generated upon retrieval (GET requests). If set on update (PUT request) or deletion, the update/deletion will be allowed only if there wasn't any change between the retrieval and the update.

builtInboolean-
deprecationDeprecation-

The Deprecation object

ElementTypeDescription
deprecatedboolean

True if this template is deprecated and shouldn't be used for new SLOs.

replacementTemplateIdstring

If deprecated=true, this field may contain the ID of the template to use instead.

Response body JSON models

{
"id": "string",
"version": "string",
"builtIn": false,
"deprecation": {
"deprecated": true,
"replacementTemplateId": "string"
}
}
Related tags
Platform APIDynatrace PlatformApplication Observability