Skip to main content

Deployment

The Deployment API manages the binding of an Agent to a trigger configuration (manual or scheduled). When triggered, a Deployment creates a Deployment Run that starts a session, sends initial events to the Agent, and tracks the execution lifecycle.

Overview

A Deployment binds an Agent with a trigger configuration. Triggers can be manual (via the Run API) or scheduled (via a cron expression). Each trigger creates a Deployment Run, which spins up a session, sends the configured initial events to the Agent, and records the execution status. A Deployment can be paused to stop scheduled triggers and resumed later. Archiving retires a Deployment; archived Deployments cannot be updated, paused, or unpaused.

Deployment operations

OperationEndpointDescription
Create DeploymentPOST /deploymentsCreate a Deployment, binding an Agent and configuring the trigger method
Get DeploymentGET /deployments/{deployment_id}Get the details of a single Deployment by ID
List DeploymentsGET /deploymentsPaginated list; supports filtering by Agent, status, and keyword
Update DeploymentPOST /deployments/{deployment_id}Update the configuration of a Deployment
Archive DeploymentPOST /deployments/{deployment_id}/archiveArchive a Deployment; the operation is idempotent
Run DeploymentPOST /deployments/{deployment_id}/runManually trigger a single Deployment execution
Pause DeploymentPOST /deployments/{deployment_id}/pausePause a Deployment, stopping scheduled triggers
Unpause DeploymentPOST /deployments/{deployment_id}/unpauseResume a paused Deployment to active status

Deployment Run operations

OperationEndpointDescription
Get Deployment RunGET /deployment_runs/{deployment_run_id}Get the details of a single Deployment Run
List Deployment RunsGET /deployments/{deployment_id}/runsPaginated list of execution records for a Deployment
Flow Agent API
Sandbox API
RAG API
Long-term Memory
ParseX API
Security API
Framework Integration