Tokens

List developer tokens

Returns all tokens with masked prefixes. Raw tokens are never returned after creation.

get/v1/tokens

Request

  • Base URL: http://localhost:9998
  • URL: http://localhost:9998/v1/tokens
  • Auth: HTTP bearer

Response

Array of masked tokens

idstring required
labelstring required
tokenPrefixstring required

Masked prefix for display (e.g. tp_a1b2c3d4...). The raw token is returned exactly once at creation time and never echoed back; subsequent reads expose only this prefix.

originsstring[] nullable
endpointConfigIdstring nullable

Per-token Anthropic-proxy binding. When set, requests authenticated with this token route to this EndpointConfig regardless of the global setting. Takes precedence over the global setting; overridden only by model: "toolpiper:tp-<id>" prefix on the request body.

createdAtstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.