Logs
Return recent API request logs for the authenticated key.
Return recent API request logs for the authenticated key.
Authorization
bearerAuth AuthorizationBearer <token>
API key from your dashboard. Prefix with Bearer in the Authorization header.
In: header
Query Parameters
limit?integer
Number of log entries to return.
Default
20Range
value <= 100page?integer
Page number for pagination.
Default
1Response Body
application/json
application/json
curl -X GET "https://example.com/v1/logs"{ "success": true, "requestId": "string", "cacheState": "hit | miss", "creditsUsed": "number", "creditsRemaining": "number", "data": { "logs": [ { "id": "string", "userId": "string", "apiKeyId": "string", "apiKeyName": "string", "endpoint": "string", "method": "string", "status": "number", "credits": "number", "durationMs": "number", "response": "string", "createdAt": "string" } ] }}{ "success": false, "code": "UNAUTHORIZED", "error": "string", "details": null}