Create a Thread
Create a new thread. This endpoint allows you to initialize a conversation thread, optionally providing metadata or an initial log.
This endpoint creates a new thread. It allows you to initialize a conversation thread, optionally providing metadata to associate with it.
Headers
Your Langtail API Key
Body
A log object that can be passed to create an initial log for the thread.
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.
Response
The timestamp when the thread was created.
The unique identifier for the created thread.
The ID of the project this thread belongs to.
The log created by the first message that creates the thread.
The timestamp when the thread was deleted, if applicable.
The metadata associated with the thread, if provided.
Was this page helpful?