List API logs

Returns a paginated list of API logs of the workspace that the API key belongs to, newest first. Only requests against the public API within the retention period are included. Use filter to narrow the list (e.g. by a created_at date range). The list is cursor-paginated: pass limit to size the page and repeat the request with cursor set to the previous response's next_cursor while has_more is true. Every API key sees its own requests; a key with workspace-level API access view permission sees the requests of all keys of the workspace.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
filter
object

Filters and sorts the list: URL-encoded JSON of the schema ApiLogFilter. where holds exactly one _and or _or with an array of clauses; a clause is another _and/_or or a field with exactly one operator. sort lists fields with + (ascending) or - (descending). An unsupported field, operator or value answers 400 invalid_filter with a pointer into the filter.

FieldTypeOperatorsSort
api_log[api_key_id]id_eq _ne _in _nin–
api_log[created_at]timestamp_eq _lt _gt _lte _gte _within _null _nnullyes
api_log[id]id_eq _ne _in _nin–
api_log[method]GET | HEAD | POST | PUT | PATCH | DELETE | OPTIONS | TRACE | OTHER_eq _ne _in _nin–
api_log[path]text_eq _ne _like _nlike _ilike _nilike _contains _ncontains _icontains _nicontains _starts _ends _blank _nblank–
api_log[status_code]integer_eq _ne _in _nin _gt _lt _gte _lte _within _null _nnull–
string

Opaque pagination cursor from the next_cursor field of a previous response. Omit for the first page.

int32
1 to 100
Defaults to 20

Maximum number of items to return per page (1-100).

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json