Environment API

Basics

Endpoints

API Explorer

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

  • Latest Dynatrace Go to Access Tokens and then select the Dynatrace API Explorer link.
  • Previous DynatraceFrom the user menu, scroll down to Dynatrace API and select the API section you're interested in.

Alternatively, you can access the API Explorer via the direct link 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 OAuth 2.0 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 OAuth 2.0 token into the global Available authorizations dialog, you can unlock all related API endpoints.

Try out an API call

Once you've entered your OAuth 2.0 token, you can directly execute API calls within the API explorer. Just select Try it out to open the parameter section of the selected API endpoint, where you can enter additional parameters and modify the request payload before executing it by selecting Execute.