Conversations

Get Conversations

get
Path parameters
project_idstringRequired
Header parameters
X-User-Idany ofRequired
stringOptional
or
nullOptional
Responses
200

Successful Response

application/json
Responseany
get
GET /projects/{project_id}/conversations HTTP/1.1
Host: 
X-User-Id: text
Accept: */*

No content

Get Conversations Sso

get
Path parameters
project_idstringRequired
Header parameters
X-User-Idany ofRequired
stringOptional
or
nullOptional
Responses
200

Successful Response

application/json
Responseany
get
GET /projects/{project_id}/sso/conversations HTTP/1.1
Host: 
X-User-Id: text
Accept: */*

No content

Archive Conversation

post
Path parameters
conversation_idstringRequired
project_idstringRequired
Query parameters
is_archivedbooleanOptionalDefault: true
Header parameters
X-User-Idany ofRequired
stringOptional
or
nullOptional
Responses
200

Successful Response

application/json
Responseany
post
POST /projects/{project_id}/conversations/{conversation_id}/archive HTTP/1.1
Host: 
X-User-Id: text
Accept: */*

No content

Delete Conversation

delete
Path parameters
conversation_idstringRequired
project_idstringRequired
Header parameters
X-User-Idany ofRequired
stringOptional
or
nullOptional
Responses
200

Successful Response

application/json
Responseany
delete
DELETE /projects/{project_id}/conversations/{conversation_id} HTTP/1.1
Host: 
X-User-Id: text
Accept: */*

No content

Rename Conversation

post

Rename a conversation.

Args: conversation_id: The ID of the conversation to rename request: The request containing the new title project_metadata: The metadata of the project the conversation belongs to conversation_service: Service for managing conversations user_id: ID of the authenticated user

Returns: The updated conversation

Path parameters
conversation_idstringRequired
project_idstringRequired
Header parameters
X-User-Idany ofRequired
stringOptional
or
nullOptional
Body
anyOptional
Responses
200

Successful Response

application/json
Responseany
post
POST /projects/{project_id}/conversations/{conversation_id}/rename HTTP/1.1
Host: 
X-User-Id: text
Content-Type: application/json
Accept: */*

No content

Was this helpful?