Skip to main content
POST
Query a data source

Authorizations

X-API-KEY
string
header
required

Your deployment's API key (MMK_API_KEY).

X-Notion-Token
string
header
required

Your Notion integration token / internal token. Supplied by the caller (not stored server-side).

Path Parameters

data_source_id
string
required

Notion data source ID.

Body

application/json
filters
object[]

Simple filters auto-converted to Notion syntax.

filters_map
object

Legacy map form (deprecated).

notion_filter
any

Full Notion filter syntax (advanced).

sorts
object[]
filter_properties
string[]

Return only these properties.

page_size
integer
start_cursor
string

Response

Query results

object
string
results
object[]
next_cursor
string | null
has_more
boolean
type
string
request_id
string
warnings
string[]

Invalid-filter / unknown-property warnings.