Copies an existing custom agent.
Changed onCreates a copy of an existing custom agent in the current workspace. Provide the new name and optional description in the request body. The source agent supplies the initial configuration and system prompt. Returns the new agent with its own id. <Check title="Required Permissions" icon="key">The user must have read access to the source agent.</Check>
Request
- Base URLhttps://api.awork.com/api/v1
- URLhttps://api.awork.com/api/v1/agents/{agentId}/copy
- AuthHTTP bearer
Path parameters
The source agent id.
Request body
Response
OK
Changes
- info
added the optional property
to the response with the status
- info
- warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status
- warning