Create Session
Create a new agent session associated with an entity.
Request
- Base URLhttps://platform.tracecat.com/api
- Auth
- API key in cookie fastapiusersauth
- or HTTP bearer
Path parameters
Request body
Session ID. If not provided, service generates one.
Session that spawned this fresh child
Human-readable title for the session
User who created this session
The type of entity associated with an agent session.
Determines the context and behavior of the session:
- CASE: Chat attached to a Case entity for investigation
- AGENT_PRESET: Live chat testing a preset configuration
- AGENT_PRESET_BUILDER: Builder chat for editing/configuring a preset
- WORKSPACE_CHAT: Workspace-level chat assistant (wire value: copilot)
- WORKFLOW: Workflow-initiated agent run (from action)
- APPROVAL: Inbox approval continuation (hidden from main chat list)
- EXTERNAL_CHANNEL: External channel session (e.g. Slack thread)
ID of the associated entity
Extra tools added to this session alongside entity defaults
MCP integration IDs attached to this session
Agent preset used for this session (if any)
Pinned preset version used for this session. If null, the session follows the preset's current version.
Opaque agent backend identifier
Execution harness; defaults to the selected backend's harness
Response
Successful Response
Whether the requesting actor can modify this session
The type of entity associated with an agent session.
Determines the context and behavior of the session:
- CASE: Chat attached to a Case entity for investigation
- AGENT_PRESET: Live chat testing a preset configuration
- AGENT_PRESET_BUILDER: Builder chat for editing/configuring a preset
- WORKSPACE_CHAT: Workspace-level chat assistant (wire value: copilot)
- WORKFLOW: Workflow-initiated agent run (from action)
- APPROVAL: Inbox approval continuation (hidden from main chat list)
- EXTERNAL_CHANNEL: External channel session (e.g. Slack thread)
Changes
No recorded changes to this operation across all 1 revision of this API.