Skip to Content
API ReferenceAgentPOST /duplicate

POST /agent/duplicate

Duplicate Agent

Duplicate an agent — composable infra architecture.

Request Body (DuplicateAgentApiRequest)

FieldTypeRequiredDescription
agent_idstringYesUUID of the agent to duplicate
idempotency_keystringNoOperation key for ack — promotes or rejects a dormant duplicate
softbooleanNoStage the duplicate dormant (active=False) — propose; the ack ({idempotency_key, accept}) promotes/rejects it
acceptbooleanNoAccept (promote) or reject dormant state. Only meaningful with idempotency_key

Response (DuplicateAgentApiResponse)

FieldTypeRequiredDescription
successbooleanYesWhether the operation succeeded
agent_idstringYesUUID of the duplicated agent
messagestringYesHuman-readable result message
idempotency_keystringNoIdempotency key echoed back for client correlation
Last updated on