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
44 changes: 44 additions & 0 deletions src/libs/Opik/Generated/Opik.ISpansClient.SpansExist.g.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
#nullable enable

namespace Opik
{
public partial interface ISpansClient
{
/// <summary>
/// Check whether a project has spans<br/>
/// Returns whether the project has at least one span matching the given scope. Cheap existence probe (LIMIT 1) used to drive empty-state decisions without scanning or aggregating the whole project.
/// </summary>
/// <param name="projectId"></param>
/// <param name="projectName"></param>
/// <param name="source">
/// Restrict the probe to a single ingestion source (e.g. 'sdk' for the Logs empty state), matching the rendered list's logs-source scope. Omit to probe any source.
/// </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::Opik.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Opik.ExistenceResponse> SpansExistAsync(
global::System.Guid? projectId = default,
string? projectName = default,
string? source = default,
global::Opik.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Check whether a project has spans<br/>
/// Returns whether the project has at least one span matching the given scope. Cheap existence probe (LIMIT 1) used to drive empty-state decisions without scanning or aggregating the whole project.
/// </summary>
/// <param name="projectId"></param>
/// <param name="projectName"></param>
/// <param name="source">
/// Restrict the probe to a single ingestion source (e.g. 'sdk' for the Logs empty state), matching the rendered list's logs-source scope. Omit to probe any source.
/// </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::Opik.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Opik.AutoSDKHttpResponse<global::Opik.ExistenceResponse>> SpansExistAsResponseAsync(
global::System.Guid? projectId = default,
string? projectName = default,
string? source = default,
global::Opik.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
54 changes: 54 additions & 0 deletions src/libs/Opik/Generated/Opik.ITracesClient.TracesExist.g.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
#nullable enable

namespace Opik
{
public partial interface ITracesClient
{
/// <summary>
/// Check whether a project has traces<br/>
/// Returns whether the project has at least one trace matching the given scope. Cheap existence probe (LIMIT 1) used to drive empty-state decisions without scanning or aggregating the whole project.
/// </summary>
/// <param name="projectId"></param>
/// <param name="projectName"></param>
/// <param name="source">
/// Restrict the probe to a single ingestion source (e.g. 'sdk' for the Logs empty state), matching the rendered list's logs-source scope. Omit to probe any source.
/// </param>
/// <param name="threadOnly">
/// When true, only considers traces that belong to a thread (thread_id is set) — used by the Threads empty state.<br/>
/// Default Value: false
/// </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::Opik.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Opik.ExistenceResponse> TracesExistAsync(
global::System.Guid? projectId = default,
string? projectName = default,
string? source = default,
bool? threadOnly = default,
global::Opik.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Check whether a project has traces<br/>
/// Returns whether the project has at least one trace matching the given scope. Cheap existence probe (LIMIT 1) used to drive empty-state decisions without scanning or aggregating the whole project.
/// </summary>
/// <param name="projectId"></param>
/// <param name="projectName"></param>
/// <param name="source">
/// Restrict the probe to a single ingestion source (e.g. 'sdk' for the Logs empty state), matching the rendered list's logs-source scope. Omit to probe any source.
/// </param>
/// <param name="threadOnly">
/// When true, only considers traces that belong to a thread (thread_id is set) — used by the Threads empty state.<br/>
/// Default Value: false
/// </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::Opik.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Opik.AutoSDKHttpResponse<global::Opik.ExistenceResponse>> TracesExistAsResponseAsync(
global::System.Guid? projectId = default,
string? projectName = default,
string? source = default,
bool? threadOnly = default,
global::Opik.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
3 changes: 2 additions & 1 deletion src/libs/Opik/Generated/Opik.JsonSerializerContext.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2860,6 +2860,7 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Opik.SpanSearchStreamRequestPublicType), TypeInfoPropertyName = "SpanSearchStreamRequestPublicType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList<global::Opik.SpanSearchStreamRequestPublicExcludeItem>))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Opik.SpanSearchStreamRequestPublicExcludeItem), TypeInfoPropertyName = "SpanSearchStreamRequestPublicExcludeItem2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Opik.ExistenceResponse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Opik.TraceBatchUpdate))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Opik.TraceUpdate))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Opik.TraceUpdateSource), TypeInfoPropertyName = "TraceUpdateSource2")]
Expand Down Expand Up @@ -2931,7 +2932,6 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Opik.ListRunnersStatus), TypeInfoPropertyName = "ListRunnersStatus2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Opik.FindReportFailuresType), TypeInfoPropertyName = "FindReportFailuresType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Opik.GetSpansByProjectType), TypeInfoPropertyName = "GetSpansByProjectType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Opik.FindFeedbackScoreNames1Type), TypeInfoPropertyName = "FindFeedbackScoreNames1Type2")]
internal sealed partial class SourceGenerationContextChunk1 : global::System.Text.Json.Serialization.JsonSerializerContext
{
}
Expand Down Expand Up @@ -3897,6 +3897,7 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex

typeof(global::Opik.JsonConverters.UnixTimestampJsonConverter),
})]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Opik.FindFeedbackScoreNames1Type), TypeInfoPropertyName = "FindFeedbackScoreNames1Type2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Opik.GetSpanStatsType), TypeInfoPropertyName = "GetSpanStatsType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(byte[]))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList<global::Opik.AnyOf<global::Opik.ChatCompletionResponse, global::Opik.ErrorMessage>>))]
Expand Down
Loading