v1
latestOpenAPI 3.0.22026-07-174617345.8 KBConversations
Update a conversation.
Update a conversation within an agent (formerly known as project) identified by its unique projectId and sessionId. This endpoint allows you to modify and update the properties of a specific conversation. By providing the projectId and sessionId, you can target the desired conversation and make changes to its attributes. Here is an example to update a conversation: API SDK.
put/api/v1/projects/{projectId}/conversations/{sessionId}
Path parameters
projectIdinteger required
The unique identifier of the agent (formerly known as project).
sessionIdstring required
The unique session identifier.
Request body
Example request
{
"name": "My new conversation name"
}Response
Update conversation information
Example response
{
"status": "success",
"data": {
"created_at": "2023-04-30 16:43:53",
"updated_at": "2023-04-30 16:43:53",
"deleted_at": "2023-04-30 16:43:53",
"id": 1,
"name": "Conversation 1",
"session_id": "f1b9aaf0-5e4e-11eb-ae93-0242ac130002"
}
}