Skip to content
Dashboard
Theme
Theme

Workbench request log

GET /v1/requests: Workbench request log.

View Markdown

GET /v1/requests

The environment’s authenticated /v1 calls, newest first, kept for the plan’s retention (3/30/90 days). Each entry holds the method, the route template, the status, the latency, the request ID and the API key; never bodies, headers, tokens, query values, IP addresses or emails. Entries are written off the request path, so a call appears within seconds; under extreme load some may be dropped rather than slow the API.

Scope
workbench:read
Auth
Secret key (sk_…)
Since
1.0
  • limit integer

    min 1 · max 100 · default 20

  • after string

    Cursor from next_cursor.

  • before string

  • api_key string

    An API key ID (key_…).

  • status string

    An exact status (404) or a status class (4xx).

  • path string

    A route template exactly as listed, e.g. /v1/organizations/{org}.

  • organization string

    An organization ID; matches calls whose route names that organization.

  • request_id string

    The Request-Id response header of one call.

  • OhAuthCat-Version string

    Minor version; defaults to the environment’s pin.

Errors share one shape; see the error code catalogue.

curl -X GET \
"https://api.ohauthcat.com/v1/requests" \
-H "Authorization: Bearer $OHAUTHCAT_API_KEY"
Response 200
{
"object": "list",
"data": [
{
"id": "req_01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
"object": "request",
"method": "example_method",
"path": "example_path",
"status": 1,
"api_key_id": "key_01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
"organization_id": "org_01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
"duration_ms": 1,
"request_id": "01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
"created_at": "2026-01-15T09:30:00Z"
}
],
"has_more": true,
"next_cursor": "cur_01J9Z3K5V7W8X9Y0Z1A2B3C4D5"
}