Skip to content

Clone Agent

POST /agents/{agent_id}/clone
NameInTypeNotes
agent_idpathstring (uuid)required—
FieldTypeNotes
slugstringrequired—
namestring | nulloptionalmax length 200
scopeworkspace | organization | platform | nulloptional—
include_personasbooleanoptionalDefault false.
StatusDescriptionBody
201Successful ResponseAgentView
422Validation ErrorHTTPValidationError

The body shows the fields the schema always carries. Which combination is legal is a service rule the schema cannot express, so read the description above before copying this.

Terminal window
curl -X POST https://your-deployment.example.com/agents/{agent_id}/clone \
-H "Authorization: Bearer $COBRE_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"slug": "string"
}'
FieldTypeNotes
idstring (uuid)required—
scopeworkspace | organization | platformrequired—
organization_idstring (uuid) | nullrequired, nullable—
workspace_idstring (uuid) | nullrequired, nullable—
slugstringrequired—
namestringrequired—
descriptionstring | nullrequired, nullable—
avatar_presetanalyst | archivist | builder | courier | gardener | navigator | scribe | sentinel | nullrequired, nullable—
image_urlstring | nullrequired, nullable—
is_activebooleanrequired—
attributesobjectrequired—
active_revision_idstring (uuid) | nullrequired, nullable—
created_by_user_idstring (uuid) | nullrequired, nullable—
created_atstring (date-time)required—
updated_atstring (date-time)required—
active_revisionAgentRevisionView | nulloptional—
revision_countinteger | nulloptional—