v1
latestOpenAPI 3.0.12026-08-0435481.5 MBGet recent logs for a hook
Get recent logs that match the given query for the specified hook with pagination. See GET /api/logs for details on the enableCap parameter and capped-response headers.
Path parameters
The unique identifier of the hook.
Query parameters
The log key to filter logs.
When true, short-circuits the underlying count(*) query: results with more than 10,000 matching logs saturate Total-Number at the sentinel 10001 and emit Total-Number-Is-Capped: true; the Link header omits rel="last" and rel="next". Default false. (This endpoint is already scoped to a single hook over the last 24 hours, so the cap rarely triggers in practice.)
Inclusive lower bound on createdAt, in unix milliseconds. Supplying either start_time or end_time replaces the endpoint's default 24-hour lower bound, so callers can query an arbitrary historical window. Returns 400 if start_time > end_time when both are present.
Inclusive upper bound on createdAt, in unix milliseconds. Supplying either start_time or end_time replaces the endpoint's default 24-hour lower bound.
Page number (starts from 1).
Entries per page.
Response
A list of recent logs for the hook.