v1
latestOpenAPI 3.0.22026-07-174617345.8 KBAgents
Replicate agent by given ID.
Replicate an agent (formerly known as project) by copying the agent info, settings, sitemap sources and uploaded files. This endpoint enables you to initiate the replication of an agent by supplying the necessary ID. The system will process the replicated data and generate a new agent based on the information of existing agent.
post/api/v1/projects/{projectId}/replicate
Path parameters
projectIdinteger required
Example:1
The unique agent identifier.
Response
Agent has been created
Example response
{
"status": "success",
"data": {
"id": 1,
"project_name": "My Agent",
"sitemap_path": "https://www.example.com/sitemap.xml",
"is_chat_active": true,
"user_id": 1,
"team_id": 1,
"created_at": "2021-01-01 00:00:00",
"updated_at": "2021-01-01 00:00:00",
"deleted_at": "2021-01-01 00:00:00",
"type": "SITEMAP",
"is_shared": true,
"shareable_slug": "1234567890abcdef1234567890abcdef",
"are_licenses_allowed": true
}
}