API token endpoints
Retrieve API token
API token endpoints
Retrieve API token
Get API token by ID
GET
/
tokens
/
{id}
curl --request GET \
--url https://api.axiom.co/v2/tokens/{id} \
--header 'Authorization: Bearer <token>'
{
"datasetCapabilities": {},
"description": "<string>",
"expiresAt": "2023-11-07T05:31:56Z",
"id": "<string>",
"name": "<string>",
"orgCapabilities": {
"annotations": [
"create"
],
"apiTokens": [
"create"
],
"auditLog": [
"read"
],
"billing": [
"read"
],
"dashboards": [
"create"
],
"datasets": [
"create"
],
"endpoints": [
"create"
],
"flows": [
"create"
],
"integrations": [
"create"
],
"monitors": [
"create"
],
"notifiers": [
"create"
],
"rbac": [
"create"
],
"sharedAccessKeys": [
"read"
],
"users": [
"create"
]
}
}
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
Response
200 - application/json
Token
Data Management capability
Available options:
delete
Ingest capability
Available options:
create
Query capability
Available options:
read
Starred queries capability
Available options:
create
, read
, update
, delete
Data Trimming capability
Available options:
update
Field Vacuuming capability
Available options:
update
Virtual fields capability
Available options:
create
, read
, update
, delete
ID of the token
Name of the token
Annotations capability
Available options:
create
, read
, update
, delete
API tokens capability
Available options:
create
, read
, update
, delete
Audit Log capability
Available options:
read
Billing capability
Available options:
read
, update
Dashboards capability
Available options:
create
, read
, update
, delete
Datasets capability
Available options:
create
, read
, update
, delete
Endpoints capability
Available options:
create
, read
, update
, delete
Flows capability
Available options:
create
, read
, update
, delete
Integrations capability
Available options:
create
, read
, update
, delete
Monitors capability
Available options:
create
, read
, update
, delete
Notifiers capability
Available options:
create
, read
, update
, delete
Access control capability
Available options:
create
, read
, update
, delete
Shared access keys capability
Available options:
read
, update
Users capability
Available options:
create
, read
, update
, delete
Description of the token
Expiration date of the token (ISO 8601 format)
Was this page helpful?
curl --request GET \
--url https://api.axiom.co/v2/tokens/{id} \
--header 'Authorization: Bearer <token>'
{
"datasetCapabilities": {},
"description": "<string>",
"expiresAt": "2023-11-07T05:31:56Z",
"id": "<string>",
"name": "<string>",
"orgCapabilities": {
"annotations": [
"create"
],
"apiTokens": [
"create"
],
"auditLog": [
"read"
],
"billing": [
"read"
],
"dashboards": [
"create"
],
"datasets": [
"create"
],
"endpoints": [
"create"
],
"flows": [
"create"
],
"integrations": [
"create"
],
"monitors": [
"create"
],
"notifiers": [
"create"
],
"rbac": [
"create"
],
"sharedAccessKeys": [
"read"
],
"users": [
"create"
]
}
}