Using our API via a dedicated deployment? Just replace
api.langdock.com with your deployment’s base URL: <deployment-url>/api/publicUse Cases
- Temporarily disable an assistant that needs maintenance or updates
- Re-enable a previously disabled assistant
- Control assistant availability during rollouts or testing
Request Parameters
Example
Response Format
Success Response (200 OK)
Error Handling
Behavior
When an assistant is disabled:- Users cannot start new conversations with the assistant
- The assistant does not appear in the assistant library for regular users
- Existing conversations may still be viewable but the assistant cannot respond
- Admins can still view and manage the assistant
- The assistant can be re-enabled at any time
Langdock intentionally blocks browser-origin requests to protect your API key and ensure your applications remain secure. For more information, please see our guide on API Key Best Practices.