cURL
curl --request PUT \ --url https://agent-service-511985928315.us-east4.run.app/api/assistants/threads/{threadId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'X-Envole-User-Id: <api-key>' \ --data ' { "threadName": "Project Ideas" } '
{ "id": "thread_456", "threadName": "Project Ideas", "agentId": "agent_abc", "agentName": "Demo Agent", "agentHandle": "demo-agent", "rootAgentBuildId": "build_123", "lastMessageTime": "2024-01-01T12:00:00Z", "sessionType": "LIVE" }
Renames a session thread.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
External user identifier; not necessarily registered with Envole
Session thread renamed successfully.
LIVE
TESTING