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

Create a new 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-workspace-post-sessions?view=graph-rest-beta\&tabs=http).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter    | Description                                                                        |
  | ------------ | ---------------------------------------------------------------------------------- |
  | Display Name | The display name of the session to create.                                         |
  | 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/$entity",
	"id": "71a8abb6-ce18-496c-a8d4-4d0f51986c3e",
	"createdDateTime": "2025-09-17T01:03:14.07343Z",
	"lastModifiedDateTime": "2025-09-17T01:03:14.07343Z",
	"displayName": "Who am I"
}
```

## Workflow Library Example

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