Skip to main content

List API Tokens

View all active API tokens using the list_api_tokens() method.

Example

Response Structure

list_api_tokens() returns a paginated object; the tokens are in items:
The response only includes token metadata — the full token value is returned once, at creation.

Usage Notes

  • Audit active tokens periodically and delete any you no longer use.
  • The id identifies a token; the token field is the key itself (sk-mira-...).
  • View per-token usage and analytics in the Mira Console.