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

Get a list of the prompts in a Security Copilot session.

The following permissions are required to run this action - `SecurityCopilotWorkspaces.ReadWrite.All`.

<Note>
  External Documentation

  To learn more, visit the [Microsoft Security Copilot documentation](https://learn.microsoft.com/en-us/graph/api/security-securitycopilot-session-list-prompts?view=graph-rest-beta\&tabs=http).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter        | Description                                                                                                                                                                                                                                  |
  | ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Filter           | The filtering criteria to filter results using `OData Query Syntax`. For example - `startswith(content,'t')`.<br /><br />For more information, refer to [Filter](https://learn.microsoft.com/en-us/graph/query-parameters?tabs=http#filter). |
  | Return All Pages | Automatically fetch all resources, page by page.                                                                                                                                                                                             |
  | Select           | A comma-separated list of properties to return for each object in the response.                                                                                                                                                              |
  | Session ID       | The ID of the Security Copilot session. Can be obtained using the `List Sessions` action.                                                                                                                                                    |
  | Skip             | The number of results to skip from the beginning of the result set.                                                                                                                                                                          |
  | Top              | The maximum number of results to return in the response.                                                                                                                                                                                     |
  | Workspace ID     | The ID of the Security Copilot workspace. Use `default` for the default workspace.                                                                                                                                                           |
</div>

## Example Output

```json theme={"dark"}
{
	"@odata.context": "https://graph.microsoft.com/beta/$metadata#security/securityCopilot/workspaces('default')/sessions('ecdfb9b3-58f5-457f-a18c-4a477890b252')/prompts",
	"value": [
		{
			"id": "76a9b8c6-6656-4ef4-a4c7-7ed07fb93e01",
			"type": "prompt",
			"createdDateTime": "2025-10-22T20:12:13.759634Z",
			"lastModifiedDateTime": "2025-10-22T20:12:57.8775792Z",
			"skillName": null,
			"content": "who am I",
			"inputs": {
				"keyValuePairs": []
			},
			"skillInputDescriptors": []
		}
	]
}
```

## Workflow Library Example

[List Prompts with Microsoft Security Copilot and Send Results Via Email](https://library.blinkops.com/workflows/list-prompts-with-microsoft-security-copilot-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-prompts-with-microsoft-security-copilot-and-send-results-via-email/canvas" />
</div>
