Skip to main content
POST
Create Revision

Authorizations

Authorization
string
header
required

API key authentication. Get your API key from the Duvo dashboard.

Path Parameters

agent_id
string<uuid>
required

The agent's unique identifier

Body

application/json
name
string
required

Build name

Minimum string length: 1
config
object

Build configuration (latest schema version only; legacy v1 configs are not accepted)

handover_target_ids
string<uuid>[]

Agent IDs that this agent can hand work off to

source_build_id
string<uuid>

Build ID to copy integrations and queue links from

selected_automation_revision_id
string<uuid> | null

The automation revision this edit is being made at. Pass a draft and the edit is folded into that draft itself; pass the active revision and the edit lands on a draft branched from it. A historic revision is rejected — it cannot be activated from without an explicit rebase. A revision belonging to a different automation is ignored, and the edit targets the automation the addressed agent belongs to. Omit to target the automation's active revision.

Response

Default Response

build
object
required
agent
object
required