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.
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.
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
Range
1 <= value <= 200Default
50offset?Offset
Range
0 <= valueDefault
0Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api.wellmarked.io/logs" \ -H "Authorization: Bearer wm_your_api_key_here"{ "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}