List Tokens
List organization API tokens. Secrets are last-4 only.
MethodGET
/api/v2/tokensLists organization API tokens. Secrets are last-4 only. Permission: tokens.
SDK tokens.list() takes no args. HTTP accepts optional ?limit= to slice the list.
Query Parameters
| Name | Type | Description |
|---|---|---|
limit | integer | Optional slice. When the org has more tokens than limit, has_more is true. |
Response Fields
| Field | Type | Description |
|---|---|---|
object | "list" | Discriminator. Always list. |
has_more | boolean | true when limit truncated the list. |
data | array | Token summaries: id, name, last4, permissions, createdAt. |
Errors
| Status | name | When |
|---|---|---|
| 401 | missing_api_key | Missing or invalid bearer token |
| 403 | missing_permission | Token lacks the tokens permission |