Try it free

List objective templates

  • Latest Dynatrace
  • Reference
  • Published Oct 13, 2026

List objective templates in Dynatrace with the SLO API, using page, filter, and sort parameters to page and refine results.

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

Overview

You use page-size, page, page-key, filter, and sort to control which objective templates appear and how they are ordered. The response returns a paged array of objective templates.

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
page-sizeinteger

How many items to return at one time (max 500)

queryOptional
pageinteger

The page number to retrieve, 1-indexed. Can't be used together with page-key.

queryOptional
page-keystring

Cursor for the next page of results, obtained from nextPageKey in the previous response. Can't be used together with page.

queryOptional
filterstring

The filter parameter, as explained here.

Filtering is supported on the following fields:

  • id
  • name
  • builtIn
  • deprecated
  • applicableScope
  • tag.key and tag.value
queryOptional
sortstring

The sort parameter, as explained here.

Sorting is supported on the following fields:

  • name
queryOptional

Response

Response codes

CodeTypeDescription
200ObjectiveTemplateList

A paged array of objective templates

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

Response body objects

The ObjectiveTemplateList object

ElementTypeDescription
totalCountinteger

The total number of entries in the result.

nextPageKeystring

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

Use it in the page-key query parameter to obtain subsequent pages of the result.

itemsObjectiveTemplate[]-

The ObjectiveTemplate object

The ObjectiveTemplateConfig object

ElementTypeDescription
namestring-
descriptionstring-
indicatorstring-
variablesTemplateVariable[]-
tagsstring[]

A list of tags for this objective template. Tags can be plain strings (e.g. myTag) or key-value pairs separated by a colon (e.g. Stage:DEV). To include a literal colon in a tag, escape it with a backslash (e.g. key\:value).

applicableScopeTemplateScope-
The element can hold these values
  • ALL
  • SERVICE
  • HOST
  • APPLICATION
  • CLOUD_APPLICATION
  • KUBERNETES_CLUSTER
  • CLOUD_APPLICATION_NAMESPACE
externalIdstring

An optional user-provided external identifier for the objective template. Must be unique across all objective templates.

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

{
"totalCount": 1,
"nextPageKey": "string",
"items": [
{
"id": "string",
"version": "string",
"builtIn": false,
"deprecation": {
"deprecated": true,
"replacementTemplateId": "string"
}
}
]
}
Related tags
Platform APIDynatrace PlatformApplication Observability