Messages
Get all messages for a specific conversation branch.
The branch is determined by the conversation's last_message_id.
Successful Response
Validation Error
GET /projects/{project_id}/conversations/{conversation_id}/messages HTTP/1.1
Host:
Accept: */*
No content
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
Successful Response
Validation Error
POST /projects/{project_id}/conversations/{conversation_id}/messages HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
[
null
]
Get all messages for a specific conversation branch.
The branch is determined by the conversation's last_message_id.
Successful Response
Validation Error
GET /projects/{project_id}/conversations/sso/{conversation_id}/messages HTTP/1.1
Host:
Accept: */*
No content
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
Successful Response
Validation Error
POST /projects/{project_id}/conversations/sso/{conversation_id}/messages HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
[
null
]
Successful Response
Validation Error
PATCH /projects/{project_id}/messages/{message_id}/feedback HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
No content
Token for authorization
Successful Response
Validation Error
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?