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

Batch initialize a RTR session on multiple hosts.
Before any RTR commands can be used, an active session is needed on the host.

<Note>
  External Documentation

  To learn more, visit the [CrowdStrike documentation](https://falcon.us-2.crowdstrike.com/documentation/page/f00d6af5/real-time-response-apis#e2e7d467).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter | Description                                                                                                    |
  | --------- | -------------------------------------------------------------------------------------------------------------- |
  | Host IDs  | A comma-separated list of host IDs to initialize a RTR session. Can be obtained via the `List Devices` action. |
</div>

## Example Output

```json theme={"dark"}
{
	"meta": {
		"query_time": 5.014495063,
		"powered_by": "empower-api",
		"trace_id": "123456-1234-1234-1234-1234567"
	},
	"batch_id": "12345-1234-1234-1234-1234567",
	"resources": {
		"1234567891§23456789": {
			"session_id": "1324567-12345-2345-31245-12345678",
			"task_id": "12345-2345-12345-123456-123456789",
			"complete": true,
			"stdout": "C:\\",
			"stderr": "",
			"base_command": "pwd",
			"aid": "123456789324567891324567",
			"errors": [],
			"query_time": 0,
			"offline_queued": false
		}
	},
	"errors": []
}
```

## Workflow Library Example

[Create Batch Session with Crowdstrike and Send Results Via Email](https://library.blinkops.com/workflows/create-batch-session-with-crowdstrike-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-batch-session-with-crowdstrike-and-send-results-via-email/canvas" />
</div>
