Chronosphere supports only publicly documented API endpoints. Undocumented, private,
or experimental API endpoints might change without warning.
Create an API token
A service can access the Chronosphere API by authenticating with its API token. Many Chronosphere API requests require an unrestricted service account. For details, see Service accounts. A user with sufficient permissions can access the Chronosphere API by creating a temporary personal access token. For details, see Personal access tokens.Send requests
Send requests to your Chronosphere Observability Platform domain, which must include your Chronosphere API token in anAPI-Token HTTP header.
For example, you can pass the token and domain using environment variables to the
curl command:
TOKEN: Your API token.INSTANCE: The subdomain name for your organization’s Observability Platform instance.METHOD: The HTTP method to use with the request, such asGETorPOST.ENDPOINT_PATH: The specific endpoint you want to access.
Chronoctl also uses the environment variable
CHRONOSPHERE_API_TOKEN.Use an API token
You can use an API token to make HTTP API calls. For HTTP calls, use theAuthorization header with the Bearer token authentication
scheme.
For example, to use the API token to call the Query API with curl, run: