Get a request log
One request, by its Request-Id (the newest, if a client reused one).
- Scopes
request_logs:read - Rate classread
/v1/request-logs/{id}One request, by its Request-Id (the newest, if a client reused one).
Authorization
apiKey An API key (fo_live_… / fo_test_…) as a bearer token
In: header
Path Parameters
The request's ID
^req_[0-9A-Za-z]{22}$Header Parameters
Dated API version; pinned per organisation on first use and overridable per request
Value in
- "2026-10-01"
- "2026-10-04"
The data the request acts on: test is the organisation's sandbox. An OAuth token picks it (live by default); an API key's mode is fixed, and naming the other one is refused
Value in
- "live"
- "test"
ETag of a cached representation; a match returns 304
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/v1/request-logs/string"{ "object": "request_log", "id": "string", "method": "GET", "path": "string", "route": "string", "query": "string", "status": 100, "error_code": "string", "duration_ms": 0, "actor": { "kind": "user", "id": "string", "on_behalf_of": null }, "via": "api", "livemode": true, "api_version": "string", "idempotency_key": "string", "ip": "string", "user_agent": "string", "created_at": "2019-08-24T14:15:22Z"}Update how credit is spent PATCH
Whether Ask AI spends credit once today's allowance is used, the most credit spent per day, and the balance below which `credits.low` goes out. Owner only. Recorded in the audit log (`credits.settings_updated`).
List request logs GET
The organisation's API requests in the request's mode (live or test), newest first, kept 31 days: who called what and the answer. Filter by status class, method, actor, path prefix or time. A request appears within seconds; reading the logs is not logged.