Messages

Get Conversation Messages

get

Get all messages for a specific conversation branch.

The branch is determined by the conversation's last_message_id.

Authorizations
X-API-KeystringRequired
Path parameters
conversation_idstringRequired
project_idstringRequired
Responses
get
/projects/{project_id}/conversations/{conversation_id}/messages

Append Messages Sso

post

Append multiple messages to a given conversation.

If the conversation does not exist, it will be created with the first messages.

Args: conversation_id: ID of the conversation to append messages to project_id: ID of the project the conversation belongs to body: AppendMessagesBody message_service: Message service dependency conversation_service: Conversation service dependency

Returns: The list of appended messages

Authorizations
X-API-KeystringRequired
Path parameters
conversation_idstring · uuidRequired
project_idstringRequired
Body
user_idstringRequired
Responses
post
/projects/{project_id}/conversations/{conversation_id}/messages

Get Conversation Messages Sso

get

Get all messages for a specific conversation branch.

The branch is determined by the conversation's last_message_id.

Authorizations
OAuth2passwordRequired
Token URL:
Path parameters
conversation_idstringRequired
project_idstringRequired
Responses
get
/projects/{project_id}/conversations/sso/{conversation_id}/messages

Append Messages

post

Append multiple messages to a given conversation.

If the conversation does not exist, it will be created with the first messages.

Args: conversation_id: ID of the conversation to append messages to project_id: ID of the project the conversation belongs to body: AppendMessagesBody message_service: Message service dependency conversation_service: Conversation service dependency

Returns: The list of appended messages

Authorizations
OAuth2passwordRequired
Token URL:
Path parameters
conversation_idstring · uuidRequired
project_idstringRequired
Body
user_idstringRequired
Responses
post
/projects/{project_id}/conversations/sso/{conversation_id}/messages

Update Message Feedback

patch
Authorizations
X-API-KeystringRequired
Path parameters
project_idstringRequired
message_idstringRequired
Body
typestring · enumRequiredPossible values:
commentany ofOptional
stringOptional
or
nullOptional
Responses
patch
/projects/{project_id}/messages/{message_id}/feedback

Update Message Feedback Sso

patch
Authorizations
OAuth2passwordRequired
Token URL:
Path parameters
project_idstringRequired
message_idstringRequired
Query parameters
tokenstringRequired

Token for authorization

Body
typestring · enumRequiredPossible values:
commentany ofOptional
stringOptional
or
nullOptional
Responses
patch
/projects/{project_id}/messages/sso/{message_id}/feedback

Last updated

Was this helpful?