curl --request GET \
--url https://public-api.sessionboard.com/v1/queries \
--header 'x-access-token: <api-key>'{
"data": [
{
"id": "<string>",
"name": "<string>",
"query": "<string>",
"category": "<string>",
"event_id": 123
}
],
"pagination": {
"currentPage": 123,
"pageSize": 123,
"totalPages": 123,
"totalResults": 123
}
}Returns all saved SbQL queries across the organization. Organization is resolved from the API token. No orgId required. Requires the read:insights scope.
curl --request GET \
--url https://public-api.sessionboard.com/v1/queries \
--header 'x-access-token: <api-key>'{
"data": [
{
"id": "<string>",
"name": "<string>",
"query": "<string>",
"category": "<string>",
"event_id": 123
}
],
"pagination": {
"currentPage": 123,
"pageSize": 123,
"totalPages": 123,
"totalResults": 123
}
}Organization API token. Generate from Organization Settings → API Tokens.