Retrieve API token
Retrieves an active API token by ID. The response doesn't include the token's secret value.
Parameters
| Property | Type | Location | Description |
|---|---|---|---|
id | stringRequired | path |
Request
Try itRun this request against your Axiom organization
Credentials stay in this browser tab and are only sent to Axiom when you run the request.
Response
200API token.404API token not found or expired.| Property | Type | Description |
|---|---|---|
api | string | When the token was last used on an API other than ingest |
audit | string | Audit identity of the token |
dataset | objectRequired | |
description | string | Description of the token |
expires | string | Expiration date of the token (ISO 8601 format) |
id | stringRequired | ID of the token |
ingest | string | When the token was last used to ingest |
name | stringRequired | Name of the token |
org | objectRequired | |
annotations | string[] | Annotations capability |
api | string[] | API tokens capability |
audit | string[] | Audit Log capability |
billing | string[] | Billing capability |
dashboards | string[] | Dashboards capability |
datasets | string[] | Datasets capability |
endpoints | string[] | Endpoints capability |
integrations | string[] | Integrations capability |
labels | string[] | Labels capability |
monitors | string[] | Monitors capability |
notifiers | string[] | Notifiers capability |
rbac | string[] | Access control capability |
shared | string[] | Shared access keys capability |
users | string[] | Users capability |
views | string[] | Views capability |
saml | boolean | |
view | object |