Skip to content

Find request logs

GET
/developer/api-request/request-logs
Required scope: viskan:apilog:read

Finds API request logs for the current tenant with optional filters and cursor-based pagination. Logs are limited to the last 14 days; fromDate values older than that are clamped.

Parameters

Query parameters

searchAfter  string
Cursor returned by a previous response to fetch the next page.
fromDate  string
Inclusive lower bound for the log timestamp (ISO-8601). Defaults to one hour before toDate.
toDate  string
Inclusive upper bound for the log timestamp (ISO-8601). Defaults to now.
path  string
Substring to match against the request URL path.
correlationId  string
Filter by exact correlation (trace) identifier.
clientId  string
Multivalued
Filter by one or more client identifiers.
method  string
Multivalued
Filter by one or more HTTP methods (e.g. GET, POST).
pathPattern  string
Multivalued
Filter by one or more API path patterns (e.g. /orders/{orderId}).
statusCode  integer
Multivalued
Filter by one or more HTTP response status codes.

Response

The response contains the matching request logs and aggregations.