IntegrationsNotionActions
Search Notion
Search pages and data sources shared with the Notion connection.
search · Notion · v1
Details
Scopes
read_content
Input
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
query | string | No | minLength 1; maxLength 200 |
start_cursor | string | No | minLength 1; maxLength 512 |
page_size | integer | No | minimum 1; maximum 100 |
filter | object | No | additionalProperties false |
filter.property | string | Yes | enum object |
filter.value | string | Yes | enum page | data_source |
sort | object | No | additionalProperties false |
sort.timestamp | string | Yes | enum last_edited_time |
sort.direction | string | Yes | enum ascending | descending |
in_trash | boolean | No | — |
Output
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
results | array<object> | Yes | maxItems 100 |
results[] | object | Yes | additionalProperties false |
results[].id | string | Yes | minLength 1; maxLength 64 |
results[].object | string | Yes | minLength 1; maxLength 64 |
results[].title | string | No | maxLength 2000 |
results[].url | string | No | maxLength 2048 |
results[].in_trash | boolean | No | — |
results[].created_at | string | No | minLength 1; maxLength 64 |
results[].updated_at | string | No | minLength 1; maxLength 64 |
results[].parent | object | No | additionalProperties false |
results[].parent.type | string | No | minLength 1; maxLength 64 |
results[].parent.page_id | string | No | minLength 1; maxLength 64 |
results[].parent.database_id | string | No | minLength 1; maxLength 64 |
results[].parent.data_source_id | string | No | minLength 1; maxLength 64 |
results[].parent.workspace | boolean | No | — |
next_cursor | string | No | minLength 1; maxLength 512 |
has_more | boolean | No | — |
request_status | object | No | additionalProperties false |
request_status.type | string | Yes | enum complete | incomplete |
request_status.incomplete_reason | string | No | maxLength 128 |
Raw schema
Input
{
"type": "object",
"additionalProperties": false,
"properties": {
"query": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"start_cursor": {
"type": "string",
"minLength": 1,
"maxLength": 512
},
"page_size": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"filter": {
"type": "object",
"additionalProperties": false,
"properties": {
"property": {
"type": "string",
"enum": [
"object"
]
},
"value": {
"type": "string",
"enum": [
"page",
"data_source"
]
}
},
"required": [
"property",
"value"
]
},
"sort": {
"type": "object",
"additionalProperties": false,
"properties": {
"timestamp": {
"type": "string",
"enum": [
"last_edited_time"
]
},
"direction": {
"type": "string",
"enum": [
"ascending",
"descending"
]
}
},
"required": [
"timestamp",
"direction"
]
},
"in_trash": {
"type": "boolean"
}
}
}Output
{
"type": "object",
"additionalProperties": false,
"properties": {
"results": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"object": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"title": {
"type": "string",
"maxLength": 2000
},
"url": {
"type": "string",
"maxLength": 2048
},
"in_trash": {
"type": "boolean"
},
"created_at": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"updated_at": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"parent": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"page_id": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"database_id": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"data_source_id": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"workspace": {
"type": "boolean"
}
}
}
},
"required": [
"id",
"object"
]
},
"maxItems": 100
},
"next_cursor": {
"type": "string",
"minLength": 1,
"maxLength": 512
},
"has_more": {
"type": "boolean"
},
"request_status": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string",
"enum": [
"complete",
"incomplete"
]
},
"incomplete_reason": {
"type": "string",
"maxLength": 128
}
},
"required": [
"type"
]
}
},
"required": [
"results"
]
}