API referenceAnalytics
List API calls
GET
This workspace's API calls, newest first: method, path, status, timing and the key that made each one. No request or response bodies are kept. Calls are kept for 90 days. With status, only the last 7 days are searched. Reading this route isn't itself logged. Cursor is the bare epoch-ms created_at of the last row returned.
bearerAuthheader
AuthorizationBearer <token>API key sent as Authorization: Bearer <key>. Looked up by SHA-256
hash (email_core::sha256_hex) against api_keys.hash; revoked
keys and keys belonging to a suspended tenant are rejected. See the
top-level Authentication section for permission levels.
limit?integerMax rows to return.
Range
1 <= value <= 100Default
25cursor?integerReturn rows strictly older than this epoch-ms timestamp.
Format
int64status?stringok (under 400), error (400 and up) or an exact code like 422.
API call list.
application/json- response
data?array<>next_cursor?|Format
int64curl -X GET 'https://api.emitd.com/v1/logs'Example Response
{ "data": [ { "id": "string", "method": "string", "path": "string", "status": 0, "duration_ms": 0, "user_agent": "string", "request_id": "string", "key_name": "string", "key_prefix": "string", "created_at": 0 } ], "next_cursor": 0}