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

# Create Prompt

Create a new prompt.

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-post-prompts?view=graph-rest-beta\&tabs=http).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter    | Description                                                                                        |
  | ------------ | -------------------------------------------------------------------------------------------------- |
  | Content      | The input text for the prompt evaluation.                                                          |
  | Prompt Type  | The input type of the prompt.<br /><br />**Important Note:** Only `prompt` is currently supported. |
  | Session ID   | The ID of the Security Copilot session. Can be obtained using the `List Sessions` action.          |
  | 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/$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](https://library.blinkops.com/workflows/create-prompt-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/create-prompt-with-microsoft-security-copilot-and-send-results-via-email/canvas" />
</div>
