返回 Notion Data Sources
將 Knoon AI 與 Notion Data Sources (Notion) 連接以自動化 AI 工作流程。
Query entries from a Notion data source.
notionDataSourceQuery
測試版
內部
權限
沒有項目可顯示。
可選權限
沒有項目可顯示。
參數
| 名稱 | 類型 | 說明 | 必填 |
|---|---|---|---|
| dataSourceId | file | Notion data source ID. | 是的 |
| filter | mustache | Data source 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 data source query response. | 否 |
| page_size | number | Maximum number of results to return. | 否 |
| result_type | mustache | Optional result type filter. | 否 |
| filter_properties | mustache | Optional list of property IDs or names to limit the returned properties. Provide valid JSON array. | 否 |
退貨
| 名稱 | 類型 | 說明 |
|---|---|---|
| object | string | Response object type. |
| type | string | List type discriminator when returned by Notion. |
| page_or_data_source | map | Type-specific list metadata for page_or_data_source. |
| 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. |