Headers
Your Langtail API Key
Example:
"<LANGTAIL_API_KEY>"
Path Parameters
The ID of the thread containing the message.
The ID of the message to update.
Body
application/json
Set of key-value pairs that you can attach to the message. This can be useful for storing additional information about the message in a structured format.
Example:
{ "my_key": "my key value" }
Response
Successful response
The unique identifier for the message.
The timestamp when the message was created.
The ID of the thread this message belongs to.
A set of key-value pairs that can be attached to the message.
Example:
{ "my_key": "my key value" }
The timestamp when the message was deleted.
Additional messages. These will be appended to the Prompt Template.
Example:
[{ "role": "user", "content": "Hello" }]
The ID of the associated request log, if available.