返回 Notion Databases
将 Knoon AI 与 Notion Databases (Notion) 连接以自动化 AI 工作流。
Query pages from a Notion database.
notionDatabaseQuery
测试版
内部
权限
没有可显示的项目。
可选权限
没有可显示的项目。
参数
| 名称 | 类型 | 描述 | 必填 |
|---|---|---|---|
| databaseId | mustache | Notion database ID. | 是的 |
| filter | mustache | Database query filter object. Provide valid JSON object. | 没有 |
| sorts | mustache | Array of sort objects for the query. Provide valid JSON array. | 没有 |
| start_cursor | mustache | Pagination cursor returned by a previous database query response. | 没有 |
| page_size | number | Maximum number of pages to return. | 没有 |
回报
| 名称 | 类型 | 描述 |
|---|---|---|
| object | string | Response object type. |
| type | string | List type discriminator when returned by Notion. |
| page_or_database | map | Type-specific list metadata for page_or_database. |
| next_cursor | string | Cursor for the next page of results. |
| has_more | boolean | Whether more results are available. |
| results.object | string | Object type returned by Notion. |
| results.id | string | Unique ID of the Notion object. |
| results.url | string | Canonical URL for the object when available. |
| results.public_url | string | Public URL when the object is publicly shared. |
| results.created_time | string | Creation timestamp in ISO 8601 format. |
| results.last_edited_time | string | Last edited timestamp in ISO 8601 format. |
| results.archived | boolean | Whether the object is archived. |
| results.in_trash | boolean | Whether the object is in trash. |
| results.parent | map | Parent reference object returned by Notion. |
| results.properties | map | Page properties object. |
| results.icon | map | Page icon object when set. |
| results.cover | map | Page cover object when set. |



