Skip to content

List org saved queries (convenience)

GET/v1/queries

US Region: https://public-api.sessionboard.com · EU Region: https://public-api-eu.sessionboard.com

Returns all saved SbQL queries across the organization. Organization is resolved from the API token. No orgId required. Requires the read:insights scope.

Request example

Terminal window
curl --request GET \
--url 'https://public-api.sessionboard.com/v1/queries' \
--header 'x-access-token: <api-token>'

Try it

Authorization

Your token stays in this page. It is sent only to the region above and is never saved; it is gone when you leave or reload the page.

Query parameters
GET

Authorizations

  • x-access-tokenstringheader

    Organization API token. Generate from Organization Settings → API Tokens.

  • AuthorizationBearer <token>headeror

    OAuth 2.1 access token. Obtained via the OAuth PKCE flow at /oauth/token.

Send one of these. See Authentication.

Query parameters

  • categorystringquery

    Filter by category.

  • pageintegerquery
  • limitintegerquery

Responses

200application/json

OK

  • resultsobject[]
    Show child attributes
    • idstring
    • namestring
    • querystring
    • categorystring
    • event_idinteger | null
  • paginationPagination

    Pagination metadata returned with POST search responses. The event-settings GET lists return the same numbers under snake_case keys — see ListPagination.

    Show child attributes
    • currentPageinteger
    • pageSizeinteger
    • totalPagesinteger
    • totalResultsinteger

401

Unauthorized

Response examples

{
"results": [
{
"id": "<string>",
"name": "<string>",
"query": "<string>",
"category": "<string>",
"event_id": 123
}
],
"pagination": {
"currentPage": 1,
"pageSize": 25,
"totalPages": 4,
"totalResults": 97
}
}

Get release notes by email

A short digest on the days something new goes live — each change with a link to its note in the release notes. No marketing, and one click to stop.

Company email addresses only. We’ll send one email to confirm it’s you. Already use Sessionboard? You can also turn this on under Community → What’s new.