SLO Service Public API reference

Management API for service-level objectives, templates and evaluating service-level objectives.

Access the Swagger documentation

You can create, edit, list, delete, and evaluate your SLOs via API.

  1. Go to Dynatrace.
  2. In the platform search, type API. In the search results, see Support resources section and Dynatrace API below it.
  3. Select Dynatrace API to access the Dynatrace API documentation. A new page opens with the Dynatrace API definitions.
  4. In the upper right corner, go to Select a definition.
  5. From the drop-down list, choose the endpoint.

Objective templates

To do this
Go to Objective templates and select this
List objective templates.
GET /objective-templates
Get an objective template by ID.
GET /objective-templates/{id}

Service-level objectives

To do this
Go to Service-level Objectives and select this
List service-level objectives.
GET /slos
Add a new service-level objective.
POST /slos
Get a service-level objective by ID.
GET /slos/{id}
Update a service-level objective by ID.
PUT /slos/{id}
Delete a service-level objective by ID.
DELETE /slos/{id}

Service-level objectives Evaluation

To do this
Go to Service-level objectives Evaluation and select this
Cancels the SLO evaluation and returns the result if the evaluation was already finished, otherwise discards it.
POST /slos/evaluation:cancel
Polls an SLO evaluation.
GET /slos/evaluation:cancel
Starts an SLO evaluation.
GET /slos/evaluation:start