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

Retrieve a list of logs with optional filtering.

## Basic Parameters

<div className="integrations-table">
  | Parameter        | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
  | ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Filters          | A filter parameter that accepts a subset of MongoDB-style queries to filter by. Supported operators may differ based on the field's data type.<br /><br />**For Example:**<br /><br />\* Find a log by its ID.<br />  <pre><code>\{<br />    "id": "string"<br />  }<br /></code></pre>\* Find all logs created after a specific date.<br />  <pre><code>\{<br />    "createdAt": \{<br />      "\$gt": "2025-07-23T00:00:00.000Z"<br />    }<br />  }<br /></code></pre>To learn more about building MongoDB queries, please visit [MongoDB documentation](https://docs.mongodb.com/manual/tutorial/query-documents/). |
  | Return All Pages | Automatically fetch all resources, page by page.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter       | Description                                          |
  | --------------- | ---------------------------------------------------- |
  | Aggregate       | Select to retrieve indicators in an aggregated form. |
  | Ascending Order | Select to retrieve indicators in an ascending order. |
  | Limit           | The number of results to return per page.            |
  | Skip            | The number of results to initially skip.             |
  | Sort Field      | A field to sort the results by.                      |
</div>

## Example Output

```json theme={"dark"}
[
	{
		"id": "string",
		"message": "string",
		"type": "info",
		"createdAt": "2025-07-23T14:59:32.564105",
		"errorCode": "string",
		"details": "string"
	}
]
```

## Workflow Library Example

[List Logs with Netskope Cte and Send Results Via Email](https://library.blinkops.com/workflows/list-logs-with-netskope-cte-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-logs-with-netskope-cte-and-send-results-via-email/canvas" />
</div>
