Copies an existing custom agent.
Creates 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>
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
agentId
The source agent id.
Request
The name and description for the copy.
name
The name shown to users.
description
A short explanation of what the agent does.
Response
OK
id
The id of the entity.
createdOn
The date this entity was created.
createdBy
The id of the user who created this entity.
updatedOn
The date this entity was last modified.
updatedBy
The id of the user who last modified this entity.
type
The public agent type.
connectors
The linked connectors.
name
The name shown to users.
description
A short explanation of what the agent does.
currentSystemPromptVersionId
The current system prompt version.
modelProvider
The configured model provider when no preset is selected.
modelName
The configured model name when no preset is selected.
presetKey
The configured workspace model preset key.
reasoningLevel
The configured reasoning level.
systemPrompt
The current system prompt.
webSearchEnabled
Whether web search is enabled.
aworkAccessEnabled
Whether awork access is enabled.
googleGenAiAccessEnabled
Whether Google image generation is enabled.
openAiImageGenerationAccessEnabled
Whether OpenAI image generation is enabled.
skillIds
The skills linked to the agent.
hasImage
Whether the agent has a profile image.
isArchived
Whether the agent is archived.
workspaceAccessLevel
The workspace-wide access level.
accessLevel
The requesting user's access level.
Errors
400
Bad Request Error

