WellMarked Docs
API referenceLogs

Your request history (audit log)

Return the authenticated account's recent API requests — URL, endpoint, status, latency and which key made the call. Useful for reconciling a bill against actual usage, or finding which key is responsible for unexpected traffic. Paginate with `limit` (1-200, default 50) and `offset`, newest first. Unmetered — reading your own history never consumes quota.

GET
/logs

Authorization

BearerAuth
AuthorizationBearer <token>

Your API key, sent as Authorization: Bearer wm_.... Keys are wm_ followed by 40 hex characters. Create one with POST /register (free, no auth) or POST /keys.

In: header

Query Parameters

limit?Limit
Range1 <= value <= 200
Default50
offset?Offset
Range0 <= value
Default0

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/logs"
{  "has_more": true,  "limit": 0,  "logs": [    {      "duration_ms": 0,      "error_code": "string",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "key_id": "1e779c8a-6786-4c89-b7c3-a6666f5fd6b5",      "policy_decision": "string",      "render_js": true,      "status_code": 0,      "target_url": "string",      "timestamp": "2019-08-24T14:15:22Z"    }  ],  "offset": 0}