Skip to main content
Get a list of the prompts in a Security Copilot session. The following permissions are required to run this action - SecurityCopilotWorkspaces.ReadWrite.All.
External DocumentationTo learn more, visit the Microsoft Security Copilot documentation.

Parameters

ParameterDescription
FilterThe filtering criteria to filter results using OData Query Syntax. For example - startswith(content,'t').

For more information, refer to Filter.
Return All PagesAutomatically fetch all resources, page by page.
SelectA comma-separated list of properties to return for each object in the response.
Session IDThe ID of the Security Copilot session. Can be obtained using the List Sessions action.
SkipThe number of results to skip from the beginning of the result set.
TopThe maximum number of results to return in the response.
Workspace IDThe ID of the Security Copilot workspace. Use default for the default workspace.

Example Output

{
	"@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
Workflow LibraryPreview this Workflow on desktop