Skip to main content
POST
TypeScript SDK
Use filter, sorts, and query to narrow the list. Pass each next_cursor as start_cursor until has_more is false, even when results is empty. Results include only sessions the token can read. By default, a connection token sees only the sessions its connection created. See session access rules for which sessions each token can read.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Notion-Version
enum<string>
required

The API version to use for this request. The latest version is 2026-03-11.

Available options:
2026-03-11

Body

application/json
query
string

A case-insensitive substring search over session titles.

Maximum string length: 2000
filter
object

A session property filter, or an and/or compound filter nested up to two levels deep.

sorts
object[]

Ordered sort precedence. Defaults to updated_at descending.

Required array length: 1 - 2 elements
start_cursor
string

The continuation cursor returned by the previous page.

page_size
integer

The number of sessions to return. Maximum: 100.

Required range: 1 <= x <= 100

Response

object
string
required

Always list

Allowed value: "list"
type
string
required

Always session

Allowed value: "session"
session
object
required
results
object[]
required

Sessions found in this bounded scan. Access filtering can leave this array empty while has_more is true.

Maximum array length: 100
has_more
boolean
required

Whether more session candidates remain after this bounded scan.

next_cursor
string | null
required

Pass this cursor as start_cursor when has_more is true, even when results is empty.