Conversations

Get Conversations

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

Successful Response

application/json
get
/projects/{project_id}/conversations

Get Conversations Sso

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

Successful Response

application/json
get
/projects/{project_id}/sso/conversations

Archive Conversation

post
Authorizations
X-API-KeystringRequired
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
post
/projects/{project_id}/conversations/{conversation_id}/archive

Delete Conversation

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

Successful Response

application/json
Responseany
delete
/projects/{project_id}/conversations/{conversation_id}

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

Authorizations
X-API-KeystringRequired
Path parameters
conversation_idstringRequired
project_idstringRequired
Header parameters
X-User-Idany ofRequired
stringOptional
or
nullOptional
Body
titlestringRequired
Responses
200

Successful Response

application/json
post
/projects/{project_id}/conversations/{conversation_id}/rename

Last updated

Was this helpful?