Copy an agent
Makes a copy of this agent and answers the copy.
Needs the permission to edit bots. Counts against your brand's write limit.
Path Parameters
- Type: stringFormat: uuidagent
_id requiredThe agent, as
assistantIdnames it in anai_agentblock.
Body·
required
application/json
Whatever the agents API takes. GET /ai-agents/schema describes it.
- additionalPropertyType: anythingproperty
Name
Responses
- application/json
- application/json
- application/json
- application/json
Request Example for post/ai-agents/{agent_id}
curl https://api.landbot.io/v3/ai-agents/123e4567-e89b-12d3-a456-426614174000 \
--request POST \
--header 'Content-Type: application/json' \
--cookie 'sessionid=YOUR_SECRET_TOKEN' \
--data '{
"additionalProperty": "anything"
}'
{
"detail": "Authentication credentials were not provided."
}