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

List all Documents with optional filtering.

<Note>
  External Documentation

  To learn more, visit the [Vanta documentation](https://developer.vanta.com/reference/listdocuments).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter        | Description                                                                                                                                                  |
  | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
  | Frameworks       | A comma-separated list of frameworks to filter the retrieved documents by.                                                                                   |
  | Page Cursor      | A cursor that marks the starting point for fetching the next page of results. Use the `endCursor` value from the `pageInfo` object in the previous response. |
  | Page Size        | The maximum number of items returned in a single execution.                                                                                                  |
  | Return All Pages | Automatically fetch all resources, page by page.                                                                                                             |
  | Statuses         | A comma-separated list of statuses to filter the retrieved documents by.                                                                                     |
</div>

## Example Output

```json theme={"dark"}
{
	"results": {
		"data": [
			{
				"id": "1",
				"ownerId": "2",
				"category": "Account setup",
				"description": "Provide two examples of a recent access request and approval ",
				"isSensitive": false,
				"title": "Document Title",
				"uploadStatus": "Needs document",
				"uploadStatusDate": "2024-03-17T00:00:00.000Z",
				"url": "https://example.com"
			}
		],
		"pageInfo": {
			"hasNextPage": false,
			"hasPreviousPage": false,
			"startCursor": "1",
			"endCursor": "1"
		}
	}
}
```

## Workflow Library Example

[List Documents with Vanta and Send Results Via Email](https://library.blinkops.com/workflows/list-documents-with-vanta-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-documents-with-vanta-and-send-results-via-email/canvas" />
</div>
