Skip to main content
Create a new prompt. The following permissions are required to run this action - SecurityCopilotWorkspaces.ReadWrite.All.
External DocumentationTo learn more, visit the Microsoft Security Copilot documentation.

Parameters

ParameterDescription
ContentThe input text for the prompt evaluation.
Prompt TypeThe input type of the prompt.

Important Note: Only prompt is currently supported.
Session IDThe ID of the Security Copilot session. Can be obtained using the List Sessions action.
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/$entity",
	"id": "76a9b8c6-6656-4ef4-a4c7-7ed07fb93e01",
	"type": "prompt",
	"createdDateTime": "2025-10-22T20:12:13.759634Z",
	"lastModifiedDateTime": "2025-10-22T20:12:13.759634Z",
	"skillName": null,
	"content": "who am I",
	"inputs": {
		"keyValuePairs": []
	},
	"skillInputDescriptors": []
}

Workflow Library Example

Create Prompt with Microsoft Security Copilot and Send Results Via Email
Workflow LibraryPreview this Workflow on desktop