Agents
Create a draft
Branch a new draft from any version.
POST
Create Draft
from_version to branch from the live version. An agent may hold as many drafts as you like —
each owns its own copy of the configuration, so editing one never disturbs another.
Authorizations
Body
application/json
POST /v1/agents/{id}/drafts.
Either spelling of "which version do I branch from" is accepted: from_version, the number
you already hold, or base_version_id, its uuid. An unknown field is refused here rather
than deeper in, so a typo reads like every other refused body on this surface.
Response
The new draft, branched from the version you named.
One version in an agent's history.
Versions are identified by NUMBER: it is what every version read returns and what ?version= and /versions/{n} take.
Create Draft