cURL
curl --request PATCH \ --url https://api.example.com/chats/{chat_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "analysis_node_id": "<string>" } '
{ "success": true }
update a chat thread. Can either upgrade it to chat with an analysis, or update the analysis version. Cannot update the code version.
API key in Bearer token format
Successful Response