Skip to main content

API Tokens

API tokens (Bearer tokens) enable programmatic access to Netdata resources. These tokens authenticate and authorize API requests, allowing you to interact with Netdata services securely from external applications, scripts, or integrations.

Important: API tokens never expire but should be managed carefully as they grant access to your Netdata resources.

Token Generation

Location:

Access token management through the Netdata UI:

  1. Click your profile picture in the bottom-left corner
  2. Select "User Settings"
  3. Navigate to the API Tokens section

Available Scopes:

Each token can be limited to specific scopes that define its access permissions:

ScopeDescription
scope:allGrants the same permissions as the user who created the token. Use case: Terraform provider integration.
scope:agent-uiUsed by Agent for accessing the Cloud UI
scope:grafana-pluginUsed for the Netdata Grafana plugin to access Netdata charts

Info

Currently, Netdata Cloud is not exposing the stable API.

Example usage

get the Netdata Cloud space list

curl -H 'Accept: application/json' -H "Authorization: Bearer <token>" https://app.netdata.cloud/api/v2/spaces

Do you have any feedback for this page? If so, you can open a new issue on our netdata/learn repository.