Agents

Duplicate agent

Duplicate an existing agent template and return the duplicated graph payload.

post/agent/{agent_id}/duplicate

Request

  • Base URL
    https://api.mosaic.so
  • URL
    https://api.mosaic.so/agent/{agent_id}/duplicate
  • Auth
    • HTTP bearer
    • or API key in header X-API-Key

Path parameters

agent_idstring required

The ID of the source agent to duplicate

Request body

namestring
descriptionstring
visibility'public' | 'private'
include_rendersboolean

Copy completed renders and the media they reference onto the duplicate.

Response

Agent duplicated successfully

Changes

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