Logs

List request logs

Changed on

List your organization’s request logs with filters and pagination. Logs also include batch settlements and monitor runs.

get/org/logs

Request

  • Base URL: https://api.context.dev/v1
  • URL: https://api.context.dev/v1/org/logs
  • Auth: HTTP bearer

Query parameters

fromstring date-time

Only include requests at or after this ISO 8601 timestamp. Defaults to 24 hours before to.

Example:2026-09-10T00:00:00Z
tostring date-time

Only include requests at or before this ISO 8601 timestamp. Defaults to now.

Example:2026-09-11T00:00:00Z
pathstring

Filter by endpoint path, with or without the /v1 prefix.

Example:/brand/retrieve
key_idstring

Filter by the API key that made the request.

status_codeinteger

Filter by exact HTTP status code.

Example:500
error_codestring

Filter by the error_code returned in the response.

Example:WEBSITE_ACCESS_ERROR
errors_onlyboolean

Only include requests that returned a 4xx or 5xx status.

tagsstring

Comma-separated request tags. Matches requests carrying any of them. Up to 20 tags, each 1-50 characters.

Example:nightly-import,team-alpha
searchstring

Case-insensitive substring match against the request query and body, e.g. a domain.

Example:acme.com
pageinteger

Page number, starting at 1.

limitinteger

Number of log entries per page.

Response

A page of log entries

pageinteger required

Current page number.

limitinteger required

Entries per page.

has_moreboolean required

Whether a next page exists.

request_idstring uuid required

Unique ID of this request, also in X-Request-Id. Include it when contacting support.

Example response

{
  "data": [
    {
      "method": "GET",
      "path": "/v1/brand/retrieve",
      "status_code": 500,
      "error_code": "WEBSITE_ACCESS_ERROR"
    }
  ],
  "request_id": "3f1c2a6e-8b4d-4c1e-9f0a-2d7b5e6c8a91"
}

Changes

    • warning

      added the new NO_PUBLISHED_MARKDOWN enum value to the response property for the response status

    • warning

      added the new NO_PUBLISHED_MARKDOWN enum value to the response property for the response status

    • warning

      added the new NO_PUBLISHED_MARKDOWN enum value to the response property for the response status

    • warning

      added the new NO_PUBLISHED_MARKDOWN enum value to the response property for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status