Notion
Search authorized Notion titles and read selected page, data-source and block evidence.
4 implemented operations
connector.yamlpage.readRead one page's metadata and properties; page body requires separately bounded block reads.content.read
- LocalReadyThe runtime sends the operation's declared HTTP requests.
- Runx scope
content.read- Target
{"$concat":["https://api.notion.com/v1/pages/",{"$argument":"/page_id"}]}- Credentials
- Any of
access_token - Local implementation
- Declared HTTP requests:
api.notion.com
| Field and constraints | Type / values | Required |
|---|---|---|
page_idPattern: ^(?:[0-9a-fA-F]{32}|[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$ | string | Yes |
Required fields apply within their containing object. Unlisted fields are rejected.
Full input schema
{
"type": "object",
"required": [
"page_id"
],
"properties": {
"page_id": {
"type": "string",
"pattern": "^(?:[0-9a-fA-F]{32}|[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
}
},
"additionalProperties": false
}Result fields page
Operation digest sha256:656637ea7951a2347ca31e694e233c3376b0c42f788144e6799a79cf411ecf53Implementation sha256:64a4319ae3023b553a9878ae54d7ebcbf6e0468cafa72086640c6474001dadd9
blocks.listRead one bounded page of immediate child blocks, preserving has_more and next_cursor; does not recursively traverse children.content.read
- LocalReadyThe runtime sends the operation's declared HTTP requests.
- Runx scope
content.read- Target
{"$concat":["https://api.notion.com/v1/blocks/",{"$argument":"/block_id"},"/children"]}- Credentials
- Any of
access_token - Local implementation
- Declared HTTP requests:
api.notion.com
| Field and constraints | Type / values | Required |
|---|---|---|
block_idPattern: ^(?:[0-9a-fA-F]{32}|[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$ | string | Yes |
page_sizeMinimum 1Maximum 100 | integer | Yes |
start_cursorMin. 1 characterMax. 4096 characters | string | No |
Required fields apply within their containing object. Unlisted fields are rejected.
Full input schema
{
"type": "object",
"required": [
"block_id",
"page_size"
],
"properties": {
"block_id": {
"type": "string",
"pattern": "^(?:[0-9a-fA-F]{32}|[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
},
"page_size": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"start_cursor": {
"type": "string",
"maxLength": 4096,
"minLength": 1
}
},
"additionalProperties": false
}Result fields blocks
Operation digest sha256:ed8946122a2a80d274ec6cbf924a715c808de26392d49c3eb09f601ccb604d00Implementation sha256:2ceef682c72426134f7073092ea60ffc990e3586ec2340abf877bc9db1776c8a
datasource.readRead one authorized data-source schema and properties; does not query its rows.content.read
- LocalReadyThe runtime sends the operation's declared HTTP requests.
- Runx scope
content.read- Target
{"$concat":["https://api.notion.com/v1/data_sources/",{"$argument":"/data_source_id"}]}- Credentials
- Any of
access_token - Local implementation
- Declared HTTP requests:
api.notion.com
| Field and constraints | Type / values | Required |
|---|---|---|
data_source_idPattern: ^(?:[0-9a-fA-F]{32}|[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$ | string | Yes |
Required fields apply within their containing object. Unlisted fields are rejected.
Full input schema
{
"type": "object",
"required": [
"data_source_id"
],
"properties": {
"data_source_id": {
"type": "string",
"pattern": "^(?:[0-9a-fA-F]{32}|[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
}
},
"additionalProperties": false
}Result fields data_source
Operation digest sha256:d57b7bb8b8f0b83337a54c11a2e11fa95f44043b960547daf50c7578e96c2ef9Implementation sha256:0efa9c4c6e8cb3388c1a1abf6d8d20c5affc6514dde3e9da5a6047ba8f3289ed
resources.searchRead one bounded page of authorized title matches; not full-text search or a workspace inventory.content.read
- LocalReadyThe runtime sends the operation's declared HTTP requests.
- Runx scope
content.read- Target
https://api.notion.com/v1/search- Credentials
- Any of
access_token - Local implementation
- Declared HTTP requests:
api.notion.com
| Field and constraints | Type / values | Required |
|---|---|---|
queryPattern: \SMin. 1 characterMax. 1000 characters | string | Yes |
object | "page" · "data_source" | Yes |
page_sizeMinimum 1Maximum 100 | integer | Yes |
start_cursorMin. 1 characterMax. 4096 characters | string | No |
Required fields apply within their containing object. Unlisted fields are rejected.
Full input schema
{
"type": "object",
"required": [
"query",
"object",
"page_size"
],
"properties": {
"query": {
"type": "string",
"pattern": "\\S",
"maxLength": 1000,
"minLength": 1
},
"object": {
"enum": [
"page",
"data_source"
]
},
"page_size": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"start_cursor": {
"type": "string",
"maxLength": 4096,
"minLength": 1
}
},
"additionalProperties": false
}Result fields resources
Operation digest sha256:6f81bf5c9f9a7d8b608381e3f5d5dbd83f4ab327be305f57c000d614ea5203e4Implementation sha256:00411ef8bba8f1ef7a9d297e52cf568573838183989ffb1e2760e529db6e76a9
Authentication
Commands here are for runx 0.11.1.
Notion accepts a stored credential.
- Stored credential
access_token - A
api_keywith one field:access_token(Notion integration token with read content capability). Sent only toapi.notion.com. Supply it through standard input in the project where the skill runs; Runx stores the profile and selects it for this connector.runx connector use notion
Authentication methods describe what the provider requires. They do not imply Runx supports every way the provider authenticates, and they do not grant access to your account.
Permissions
Each operation requires every Runx scope it declares. The account or key behind an instance must also reach the target on Notion’s side; setting one up adds no Notion permissions.
A stored credential may do everything its scopes allow. Add --scope to runx connector use --credential to narrow it.