API-post-search
Search and retrieve Notion pages or databases by title, filter by object type, and sort results by last edited time using a simple API query.
Instructions
Notion | Search by title
Input Schema
Name | Required | Description | Default |
---|---|---|---|
filter | No | A set of criteria, `value` and `property` keys, that limits the results to either only pages or only databases. Possible `value` values are `"page"` or `"database"`. The only supported `property` value is `"object"`. | |
page_size | No | The number of items from the full list to include in the response. Maximum: `100`. | |
query | No | The text that the API compares page and database titles against. | |
sort | No | A set of criteria, `direction` and `timestamp` keys, that orders the results. The **only** supported timestamp value is `"last_edited_time"`. Supported `direction` values are `"ascending"` and `"descending"`. If `sort` is not provided, then the most recently edited results are returned first. | |
start_cursor | No | A `cursor` value returned in a previous response that If supplied, limits the response to results starting after the `cursor`. If not supplied, then the first page of results is returned. Refer to [pagination](https://developers.notion.com/reference/intro#pagination) for more details. |