Skip to main content

Deployment Configuration

The Deployment Configuration is the central composition entity that brings together agent behavior, instructions, and channel configuration to create a deployable unit. Each deployment has exactly one channel (1:1 relationship).

Schema: DeploymentConfigurationSchema Source: src/core/service-configuration/deployment-config.schema.ts


Attributes

AttributeTypeRequiredDefaultDescription
idstringUnique identifier for the deployment
projectIdstringYesProject ID for organizational grouping
deploymentChannelIdstringYesID of the deployment channel (1:1)
deploymentNamestringNoHuman-readable name for administration
agentConfigurationIdstringYesID of the agent configuration (N:1)
instructionConfigurationIdstringYesID of the instruction configuration (N:1)
deploymentStatusenumYesCurrent operational status. One of PENDING, ACTIVE, SUSPENDED, or FAILED.
provisioningTypeenumNoDIRECTHow deployment processes interactions. One of DIRECT or CHAINED.
provisioningConfigChainIdstring | nullNoVoice processing chain ID (for CHAINED type)
isActivebooleanNofalseWhether deployment is accepting interactions
channelDeploymentChannel | nullNoPopulated channel configuration
projectProject | nullNoPopulated project information
agentAgentConfiguration | nullNoPopulated agent configuration
instructionInstructionConfiguration | nullNoPopulated instruction configuration
createdAtnumberUnix timestamp when created
updatedAtnumberUnix timestamp when last updated

Example

{
"id": "deploy_abc123",
"projectId": "proj_456",
"deploymentChannelId": "chan_789",
"deploymentName": "Production Customer Support",
"agentConfigurationId": "agent_def",
"instructionConfigurationId": "inst_ghi",
"deploymentStatus": "ACTIVE",
"provisioningType": "DIRECT",
"isActive": true,
"createdAt": 1709856000000,
"updatedAt": 1709856000000
}

Create / Update Schemas

SchemaDescriptionOmits
CreateDeploymentConfigurationSchemaFor creating deploymentsid, createdAt, updatedAt, populated relations
CreateChainDeploymentConfigurationSchemaFor CHAINED deploymentsSame + requires provisioningConfigChainId
UpdateDeploymentConfigurationSchemaFor partial updatesAll fields optional except id
DeploymentConfigurationResultSchemaLightweight list viewOmits populated relations
DeploymentConfigurationDetailsSchemaFull detail viewRequires all populated relations