> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Search

Searches all original pages, databases, and child pages/databases that are shared with the integration. It will not return linked databases, since these duplicate their source databases.

> [!NOTE]
>
> External Documentation
>
> To learn more, visit the [Notion documentation](https://developers.notion.com/reference/post-search).

## Parameters

| Parameter | Description |
| - | - |
| Filter Object Type | The value of the property to filter the results by. Possible values for object type include `page` or `database`. |
| Query | When supplied, limits which pages are returned by comparing the query to the page title and showing only results containing the query. |
| Sort Direction | The direction to sort by the last time the object was edited. |

## Example Output

```json theme={"dark"}
{
	"object": "<string>",
	"results": [
		{
			"object": "<string>",
			"id": "<string>",
			"cover": {
				"type": "<string>",
				"external": {
					"url": "<string>"
				}
			},
			"icon": {
				"type": "<string>",
				"emoji": "<string>"
			},
			"created_time": "2023-03-06T09:52:52.357Z",
			"created_by": {
				"object": "<string>",
				"id": "<string>"
			},
			"last_edited_by": {
				"object": "<string>",
				"id": "<string>"
			},
			"last_edited_time": "2013-12-19T15:24:24.162Z",
			"title": [
				{
					"type": "<string>",
					"text": {
						"content": "<string>",
						"link": null
					},
					"annotations": {
						"bold": false,
						"italic": false,
						"strikethrough": false,
						"underline": false,
						"code": false,
						"color": "<string>"
					},
					"plain_text": "<string>",
					"href": null
				}
			],
			"description": [],
			"is_inline": false,
			"properties": {
				"user": {
					"id": "<string>",
					"name": "<string>",
					"type": "<string>",
					"rich_text": {}
				},
				"status": {
					"id": "<string>",
					"name": "<string>",
					"type": "<string>",
					"rich_text": {}
				},
				"channel name": {
					"id": "<string>",
					"name": "<string>",
					"type": "<string>",
					"title": {}
				}
			},
			"parent": {
				"type": "<string>",
				"page_id": "<string>"
			},
			"url": "<string>",
			"public_url": null,
			"archived": false,
			"in_trash": false
		},
		{
			"object": "<string>",
			"id": "<string>",
			"created_time": "2007-02-03T11:22:16.494Z",
			"last_edited_time": "2008-04-17T23:31:31.106Z",
			"created_by": {
				"object": "<string>",
				"id": "<string>"
			},
			"last_edited_by": {
				"object": "<string>",
				"id": "<string>"
			},
			"cover": null,
			"icon": null,
			"parent": {
				"type": "<string>",
				"workspace": true
			},
			"archived": false,
			"in_trash": false,
			"properties": {
				"title": {
					"id": "<string>",
					"type": "<string>",
					"title": [
						{
							"type": "<string>",
							"text": {
								"content": "<string>",
								"link": null
							},
							"annotations": {
								"bold": false,
								"italic": false,
								"strikethrough": false,
								"underline": false,
								"code": false,
								"color": "<string>"
							},
							"plain_text": "<string>",
							"href": null
						}
					]
				}
			},
			"url": "<string>",
			"public_url": null
		}
	],
	"next_cursor": null,
	"has_more": false,
	"type": "<string>",
	"page_or_database": {},
	"request_id": "<string>"
}
```

## Workflow Library Example

[Search with Notion and Send Results Via Email](https://library.blinkops.com/workflows/search-with-notion-and-send-results-via-email)

![Workflow Library](https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max\&auto=format\&n=ojHYuDeYX5FWuN8a\&q=85\&s=b8af968e71438a9499c3223c9bd29fb2)

Preview this Workflow on desktop

[https://library.blinkops.com/workflows/search-with-notion-and-send-results-via-email/canvas](https://library.blinkops.com/workflows/search-with-notion-and-send-results-via-email/canvas)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.