cURL
curl --request GET \ --url https://encrata.com/api/keys \ --header 'Authorization: Bearer <token>'
{ "keys": [ { "id": "key_abc123", "name": "Production", "key_preview": "...x9f2", "created_at": "2024-01-15T10:00:00Z", "last_used": "2024-03-01T14:30:00Z", "total_requests": 1250, "credits_used": 980 } ] }
List all API keys for the authenticated user.
Documentation IndexFetch the complete documentation index at: https://docs.encrata.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.encrata.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorization
Authorization: Bearer YOUR_API_KEY
curl https://encrata.com/api/keys \ -H "Authorization: Bearer YOUR_API_KEY"
Show Key object
...a1b2