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
Anonymization
Audit logs
Business Events
Cluster information
Credential vault
Custom tags
Extensions 2.0
Hub capabilities
Log Monitoring
Metrics
Version 1
Version 2
Monitored entities
Network zones
OneAgent on a host
Problems
Releases
Settings
Tokens
Conditional naming
Data privacy
Dashboards
Remote environments
Reports
User management
View and manage Dynatrace users in your account.
Group management
View and manage user groups in your account.
Permission management
Manage user permissions in your account.
Policy management
Manage access policies in your account.
Environment management
View monitoring environments of your Dynatrace account.
Dynatrace Platform Subscription
View your Dynatrace Platform Subscription and how it is used.
Reference data
View the reference info about your account.
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 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.
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 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.
You can access all Dynatrace API endpoints using the API Explorer.
- Go to Account Management. If you have more than one account, select the account you want to manage.
- On the top navigation bar, go to Identity & access management > OAuth clients.
- In the upper-right corner of the page, select Account Management API.
Authentication in the API Explorer
Select the 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.