AI Assistants
Stop an AI assistant and cancel any running agent.
Transitions the assistant to the stopped state. If the assistant is currently running an agent, the running agent is also cancelled by setting the Redis stop flag on the active chat question, which triggers a .terminate file push to the agent container. The wake queue is drained and pending approvals are cancelled.
post/ai_assistants/{assistant_id}/stop
Request
- Base URLhttps://h2ogpte.genai.h2o.ai/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
assistant_idstring required
Response
No Content
Changes
No recorded changes to this operation across all 1 revision of this API.