curl --request POST \
--url https://public-api.sessionboard.com/v1/event/{eventId}/insights/execute \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"query": "<string>",
"obfuscatePii": true,
"page": 123,
"limit": 123
}
'{
"data": [
{}
],
"pagination": {
"currentPage": 123,
"pageSize": 123,
"totalPages": 123,
"totalResults": 123
}
}Execute a SbQL query scoped to a specific event. Requires the read:insights scope.
curl --request POST \
--url https://public-api.sessionboard.com/v1/event/{eventId}/insights/execute \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"query": "<string>",
"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.
The event ID to scope the query to.