Instana REST API

By using the Instana REST API, you can retrieve traces, metrics, and configuration data, such as service extraction and user management. For more information, see Instana REST API docs.

Tokens

To use the web REST API, you need to create an API token and assign permissions. To create an API token, use either of the following ways, of which each requires a different permission.

Unit-specific API tokens

To configure unit-specific API tokens by assigning varying permissions, click Settings > Team Settings > API Tokens on the API Tokens page in the Instana UI.

To create or view API tokens, you must have the API token configuration permission that is assigned through an Instana group. Unit-specific tokens can be seen and modified by anyone with the correct permission.

Personal API tokens

To create Personal API tokens, which require only a name to be set, click Settings > User Settings > Personal API Tokens.

Personal API tokens inherit the permission of the creating user. If an Instana user has the user management permission, then so does the personal API token of the user who created it. Users need the Personal API token permission to use this feature.

Personal API tokens can be used when individual accountability and traceability are important or when you do not want your own API tokens to be displayed to other users.

Instana web REST API examples