Events

Search events

POST
/projects/{project_id}/search-events

Cursor-paginated event search with optional nested filter groups. Requires an API token (or the legacy secret key).

Authorization

headerAuthorizationBearer <token>

Organization API Token (prefixed sk_) sent as Authorization: Bearer sk_.... Create one in Settings and grant it scopes. Server-side only.

Path Parameters

project_id*string

The project this request addresses. It must belong to the token's organization, or be the project of a project-scoped credential.

Request Body

application/json
  1. body
event_name?|null
user_id?|null
cursor?|null
start_date?string|null
end_date?string|null
filter_groups?array<>|null

Response Body

Success.

Example Request
curl -X POST 'https://api.leapio.com/v1/projects/string/search-events' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
Empty