{% extends "base.html" %} {% block title %}API Tokens - OpenRouter Monitor{% endblock %} {% block content %}
| Name | Status | Last Used | Created | Actions |
|---|---|---|---|---|
| {{ token.name }} | {% if token.is_active %} Active {% else %} Revoked {% endif %} | {{ token.last_used_at or 'Never' }} | {{ token.created_at }} | {% if token.is_active %} {% endif %} |
| No API tokens found. Generate your first token above. | ||||
Include your API token in the Authorization header:
Authorization: Bearer YOUR_API_TOKEN
Available endpoints:
GET /api/v1/stats - Get usage statisticsGET /api/v1/usage - Get detailed usage dataGET /api/v1/keys - List your API keys (metadata only)