Conversations
Authorizations
Path parameters
project_idstringRequired
Header parameters
X-User-Idany ofRequired
stringOptional
nullOptional
Responses
200
Successful Response
application/json
Responseany
422
Validation Error
application/json
get
/projects/{project_id}/conversationsGET /projects/{project_id}/conversations HTTP/1.1
Host: api.stack-ai.com
X-User-Id: text
Accept: */*
No content
Authorizations
Path parameters
project_idstringRequired
Header parameters
X-User-Idany ofRequired
stringOptional
nullOptional
Responses
200
Successful Response
application/json
Responseany
422
Validation Error
application/json
get
/projects/{project_id}/sso/conversationsGET /projects/{project_id}/sso/conversations HTTP/1.1
Host: api.stack-ai.com
X-User-Id: text
Accept: */*
No content
Authorizations
Path parameters
conversation_idstringRequired
project_idstringRequired
Query parameters
is_archivedbooleanOptionalDefault:
trueHeader parameters
X-User-Idany ofRequired
stringOptional
nullOptional
Responses
200
Successful Response
application/json
Responseany
422
Validation Error
application/json
post
/projects/{project_id}/conversations/{conversation_id}/archivePOST /projects/{project_id}/conversations/{conversation_id}/archive HTTP/1.1
Host: api.stack-ai.com
X-User-Id: text
Accept: */*
No content
Authorizations
Path parameters
conversation_idstringRequired
project_idstringRequired
Header parameters
X-User-Idany ofRequired
stringOptional
nullOptional
Responses
200
Successful Response
application/json
Responseany
422
Validation Error
application/json
delete
/projects/{project_id}/conversations/{conversation_id}DELETE /projects/{project_id}/conversations/{conversation_id} HTTP/1.1
Host: api.stack-ai.com
X-User-Id: text
Accept: */*
No content
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
Path parameters
conversation_idstringRequired
project_idstringRequired
Header parameters
X-User-Idany ofRequired
stringOptional
nullOptional
Body
anyOptional
Responses
200
Successful Response
application/json
Responseany
422
Validation Error
application/json
post
/projects/{project_id}/conversations/{conversation_id}/renamePOST /projects/{project_id}/conversations/{conversation_id}/rename HTTP/1.1
Host: api.stack-ai.com
X-User-Id: text
Content-Type: application/json
Accept: */*
No content
Was this helpful?

