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

## Parameters

| Parameter | Description |
| - | - |
| Filter | The filtering criteria to filter results using `OData Query Syntax`. For example - `startswith(content,'t')`. 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. |

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

![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/list-prompts-with-microsoft-security-copilot-and-send-results-via-email/canvas](https://library.blinkops.com/workflows/list-prompts-with-microsoft-security-copilot-and-send-results-via-email/canvas)


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