List conversation messages

View as Markdown

Retrieves all messages (both user and assistant) in a conversation in descending order by creation time (most recent first).

Authentication

AuthorizationBearer

JWT bearer token authentication. Obtain an access token from the Moveworks auth endpoint and include it in the Authorization header as ‘Bearer <token>’.

Path parameters

conversation_idstringRequired

A base-62 identifier prefixed by a short resource type

Headers

Assistant-NamestringRequired
The Moveworks assistant identifier that was configured for your organization.

Query parameters

cursorstringOptional
Opaque cursor for pagination
limitintegerOptional1-100Defaults to 20

Maximum number of messages to return (1-100)

Response headers

x-moveworks-root-uuidstring
A unique identifier used to trace your request within the Moveworks system

Response

List of messages
messageslist of objects
Array of messages
metadataobject

Metadata (pagination)

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error