Space Docs
Domain Model

Conversation

Fields

FieldTypeRequiredDefaultDescription
idstring.uuidYes—Id
createdAtstring.date-timeYes—Created at
updatedAtstring.date-timeYes—Updated at
workspaceIdstringYes—ID of the associated workspace
providerenum(telegram, whatsapp, discord, slack, microsoft_teams, ai_agent, email)Yes—Provider
channelEndpointIdstringYes—ID of the associated channel endpoint
subjectstringNo—Subject
linkedRecordTypestringNo—Linked record type
linkedRecordIdstringNo—ID of the associated linked record
stateenum(open, waiting_on_customer, waiting_on_agent, escalated, resolved, closed)Yes—State
ownerUserIdstringNo—ID of the associated owner user
assignedAgentIdstringNo—ID of the associated assigned agent
requireSessionVerificationbooleanYes—Require session verification
visibilityModeunknownYes—Visibility mode
accountResolutionStatusenum(auto_matched, confirmed, corrected)No—Account resolution status
accountResolutionConfidencenumberNo—Account resolution confidence

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
workspaceIdstringYes—ID of the associated workspace
providerenum(telegram, whatsapp, discord, slack, microsoft_teams, ai_agent, email)Yes—Provider
channelEndpointIdstringYes—ID of the associated channel endpoint
subjectstringNo—Subject
linkedRecordTypestringNo—Linked record type
linkedRecordIdstringNo—ID of the associated linked record
stateenum(open, waiting_on_customer, waiting_on_agent, escalated, resolved, closed)Yes"open"State
ownerUserIdstringNo—ID of the associated owner user
assignedAgentIdstringNo—ID of the associated assigned agent
requireSessionVerificationbooleanYesfalseRequire session verification
visibilityModeunknownNo—Visibility mode
accountResolutionStatusenum(auto_matched, confirmed, corrected)No—Account resolution status
accountResolutionConfidencenumberNo—Account resolution confidence

Update Schema

All fields are optional when updating:

FieldTypeRequiredDefaultDescription
subjectstringNo—Subject
linkedRecordTypestringNo—Linked record type
linkedRecordIdstringNo—ID of the associated linked record
stateenum(open, waiting_on_customer, waiting_on_agent, escalated, resolved, closed)No—State
ownerUserIdstringNo—ID of the associated owner user
assignedAgentIdstringNo—ID of the associated assigned agent
requireSessionVerificationbooleanNo—Require session verification
accountResolutionStatusenum(auto_matched, confirmed, corrected)No—Account resolution status
accountResolutionConfidencenumberNo—Account resolution confidence

On this page