lumail.tokens.list
SDK 2.1.0 · API v2 · GET /api/v2/tokens
MethodGET
/api/v2/tokens[email protected] · lumail.tokens
tokens.list(): Promise<LumailResult<ListApiTokensResponse>>Secrets are last-4 only. The SDK takes no arguments and does not forward ?limit=. The HTTP route may still accept limit if you call it with fetch.
Parameters
No parameters.
Response Fields
| Field | Type | Description |
|---|---|---|
object | "list" | Discriminator. Always list. |
has_more | boolean | true when the HTTP limit slice hid more rows. The SDK never sends limit, so this is usually false. |
data | ApiTokenSummary[] | Tokens. Each row: id, name, last4, permissions, createdAt. |
data is { object, data, has_more }. Failures return { data: null, error: { name, message, statusCode } }.