get_thread and export_threads methods return the thread steps.
Creating a thread
uuid
Id of the participant
string
Environment of the thread
list
The tags of the thread
dict
The metadata of the thread
Get a thread
Use the thread id to get a thread. The returned thread contains the list of steps.uuid
required
The id of the thread
List threads
You can list threads, with optional filters. It returns a paginated list of threads. The returned thread list doesn’t contain the thread steps. If you need the steps, you should use theexport_threads method.
int
Pagination parameters, checkout GraphQL
doc for more information
dict
You can filter threads with the following parameters:
Exporting threads
This method is optimized to export a large number of threads. It returns a paginated list of threads with their steps. You can optionally filter the threads.string
Pagination parameter, use the
pageInfo.endCursor from the previous result.dict
You can filter threads with the following parameters:
Update thread
uuid
required
The id of the thread
str
The name of the thread
dict
The metadata of the thread
uuid
The participant id of the thread
string
The environment of the thread
list
The tags of the thread
Upsert thread
It will either create a new thread if thethread_id does not exist or update the existing one.
uuid
required
The id of the thread
str
The name of the thread
dict
The metadata of the thread
uuid
The participant id of the thread
string
The environment of the thread
list
The tags of the thread
Delete thread
uuid
required
The id of the thread