Create Session
Create a new agent session associated with an entity.
Authorizations
Path Parameters
Body
Request schema for creating an agent session.
Type of entity this session is associated with
case, agent_preset, agent_preset_builder, copilot, workflow, approval, external_channel ID of the associated entity
Session ID. If not provided, service generates one.
Human-readable title for the session
1 - 200User who created this session
Extra tools added to this session alongside entity defaults
50MCP integration IDs attached to this session
50Agent preset used for this session (if any)
Pinned preset version used for this session. If null, the session follows the preset's current version.
Agent harness type
pydantic-ai, claude_code Response
Successful Response
Response schema for agent 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)
case, agent_preset, agent_preset_builder, copilot, workflow, approval, external_channel Persisted agents toggle with immutable resolved child refs.
Case artifact shown in artifact-capable chat surfaces.
- CaseArtifact
- WorkflowArtifact
- RunArtifact
- TableArtifact
- AgentArtifact
- AlertArtifact
- IntegrationArtifact
- SecretArtifact
- GenericArtifact