From 64f64ed425d061c542cdc767c2991c3065b28f30 Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Wed, 10 Dec 2025 23:32:00 +0000
Subject: [PATCH 01/30] feat(api): api update
---
.stats.yml | 4 ++--
commit.go | 6 ++++++
commit_test.go | 5 +++--
3 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/.stats.yml b/.stats.yml
index a98ceb5..2ce10e4 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 100
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-624b469e0a8ed90f1574e609929702b6da43306d0681975f690ebda2d40a1c74.yml
-openapi_spec_hash: 389b1d06dd9a4b9e83d410d8d8ece950
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-bcf39ab7ca1220bec0845c5aa5a26fcd6a83f889187e4b4ad7854ce8cdcccf20.yml
+openapi_spec_hash: ee2a9ab8bdf10f5dcf8efc7b1040d10e
config_hash: 4c81a93850b2f9805605749a196ed2df
diff --git a/commit.go b/commit.go
index c3bafdd..a09e95b 100644
--- a/commit.go
+++ b/commit.go
@@ -64,6 +64,8 @@ func (r *CommitService) Get(ctx context.Context, owner interface{}, repo interfa
// Lists all commits for a repository with pagination support. This endpoint
// supports both authenticated and unauthenticated access. Authenticated users can
// access private repos, while unauthenticated users can only access public repos.
+// The include_stats parameter controls whether download and view statistics are
+// computed (defaults to true).
func (r *CommitService) List(ctx context.Context, owner interface{}, repo interface{}, query CommitListParams, opts ...option.RequestOption) (res *pagination.OffsetPaginationCommits[CommitWithLookups], err error) {
var raw *http.Response
opts = slices.Concat(r.Options, opts)
@@ -84,6 +86,8 @@ func (r *CommitService) List(ctx context.Context, owner interface{}, repo interf
// Lists all commits for a repository with pagination support. This endpoint
// supports both authenticated and unauthenticated access. Authenticated users can
// access private repos, while unauthenticated users can only access public repos.
+// The include_stats parameter controls whether download and view statistics are
+// computed (defaults to true).
func (r *CommitService) ListAutoPaging(ctx context.Context, owner interface{}, repo interface{}, query CommitListParams, opts ...option.RequestOption) *pagination.OffsetPaginationCommitsAutoPager[CommitWithLookups] {
return pagination.NewOffsetPaginationCommitsAutoPager(r.List(ctx, owner, repo, query, opts...))
}
@@ -304,6 +308,8 @@ func (r CommitGetParams) URLQuery() (v url.Values) {
}
type CommitListParams struct {
+ // IncludeStats determines whether to compute num_downloads and num_views
+ IncludeStats param.Field[bool] `query:"include_stats"`
// Limit is the pagination limit
Limit param.Field[int64] `query:"limit"`
// Offset is the pagination offset
diff --git a/commit_test.go b/commit_test.go
index 72856ca..c70f108 100644
--- a/commit_test.go
+++ b/commit_test.go
@@ -102,8 +102,9 @@ func TestCommitListWithOptionalParams(t *testing.T) {
map[string]interface{}{},
map[string]interface{}{},
langsmith.CommitListParams{
- Limit: langsmith.F(int64(1)),
- Offset: langsmith.F(int64(0)),
+ IncludeStats: langsmith.F(true),
+ Limit: langsmith.F(int64(1)),
+ Offset: langsmith.F(int64(0)),
},
)
if err != nil {
From 2a1729ec26d120412e1bfb3cf544f26d7d42ae5d Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Fri, 12 Dec 2025 02:32:19 +0000
Subject: [PATCH 02/30] codegen metadata
---
.stats.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.stats.yml b/.stats.yml
index 2ce10e4..8b18efb 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 100
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-bcf39ab7ca1220bec0845c5aa5a26fcd6a83f889187e4b4ad7854ce8cdcccf20.yml
-openapi_spec_hash: ee2a9ab8bdf10f5dcf8efc7b1040d10e
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-0644459bdc72008474a1cd9649fa9671292b89f4037617948f20bb1f4e3522d6.yml
+openapi_spec_hash: d46d89c5794de7804f6196cd1ec177c4
config_hash: 4c81a93850b2f9805605749a196ed2df
From 2c2daebf7c6793cb5130d6c6db28b0f516ae99c9 Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Fri, 12 Dec 2025 16:32:41 +0000
Subject: [PATCH 03/30] codegen metadata
---
.stats.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.stats.yml b/.stats.yml
index 8b18efb..8c06015 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 100
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-0644459bdc72008474a1cd9649fa9671292b89f4037617948f20bb1f4e3522d6.yml
-openapi_spec_hash: d46d89c5794de7804f6196cd1ec177c4
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-48362da317245c1211fc121e36bdaba877ce35455e17dfd2a4b2445eb1d9a8bb.yml
+openapi_spec_hash: f5edbdc38e5015d316b247d91c2f217e
config_hash: 4c81a93850b2f9805605749a196ed2df
From e7ba714691bc74fb530a729ece4f1bf63159d2a4 Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Fri, 12 Dec 2025 22:32:21 +0000
Subject: [PATCH 04/30] feat(api): api update
---
.stats.yml | 4 ++--
example.go | 3 ++-
example_test.go | 3 ++-
3 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/.stats.yml b/.stats.yml
index 8c06015..3426e1c 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 100
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-48362da317245c1211fc121e36bdaba877ce35455e17dfd2a4b2445eb1d9a8bb.yml
-openapi_spec_hash: f5edbdc38e5015d316b247d91c2f217e
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-e04f1febaf53127dc735af12fc0c285a1e445cb658317291c18e2b03534ad2ba.yml
+openapi_spec_hash: ac54f330bb3f7acd1e07555e29da816c
config_hash: 4c81a93850b2f9805605749a196ed2df
diff --git a/example.go b/example.go
index 0527761..e52cd31 100644
--- a/example.go
+++ b/example.go
@@ -257,7 +257,8 @@ func (r ExampleNewParamsSplitArray) ImplementsExampleNewParamsSplitUnion() {}
type ExampleGetParams struct {
// Only modifications made on or before this time are included. If None, the latest
// version of the dataset is used.
- AsOf param.Field[ExampleGetParamsAsOfUnion] `query:"as_of" format:"date-time"`
+ AsOf param.Field[ExampleGetParamsAsOfUnion] `query:"as_of" format:"date-time"`
+ Dataset param.Field[string] `query:"dataset" format:"uuid"`
}
// URLQuery serializes [ExampleGetParams]'s query parameters as `url.Values`.
diff --git a/example_test.go b/example_test.go
index 612f6de..5242e14 100644
--- a/example_test.go
+++ b/example_test.go
@@ -79,7 +79,8 @@ func TestExampleGetWithOptionalParams(t *testing.T) {
context.TODO(),
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
langsmith.ExampleGetParams{
- AsOf: langsmith.F[langsmith.ExampleGetParamsAsOfUnion](shared.UnionTime(time.Now())),
+ AsOf: langsmith.F[langsmith.ExampleGetParamsAsOfUnion](shared.UnionTime(time.Now())),
+ Dataset: langsmith.F("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"),
},
)
if err != nil {
From 13e585bda50d281da4a45d9968acdf37567555cf Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Sat, 13 Dec 2025 02:32:05 +0000
Subject: [PATCH 05/30] feat(api): api update
---
.stats.yml | 4 ++--
dataset.go | 14 ++++++++++++--
dataset_test.go | 1 +
shared/union.go | 1 +
4 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/.stats.yml b/.stats.yml
index 3426e1c..6f8a78a 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 100
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-e04f1febaf53127dc735af12fc0c285a1e445cb658317291c18e2b03534ad2ba.yml
-openapi_spec_hash: ac54f330bb3f7acd1e07555e29da816c
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-20e2510dea2002b4c6e8bdf4cc2fd543834b3025866f5c5d70495df223ada583.yml
+openapi_spec_hash: 223bbc5e48c3e13fdacf712072afd925
config_hash: 4c81a93850b2f9805605749a196ed2df
diff --git a/dataset.go b/dataset.go
index 8eb5dfb..2827268 100644
--- a/dataset.go
+++ b/dataset.go
@@ -637,8 +637,9 @@ type DatasetCloneParams struct {
TargetDatasetID param.Field[string] `json:"target_dataset_id,required" format:"uuid"`
// Only modifications made on or before this time are included. If None, the latest
// version of the dataset is used.
- AsOf param.Field[DatasetCloneParamsAsOfUnion] `json:"as_of" format:"date-time"`
- Examples param.Field[[]string] `json:"examples" format:"uuid"`
+ AsOf param.Field[DatasetCloneParamsAsOfUnion] `json:"as_of" format:"date-time"`
+ Examples param.Field[[]string] `json:"examples" format:"uuid"`
+ Split param.Field[DatasetCloneParamsSplitUnion] `json:"split"`
}
func (r DatasetCloneParams) MarshalJSON() (data []byte, err error) {
@@ -653,6 +654,15 @@ type DatasetCloneParamsAsOfUnion interface {
ImplementsDatasetCloneParamsAsOfUnion()
}
+// Satisfied by [shared.UnionString], [DatasetCloneParamsSplitArray].
+type DatasetCloneParamsSplitUnion interface {
+ ImplementsDatasetCloneParamsSplitUnion()
+}
+
+type DatasetCloneParamsSplitArray []string
+
+func (r DatasetCloneParamsSplitArray) ImplementsDatasetCloneParamsSplitUnion() {}
+
type DatasetGetCsvParams struct {
// Only modifications made on or before this time are included. If None, the latest
// version of the dataset is used.
diff --git a/dataset_test.go b/dataset_test.go
index 3fcb2c7..5e6df54 100644
--- a/dataset_test.go
+++ b/dataset_test.go
@@ -237,6 +237,7 @@ func TestDatasetCloneWithOptionalParams(t *testing.T) {
TargetDatasetID: langsmith.F("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"),
AsOf: langsmith.F[langsmith.DatasetCloneParamsAsOfUnion](shared.UnionTime(time.Now())),
Examples: langsmith.F([]string{"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"}),
+ Split: langsmith.F[langsmith.DatasetCloneParamsSplitUnion](shared.UnionString("string")),
})
if err != nil {
var apierr *langsmith.Error
diff --git a/shared/union.go b/shared/union.go
index 9c5f670..bae5c4e 100644
--- a/shared/union.go
+++ b/shared/union.go
@@ -31,6 +31,7 @@ func (UnionString) ImplementsDatasetUpdateParamsDescriptionUnion() {}
func (UnionString) ImplementsDatasetUpdateParamsNameUnion() {}
func (UnionString) ImplementsDatasetUpdateParamsPatchExamplesSplitUnion() {}
func (UnionString) ImplementsDatasetCloneParamsAsOfUnion() {}
+func (UnionString) ImplementsDatasetCloneParamsSplitUnion() {}
func (UnionString) ImplementsDatasetUpdateTagsParamsAsOfUnion() {}
func (UnionString) ImplementsDatasetVersionGetDiffParamsFromVersionUnion() {}
func (UnionString) ImplementsDatasetVersionGetDiffParamsToVersionUnion() {}
From df983a31e6f0ded956237952f91aade41bed48aa Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Tue, 16 Dec 2025 18:32:04 +0000
Subject: [PATCH 06/30] feat(api): api update
---
.stats.yml | 4 ++--
api.md | 1 -
datasetrun.go | 42 +++++++++++++++++++++++++-----------------
datasetrun_test.go | 29 ++++++++++++++---------------
4 files changed, 41 insertions(+), 35 deletions(-)
diff --git a/.stats.yml b/.stats.yml
index 6f8a78a..d4f67fa 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 100
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-20e2510dea2002b4c6e8bdf4cc2fd543834b3025866f5c5d70495df223ada583.yml
-openapi_spec_hash: 223bbc5e48c3e13fdacf712072afd925
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-b0b9426f5f527255f426d81d43fd4b734039bca13045e3ada76aafb2c6ba84ef.yml
+openapi_spec_hash: c40214445f90db199feb66a58ff62349
config_hash: 4c81a93850b2f9805605749a196ed2df
diff --git a/api.md b/api.md
index 6aa1a07..4036057 100644
--- a/api.md
+++ b/api.md
@@ -146,7 +146,6 @@ Methods:
Params Types:
-- langsmith.QueryExampleSchemaWithRunsParam
- langsmith.QueryFeedbackDeltaParam
- langsmith.SortParamsForRunsComparisonView
diff --git a/datasetrun.go b/datasetrun.go
index 7ab6124..32cecc6 100644
--- a/datasetrun.go
+++ b/datasetrun.go
@@ -439,20 +439,6 @@ func (r ExampleWithRunsChRunsRunType) IsKnown() bool {
return false
}
-type QueryExampleSchemaWithRunsParam struct {
- SessionIDs param.Field[[]string] `json:"session_ids,required" format:"uuid"`
- ComparativeExperimentID param.Field[string] `json:"comparative_experiment_id" format:"uuid"`
- Filters param.Field[map[string][]string] `json:"filters"`
- Limit param.Field[int64] `json:"limit"`
- Offset param.Field[int64] `json:"offset"`
- Preview param.Field[bool] `json:"preview"`
- SortParams param.Field[SortParamsForRunsComparisonView] `json:"sort_params"`
-}
-
-func (r QueryExampleSchemaWithRunsParam) MarshalJSON() (data []byte, err error) {
- return apijson.MarshalRoot(r)
-}
-
type QueryFeedbackDeltaParam struct {
BaselineSessionID param.Field[string] `json:"baseline_session_id,required" format:"uuid"`
ComparisonSessionIDs param.Field[[]string] `json:"comparison_session_ids,required" format:"uuid"`
@@ -567,13 +553,20 @@ type DatasetRunNewResponseArray []ExampleWithRunsCh
func (r DatasetRunNewResponseArray) implementsDatasetRunNewResponseUnion() {}
type DatasetRunNewParams struct {
- QueryExampleSchemaWithRuns QueryExampleSchemaWithRunsParam `json:"query_example_schema_with_runs,required"`
+ SessionIDs param.Field[[]string] `json:"session_ids,required" format:"uuid"`
// Response format, e.g., 'csv'
- Format param.Field[string] `query:"format"`
+ Format param.Field[DatasetRunNewParamsFormat] `query:"format"`
+ ComparativeExperimentID param.Field[string] `json:"comparative_experiment_id" format:"uuid"`
+ Filters param.Field[map[string][]string] `json:"filters"`
+ Limit param.Field[int64] `json:"limit"`
+ Offset param.Field[int64] `json:"offset"`
+ Preview param.Field[bool] `json:"preview"`
+ SortParams param.Field[SortParamsForRunsComparisonView] `json:"sort_params"`
+ Stream param.Field[bool] `json:"stream"`
}
func (r DatasetRunNewParams) MarshalJSON() (data []byte, err error) {
- return apijson.MarshalRoot(r.QueryExampleSchemaWithRuns)
+ return apijson.MarshalRoot(r)
}
// URLQuery serializes [DatasetRunNewParams]'s query parameters as `url.Values`.
@@ -584,6 +577,21 @@ func (r DatasetRunNewParams) URLQuery() (v url.Values) {
})
}
+// Response format, e.g., 'csv'
+type DatasetRunNewParamsFormat string
+
+const (
+ DatasetRunNewParamsFormatCsv DatasetRunNewParamsFormat = "csv"
+)
+
+func (r DatasetRunNewParamsFormat) IsKnown() bool {
+ switch r {
+ case DatasetRunNewParamsFormatCsv:
+ return true
+ }
+ return false
+}
+
type DatasetRunDeltaParams struct {
QueryFeedbackDelta QueryFeedbackDeltaParam `json:"query_feedback_delta,required"`
}
diff --git a/datasetrun_test.go b/datasetrun_test.go
index e919a0c..a720d97 100644
--- a/datasetrun_test.go
+++ b/datasetrun_test.go
@@ -32,21 +32,20 @@ func TestDatasetRunNewWithOptionalParams(t *testing.T) {
context.TODO(),
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
langsmith.DatasetRunNewParams{
- QueryExampleSchemaWithRuns: langsmith.QueryExampleSchemaWithRunsParam{
- SessionIDs: langsmith.F([]string{"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"}),
- ComparativeExperimentID: langsmith.F("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"),
- Filters: langsmith.F(map[string][]string{
- "foo": {"string"},
- }),
- Limit: langsmith.F(int64(1)),
- Offset: langsmith.F(int64(0)),
- Preview: langsmith.F(true),
- SortParams: langsmith.F(langsmith.SortParamsForRunsComparisonView{
- SortBy: langsmith.F("sort_by"),
- SortOrder: langsmith.F(langsmith.SortParamsForRunsComparisonViewSortOrderAsc),
- }),
- },
- Format: langsmith.F("format"),
+ SessionIDs: langsmith.F([]string{"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"}),
+ Format: langsmith.F(langsmith.DatasetRunNewParamsFormatCsv),
+ ComparativeExperimentID: langsmith.F("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"),
+ Filters: langsmith.F(map[string][]string{
+ "foo": {"string"},
+ }),
+ Limit: langsmith.F(int64(1)),
+ Offset: langsmith.F(int64(0)),
+ Preview: langsmith.F(true),
+ SortParams: langsmith.F(langsmith.SortParamsForRunsComparisonView{
+ SortBy: langsmith.F("sort_by"),
+ SortOrder: langsmith.F(langsmith.SortParamsForRunsComparisonViewSortOrderAsc),
+ }),
+ Stream: langsmith.F(true),
},
)
if err != nil {
From 3766f018e5809f7ff51240b03a1b25a8e3f2920d Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Wed, 17 Dec 2025 22:32:23 +0000
Subject: [PATCH 07/30] codegen metadata
---
.stats.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.stats.yml b/.stats.yml
index d4f67fa..e27c93f 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 100
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-b0b9426f5f527255f426d81d43fd4b734039bca13045e3ada76aafb2c6ba84ef.yml
-openapi_spec_hash: c40214445f90db199feb66a58ff62349
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-136b1651a213e3c79dd4da260b7c9012d932df6eb9beb610f2c55d5fd55efe3a.yml
+openapi_spec_hash: d897412f099e885bf56fe125e6a56c15
config_hash: 4c81a93850b2f9805605749a196ed2df
From 6f397c4441cd81e2d6ff8e85953502e1e39a8afb Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Thu, 18 Dec 2025 10:45:55 +0000
Subject: [PATCH 08/30] fix: skip usage tests that don't work with Prism
---
usage_test.go | 1 +
1 file changed, 1 insertion(+)
diff --git a/usage_test.go b/usage_test.go
index 5c9d3d2..74723f7 100644
--- a/usage_test.go
+++ b/usage_test.go
@@ -26,6 +26,7 @@ func TestUsage(t *testing.T) {
option.WithTenantID("My Tenant ID"),
option.WithOrganizationID("My Organization ID"),
)
+ t.Skip("Prism tests are disabled")
customChartsSection, err := client.Sessions.Dashboard(
context.TODO(),
"1ffaeba7-541e-469f-bae7-df3208ea3d45",
From 9dad56055048b0a1376c45d125de51a9da8f7446 Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Fri, 19 Dec 2025 06:32:11 +0000
Subject: [PATCH 09/30] feat(api): api update
---
.stats.yml | 4 ++--
annotationqueuerun.go | 12 +++++++++++-
annotationqueuerun_test.go | 2 +-
feedback.go | 1 +
feedback_test.go | 1 +
5 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/.stats.yml b/.stats.yml
index e27c93f..0efab8d 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 100
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-136b1651a213e3c79dd4da260b7c9012d932df6eb9beb610f2c55d5fd55efe3a.yml
-openapi_spec_hash: d897412f099e885bf56fe125e6a56c15
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-8b7dd183b9d2e69bc88dd0b89ce59b175d539c0eaa8416a2155805ded5527568.yml
+openapi_spec_hash: 3849c3e0e82104bdaceaf41398c68183
config_hash: 4c81a93850b2f9805605749a196ed2df
diff --git a/annotationqueuerun.go b/annotationqueuerun.go
index 4c8d21f..454a41a 100644
--- a/annotationqueuerun.go
+++ b/annotationqueuerun.go
@@ -141,13 +141,23 @@ type AnnotationQueueRunDeleteAllResponse = interface{}
type AnnotationQueueRunDeleteQueueResponse = interface{}
type AnnotationQueueRunNewParams struct {
- Body []string `json:"body,required" format:"uuid"`
+ Body AnnotationQueueRunNewParamsBodyUnion `json:"body,required" format:"uuid"`
}
func (r AnnotationQueueRunNewParams) MarshalJSON() (data []byte, err error) {
return apijson.MarshalRoot(r.Body)
}
+// Satisfied by [AnnotationQueueRunNewParamsBodyArray],
+// [AnnotationQueueRunNewParamsBodyArray].
+type AnnotationQueueRunNewParamsBodyUnion interface {
+ implementsAnnotationQueueRunNewParamsBodyUnion()
+}
+
+type AnnotationQueueRunNewParamsBodyArray []string
+
+func (r AnnotationQueueRunNewParamsBodyArray) implementsAnnotationQueueRunNewParamsBodyUnion() {}
+
type AnnotationQueueRunUpdateParams struct {
AddedAt param.Field[time.Time] `json:"added_at" format:"date-time"`
LastReviewedTime param.Field[time.Time] `json:"last_reviewed_time" format:"date-time"`
diff --git a/annotationqueuerun_test.go b/annotationqueuerun_test.go
index 8dedc98..be64e7a 100644
--- a/annotationqueuerun_test.go
+++ b/annotationqueuerun_test.go
@@ -33,7 +33,7 @@ func TestAnnotationQueueRunNew(t *testing.T) {
context.TODO(),
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
langsmith.AnnotationQueueRunNewParams{
- Body: []string{"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"},
+ Body: langsmith.AnnotationQueueRunNewParamsBodyArray([]string{"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"}),
},
)
if err != nil {
diff --git a/feedback.go b/feedback.go
index 83aa8f7..0bc3f71 100644
--- a/feedback.go
+++ b/feedback.go
@@ -207,6 +207,7 @@ type FeedbackCreateSchemaParam struct {
RunID param.Field[string] `json:"run_id" format:"uuid"`
Score param.Field[FeedbackCreateSchemaScoreUnionParam] `json:"score"`
SessionID param.Field[string] `json:"session_id" format:"uuid"`
+ StartTime param.Field[time.Time] `json:"start_time" format:"date-time"`
TraceID param.Field[string] `json:"trace_id" format:"uuid"`
Value param.Field[FeedbackCreateSchemaValueUnionParam] `json:"value"`
}
diff --git a/feedback_test.go b/feedback_test.go
index a7d56b0..a91f12c 100644
--- a/feedback_test.go
+++ b/feedback_test.go
@@ -61,6 +61,7 @@ func TestFeedbackNewWithOptionalParams(t *testing.T) {
RunID: langsmith.F("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"),
Score: langsmith.F[langsmith.FeedbackCreateSchemaScoreUnionParam](shared.UnionFloat(0.000000)),
SessionID: langsmith.F("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"),
+ StartTime: langsmith.F(time.Now()),
TraceID: langsmith.F("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"),
Value: langsmith.F[langsmith.FeedbackCreateSchemaValueUnionParam](shared.UnionFloat(0.000000)),
},
From a25e7e1fe311800d24c95d5069896b4d74fd7aff Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Fri, 19 Dec 2025 18:32:14 +0000
Subject: [PATCH 10/30] codegen metadata
---
.stats.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.stats.yml b/.stats.yml
index 0efab8d..9f5a1f5 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 100
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-8b7dd183b9d2e69bc88dd0b89ce59b175d539c0eaa8416a2155805ded5527568.yml
-openapi_spec_hash: 3849c3e0e82104bdaceaf41398c68183
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-0d8237ff875514940d47e0625ddc95e0615faaa47b029c4acc53a7e4d934d3c0.yml
+openapi_spec_hash: 85b8c0e8f87a91c35ec305f509a2a844
config_hash: 4c81a93850b2f9805605749a196ed2df
From b0b5ab4c205242582b346fe98c78463ddfd3e742 Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Sat, 20 Dec 2025 00:32:06 +0000
Subject: [PATCH 11/30] codegen metadata
---
.stats.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.stats.yml b/.stats.yml
index 9f5a1f5..781a76e 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 100
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-0d8237ff875514940d47e0625ddc95e0615faaa47b029c4acc53a7e4d934d3c0.yml
-openapi_spec_hash: 85b8c0e8f87a91c35ec305f509a2a844
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-8cb01e481f81e186dfda871d8a8de353f6c5a8ad7fef976e2173964334d22001.yml
+openapi_spec_hash: 8bd08dcf80a3e2cd324fb4ec7604630f
config_hash: 4c81a93850b2f9805605749a196ed2df
From 889043f18d4391c1bc5765a80dacf678528c24d7 Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Tue, 23 Dec 2025 01:31:51 +0000
Subject: [PATCH 12/30] codegen metadata
---
.stats.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.stats.yml b/.stats.yml
index 781a76e..50c30dc 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 100
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-8cb01e481f81e186dfda871d8a8de353f6c5a8ad7fef976e2173964334d22001.yml
-openapi_spec_hash: 8bd08dcf80a3e2cd324fb4ec7604630f
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-424f91aed09afa6ae47f052c908580405dfacb14e55b06b3ee60c9bb032941ff.yml
+openapi_spec_hash: d804f611a23204fa262d8b589dd37665
config_hash: 4c81a93850b2f9805605749a196ed2df
From e4718d3abeec9f461943130fbb3c3a6af816ed07 Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Tue, 23 Dec 2025 19:32:15 +0000
Subject: [PATCH 13/30] codegen metadata
---
.stats.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.stats.yml b/.stats.yml
index 50c30dc..0621dca 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 100
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-424f91aed09afa6ae47f052c908580405dfacb14e55b06b3ee60c9bb032941ff.yml
-openapi_spec_hash: d804f611a23204fa262d8b589dd37665
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-37b2244bfbdcdd818093d8ded061b2de65b952019ed8454966dddeedfbf96b4d.yml
+openapi_spec_hash: 3ada93c9fee0e015cf198ca79a7a9e79
config_hash: 4c81a93850b2f9805605749a196ed2df
From 74c71eda0feb1f9a5885404d8583671e34585fb1 Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Tue, 23 Dec 2025 21:31:50 +0000
Subject: [PATCH 14/30] feat(api): api update
---
.stats.yml | 4 ++--
run.go | 3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/.stats.yml b/.stats.yml
index 0621dca..4e02b1c 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 100
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-37b2244bfbdcdd818093d8ded061b2de65b952019ed8454966dddeedfbf96b4d.yml
-openapi_spec_hash: 3ada93c9fee0e015cf198ca79a7a9e79
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-3936a9eaff598c04986d76e4dd91627f695b0aa80a84d2940eb3956cb43122f1.yml
+openapi_spec_hash: 69463f4d06bbcab656fb2ec7ab44ccbf
config_hash: 4c81a93850b2f9805605749a196ed2df
diff --git a/run.go b/run.go
index c31de63..093e3f6 100644
--- a/run.go
+++ b/run.go
@@ -477,11 +477,12 @@ const (
RunQueryParamsSelectThreadID RunQueryParamsSelect = "thread_id"
RunQueryParamsSelectTraceMinMaxStartTime RunQueryParamsSelect = "trace_min_max_start_time"
RunQueryParamsSelectMessages RunQueryParamsSelect = "messages"
+ RunQueryParamsSelectInsertedAt RunQueryParamsSelect = "inserted_at"
)
func (r RunQueryParamsSelect) IsKnown() bool {
switch r {
- case RunQueryParamsSelectID, RunQueryParamsSelectName, RunQueryParamsSelectRunType, RunQueryParamsSelectStartTime, RunQueryParamsSelectEndTime, RunQueryParamsSelectStatus, RunQueryParamsSelectError, RunQueryParamsSelectExtra, RunQueryParamsSelectEvents, RunQueryParamsSelectInputs, RunQueryParamsSelectInputsPreview, RunQueryParamsSelectInputsS3URLs, RunQueryParamsSelectInputsOrSignedURL, RunQueryParamsSelectOutputs, RunQueryParamsSelectOutputsPreview, RunQueryParamsSelectOutputsS3URLs, RunQueryParamsSelectOutputsOrSignedURL, RunQueryParamsSelectS3URLs, RunQueryParamsSelectErrorOrSignedURL, RunQueryParamsSelectEventsOrSignedURL, RunQueryParamsSelectExtraOrSignedURL, RunQueryParamsSelectSerializedOrSignedURL, RunQueryParamsSelectParentRunID, RunQueryParamsSelectManifestID, RunQueryParamsSelectManifestS3ID, RunQueryParamsSelectManifest, RunQueryParamsSelectSessionID, RunQueryParamsSelectSerialized, RunQueryParamsSelectReferenceExampleID, RunQueryParamsSelectReferenceDatasetID, RunQueryParamsSelectTotalTokens, RunQueryParamsSelectPromptTokens, RunQueryParamsSelectPromptTokenDetails, RunQueryParamsSelectCompletionTokens, RunQueryParamsSelectCompletionTokenDetails, RunQueryParamsSelectTotalCost, RunQueryParamsSelectPromptCost, RunQueryParamsSelectPromptCostDetails, RunQueryParamsSelectCompletionCost, RunQueryParamsSelectCompletionCostDetails, RunQueryParamsSelectPriceModelID, RunQueryParamsSelectFirstTokenTime, RunQueryParamsSelectTraceID, RunQueryParamsSelectDottedOrder, RunQueryParamsSelectLastQueuedAt, RunQueryParamsSelectFeedbackStats, RunQueryParamsSelectChildRunIDs, RunQueryParamsSelectParentRunIDs, RunQueryParamsSelectTags, RunQueryParamsSelectInDataset, RunQueryParamsSelectAppPath, RunQueryParamsSelectShareToken, RunQueryParamsSelectTraceTier, RunQueryParamsSelectTraceFirstReceivedAt, RunQueryParamsSelectTtlSeconds, RunQueryParamsSelectTraceUpgrade, RunQueryParamsSelectThreadID, RunQueryParamsSelectTraceMinMaxStartTime, RunQueryParamsSelectMessages:
+ case RunQueryParamsSelectID, RunQueryParamsSelectName, RunQueryParamsSelectRunType, RunQueryParamsSelectStartTime, RunQueryParamsSelectEndTime, RunQueryParamsSelectStatus, RunQueryParamsSelectError, RunQueryParamsSelectExtra, RunQueryParamsSelectEvents, RunQueryParamsSelectInputs, RunQueryParamsSelectInputsPreview, RunQueryParamsSelectInputsS3URLs, RunQueryParamsSelectInputsOrSignedURL, RunQueryParamsSelectOutputs, RunQueryParamsSelectOutputsPreview, RunQueryParamsSelectOutputsS3URLs, RunQueryParamsSelectOutputsOrSignedURL, RunQueryParamsSelectS3URLs, RunQueryParamsSelectErrorOrSignedURL, RunQueryParamsSelectEventsOrSignedURL, RunQueryParamsSelectExtraOrSignedURL, RunQueryParamsSelectSerializedOrSignedURL, RunQueryParamsSelectParentRunID, RunQueryParamsSelectManifestID, RunQueryParamsSelectManifestS3ID, RunQueryParamsSelectManifest, RunQueryParamsSelectSessionID, RunQueryParamsSelectSerialized, RunQueryParamsSelectReferenceExampleID, RunQueryParamsSelectReferenceDatasetID, RunQueryParamsSelectTotalTokens, RunQueryParamsSelectPromptTokens, RunQueryParamsSelectPromptTokenDetails, RunQueryParamsSelectCompletionTokens, RunQueryParamsSelectCompletionTokenDetails, RunQueryParamsSelectTotalCost, RunQueryParamsSelectPromptCost, RunQueryParamsSelectPromptCostDetails, RunQueryParamsSelectCompletionCost, RunQueryParamsSelectCompletionCostDetails, RunQueryParamsSelectPriceModelID, RunQueryParamsSelectFirstTokenTime, RunQueryParamsSelectTraceID, RunQueryParamsSelectDottedOrder, RunQueryParamsSelectLastQueuedAt, RunQueryParamsSelectFeedbackStats, RunQueryParamsSelectChildRunIDs, RunQueryParamsSelectParentRunIDs, RunQueryParamsSelectTags, RunQueryParamsSelectInDataset, RunQueryParamsSelectAppPath, RunQueryParamsSelectShareToken, RunQueryParamsSelectTraceTier, RunQueryParamsSelectTraceFirstReceivedAt, RunQueryParamsSelectTtlSeconds, RunQueryParamsSelectTraceUpgrade, RunQueryParamsSelectThreadID, RunQueryParamsSelectTraceMinMaxStartTime, RunQueryParamsSelectMessages, RunQueryParamsSelectInsertedAt:
return true
}
return false
From c91fad10685e67bf1f5fe1589b811861af64a889 Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Wed, 24 Dec 2025 15:31:59 +0000
Subject: [PATCH 15/30] codegen metadata
---
.stats.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.stats.yml b/.stats.yml
index 4e02b1c..6e575fb 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 100
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-3936a9eaff598c04986d76e4dd91627f695b0aa80a84d2940eb3956cb43122f1.yml
-openapi_spec_hash: 69463f4d06bbcab656fb2ec7ab44ccbf
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-52dde699e575bf9705b6b988184fe0ace65ece3774761187c3b3ec3b56d13eaa.yml
+openapi_spec_hash: f459963d082ead2284d818f11c8008fd
config_hash: 4c81a93850b2f9805605749a196ed2df
From 417a5a2715387ff0d828f818209f3159979b5636 Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Wed, 31 Dec 2025 23:32:00 +0000
Subject: [PATCH 16/30] codegen metadata
---
.stats.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.stats.yml b/.stats.yml
index 6e575fb..1ec3906 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 100
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-52dde699e575bf9705b6b988184fe0ace65ece3774761187c3b3ec3b56d13eaa.yml
-openapi_spec_hash: f459963d082ead2284d818f11c8008fd
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-432eb86f523c39481bb108451e79739e09ffb6308197a1b6a6e04ba409ba8fff.yml
+openapi_spec_hash: e2a52c0bdd7b51daa9ff6daecb12dcee
config_hash: 4c81a93850b2f9805605749a196ed2df
From cbcbc790d92feb7a25fce8dcccdf363504e76a96 Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Tue, 6 Jan 2026 08:39:08 +0000
Subject: [PATCH 17/30] chore(internal): codegen related update
---
LICENSE | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/LICENSE b/LICENSE
index 15e2b5b..09a1b8b 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-Copyright 2025 langChain
+Copyright 2026 langChain
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
From 779f5b757b48c53f140395e291c3c651e12cb801 Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Wed, 7 Jan 2026 06:31:52 +0000
Subject: [PATCH 18/30] codegen metadata
---
.stats.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.stats.yml b/.stats.yml
index 1ec3906..1d25587 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 100
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-432eb86f523c39481bb108451e79739e09ffb6308197a1b6a6e04ba409ba8fff.yml
-openapi_spec_hash: e2a52c0bdd7b51daa9ff6daecb12dcee
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-ec98c221a34928f56499eeac26d02ceca79e7c3b3fae418798063c9fc2a27a7d.yml
+openapi_spec_hash: 81d3d8a26eeb17834c8d45851e41e5a4
config_hash: 4c81a93850b2f9805605749a196ed2df
From f9ef5caea628134f502ff2b0de96229fbfb55158 Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Wed, 7 Jan 2026 23:32:06 +0000
Subject: [PATCH 19/30] codegen metadata
---
.stats.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.stats.yml b/.stats.yml
index 1d25587..656090c 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 100
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-ec98c221a34928f56499eeac26d02ceca79e7c3b3fae418798063c9fc2a27a7d.yml
-openapi_spec_hash: 81d3d8a26eeb17834c8d45851e41e5a4
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-9ce986dbcc7cec766be7cfb64fd5367e7ce3110d68b04c567030961083b79152.yml
+openapi_spec_hash: dac8bc4d74af8fd2309e78bfcf78aa13
config_hash: 4c81a93850b2f9805605749a196ed2df
From c87524ee5d0afbef47248c652863702e64e8e537 Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Thu, 8 Jan 2026 21:32:21 +0000
Subject: [PATCH 20/30] codegen metadata
---
.stats.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.stats.yml b/.stats.yml
index 656090c..23641f6 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 100
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-9ce986dbcc7cec766be7cfb64fd5367e7ce3110d68b04c567030961083b79152.yml
-openapi_spec_hash: dac8bc4d74af8fd2309e78bfcf78aa13
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-6213a2f682665001a64288467e8f09808cbdf9361a3e94a07bd59ff5a2ae08fa.yml
+openapi_spec_hash: a62fe40772f76463344d2b0a72775865
config_hash: 4c81a93850b2f9805605749a196ed2df
From a066fddca1e64d97bf0cd64766366c20dc28f8ca Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Fri, 9 Jan 2026 01:32:10 +0000
Subject: [PATCH 21/30] codegen metadata
---
.stats.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.stats.yml b/.stats.yml
index 23641f6..16ae428 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 100
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-6213a2f682665001a64288467e8f09808cbdf9361a3e94a07bd59ff5a2ae08fa.yml
-openapi_spec_hash: a62fe40772f76463344d2b0a72775865
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-a84b44388b6582aa1467e4c7ba0b9feeeb5f4d71e8b075d42abb6bcd93aca4d5.yml
+openapi_spec_hash: 9c9ba9fbe724c64c3a984eff8e6088e1
config_hash: 4c81a93850b2f9805605749a196ed2df
From fa3e7a1efcf163d8d752da6d2f6e160d7966badb Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Fri, 9 Jan 2026 21:32:23 +0000
Subject: [PATCH 22/30] codegen metadata
---
.stats.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.stats.yml b/.stats.yml
index 16ae428..a4616f0 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 100
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-a84b44388b6582aa1467e4c7ba0b9feeeb5f4d71e8b075d42abb6bcd93aca4d5.yml
-openapi_spec_hash: 9c9ba9fbe724c64c3a984eff8e6088e1
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-95831fd7de553e35f9f013f6637f226507813237d3bf75705040bb45d118bddc.yml
+openapi_spec_hash: 8b069f8290c507d89e261ccf399a0c6e
config_hash: 4c81a93850b2f9805605749a196ed2df
From be90c19a6d18c6b93724df7a97c353b1b1e0696b Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Fri, 9 Jan 2026 23:32:08 +0000
Subject: [PATCH 23/30] codegen metadata
---
.stats.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.stats.yml b/.stats.yml
index a4616f0..dac9aaa 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 100
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-95831fd7de553e35f9f013f6637f226507813237d3bf75705040bb45d118bddc.yml
-openapi_spec_hash: 8b069f8290c507d89e261ccf399a0c6e
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-4558485515e4e33f8deea30a538a1ea1a6224fbc0c02ed96967258d2e3755ee8.yml
+openapi_spec_hash: e6dcf746f3de6a04c29a6f4bc5c3f373
config_hash: 4c81a93850b2f9805605749a196ed2df
From 7ed78a9d0b6a363488ee359dcc139ec32db47a22 Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Mon, 12 Jan 2026 11:32:22 +0000
Subject: [PATCH 24/30] codegen metadata
---
.stats.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.stats.yml b/.stats.yml
index dac9aaa..3ae9d05 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 100
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-4558485515e4e33f8deea30a538a1ea1a6224fbc0c02ed96967258d2e3755ee8.yml
-openapi_spec_hash: e6dcf746f3de6a04c29a6f4bc5c3f373
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-1a666a4bb1fa09efbdefe10ff1c32bb7bc950e53a83e11a945671db09e4deee0.yml
+openapi_spec_hash: 88ebc1c9e77c70846ece98e4fd62cca3
config_hash: 4c81a93850b2f9805605749a196ed2df
From 3236eb9f4184b0306df5a47a66264a4e4f4044fb Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Mon, 12 Jan 2026 19:32:30 +0000
Subject: [PATCH 25/30] codegen metadata
---
.stats.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.stats.yml b/.stats.yml
index 3ae9d05..3adea82 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 100
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-1a666a4bb1fa09efbdefe10ff1c32bb7bc950e53a83e11a945671db09e4deee0.yml
-openapi_spec_hash: 88ebc1c9e77c70846ece98e4fd62cca3
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-2bca48917a9e2f6cd8442710cc9170d50db781cc03534a7ea3ddcc13838f05c6.yml
+openapi_spec_hash: 0f0142e66b6f782304e0f285b38d73dd
config_hash: 4c81a93850b2f9805605749a196ed2df
From 40886b91e1471e64dff8dfb274b8bfe179ac99f9 Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Mon, 12 Jan 2026 22:31:57 +0000
Subject: [PATCH 26/30] feat(api): api update
---
.stats.yml | 4 ++--
datasetrun.go | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/.stats.yml b/.stats.yml
index 3adea82..e31b111 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 100
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-2bca48917a9e2f6cd8442710cc9170d50db781cc03534a7ea3ddcc13838f05c6.yml
-openapi_spec_hash: 0f0142e66b6f782304e0f285b38d73dd
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-a0a8f82c433fae8e50a35ed918c187109bd60b75f1e502e94c9057195e71fd42.yml
+openapi_spec_hash: e8a0dbbd96dc5af01d1d1ff8533d434d
config_hash: 4c81a93850b2f9805605749a196ed2df
diff --git a/datasetrun.go b/datasetrun.go
index 32cecc6..35bd6d9 100644
--- a/datasetrun.go
+++ b/datasetrun.go
@@ -344,6 +344,7 @@ type ExampleWithRunsChRun struct {
ExecutionOrder int64 `json:"execution_order"`
Extra map[string]interface{} `json:"extra,nullable"`
FeedbackStats map[string]map[string]interface{} `json:"feedback_stats,nullable"`
+ Feedbacks []FeedbackSchema `json:"feedbacks"`
Inputs map[string]interface{} `json:"inputs,nullable"`
InputsPreview string `json:"inputs_preview,nullable"`
InputsS3URLs map[string]interface{} `json:"inputs_s3_urls,nullable"`
@@ -386,6 +387,7 @@ type exampleWithRunsChRunJSON struct {
ExecutionOrder apijson.Field
Extra apijson.Field
FeedbackStats apijson.Field
+ Feedbacks apijson.Field
Inputs apijson.Field
InputsPreview apijson.Field
InputsS3URLs apijson.Field
From 925146c93683a7b98324d8b1b2bf27b3d4deec8d Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Wed, 14 Jan 2026 00:32:24 +0000
Subject: [PATCH 27/30] feat(api): api update
---
.stats.yml | 4 ++--
examplevalidate.go | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.stats.yml b/.stats.yml
index e31b111..397d357 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 100
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-a0a8f82c433fae8e50a35ed918c187109bd60b75f1e502e94c9057195e71fd42.yml
-openapi_spec_hash: e8a0dbbd96dc5af01d1d1ff8533d434d
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-ac7b270bb3c05d693701a01fd68c79164f7eabe8ebef647c2c1fd9e7d46bb31a.yml
+openapi_spec_hash: 72743043a1d274075b1d40875acc9516
config_hash: 4c81a93850b2f9805605749a196ed2df
diff --git a/examplevalidate.go b/examplevalidate.go
index 06af304..998f970 100644
--- a/examplevalidate.go
+++ b/examplevalidate.go
@@ -43,7 +43,7 @@ func (r *ExampleValidateService) New(ctx context.Context, opts ...option.Request
return
}
-// Validate an example.
+// Validate examples in bulk.
func (r *ExampleValidateService) Bulk(ctx context.Context, opts ...option.RequestOption) (res *[]ExampleValidationResult, err error) {
opts = slices.Concat(r.Options, opts)
path := "api/v1/examples/validate/bulk"
From 48a336cfb03d2a2c43c50c9fc27e04431b052f8e Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Wed, 14 Jan 2026 16:32:26 +0000
Subject: [PATCH 28/30] codegen metadata
---
.stats.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.stats.yml b/.stats.yml
index 397d357..103f92c 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 100
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-ac7b270bb3c05d693701a01fd68c79164f7eabe8ebef647c2c1fd9e7d46bb31a.yml
-openapi_spec_hash: 72743043a1d274075b1d40875acc9516
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-3fda9be4d262dd56fdaf8f17685e9c4ed37f0cefefa12a3a97384723d866abc7.yml
+openapi_spec_hash: 3b4bca58b50a2fc3ff2636618b644191
config_hash: 4c81a93850b2f9805605749a196ed2df
From 13e2d39dd5518d343d1dbd1fd5ef07744f9e0c9a Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Wed, 14 Jan 2026 19:40:41 +0000
Subject: [PATCH 29/30] feat(api): manual updates
added title to duplicate schemas
---
.stats.yml | 4 ++--
annotationqueuerun.go | 43 ++++++++++++++++++++++++++++++++++----
annotationqueuerun_test.go | 2 +-
3 files changed, 42 insertions(+), 7 deletions(-)
diff --git a/.stats.yml b/.stats.yml
index 103f92c..941a9f9 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 100
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-3fda9be4d262dd56fdaf8f17685e9c4ed37f0cefefa12a3a97384723d866abc7.yml
-openapi_spec_hash: 3b4bca58b50a2fc3ff2636618b644191
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-727e2aeb765fd2000313549d01ad950a2618797f18b897bc5dbdd73230e3f5e5.yml
+openapi_spec_hash: 44f991ff8d10a14680b1e6926f686976
config_hash: 4c81a93850b2f9805605749a196ed2df
diff --git a/annotationqueuerun.go b/annotationqueuerun.go
index 454a41a..1d34359 100644
--- a/annotationqueuerun.go
+++ b/annotationqueuerun.go
@@ -148,15 +148,50 @@ func (r AnnotationQueueRunNewParams) MarshalJSON() (data []byte, err error) {
return apijson.MarshalRoot(r.Body)
}
-// Satisfied by [AnnotationQueueRunNewParamsBodyArray],
-// [AnnotationQueueRunNewParamsBodyArray].
+// Satisfied by [AnnotationQueueRunNewParamsBodyRunUuidList],
+// [AnnotationQueueRunNewParamsBodyRunAddSchemaList].
type AnnotationQueueRunNewParamsBodyUnion interface {
implementsAnnotationQueueRunNewParamsBodyUnion()
}
-type AnnotationQueueRunNewParamsBodyArray []string
+type AnnotationQueueRunNewParamsBodyRunUuidList []string
-func (r AnnotationQueueRunNewParamsBodyArray) implementsAnnotationQueueRunNewParamsBodyUnion() {}
+func (r AnnotationQueueRunNewParamsBodyRunUuidList) implementsAnnotationQueueRunNewParamsBodyUnion() {
+}
+
+type AnnotationQueueRunNewParamsBodyRunAddSchemaList []AnnotationQueueRunNewParamsBodyRunAddSchemaListItem
+
+func (r AnnotationQueueRunNewParamsBodyRunAddSchemaList) implementsAnnotationQueueRunNewParamsBodyUnion() {
+}
+
+// Schema for adding a run to an annotation queue with optional metadata.
+type AnnotationQueueRunNewParamsBodyRunAddSchemaListItem struct {
+ RunID param.Field[string] `json:"run_id,required" format:"uuid"`
+ ParentRunID param.Field[string] `json:"parent_run_id" format:"uuid"`
+ SessionID param.Field[string] `json:"session_id" format:"uuid"`
+ StartTime param.Field[time.Time] `json:"start_time" format:"date-time"`
+ TraceID param.Field[string] `json:"trace_id" format:"uuid"`
+ TraceTier param.Field[AnnotationQueueRunNewParamsBodyRunAddSchemaListTraceTier] `json:"trace_tier"`
+}
+
+func (r AnnotationQueueRunNewParamsBodyRunAddSchemaListItem) MarshalJSON() (data []byte, err error) {
+ return apijson.MarshalRoot(r)
+}
+
+type AnnotationQueueRunNewParamsBodyRunAddSchemaListTraceTier string
+
+const (
+ AnnotationQueueRunNewParamsBodyRunAddSchemaListTraceTierLonglived AnnotationQueueRunNewParamsBodyRunAddSchemaListTraceTier = "longlived"
+ AnnotationQueueRunNewParamsBodyRunAddSchemaListTraceTierShortlived AnnotationQueueRunNewParamsBodyRunAddSchemaListTraceTier = "shortlived"
+)
+
+func (r AnnotationQueueRunNewParamsBodyRunAddSchemaListTraceTier) IsKnown() bool {
+ switch r {
+ case AnnotationQueueRunNewParamsBodyRunAddSchemaListTraceTierLonglived, AnnotationQueueRunNewParamsBodyRunAddSchemaListTraceTierShortlived:
+ return true
+ }
+ return false
+}
type AnnotationQueueRunUpdateParams struct {
AddedAt param.Field[time.Time] `json:"added_at" format:"date-time"`
diff --git a/annotationqueuerun_test.go b/annotationqueuerun_test.go
index be64e7a..63c09e9 100644
--- a/annotationqueuerun_test.go
+++ b/annotationqueuerun_test.go
@@ -33,7 +33,7 @@ func TestAnnotationQueueRunNew(t *testing.T) {
context.TODO(),
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
langsmith.AnnotationQueueRunNewParams{
- Body: langsmith.AnnotationQueueRunNewParamsBodyArray([]string{"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"}),
+ Body: langsmith.AnnotationQueueRunNewParamsBodyRunUuidList([]string{"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"}),
},
)
if err != nil {
From 429faba9d82311121fc2daf1e165ca3eeff3e071 Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Wed, 14 Jan 2026 19:41:02 +0000
Subject: [PATCH 30/30] release: 0.1.0-alpha.5
---
.release-please-manifest.json | 2 +-
CHANGELOG.md | 26 ++++++++++++++++++++++++++
README.md | 2 +-
internal/version.go | 2 +-
4 files changed, 29 insertions(+), 3 deletions(-)
diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index b56c3d0..e8285b7 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "0.1.0-alpha.4"
+ ".": "0.1.0-alpha.5"
}
\ No newline at end of file
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c2852c2..f97a1c7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,31 @@
# Changelog
+## 0.1.0-alpha.5 (2026-01-14)
+
+Full Changelog: [v0.1.0-alpha.4...v0.1.0-alpha.5](https://github.com/langchain-ai/langsmith-go/compare/v0.1.0-alpha.4...v0.1.0-alpha.5)
+
+### Features
+
+* **api:** api update ([925146c](https://github.com/langchain-ai/langsmith-go/commit/925146c93683a7b98324d8b1b2bf27b3d4deec8d))
+* **api:** api update ([40886b9](https://github.com/langchain-ai/langsmith-go/commit/40886b91e1471e64dff8dfb274b8bfe179ac99f9))
+* **api:** api update ([74c71ed](https://github.com/langchain-ai/langsmith-go/commit/74c71eda0feb1f9a5885404d8583671e34585fb1))
+* **api:** api update ([9dad560](https://github.com/langchain-ai/langsmith-go/commit/9dad56055048b0a1376c45d125de51a9da8f7446))
+* **api:** api update ([df983a3](https://github.com/langchain-ai/langsmith-go/commit/df983a31e6f0ded956237952f91aade41bed48aa))
+* **api:** api update ([13e585b](https://github.com/langchain-ai/langsmith-go/commit/13e585bda50d281da4a45d9968acdf37567555cf))
+* **api:** api update ([e7ba714](https://github.com/langchain-ai/langsmith-go/commit/e7ba714691bc74fb530a729ece4f1bf63159d2a4))
+* **api:** api update ([64f64ed](https://github.com/langchain-ai/langsmith-go/commit/64f64ed425d061c542cdc767c2991c3065b28f30))
+* **api:** manual updates ([13e2d39](https://github.com/langchain-ai/langsmith-go/commit/13e2d39dd5518d343d1dbd1fd5ef07744f9e0c9a))
+
+
+### Bug Fixes
+
+* skip usage tests that don't work with Prism ([6f397c4](https://github.com/langchain-ai/langsmith-go/commit/6f397c4441cd81e2d6ff8e85953502e1e39a8afb))
+
+
+### Chores
+
+* **internal:** codegen related update ([cbcbc79](https://github.com/langchain-ai/langsmith-go/commit/cbcbc790d92feb7a25fce8dcccdf363504e76a96))
+
## 0.1.0-alpha.4 (2025-12-10)
Full Changelog: [v0.1.0-alpha.3...v0.1.0-alpha.4](https://github.com/langchain-ai/langsmith-go/compare/v0.1.0-alpha.3...v0.1.0-alpha.4)
diff --git a/README.md b/README.md
index 3b4150b..2913ef3 100644
--- a/README.md
+++ b/README.md
@@ -24,7 +24,7 @@ Or to pin the version:
```sh
-go get -u 'github.com/langchain-ai/langsmith-go@v0.1.0-alpha.4'
+go get -u 'github.com/langchain-ai/langsmith-go@v0.1.0-alpha.5'
```
diff --git a/internal/version.go b/internal/version.go
index 5469df6..2aad167 100644
--- a/internal/version.go
+++ b/internal/version.go
@@ -2,4 +2,4 @@
package internal
-const PackageVersion = "0.1.0-alpha.4" // x-release-please-version
+const PackageVersion = "0.1.0-alpha.5" // x-release-please-version