Trigger a redeploy
POST/api/v1/chatbots/:chatbotId/deploy
Re-runs the production build with the chatbot's CURRENT build-time environment. Runtime config (model, behavior, appearance, prompts, etc.) is read live and does NOT require a deploy. This endpoint does NOT re-sync build-time settings (e.g. chatbot name, requireAuth, region); if you changed a build-time field, use the dashboard redeploy. Long-running operation (up to 5 min). The response is returned immediately with status deploying; poll GET /deployment for the final status. If a build exceeds ~60s the status may remain deploying; the already-deploying guard clears after ~10 minutes. Required scope: deploy.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
Deployment triggered.
Bad Request — invalid input
Unauthorized — missing or invalid API key
Forbidden — key lacks required scope
Not Found
Too Many Requests — rate limit exceeded