Alpha: The request and response contract may change; Retrieve all traces belonging to a specific thread within a project.
listTraces(
threadID: string,
query: ThreadListTracesParams,
options: RequestOptions
): PagePromise<ThreadTraceListItemsItemsCursorGetPagination, ThreadTraceListItem>| Name | Type | Description |
|---|---|---|
threadID* | string | |
query* | ThreadListTracesParams | |
options | RequestOptions |
// Automatically fetches more pages as needed.
for await (const threadTraceListItem of client.threads.listTraces(
'thread_id',
{ project_id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e' },
)) {
// ...
}