Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
#nullable enable

namespace LangSmith
{
public partial interface IAnnotationQueues2Client
{
/// <summary>
/// Clear a final answer on a completed annotation queue item<br/>
/// Remove the final for one rubric key. The key's answer goes back to the reviewers' majority, or null when they disagreed. Clearing a key that has no final succeeds.
/// </summary>
/// <param name="queueId"></param>
/// <param name="itemId"></param>
/// <param name="key"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::LangSmith.ApiException"></exception>
global::System.Threading.Tasks.Task ClearAFinalAnswerOnACompletedAnnotationQueueItemAsync(
string queueId,
string itemId,
string key,
global::LangSmith.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Clear a final answer on a completed annotation queue item<br/>
/// Remove the final for one rubric key. The key's answer goes back to the reviewers' majority, or null when they disagreed. Clearing a key that has no final succeeds.
/// </summary>
/// <param name="queueId"></param>
/// <param name="itemId"></param>
/// <param name="key"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::LangSmith.ApiException"></exception>
global::System.Threading.Tasks.Task<global::LangSmith.AutoSDKHttpResponse> ClearAFinalAnswerOnACompletedAnnotationQueueItemAsResponseAsync(
string queueId,
string itemId,
string key,
global::LangSmith.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
#nullable enable

namespace LangSmith
{
public partial interface IAnnotationQueues2Client
{
/// <summary>
/// Set a final answer on a completed annotation queue item<br/>
/// Set the answer downstream uses for one rubric key when the item's reviewers disagreed. A key that already has a final can be changed even after reviewers come to agree. Multi-select keys take a list of category labels in values. final_set_by is empty for API key callers.
/// </summary>
/// <param name="queueId"></param>
/// <param name="itemId"></param>
/// <param name="key"></param>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::LangSmith.ApiException"></exception>
global::System.Threading.Tasks.Task<global::LangSmith.AnnotationqueuesAnnotationQueueItemKeyAgreement> SetAFinalAnswerOnACompletedAnnotationQueueItemAsync(
string queueId,
string itemId,
string key,

global::LangSmith.AnnotationqueuesSetItemFinalRequest request,
global::LangSmith.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Set a final answer on a completed annotation queue item<br/>
/// Set the answer downstream uses for one rubric key when the item's reviewers disagreed. A key that already has a final can be changed even after reviewers come to agree. Multi-select keys take a list of category labels in values. final_set_by is empty for API key callers.
/// </summary>
/// <param name="queueId"></param>
/// <param name="itemId"></param>
/// <param name="key"></param>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::LangSmith.ApiException"></exception>
global::System.Threading.Tasks.Task<global::LangSmith.AutoSDKHttpResponse<global::LangSmith.AnnotationqueuesAnnotationQueueItemKeyAgreement>> SetAFinalAnswerOnACompletedAnnotationQueueItemAsResponseAsync(
string queueId,
string itemId,
string key,

global::LangSmith.AnnotationqueuesSetItemFinalRequest request,
global::LangSmith.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Set a final answer on a completed annotation queue item<br/>
/// Set the answer downstream uses for one rubric key when the item's reviewers disagreed. A key that already has a final can be changed even after reviewers come to agree. Multi-select keys take a list of category labels in values. final_set_by is empty for API key callers.
/// </summary>
/// <param name="queueId"></param>
/// <param name="itemId"></param>
/// <param name="key"></param>
/// <param name="score"></param>
/// <param name="value"></param>
/// <param name="values"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::LangSmith.AnnotationqueuesAnnotationQueueItemKeyAgreement> SetAFinalAnswerOnACompletedAnnotationQueueItemAsync(
string queueId,
string itemId,
string key,
double? score = default,
string? value = default,
global::System.Collections.Generic.IList<string>? values = default,
global::LangSmith.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
12 changes: 6 additions & 6 deletions src/libs/LangSmith/Generated/LangSmith.IRunClient.StatsRuns.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,33 @@ public partial interface IRunClient
{
/// <summary>
/// Stats Runs<br/>
/// Get all runs by query in body payload.
/// GET with body payload — no resources created. Returns the run statistics matching the query passed as the request payload.
/// </summary>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::LangSmith.ApiException"></exception>
global::System.Threading.Tasks.Task<global::LangSmith.AnyOf<global::LangSmith.RunStats, global::System.Collections.Generic.Dictionary<string, global::LangSmith.RunStats>>> StatsRunsAsync(
global::System.Threading.Tasks.Task<global::LangSmith.RunStatsResponse> StatsRunsAsync(

global::LangSmith.RunStatsQueryParams request,
global::LangSmith.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Stats Runs<br/>
/// Get all runs by query in body payload.
/// GET with body payload — no resources created. Returns the run statistics matching the query passed as the request payload.
/// </summary>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::LangSmith.ApiException"></exception>
global::System.Threading.Tasks.Task<global::LangSmith.AutoSDKHttpResponse<global::LangSmith.AnyOf<global::LangSmith.RunStats, global::System.Collections.Generic.Dictionary<string, global::LangSmith.RunStats>>>> StatsRunsAsResponseAsync(
global::System.Threading.Tasks.Task<global::LangSmith.AutoSDKHttpResponse<global::LangSmith.RunStatsResponse>> StatsRunsAsResponseAsync(

global::LangSmith.RunStatsQueryParams request,
global::LangSmith.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Stats Runs<br/>
/// Get all runs by query in body payload.
/// GET with body payload — no resources created. Returns the run statistics matching the query passed as the request payload.
/// </summary>
/// <param name="id"></param>
/// <param name="trace">
Expand Down Expand Up @@ -67,7 +67,7 @@ public partial interface IRunClient
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::LangSmith.AnyOf<global::LangSmith.RunStats, global::System.Collections.Generic.Dictionary<string, global::LangSmith.RunStats>>> StatsRunsAsync(
global::System.Threading.Tasks.Task<global::LangSmith.RunStatsResponse> StatsRunsAsync(
global::System.Collections.Generic.IList<global::System.Guid> session,
global::System.Collections.Generic.IList<global::System.Guid>? id = default,
global::System.Guid? trace = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ public partial interface IRunsClient
{
/// <summary>
/// Query runs<br/>
/// GET with body payload — no resources created. Returns the runs matching the query passed as the request payload.<br/>
/// Returns a paginated list of runs for the given projects within min/max start_time. Supports filters, cursor pagination, and `selects` to select fields to return.<br/>
/// `ai_search` cannot be combined with `sem_filter`. With full AI search enabled, `ai_search` translates natural language into query filters and time bounds and cannot be combined with explicit filter expressions. Otherwise, `ai_search` retains legacy semantic-only behavior. Use `sem_filter` for semantic-only matching combined with structured filters. AI search requires organization consent.<br/>
/// When semantic matching is needed, `Accept: text/event-stream` is required; requests without it return 406. AI search is unavailable on deployments that route queries to the v1 backend and returns 501 there.<br/>
Expand All @@ -26,6 +27,7 @@ public partial interface IRunsClient
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Query runs<br/>
/// GET with body payload — no resources created. Returns the runs matching the query passed as the request payload.<br/>
/// Returns a paginated list of runs for the given projects within min/max start_time. Supports filters, cursor pagination, and `selects` to select fields to return.<br/>
/// `ai_search` cannot be combined with `sem_filter`. With full AI search enabled, `ai_search` translates natural language into query filters and time bounds and cannot be combined with explicit filter expressions. Otherwise, `ai_search` retains legacy semantic-only behavior. Use `sem_filter` for semantic-only matching combined with structured filters. AI search requires organization consent.<br/>
/// When semantic matching is needed, `Accept: text/event-stream` is required; requests without it return 406. AI search is unavailable on deployments that route queries to the v1 backend and returns 501 there.<br/>
Expand All @@ -46,6 +48,7 @@ public partial interface IRunsClient
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Query runs<br/>
/// GET with body payload — no resources created. Returns the runs matching the query passed as the request payload.<br/>
/// Returns a paginated list of runs for the given projects within min/max start_time. Supports filters, cursor pagination, and `selects` to select fields to return.<br/>
/// `ai_search` cannot be combined with `sem_filter`. With full AI search enabled, `ai_search` translates natural language into query filters and time bounds and cannot be combined with explicit filter expressions. Otherwise, `ai_search` retains legacy semantic-only behavior. Use `sem_filter` for semantic-only matching combined with structured filters. AI search requires organization consent.<br/>
/// When semantic matching is needed, `Accept: text/event-stream` is required; requests without it return 406. AI search is unavailable on deployments that route queries to the v1 backend and returns 501 there.<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ public partial interface IRunsClient
{
/// <summary>
/// Query runs<br/>
/// GET with body payload — no resources created. Returns the runs matching the query passed as the request payload.<br/>
/// Returns a paginated list of runs for the given projects within min/max start_time. Supports filters, cursor pagination, and `selects` to select fields to return.<br/>
/// `ai_search` cannot be combined with `sem_filter`. With full AI search enabled, `ai_search` translates natural language into query filters and time bounds and cannot be combined with explicit filter expressions. Otherwise, `ai_search` retains legacy semantic-only behavior. Use `sem_filter` for semantic-only matching combined with structured filters. AI search requires organization consent.<br/>
/// When semantic matching is needed, `Accept: text/event-stream` is required; requests without it return 406. AI search is unavailable on deployments that route queries to the v1 backend and returns 501 there.<br/>
Expand All @@ -26,6 +27,7 @@ public partial interface IRunsClient
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Query runs<br/>
/// GET with body payload — no resources created. Returns the runs matching the query passed as the request payload.<br/>
/// Returns a paginated list of runs for the given projects within min/max start_time. Supports filters, cursor pagination, and `selects` to select fields to return.<br/>
/// `ai_search` cannot be combined with `sem_filter`. With full AI search enabled, `ai_search` translates natural language into query filters and time bounds and cannot be combined with explicit filter expressions. Otherwise, `ai_search` retains legacy semantic-only behavior. Use `sem_filter` for semantic-only matching combined with structured filters. AI search requires organization consent.<br/>
/// When semantic matching is needed, `Accept: text/event-stream` is required; requests without it return 406. AI search is unavailable on deployments that route queries to the v1 backend and returns 501 there.<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ public partial interface IUsersClient
{
/// <summary>
/// Get a user<br/>
/// Returns one user of your application and its traits in a tracing project. URL-encode `user_id` in the path, so that a `/` in it is sent as `%2F`.
/// Returns one user of your application and its traits in a tracing project. URL-encode `user_id` in the path, but send a `/` in it as is, not as `%2F`. A user ID with a `.` or `..` part, `//`, or a leading `/` cannot be used in the path: proxies rewrite it to a different path.
/// </summary>
/// <param name="sessionId"></param>
/// <param name="userId"></param>
Expand All @@ -20,7 +20,7 @@ public partial interface IUsersClient
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Get a user<br/>
/// Returns one user of your application and its traits in a tracing project. URL-encode `user_id` in the path, so that a `/` in it is sent as `%2F`.
/// Returns one user of your application and its traits in a tracing project. URL-encode `user_id` in the path, but send a `/` in it as is, not as `%2F`. A user ID with a `.` or `..` part, `//`, or a leading `/` cannot be used in the path: proxies rewrite it to a different path.
/// </summary>
/// <param name="sessionId"></param>
/// <param name="userId"></param>
Expand Down
Loading