Assistant messages in threads
Get Thread Message
Retrieves a specific message from a thread.
GET
/
v2
/
threads
/
{threadId}
/
messages
/
{messageId}
This endpoint allows you to retrieve a specific message from a thread using its unique identifier. It provides detailed information about the message, including its content, creation time, and associated metadata.
Headers
Your Langtail API Key
Path Parameters
The ID of the thread containing the message.
The ID of the message to retrieve.
Response
200 - application/json
The unique identifier for the message.
The timestamp when the message was created.
The ID of the thread this message belongs to.
Additional messages. These will be appended to the Prompt Template.
A key-value store for additional metadata associated with the message.
Information about the request log, if available.
The unique identifier for the request log, if available.
Was this page helpful?