Annotation endpoints
API token endpoints
Dataset endpoints
Monitor endpoints
Notifier endpoints
Organization endpoints
Role-based access control endpoints
Starred queries endpoints
User endpoints
API token endpoints
Retrieve API token
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"
],
"views": [
"create"
]
},
"samlAuthenticated": true,
"viewCapabilities": {}
}
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
Response
200 - application/json
Token
The response is of type object
.
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"
],
"views": [
"create"
]
},
"samlAuthenticated": true,
"viewCapabilities": {}
}