api-keys
Get Recent Requests
Deprecated — use GET /api/auth/me/usage/recent instead.
The path-parameter form leaks the key into Caddy/proxy access logs. The replacement reads from the X-API-Key header only.
get/api/keys/{api_key}/usage/recent
Request
- Base URL: https://api.halalterminal.com
- URL: https://api.halalterminal.com/api/keys/{api_key}/usage/recent
- Auth: API key in header X-API-Key
Path parameters
api_keystring required
API key whose usage to read.
Query parameters
limitinteger
Maximum number of recent requests to return.
Response
Most recent individual API requests
Example response
{
"api_key": "ht_abc123def456",
"requests": [
{
"endpoint": "/api/screen",
"method": "GET",
"status_code": 200,
"timestamp": "2025-06-15T14:32:00Z",
"tokens_charged": 5
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.