Get a list of threads within your project.
limit
parameter allows you to specify the maximum number of threads to return in a single request. The default and maximum value is 100.
after
parameter is used as a cursor for pagination. It should be set to any thread ID from which you want to retrieve the next set of results.
after
parameter set to the ID of the last thread in the current response.
has_more
parameter, which indicates whether there are more results available.
Your Langtail API Key
"<LANGTAIL_API_KEY>"
The maximum number of threads to return. Default is 100.
A cursor for use in pagination. 'after' is a thread ID that defines your place in the list. For instance, if you make a list request and receive 100 threads, ending with thread 'xyz', your subsequent call can include after='xyz' in order to fetch the next page of the list. Pagination works the same as in the OpenAI API https://platform.openai.com/docs/api-reference/assistants/listAssistants.
Successful response
The response is of type object
.