Messages
Authorizations
AuthorizationstringRequired
Bearer authentication with JWT
Path parameters
assistantIdentifierstring · uuidRequired
The unique identifier of the assistant.
projectIdentifierstringRequired
Query parameters
pageNumberinteger · int32Optional
The page number to retrieve.
pageSizeinteger · int32Optional
The number of items per page.
searchTextstringOptional
Optional search text to filter messages.
sortinginteger · enumOptionalPossible values:
The sorting option for the results.
descbooleanOptionalDefault:
Whether to sort in descending order.
trueResponses
200
OK
403
Forbidden
get
/projects/{projectIdentifier}/assistants/{assistantIdentifier}/messagesAuthorizations
AuthorizationstringRequired
Bearer authentication with JWT
Path parameters
assistantIdentifierstring · uuidRequired
The unique identifier of the assistant.
projectIdentifierstringRequired
Body
textstring · nullableRequired
messageDocumentIdentifiersstring · uuid[] · nullableOptional
modelIdentifierstring · uuidRequired
streamboolean · nullableOptional
Responses
200
OK
400
Bad Request
403
Forbidden
post
/projects/{projectIdentifier}/assistants/{assistantIdentifier}/messagesAuthorizations
AuthorizationstringRequired
Bearer authentication with JWT
Path parameters
objectIdentifierstring · uuidRequired
The unique identifier of the message to retrieve.
projectIdentifierstringRequired
assistantIdentifierstringRequired
Responses
200
OK
403
Forbidden
404
Not Found
get
/projects/{projectIdentifier}/assistants/{assistantIdentifier}/messages/{objectIdentifier}Authorizations
AuthorizationstringRequired
Bearer authentication with JWT
Path parameters
objectIdentifierstring · uuidRequired
The unique identifier of the message to update.
projectIdentifierstringRequired
assistantIdentifierstringRequired
Body
textstring · nullableRequired
messageDocumentIdentifiersstring · uuid[] · nullableOptional
modelIdentifierstring · uuidRequired
streamboolean · nullableOptional
Responses
200
OK
400
Bad Request
403
Forbidden
404
Not Found
put
/projects/{projectIdentifier}/assistants/{assistantIdentifier}/messages/{objectIdentifier}Authorizations
AuthorizationstringRequired
Bearer authentication with JWT
Path parameters
objectIdentifierstring · uuidRequired
The unique identifier of the message to delete.
projectIdentifierstringRequired
assistantIdentifierstringRequired
Responses
204
No Content
403
Forbidden
404
Not Found
delete
/projects/{projectIdentifier}/assistants/{assistantIdentifier}/messages/{objectIdentifier}No content
Authorizations
AuthorizationstringRequired
Bearer authentication with JWT
Path parameters
projectIdentifierstringRequired
assistantIdentifierstringRequired
Body
filestring · binaryOptional
The file to upload.
Responses
200
OK
400
Bad Request
403
Forbidden
post
/projects/{projectIdentifier}/assistants/{assistantIdentifier}/messages/documentLast updated
