Query threads within a project (session), with cursor-based pagination.
func (
r *ThreadService) Query(ctx context.Context,
body ThreadQueryParams,
opts ...option.RequestOption) (res *pagination.ItemsCursorPostPagination[Thread],
err error
)Query threads within a project (session), with cursor-based pagination. Returns threads matching the given time range and optional filters.
Self-hosted deployments require LangSmith v0.16 or later.
| Name | Type | Description |
|---|---|---|
ctx* | context.Context | |
body* | ThreadQueryParams | |
opts* | ...option.RequestOption |