Browsable Browsable Docs

API Key Management

Programmatically manage your API keys.

List API Keys

GET /admin/list-keys
curl -X GET "https://api.browsable.app/admin/list-keys" \
  -H "Authorization: Bearer YOUR_API_KEY"

Create API Key

POST /admin/create-key
curl -X POST "https://api.browsable.app/admin/create-key" \
  -H "Authorization: Bearer YOUR_API_KEY"

Revoke API Key

POST /admin/revoke-key
curl -X POST "https://api.browsable.app/admin/revoke-key" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"key_id": "key_abc123"}'

Get Usage Statistics

GET /admin/usage
curl -X GET "https://api.browsable.app/admin/usage" \
  -H "Authorization: Bearer YOUR_API_KEY"