Retrieve all traces belonging to a specific thread within a project.
func (
r *ThreadService) ListTraces(ctx context.Context,
threadID string,
query ThreadListTracesParams,
opts ...option.RequestOption) (res *pagination.ItemsCursorGetPagination[ThreadTrace],
err error
)Retrieve all traces belonging to a specific thread within a project.
Self-hosted deployments require LangSmith v0.16 or later.
| Name | Type | Description |
|---|---|---|
ctx* | context.Context | |
threadID* | string | |
query* | ThreadListTracesParams | |
opts* | ...option.RequestOption |