cURL
curl --request POST \ --url https://public-api.sessionboard.com/v1/insights/queries/{queryId}/run \ --header 'Content-Type: application/json' \ --header 'x-access-token: <api-key>' \ --data ' { "eventId": 123, "eventIds": [ 123 ], "obfuscatePii": true, "format": "<string>", "page": 123, "limit": 123 } '
{ "data": [ {} ], "pagination": { "currentPage": 123, "pageSize": 123, "totalPages": 123, "totalResults": 123 } }
Execute a previously saved SbQL query by ID. Requires the read:insights scope.
read:insights
API key for authentication. Obtain from the Sessionboard admin dashboard.
The saved query ID.
Override the event scope for this run.
Override with multiple event scopes.
OK
Pagination metadata returned with list responses.
Show child attributes