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
idstring——Unique identifier for the deployment
projectIdstringYes—Project ID for organizational grouping
deploymentChannelIdstringYes—ID of the deployment channel (1:1)
deploymentNamestringNo—Human-readable name for administration
agentConfigurationIdstringYes—ID of the agent configuration (N:1)
instructionConfigurationIdstringYes—ID of the instruction configuration (N:1)
deploymentStatusenumYes—Current operational status. One of PENDING, ACTIVE, SUSPENDED, or FAILED.
provisioningTypeenumNoDIRECTHow deployment processes interactions. One of DIRECT or CHAINED.
provisioningConfigChainIdstring | nullNo—Voice processing chain ID (for CHAINED type)
isActivebooleanNofalseWhether deployment is accepting interactions
channelDeploymentChannel | nullNo—Populated channel configuration
projectProject | nullNo—Populated project information
agentAgentConfiguration | nullNo—Populated agent configuration
instructionInstructionConfiguration | nullNo—Populated instruction configuration
createdAtnumber——Unix timestamp when created
updatedAtnumber——Unix 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