curl --request POST \
--url https://public-api.sessionboard.com/v1/event/{eventId}/queries/{queryId}/run \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"obfuscatePii": true,
"page": 123,
"limit": 123
}
'{
"data": [
{}
],
"pagination": {
"currentPage": 123,
"pageSize": 123,
"totalPages": 123,
"totalResults": 123
}
}Execute a saved SbQL query. Requires the write:events scope (reports execute through the write pipeline for quota tracking).
curl --request POST \
--url https://public-api.sessionboard.com/v1/event/{eventId}/queries/{queryId}/run \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"obfuscatePii": true,
"page": 123,
"limit": 123
}
'{
"data": [
{}
],
"pagination": {
"currentPage": 123,
"pageSize": 123,
"totalPages": 123,
"totalResults": 123
}
}Organization API token. Generate from Organization Settings → API Tokens.