> ## 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.

# List Saved Log Searches

List all saved log searches viewable by the user.

<Note>
  External Documentation

  To learn more, visit the [Sumo Logic documentation](https://api.us2.sumologic.com/docs/#tag/logSearchesManagement).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter        | Description                                                                                                                        |
  | ---------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
  | Limit            | Limit the number of log searches returned in the response. <br /><br />**Note:** Valid range for the `Limit` parameter is `1-100`. |
  | Return All Pages | Automatically fetch all resources, page by page.                                                                                   |
  | Token            | Continuation token to get the next page of results.                                                                                |
</div>

## Example Output

```json theme={"dark"}
{
	"logSearches": [
		{
			"queryString": "error {{sourceCategory}}| count by _sourceCategory",
			"timeRange": {
				"type": "BeginBoundedTimeRange",
				"from": {
					"type": "RelativeTimeRangeBoundary",
					"relativeTime": "-15m"
				},
				"to": null
			},
			"runByReceiptTime": false,
			"queryParameters": [
				{
					"name": "sourceCategory",
					"description": "source category for the string",
					"dataType": "STRING",
					"value": "apache"
				}
			],
			"parsingMode": "AutoParse",
			"name": "Short title",
			"description": "Long and detailed description",
			"schedule": {
				"cronExpression": "0 0/15 * * * ? *",
				"displayableTimeRange": "-2h",
				"parseableTimeRange": {
					"type": "BeginBoundedTimeRange",
					"from": {
						"type": "RelativeTimeRangeBoundary",
						"relativeTime": "-15m"
					},
					"to": null
				},
				"timeZone": "string",
				"threshold": {
					"thresholdType": "string",
					"operator": "string",
					"count": 0
				},
				"notification": {
					"taskType": "string",
					"webhookId": "<string>",
					"payload": "<string>",
					"itemizeAlerts": false,
					"maxItemizedAlerts": 377
				},
				"scheduleType": "string",
				"muteErrorEmails": true,
				"parameters": []
			},
			"properties": "{ \"key\": \"value\" }",
			"createdAt": "2018-10-16T09:10:00.000Z",
			"createdBy": "0000000006743FDD",
			"modifiedAt": "2018-10-16T09:10:00.000Z",
			"modifiedBy": "0000000006743FE8",
			"id": "000000000000001A",
			"parentId": "0000000000007D2B"
		}
	],
	"warnings": [
		"Invalid saved search: <saved_search_name>. Please validate your saved search."
	],
	"token": "GDCiRv4vebF3UWFJQ1kySXBOR3Bzh69GR0RyWm9vCtc"
}
```

## Workflow Library Example

[List Saved Log Searches with Sumo Logic and Send Results Via Email](https://library.blinkops.com/workflows/list-saved-log-searches-with-sumo-logic-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/list-saved-log-searches-with-sumo-logic-and-send-results-via-email/canvas" />
</div>
