Skip to main content

Queue an AI agent retrain

POST 

/v1/brains/:brain_id/train

Marks the AI agent for a full retrain across intents, dialogs, entities, webhooks, insights, and MCP servers. Idempotent: re-queueing an already-pending request is a no-op. Rejected with 422 when the brain has no intents or dialogs to train. Permissions - brains.write. API keys - manage.

Request​

Responses​

Retrain queued