Make an agent

​

Creates an agent and answers it.

Needs the permission to edit bots. Counts against your brand's write limit.

Body·

required
application/json

Whatever the agents API takes. GET /ai-agents/schema describes it.

Responses

  • application/json
  • application/json
  • application/json
  • application/json
Request Example for post/ai-agents
curl https://api.landbot.io/v3/ai-agents \
  --request POST \
  --header 'Content-Type: application/json' \
  --cookie 'sessionid=YOUR_SECRET_TOKEN' \
  --data '{
  "additionalProperty": "anything"
}'
{
  "detail": "Authentication credentials were not provided."
}