Dynatrace API

Use the Dynatrace API to automate your monitoring tasks and export different types of data into your third-party reporting and analysis tools. API communication ensures safety by using secured communication via the HTTPS protocol.

Basics

Endpoints

API Explorer

You can access all Dynatrace API endpoints using the API Explorer.

  1. Select Settings in the navigation menu.
  2. Go to Integration > Dynatrace API.
  3. Click the Dynatrace API Explorer link at the top of the page.

Alternatively you can access the API via direct link:

  • Managed https://{your-domain}/e/{your-environment-id}/rest-api-doc/
  • SaaS https://{your-environment-id}.live.dynatrace.com/rest-api-doc/

Authentication in the API Explorer

Select the lock Lock icon next to any end point to display information about the API tokens that secure that endpoint. Each endpoint requires a specific token type.

You can also unlock all endpoints by selecting Authorize. In the displayed dialog, you can then see which token permissions are necessary for each API endpoint. By entering your API token into the global Available authorizations dialog, you can unlock all related API endpoints.

Try out an API call

Once you've entered your API token, you can directly execute API calls within the API explorer. A click on the Try it out button opens the parameter section of the selected API endpoint, where you can enter additional parameters and modify the request payload before executing it by clicking the Execute button.