cURL
curl --request PUT \ --url https://api.dev.knowmio.com/api/chat \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "title": "<string>", "metadata": {} } '
{ "id": "<string>", "userId": "<string>", "organizationId": "<string>", "title": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "metadata": {} }
Update an existing chat
API key for authentication (lowercase header name)
Chat ID to update
Organization ID - Required when using API Key authentication. Optional with session authentication (defaults to session's active organization).
Chat updated successfully