Threads
Thread by ID
Retrieves a thread by its ID.
GET
/
v2
/
threads
/
{threadId}
This endpoint retrieves a single thread by its unique identifier. It provides detailed information about a specific conversation thread, including its creation timestamp, associated project, and any custom metadata.
Headers
Your Langtail API Key
Path Parameters
The ID of the thread to retrieve.
Response
200 - application/json
The unique identifier for the thread.
The Unix timestamp (in seconds) of when the thread was created.
The ID of the project this thread belongs to.
The timestamp when the thread was deleted, if applicable.
A log created by the first message that creates 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.
Was this page helpful?