Overview
Real-time Response (RTR) enables interactive command execution on CrowdStrike Falcon hosts. This API provides read-only commands for investigating hosts without making changes to the system.All RTR operations require an active session. Sessions expire after 5 minutes of inactivity unless refreshed.
Session Management
Start-FalconSession
Initialize a single-host or batch Real-time Response session.string[]
required
Host identifier(s). Use
Get-FalconHost to retrieve host IDs.boolean
Add non-responsive hosts to the offline queue for automatic connection when they come online.
string
Add hosts to an existing batch session. Must be a valid batch session UUID.
int32
default:"30"
Length of time to wait for a result, in seconds. Valid range: 1-600.
int32
Length of time to wait for a result from target host(s), in seconds. Valid range: 1-600.
session_id, batch session returns batch_id and host details.
Required Permission: Real time response: Read
Example: Single Host Session
Example: Batch Session
Get-FalconSession
Search for existing Real-time Response sessions.string[]
Session identifier(s) to retrieve.
string
Falcon Query Language expression to filter results (e.g.,
"created_at:>'2024-01-01'").string
Property and direction to sort results.
int32
default:"100"
Maximum number of results per request. Valid range: 1-1000.
int32
Position to begin retrieving results for pagination.
switch
Expand search to include all sessions created within your environment (requires additional permission).
switch
Restrict search to sessions in the offline queue.
switch
Retrieve detailed information for each session.
switch
Repeat requests until all available results are retrieved.
Real time response: Read (and Real time response audit: Read when using -Cid)
Example: Get Session Details
Update-FalconSession
Refresh a session to prevent expiration (extends the 5-minute timeout).string
Host identifier for a single-host session.
string
Batch session identifier.
boolean
Add non-responsive hosts to the offline queue.
string[]
Host identifier(s) to remove from a batch session.
int32
default:"30"
Length of time to wait for a result, in seconds. Valid range: 1-600.
Real time response: Read
Example: Refresh Session
Remove-FalconSession
Terminate an active Real-time Response session.string
required
Session identifier to remove.
Real time response: Read
Example: Close Session
Read-Only Commands
Invoke-FalconCommand
Execute read-only RTR commands that do not modify the host system.string
required
Real-time Response command to execute. Available commands:
cat- Display file contentscd- Change directoryclear- Clear screencsrutil- Check System Integrity Protection status (macOS)env- Display environment variableseventlog backup- Backup Windows event logseventlog export- Export Windows event logseventlog list- List Windows event logseventlog view- View Windows event log entriesfilehash- Calculate file hashgetsid- Get security identifierhelp- Display available commandshistory- Show command historyifconfig- Display network configuration (Unix/macOS)ipconfig- Display network configuration (Windows)ls- List directory contentsmount- Display mounted filesystemsnetstat- Display network connectionsps- List running processesreg query- Query Windows registryusers- List logged-in users
string
Arguments to include with the command (e.g., file path, registry key).
string
Session identifier for single-host execution.
string
Batch session identifier for multi-host execution.
string[]
Restrict batch execution to specific host identifiers.
int32
default:"30"
Length of time to wait for a result, in seconds. Valid range: 1-600.
int32
Length of time to wait for a result from target host(s), in seconds. Valid range: 1-600.
switch
Automatically poll for command completion using
Confirm-FalconCommand.Real time response: Read
Example: List Processes
Example: Check Registry Key
Confirm-FalconCommand
Verify the status of a read-only command (required to acknowledge command completion).string
required
Command request identifier returned from
Invoke-FalconCommand.int32
default:"0"
Sequence identifier for command ordering.
Real time response: Read
Example: Manual Confirmation
Remove-FalconCommand
Remove a command from a queued Real-time Response session.string
required
Session identifier containing the queued command.
string
required
Cloud request identifier of the command to remove.
Real time response: Read
Example: Cancel Queued Command
Workflow Examples
1
Establish Session
Start an RTR session with the target host(s).
2
Execute Commands
Run read-only investigation commands.
3
Review Results
Examine command output for investigation findings.
4
Clean Up
Always close sessions to free resources.
Batch Session Workflow
Complete Batch Investigation
Best Practices
Command Execution
- Use the
-Waitparameter for automatic result polling - Always confirm commands to acknowledge completion
- Batch commands return per-host results
- Check for errors in command output before proceeding
Error Handling
Robust RTR Workflow
Related APIs
- RTR Admin - Administrative commands with write access
- RTR Scripts - Custom script management and execution