Skip to Content
Docs
API referenceAnalytics

List API calls

GET
/v1/logs

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.

Authorization

bearerAuth
headerAuthorizationBearer <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.

Query Parameters

limit?integer

Max rows to return.

Range1 <= value <= 100
Default25
cursor?integer

Return rows strictly older than this epoch-ms timestamp.

Formatint64
status?string

ok (under 400), error (400 and up) or an exact code like 422.

Response Body

API call list.

application/json
  1. response
data?array<>
next_cursor?|
Formatint64
Example Request
curl -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}