Token Operations
List API Tokens
Retrieve all active API tokens
List API Tokens
View all active API tokens using the list_api_tokens()
method.
Example
Response Structure
Usage Notes
- Regular audit of active tokens recommended
- Check creation dates for token rotation
- Review token descriptions for accuracy
- Monitor token usage metrics in Mira Console
- API keys follow the format
sk-mira-****
Usage Metrics
View detailed usage metrics for each token in the Mira Console:
- Request volume over time
- Model usage distribution
- Cost analysis charts
- Usage patterns visualization
Access these metrics by visiting the API Keys Dashboard in your Mira Console.