Skip to main content
GET
/
api_logs
List API logs
curl --request GET \
  --url https://api.kapso.ai/platform/v1/api_logs \
  --header 'X-API-Key: <api-key>'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "endpoint": "<string>",
      "http_method": "<string>",
      "response_status": 123,
      "response_time_ms": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "ip_address": "<string>",
      "error_message": "<string>",
      "api_key_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "api_key_name": "<string>"
    }
  ],
  "paging": {
    "cursors": {
      "before": "<string>",
      "after": "<string>"
    },
    "next": "<string>",
    "previous": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.kapso.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

Query Parameters

endpoint
string

Filter by endpoint (partial match)

status_code
integer

Filter by HTTP status code

errors_only
boolean
default:false

Only return logs with status >= 400

period
enum<string>
default:24h

Time period filter

Available options:
24h,
7d,
30d
limit
integer
default:20

Maximum number of results per cursor-paginated page (default 20, max 100).

Required range: 1 <= x <= 100
before
string

Cursor for the previous page (Base64 encoded).

after
string

Cursor for the next page (Base64 encoded).

Response

Success

data
object[]
required
paging
object
required