Version 2 is coming up
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Traffic

Beta

Export captured actions

post

Returns AI-referred events captured on your domain — any event type (page views, autocapture, custom) — each with its AI referrer (ai_provider) and the raw captured properties. Beta: the response shape may change.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
limitinteger · max: 1000Optional

Maximum number of events to return per page (1–1000).

Default: 200
cursorstringOptional

Opaque keyset cursor from a previous response. Pass pagination.nextCursor to fetch the next page; omit for the first page.

Responses
200Success
application/json
post/v1/traffic/sdk/captured-actions
POST /v1/traffic/sdk/captured-actions HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 140

{
  "filters": {
    "timeRange": {
      "from": "2026-01-01T00:00:00.000Z",
      "to": "2026-01-01T00:00:00.000Z"
    },
    "userIds": [
      "text"
    ]
  },
  "limit": 200,
  "cursor": "text"
}
200Success
{
  "actions": [
    {
      "uuid": "text",
      "event": "text",
      "timestamp": "text",
      "team_id": 1,
      "distinct_id": "text",
      "elements_chain": "text",
      "created_at": "text",
      "person_id": "text",
      "person_created_at": "text",
      "person_properties": "text",
      "person_mode": "text",
      "_timestamp": "text",
      "inserted_at": "text",
      "ai_provider": "text",
      "ANY_ADDITIONAL_PROPERTY": "anything"
    }
  ],
  "pagination": {
    "nextCursor": "text",
    "hasMore": true
  }
}

Last updated