Api Request Logs

Get API request logs

Returns a paginated list of API request log entries for the current subscription.

get/api_request_logs

Query parameters

requested_at_fromstring date
Example:2024-09-25

Only return ApiRequestLogs requested after the given date (ISO 8601).

requested_at_untilstring date
Example:2024-09-25

Only return ApiRequestLogs requested before the given date (ISO 8601).

pageinteger

Page number of shown items. <br> NOTE: If the parameter is not provided, the meta property count will be omitted from response for performance reasons.

limitinteger

Limit the number of shown items per page.

Response

Request was successfully processed.

dataApiRequestLog[] required— unresolved $ref

Example response

{
  "data": [
    {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "type": "api_request_log",
      "attributes": {
        "requested_at": "2024-09-25T16:09:53Z",
        "request_params": {
          "id_or_domain": "stripe.com"
        },
        "request_path": "/api/v3/companies/stripe.com",
        "response_code": 200,
        "credits_used": 1,
        "duration": 45.2
      }
    }
  ],
  "meta": {
    "schema_version": "3.0",
    "record_state": "active",
    "count": 1
  }
}

Changes

Changed in 1 of the 6 revisions of this API.1