Alpha: The request and response contract may change; Query threads within a project (session), with cursor-based pagination. Returns threads matching the given time range and optional filter.
query(
body: ThreadQueryParams,
options: RequestOptions
): PagePromise<ThreadListItemsItemsCursorPostPagination, ThreadListItem>| Name | Type | Description |
|---|---|---|
body* | ThreadQueryParams | |
options | RequestOptions |
// Automatically fetches more pages as needed.
for await (const threadListItem of client.threads.query()) {
// ...
}