{% extends "layouts/base.html" %} {% block main_content %}
Manage your API access tokens for programmatic access
These tokens allow you to access the API programmatically
Created {{ token.created_at }} {% if token.expires_at %} • Expires {{ token.expires_at }} {% else %} • Never expires {% endif %}
{% if token.last_used %}Last used: {{ token.last_used }}
{% else %}Never used
{% endif %}Generate your first API token to get started
Learn how to use the API with your tokens
curl -H "Authorization: Bearer YOUR_TOKEN" \\
https://your-domain.com/api/prompts
fetch('/api/prompts', {
headers: {
'Authorization': 'Bearer YOUR_TOKEN'
}
})