Messages

Get Conversation Messages

get

Get all messages for a specific conversation branch.

The branch is determined by the conversation's last_message_id.

Path parameters
conversation_idstringRequired
project_idstringRequired
Responses
200

Successful Response

application/json
Responseany
get
GET /projects/{project_id}/conversations/{conversation_id}/messages HTTP/1.1
Host: 
Accept: */*

No content

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

Path parameters
conversation_idstring · uuidRequired
project_idstringRequired
Body
anyOptional
Responses
200

Successful Response

application/json
post
POST /projects/{project_id}/conversations/{conversation_id}/messages HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
[
  null
]

Get Conversation Messages Sso

get

Get all messages for a specific conversation branch.

The branch is determined by the conversation's last_message_id.

Path parameters
conversation_idstringRequired
Responses
200

Successful Response

application/json
Responseany
get
GET /projects/{project_id}/conversations/sso/{conversation_id}/messages HTTP/1.1
Host: 
Accept: */*

No content

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

Path parameters
conversation_idstring · uuidRequired
project_idstringRequired
Body
anyOptional
Responses
200

Successful Response

application/json
post
POST /projects/{project_id}/conversations/sso/{conversation_id}/messages HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
[
  null
]

Update Message Feedback

patch
Path parameters
project_idstringRequired
message_idstringRequired
Body
anyOptional
Responses
200

Successful Response

application/json
Responseany of
patch
PATCH /projects/{project_id}/messages/{message_id}/feedback HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*

No content

Update Message Feedback Sso

patch
Path parameters
project_idstringRequired
message_idstringRequired
Query parameters
tokenstringRequired

Token for authorization

Body
anyOptional
Responses
200

Successful Response

application/json
Responseany of
patch
PATCH /projects/{project_id}/messages/sso/{message_id}/feedback?token=text HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*

No content

Was this helpful?