Read API token metadata
api_token_getRetrieve API token metadata—owner, name, restrictions, and creation, usage, and expiry timestamps—without exposing the bearer secret. Use the token ID from the token list to inspect a credential.
Instructions
Read API token metadata
Returns the selected credential’s owner, name, restrictions and creation, usage and expiry timestamps, never its bearer secret or hash. Use api_tokens_list for IDs; missing records return 404 and other owners require global read permission.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"token": "<token>"
},
"name": "api_token_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | Opaque credential ID from api_tokens_list, api_token_get or api_token_create, passed verbatim as a 1–128 character string; not the display name or kk_-prefixed bearer secret. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| owner | Yes | ||
| prefix | Yes | ||
| createdAt | Yes | ||
| expiresAt | No | ||
| lastUsedAt | No | ||
| operationId | No | ||
| restrictions | No |