Space Docs
Domain Model

Channel Endpoint

Fields

FieldTypeRequiredDefaultDescription
idstring.uuidYes—Id
createdAtstring.date-timeYes—Created at
updatedAtstring.date-timeYes—Updated at
providerenum(telegram, whatsapp, discord, slack, microsoft_teams, ai_agent, email)Yes—Provider
endpointTypeenum(bot, channel, phone_number, guild_app, dm, group_chat, workspace_app, thread)Yes—Endpoint type
externalEndpointIdstringYes—ID of the associated external endpoint
displayNamestringYes—Display name
workspaceIdstringYes—ID of the associated workspace
connectionIdstringNo—ID of the associated connection
configJsonobjectNo—Config json
statusstringYes—Status
agentAutonomyLevelenum(draft_only, auto_low_risk, auto_all)Yes—Agent autonomy level
visibilityModeunknownYes—Visibility mode

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
providerenum(telegram, whatsapp, discord, slack, microsoft_teams, ai_agent, email)Yes—Provider
endpointTypeenum(bot, channel, phone_number, guild_app, dm, group_chat, workspace_app, thread)Yes—Endpoint type
externalEndpointIdstringYes—ID of the associated external endpoint
displayNamestringYes—Display name
workspaceIdstringYes—ID of the associated workspace
connectionIdstringNo—ID of the associated connection
configJsonobjectNo—Config json
statusstringYes"active"Status
agentAutonomyLevelenum(draft_only, auto_low_risk, auto_all)Yes"draft_only"Agent autonomy level
visibilityModeunknownNo—Visibility mode

Update Schema

All fields are optional when updating:

FieldTypeRequiredDefaultDescription
endpointTypeenum(bot, channel, phone_number, guild_app, dm, group_chat, workspace_app, thread)No—Endpoint type
externalEndpointIdstringNo—ID of the associated external endpoint
displayNamestringNo—Display name
connectionIdstringNo—ID of the associated connection
configJsonobjectNo—Config json
statusstringNo—Status
agentAutonomyLevelenum(draft_only, auto_low_risk, auto_all)No—Agent autonomy level

On this page