Headers
Your Langtail API Key
"<LANGTAIL_API_KEY>"
Body
A set of key-value pairs that can be attached to the thread. This can be used to store additional information about the thread to facilitate filtering or organization.
{
"user_id": "user_123",
"conversation_topic": "product_inquiry",
"priority": "high"
}
A log object that can be passed to create an initial log for the thread.
Response
Successfully created thread
The unique identifier for the created thread.
The timestamp when the thread was created.
The ID of the project this thread belongs to.
The metadata associated with the thread, if provided.
The timestamp when the thread was deleted, if applicable.
The log created by the first message that creates the thread.