api_tokens.read.
[
{
"id": "3KE5hOsEc3lMC9qr9RWnPn0pqWF",
"prefix": "l2XcQd8UoQzK3pLm",
"name": "grafana-readonly",
"role_id": "<viewer-role-id>",
"role_key": "viewer",
"role_name": "Viewer",
"token_kind": "personal",
"application_id": null,
"service_account_id": null,
"expires_at_micros": 1798000000000000,
"last_used_at_micros": null,
"revoked": false,
"created_at_micros": 1790000000000000
}
]
Authentication
List API tokens
List the metadata of every API token in the organization.
[
{
"id": "3KE5hOsEc3lMC9qr9RWnPn0pqWF",
"prefix": "l2XcQd8UoQzK3pLm",
"name": "grafana-readonly",
"role_id": "<viewer-role-id>",
"role_key": "viewer",
"role_name": "Viewer",
"token_kind": "personal",
"application_id": null,
"service_account_id": null,
"expires_at_micros": 1798000000000000,
"last_used_at_micros": null,
"revoked": false,
"created_at_micros": 1790000000000000
}
]
Last modified on October 9, 2026