Test the connection
Tests the saved connection. A local CLI must be installed and signed in; a hosted or custom provider must answer, and list the chosen model if it lists any. A pass marks the connection verified; a failure clears that and switches the assistant off. Admin only.
curl -X POST "https://example.com/api/ai/test"{ "ok": true, "message": "string"}Follow a turn (SSE) GET
Subscribes to the conversation's running turn (started by the send, approve, or answer endpoints) as Server-Sent Events: `status`, `delta`, `message`, `tool_result`, `approval_request`, `approval_resolved`, `awaiting_approval`, `user_question`, `awaiting_input`, `usage`, `done`, `cancelled`, and `error`. Buffered events replay first, then live ones; disconnecting only drops this subscriber, never the run.
Update assistant settings PUT
Updates the connector. Admin only. Pass `apiKey` to set/replace it, or `clearKey` to remove it. Changing the provider, model, base URL, or key clears the verified flag and switches the assistant off until the connection is tested again.