agents

Clone an agent

Copy an agent’s live version, a selected publication or its never-published draft into a new agent’s first draft.

post/api/v1/agents/{agent_id}/clone

Request

  • Base URL: https://api.cumuluslabs.io
  • URL: https://api.cumuluslabs.io/api/v1/agents/{agent_id}/clone
  • Auth: HTTP bearer

Path parameters

agent_idstring required

Headers

Idempotency-Keystring required

Request body

namestring required
versioninteger nullable

Response

Clone an agent's head, chosen version or never-published draft into a new agent's first draft (201; replay 200)

namestring required
created_atstring date-time required
updated_atstring date-time required

The head's publish time, else created_at: the key of the updated_desc agents.list order

Changes

No recorded changes to this operation across all 1 revision of this API.