Skip to main content
POST
Create Or Update Deployments

Headers

x-api-key
string | null

Your API key for programmatic access. Send it in the x-api-key header; you can create and manage keys from the Developers page.

Path Parameters

agent_id
string
required

The id of an agent. This is returned on agent creation.

Example:

"agent_3701k3ttaq12ewp8b7qv5rfyszkz"

Body

application/json
deployment_request
AgentDeploymentRequest · object
required

Request to create a new deployment

Response

Successful Response

traffic_percentage_branch_id_map
Traffic Percentage Branch Id Map · object

Map of branch IDs to traffic percentages

Example: