Duplicate Agent
Duplicate an existing agent through the frontend API surface.
POST
Duplicate an agent
Creates a copy of an existing agent with all its settings and configurations.
Endpoint:
Headers:
Parameters:
Error Responses:
Request
Method:POSTEndpoint:
/api/duplicate-agentHeaders:
X-Authorization: Your API key (required)Content-Type:application/json
uid(string, required): Your user IDagentId(string, required): The ID of the agent to duplicate
Response
Success Response (200):400 Bad Request: Invalid request body401 Unauthorized: Invalid or missing API key, or insufficient permissions500 Internal Server Error: Server error
Example
Duplicate an agent

