diff --git a/src/libs/PromptLayer/Generated/PromptLayer.IOtlpClient.IngestOtlpTraces.g.cs b/src/libs/PromptLayer/Generated/PromptLayer.IOtlpClient.IngestOtlpTraces.g.cs
index 8a1702d..b4b6498 100644
--- a/src/libs/PromptLayer/Generated/PromptLayer.IOtlpClient.IngestOtlpTraces.g.cs
+++ b/src/libs/PromptLayer/Generated/PromptLayer.IOtlpClient.IngestOtlpTraces.g.cs
@@ -9,6 +9,9 @@ public partial interface IOtlpClient
///
///
///
+ ///
+ /// Default Value: false
+ ///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
@@ -18,6 +21,7 @@ public partial interface IOtlpClient
global::PromptLayer.OtlpExportTraceServiceRequest request,
global::PromptLayer.IngestOtlpTracesContentEncoding? contentEncoding = default,
+ bool? closeAfter = default,
global::PromptLayer.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
@@ -25,6 +29,9 @@ public partial interface IOtlpClient
///
///
///
+ ///
+ /// Default Value: false
+ ///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
@@ -34,6 +41,7 @@ public partial interface IOtlpClient
global::PromptLayer.OtlpExportTraceServiceRequest request,
global::PromptLayer.IngestOtlpTracesContentEncoding? contentEncoding = default,
+ bool? closeAfter = default,
global::PromptLayer.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
@@ -41,6 +49,9 @@ public partial interface IOtlpClient
///
///
///
+ ///
+ /// Default Value: false
+ ///
///
/// An array of ResourceSpans. Each element describes spans from a single instrumented resource.
///
@@ -50,6 +61,7 @@ public partial interface IOtlpClient
global::System.Threading.Tasks.Task IngestOtlpTracesAsync(
global::PromptLayer.IngestOtlpTracesContentType contentType,
global::PromptLayer.IngestOtlpTracesContentEncoding? contentEncoding = default,
+ bool? closeAfter = default,
global::System.Collections.Generic.IList? resourceSpans = default,
global::PromptLayer.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
diff --git a/src/libs/PromptLayer/Generated/PromptLayer.ISpansClient.CreateSpansBulk.g.cs b/src/libs/PromptLayer/Generated/PromptLayer.ISpansClient.CreateSpansBulk.g.cs
index b1dacf1..a0595d5 100644
--- a/src/libs/PromptLayer/Generated/PromptLayer.ISpansClient.CreateSpansBulk.g.cs
+++ b/src/libs/PromptLayer/Generated/PromptLayer.ISpansClient.CreateSpansBulk.g.cs
@@ -32,11 +32,16 @@ public partial interface ISpansClient
/// Create Spans Bulk
///
///
+ ///
+ /// When true, all trace IDs in this batch are marked as closed after the spans are persisted. Subsequent span writes for those traces will be rejected with a trace_closed rejection reason. Defaults to false.
+ /// Default Value: false
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task CreateSpansBulkAsync(
global::System.Collections.Generic.IList spans,
+ bool? closeAfter = default,
global::PromptLayer.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/PromptLayer/Generated/PromptLayer.ITrackingClient.CloseTrace.g.cs b/src/libs/PromptLayer/Generated/PromptLayer.ITrackingClient.CloseTrace.g.cs
new file mode 100644
index 0000000..c92a258
--- /dev/null
+++ b/src/libs/PromptLayer/Generated/PromptLayer.ITrackingClient.CloseTrace.g.cs
@@ -0,0 +1,32 @@
+#nullable enable
+
+namespace PromptLayer
+{
+ public partial interface ITrackingClient
+ {
+ ///
+ /// Close Trace
+ /// Marks a trace as closed, preventing any further span ingestion for that trace. Once closed, subsequent calls to `/spans-bulk` or `/v1/traces` that include spans for this trace will have those spans rejected.
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task CloseTraceAsync(
+ string traceId,
+ global::PromptLayer.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// Close Trace
+ /// Marks a trace as closed, preventing any further span ingestion for that trace. Once closed, subsequent calls to `/spans-bulk` or `/v1/traces` that include spans for this trace will have those spans rejected.
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task> CloseTraceAsResponseAsync(
+ string traceId,
+ global::PromptLayer.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ }
+}
\ No newline at end of file
diff --git a/src/libs/PromptLayer/Generated/PromptLayer.JsonConverters.CloseTraceResponseClosureStatus.g.cs b/src/libs/PromptLayer/Generated/PromptLayer.JsonConverters.CloseTraceResponseClosureStatus.g.cs
new file mode 100644
index 0000000..3ab94bf
--- /dev/null
+++ b/src/libs/PromptLayer/Generated/PromptLayer.JsonConverters.CloseTraceResponseClosureStatus.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace PromptLayer.JsonConverters
+{
+ ///
+ public sealed class CloseTraceResponseClosureStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::PromptLayer.CloseTraceResponseClosureStatus Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::PromptLayer.CloseTraceResponseClosureStatusExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::PromptLayer.CloseTraceResponseClosureStatus)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::PromptLayer.CloseTraceResponseClosureStatus);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::PromptLayer.CloseTraceResponseClosureStatus value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::PromptLayer.CloseTraceResponseClosureStatusExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/PromptLayer/Generated/PromptLayer.JsonConverters.CloseTraceResponseClosureStatusNullable.g.cs b/src/libs/PromptLayer/Generated/PromptLayer.JsonConverters.CloseTraceResponseClosureStatusNullable.g.cs
new file mode 100644
index 0000000..55a5b72
--- /dev/null
+++ b/src/libs/PromptLayer/Generated/PromptLayer.JsonConverters.CloseTraceResponseClosureStatusNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace PromptLayer.JsonConverters
+{
+ ///
+ public sealed class CloseTraceResponseClosureStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::PromptLayer.CloseTraceResponseClosureStatus? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::PromptLayer.CloseTraceResponseClosureStatusExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::PromptLayer.CloseTraceResponseClosureStatus)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::PromptLayer.CloseTraceResponseClosureStatus?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::PromptLayer.CloseTraceResponseClosureStatus? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::PromptLayer.CloseTraceResponseClosureStatusExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/PromptLayer/Generated/PromptLayer.JsonConverters.CreateSpansBulkResponseRejectionReason.g.cs b/src/libs/PromptLayer/Generated/PromptLayer.JsonConverters.CreateSpansBulkResponseRejectionReason.g.cs
new file mode 100644
index 0000000..78e6573
--- /dev/null
+++ b/src/libs/PromptLayer/Generated/PromptLayer.JsonConverters.CreateSpansBulkResponseRejectionReason.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace PromptLayer.JsonConverters
+{
+ ///
+ public sealed class CreateSpansBulkResponseRejectionReasonJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::PromptLayer.CreateSpansBulkResponseRejectionReason Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::PromptLayer.CreateSpansBulkResponseRejectionReasonExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::PromptLayer.CreateSpansBulkResponseRejectionReason)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::PromptLayer.CreateSpansBulkResponseRejectionReason);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::PromptLayer.CreateSpansBulkResponseRejectionReason value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::PromptLayer.CreateSpansBulkResponseRejectionReasonExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/PromptLayer/Generated/PromptLayer.JsonConverters.CreateSpansBulkResponseRejectionReasonNullable.g.cs b/src/libs/PromptLayer/Generated/PromptLayer.JsonConverters.CreateSpansBulkResponseRejectionReasonNullable.g.cs
new file mode 100644
index 0000000..3a1c848
--- /dev/null
+++ b/src/libs/PromptLayer/Generated/PromptLayer.JsonConverters.CreateSpansBulkResponseRejectionReasonNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace PromptLayer.JsonConverters
+{
+ ///
+ public sealed class CreateSpansBulkResponseRejectionReasonNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::PromptLayer.CreateSpansBulkResponseRejectionReason? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::PromptLayer.CreateSpansBulkResponseRejectionReasonExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::PromptLayer.CreateSpansBulkResponseRejectionReason)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::PromptLayer.CreateSpansBulkResponseRejectionReason?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::PromptLayer.CreateSpansBulkResponseRejectionReason? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::PromptLayer.CreateSpansBulkResponseRejectionReasonExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/PromptLayer/Generated/PromptLayer.JsonSerializerContext.g.cs b/src/libs/PromptLayer/Generated/PromptLayer.JsonSerializerContext.g.cs
index d964b0c..2a054dd 100644
--- a/src/libs/PromptLayer/Generated/PromptLayer.JsonSerializerContext.g.cs
+++ b/src/libs/PromptLayer/Generated/PromptLayer.JsonSerializerContext.g.cs
@@ -253,6 +253,10 @@ namespace PromptLayer
typeof(global::PromptLayer.JsonConverters.StatusCodeNullableJsonConverter),
+ typeof(global::PromptLayer.JsonConverters.CreateSpansBulkResponseRejectionReasonJsonConverter),
+
+ typeof(global::PromptLayer.JsonConverters.CreateSpansBulkResponseRejectionReasonNullableJsonConverter),
+
typeof(global::PromptLayer.JsonConverters.EntityTypeJsonConverter),
typeof(global::PromptLayer.JsonConverters.EntityTypeNullableJsonConverter),
@@ -457,6 +461,10 @@ namespace PromptLayer
typeof(global::PromptLayer.JsonConverters.TestExecuteToolResponseResultStatusNullableJsonConverter),
+ typeof(global::PromptLayer.JsonConverters.CloseTraceResponseClosureStatusJsonConverter),
+
+ typeof(global::PromptLayer.JsonConverters.CloseTraceResponseClosureStatusNullableJsonConverter),
+
typeof(global::PromptLayer.JsonConverters.ContentItemJsonConverter),
typeof(global::PromptLayer.JsonConverters.ContentItem2JsonConverter),
@@ -683,6 +691,8 @@ namespace PromptLayer
typeof(global::PromptLayer.JsonConverters.OneOfJsonConverter),
+ typeof(global::PromptLayer.JsonConverters.OneOfJsonConverter),
+
typeof(global::PromptLayer.JsonConverters.UnixTimestampJsonConverter),
})]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::PromptLayer.OneOf>), TypeInfoPropertyName = "ListFolderEntitiesApiPublicV2FoldersEntitiesGetFilterTypeItem_a2e389e01f671d8d")]
@@ -942,6 +952,7 @@ namespace PromptLayer
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::PromptLayer.CreateSpansBulk))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::PromptLayer.CreateSpansBulkResponse))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::PromptLayer.CreateSpansBulkResponseRejectionReason), TypeInfoPropertyName = "CreateSpansBulkResponseRejectionReason2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::PromptLayer.Dataset))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::PromptLayer.DatasetGroup))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::PromptLayer.CreateFolderRequest))]
@@ -1184,7 +1195,6 @@ namespace PromptLayer
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::PromptLayer.GetWorkflowVersionExecutionResultsResponseVariant12))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::PromptLayer.OneOf, object>), TypeInfoPropertyName = "OneOfDictionaryStringGetWorkflowVersionExecutionResultsResponseVariant14Object2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::PromptLayer.GetWorkflowVersionExecutionResultsResponseVariant14))]
internal sealed partial class SourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext
{
}
@@ -1436,6 +1446,10 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
typeof(global::PromptLayer.JsonConverters.StatusCodeNullableJsonConverter),
+ typeof(global::PromptLayer.JsonConverters.CreateSpansBulkResponseRejectionReasonJsonConverter),
+
+ typeof(global::PromptLayer.JsonConverters.CreateSpansBulkResponseRejectionReasonNullableJsonConverter),
+
typeof(global::PromptLayer.JsonConverters.EntityTypeJsonConverter),
typeof(global::PromptLayer.JsonConverters.EntityTypeNullableJsonConverter),
@@ -1640,6 +1654,10 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
typeof(global::PromptLayer.JsonConverters.TestExecuteToolResponseResultStatusNullableJsonConverter),
+ typeof(global::PromptLayer.JsonConverters.CloseTraceResponseClosureStatusJsonConverter),
+
+ typeof(global::PromptLayer.JsonConverters.CloseTraceResponseClosureStatusNullableJsonConverter),
+
typeof(global::PromptLayer.JsonConverters.ContentItemJsonConverter),
typeof(global::PromptLayer.JsonConverters.ContentItem2JsonConverter),
@@ -1866,6 +1884,8 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
typeof(global::PromptLayer.JsonConverters.OneOfJsonConverter),
+ typeof(global::PromptLayer.JsonConverters.OneOfJsonConverter),
+
typeof(global::PromptLayer.JsonConverters.UnixTimestampJsonConverter),
})]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::PromptLayer.OneOf>), TypeInfoPropertyName = "ListFolderEntitiesApiPublicV2FoldersEntitiesGetFilterTypeItem_a2e389e01f671d8d")]
@@ -1873,6 +1893,7 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::PromptLayer.OneOf>?), TypeInfoPropertyName = "ListFolderEntitiesApiPublicV2FoldersEntitiesGetFilterTypeItem_47a8c666c2b64908")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::PromptLayer.OneOf?), TypeInfoPropertyName = "GetReportScoreResponseScoreDetailsVariant4_819979ee8daaec57")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::PromptLayer.OneOf>), TypeInfoPropertyName = "ListFolderEntitiesApiPublicV2FoldersEntitiesGetFilterTypeItem_13c51ceff6c2844e")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::PromptLayer.GetWorkflowVersionExecutionResultsResponseVariant14))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::PromptLayer.ListWorkflowsResponse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::PromptLayer.ListWorkflowsResponseItem))]
@@ -1887,6 +1908,7 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::PromptLayer.GetWorkflowLabelsResponseReleaseLabel))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::PromptLayer.AnyOf), TypeInfoPropertyName = "AnyOfFolderExistsErrorString2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::PromptLayer.IngestOtlpTracesResponse2))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::PromptLayer.ListToolRegistriesResponse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::PromptLayer.ListToolRegistriesResponseToolRegistrie))]
@@ -1897,6 +1919,10 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::PromptLayer.TestExecuteToolResponse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::PromptLayer.TestExecuteToolResponseResult))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::PromptLayer.TestExecuteToolResponseResultStatus), TypeInfoPropertyName = "TestExecuteToolResponseResultStatus2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::PromptLayer.CloseTraceResponse))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::PromptLayer.CloseTraceResponseClosure))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::PromptLayer.CloseTraceResponseClosureStatus), TypeInfoPropertyName = "CloseTraceResponseClosureStatus2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::PromptLayer.CloseTraceResponse2))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
@@ -2134,6 +2160,8 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o
options.Converters.Add(new global::PromptLayer.JsonConverters.SpanKindNullableJsonConverter());
options.Converters.Add(new global::PromptLayer.JsonConverters.StatusCodeJsonConverter());
options.Converters.Add(new global::PromptLayer.JsonConverters.StatusCodeNullableJsonConverter());
+ options.Converters.Add(new global::PromptLayer.JsonConverters.CreateSpansBulkResponseRejectionReasonJsonConverter());
+ options.Converters.Add(new global::PromptLayer.JsonConverters.CreateSpansBulkResponseRejectionReasonNullableJsonConverter());
options.Converters.Add(new global::PromptLayer.JsonConverters.EntityTypeJsonConverter());
options.Converters.Add(new global::PromptLayer.JsonConverters.EntityTypeNullableJsonConverter());
options.Converters.Add(new global::PromptLayer.JsonConverters.PromptEntityMetadataTypeJsonConverter());
@@ -2236,6 +2264,8 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o
options.Converters.Add(new global::PromptLayer.JsonConverters.GetReportScoreResponseScoreScoreTypeNullableJsonConverter());
options.Converters.Add(new global::PromptLayer.JsonConverters.TestExecuteToolResponseResultStatusJsonConverter());
options.Converters.Add(new global::PromptLayer.JsonConverters.TestExecuteToolResponseResultStatusNullableJsonConverter());
+ options.Converters.Add(new global::PromptLayer.JsonConverters.CloseTraceResponseClosureStatusJsonConverter());
+ options.Converters.Add(new global::PromptLayer.JsonConverters.CloseTraceResponseClosureStatusNullableJsonConverter());
options.Converters.Add(new global::PromptLayer.JsonConverters.ContentItemJsonConverter());
options.Converters.Add(new global::PromptLayer.JsonConverters.ContentItem2JsonConverter());
options.Converters.Add(new global::PromptLayer.JsonConverters.ContentItem3JsonConverter());
@@ -2349,6 +2379,7 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o
options.Converters.Add(new global::PromptLayer.JsonConverters.OneOfJsonConverter());
options.Converters.Add(new global::PromptLayer.JsonConverters.OneOfJsonConverter());
options.Converters.Add(new global::PromptLayer.JsonConverters.OneOfJsonConverter());
+ options.Converters.Add(new global::PromptLayer.JsonConverters.OneOfJsonConverter());
options.Converters.Add(new global::PromptLayer.JsonConverters.UnixTimestampJsonConverter());
return options;
diff --git a/src/libs/PromptLayer/Generated/PromptLayer.JsonSerializerContextTypes.g.cs b/src/libs/PromptLayer/Generated/PromptLayer.JsonSerializerContextTypes.g.cs
index 1d90c73..cec1c3a 100644
--- a/src/libs/PromptLayer/Generated/PromptLayer.JsonSerializerContextTypes.g.cs
+++ b/src/libs/PromptLayer/Generated/PromptLayer.JsonSerializerContextTypes.g.cs
@@ -1032,1071 +1032,1095 @@ public sealed partial class JsonSerializerContextTypes
///
///
///
- public global::PromptLayer.Dataset? Type251 { get; set; }
+ public global::PromptLayer.CreateSpansBulkResponseRejectionReason? Type251 { get; set; }
///
///
///
- public global::PromptLayer.DatasetGroup? Type252 { get; set; }
+ public global::PromptLayer.Dataset? Type252 { get; set; }
///
///
///
- public global::PromptLayer.CreateFolderRequest? Type253 { get; set; }
+ public global::PromptLayer.DatasetGroup? Type253 { get; set; }
///
///
///
- public global::PromptLayer.CreateFolderSuccessResponse? Type254 { get; set; }
+ public global::PromptLayer.CreateFolderRequest? Type254 { get; set; }
///
///
///
- public global::PromptLayer.Folder? Type255 { get; set; }
+ public global::PromptLayer.CreateFolderSuccessResponse? Type255 { get; set; }
///
///
///
- public global::PromptLayer.FolderExistsError? Type256 { get; set; }
+ public global::PromptLayer.Folder? Type256 { get; set; }
///
///
///
- public global::PromptLayer.ParentFolderNotFoundError? Type257 { get; set; }
+ public global::PromptLayer.FolderExistsError? Type257 { get; set; }
///
///
///
- public global::PromptLayer.UnauthorizedError? Type258 { get; set; }
+ public global::PromptLayer.ParentFolderNotFoundError? Type258 { get; set; }
///
///
///
- public global::PromptLayer.FolderNotFoundError? Type259 { get; set; }
+ public global::PromptLayer.UnauthorizedError? Type259 { get; set; }
///
///
///
- public global::PromptLayer.UpdateFolderRequest? Type260 { get; set; }
+ public global::PromptLayer.FolderNotFoundError? Type260 { get; set; }
///
///
///
- public global::PromptLayer.EntityType? Type261 { get; set; }
+ public global::PromptLayer.UpdateFolderRequest? Type261 { get; set; }
///
///
///
- public global::PromptLayer.FolderEntity? Type262 { get; set; }
+ public global::PromptLayer.EntityType? Type262 { get; set; }
///
///
///
- public global::PromptLayer.OneOf? Type263 { get; set; }
+ public global::PromptLayer.FolderEntity? Type263 { get; set; }
///
///
///
- public global::PromptLayer.PromptEntityMetadata? Type264 { get; set; }
+ public global::PromptLayer.OneOf? Type264 { get; set; }
///
///
///
- public global::PromptLayer.WorkflowEntityMetadata? Type265 { get; set; }
+ public global::PromptLayer.PromptEntityMetadata? Type265 { get; set; }
///
///
///
- public global::PromptLayer.DatasetEntityMetadata? Type266 { get; set; }
+ public global::PromptLayer.WorkflowEntityMetadata? Type266 { get; set; }
///
///
///
- public global::PromptLayer.PromptEntityMetadataType? Type267 { get; set; }
+ public global::PromptLayer.DatasetEntityMetadata? Type267 { get; set; }
///
///
///
- public global::PromptLayer.ListFolderEntitiesResponse? Type268 { get; set; }
+ public global::PromptLayer.PromptEntityMetadataType? Type268 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type269 { get; set; }
+ public global::PromptLayer.ListFolderEntitiesResponse? Type269 { get; set; }
///
///
///
- public global::PromptLayer.EntityReference? Type270 { get; set; }
+ public global::System.Collections.Generic.IList? Type270 { get; set; }
///
///
///
- public global::PromptLayer.MoveFolderEntitiesRequest? Type271 { get; set; }
+ public global::PromptLayer.EntityReference? Type271 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type272 { get; set; }
+ public global::PromptLayer.MoveFolderEntitiesRequest? Type272 { get; set; }
///
///
///
- public global::PromptLayer.DeleteFolderEntitiesRequest? Type273 { get; set; }
+ public global::System.Collections.Generic.IList? Type273 { get; set; }
///
///
///
- public global::PromptLayer.FolderEntitiesCountResponse? Type274 { get; set; }
+ public global::PromptLayer.DeleteFolderEntitiesRequest? Type274 { get; set; }
///
///
///
- public global::PromptLayer.ResolveFolderIdResponse? Type275 { get; set; }
+ public global::PromptLayer.FolderEntitiesCountResponse? Type275 { get; set; }
///
///
///
- public global::PromptLayer.OtlpExportTraceServiceRequest? Type276 { get; set; }
+ public global::PromptLayer.ResolveFolderIdResponse? Type276 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type277 { get; set; }
+ public global::PromptLayer.OtlpExportTraceServiceRequest? Type277 { get; set; }
///
///
///
- public global::PromptLayer.OtlpExportTraceServiceRequestResourceSpan? Type278 { get; set; }
+ public global::System.Collections.Generic.IList? Type278 { get; set; }
///
///
///
- public global::PromptLayer.OtlpExportTraceServiceRequestResourceSpanResource? Type279 { get; set; }
+ public global::PromptLayer.OtlpExportTraceServiceRequestResourceSpan? Type279 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type280 { get; set; }
+ public global::PromptLayer.OtlpExportTraceServiceRequestResourceSpanResource? Type280 { get; set; }
///
///
///
- public global::PromptLayer.OtlpKeyValue? Type281 { get; set; }
+ public global::System.Collections.Generic.IList? Type281 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type282 { get; set; }
+ public global::PromptLayer.OtlpKeyValue? Type282 { get; set; }
///
///
///
- public global::PromptLayer.OtlpExportTraceServiceRequestResourceSpanScopeSpan? Type283 { get; set; }
+ public global::System.Collections.Generic.IList? Type283 { get; set; }
///
///
///
- public global::PromptLayer.OtlpExportTraceServiceRequestResourceSpanScopeSpanScope? Type284 { get; set; }
+ public global::PromptLayer.OtlpExportTraceServiceRequestResourceSpanScopeSpan? Type284 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type285 { get; set; }
+ public global::PromptLayer.OtlpExportTraceServiceRequestResourceSpanScopeSpanScope? Type285 { get; set; }
///
///
///
- public global::PromptLayer.OtlpSpan? Type286 { get; set; }
+ public global::System.Collections.Generic.IList? Type286 { get; set; }
///
///
///
- public global::PromptLayer.OtlpSpanStatus? Type287 { get; set; }
+ public global::PromptLayer.OtlpSpan? Type287 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type288 { get; set; }
+ public global::PromptLayer.OtlpSpanStatus? Type288 { get; set; }
///
///
///
- public global::PromptLayer.OtlpSpanEvent? Type289 { get; set; }
+ public global::System.Collections.Generic.IList? Type289 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type290 { get; set; }
+ public global::PromptLayer.OtlpSpanEvent? Type290 { get; set; }
///
///
///
- public global::PromptLayer.OtlpSpanLink? Type291 { get; set; }
+ public global::System.Collections.Generic.IList? Type291 { get; set; }
///
///
///
- public global::PromptLayer.OtlpKeyValueValue? Type292 { get; set; }
+ public global::PromptLayer.OtlpSpanLink? Type292 { get; set; }
///
///
///
- public global::PromptLayer.OtlpKeyValueValueArrayValue? Type293 { get; set; }
+ public global::PromptLayer.OtlpKeyValueValue? Type293 { get; set; }
///
///
///
- public global::PromptLayer.OtlpExportTraceServiceResponse? Type294 { get; set; }
+ public global::PromptLayer.OtlpKeyValueValueArrayValue? Type294 { get; set; }
///
///
///
- public global::PromptLayer.OtlpExportTraceServiceResponsePartialSuccess? Type295 { get; set; }
+ public global::PromptLayer.OtlpExportTraceServiceResponse? Type295 { get; set; }
///
///
///
- public global::PromptLayer.RequestLogQuery? Type296 { get; set; }
+ public global::PromptLayer.OtlpExportTraceServiceResponsePartialSuccess? Type296 { get; set; }
///
///
///
- public global::PromptLayer.StructuredFilterGroup? Type297 { get; set; }
+ public global::PromptLayer.RequestLogQuery? Type297 { get; set; }
///
///
///
- public global::PromptLayer.RequestLogQuerySortBy? Type298 { get; set; }
+ public global::PromptLayer.StructuredFilterGroup? Type298 { get; set; }
///
///
///
- public global::PromptLayer.RequestLogQuerySortOrder? Type299 { get; set; }
+ public global::PromptLayer.RequestLogQuerySortBy? Type299 { get; set; }
///
///
///
- public global::PromptLayer.RequestAnalyticsLatencyByDay? Type300 { get; set; }
+ public global::PromptLayer.RequestLogQuerySortOrder? Type300 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type301 { get; set; }
+ public global::PromptLayer.RequestAnalyticsLatencyByDay? Type301 { get; set; }
///
///
///
- public global::PromptLayer.RequestAnalyticsDimensionLatency? Type302 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type302 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList>? Type303 { get; set; }
+ public global::PromptLayer.RequestAnalyticsDimensionLatency? Type303 { get; set; }
///
///
///
- public global::PromptLayer.RequestAnalyticsStat? Type304 { get; set; }
+ public global::System.Collections.Generic.IList>? Type304 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type305 { get; set; }
+ public global::PromptLayer.RequestAnalyticsStat? Type305 { get; set; }
///
///
///
- public global::PromptLayer.RequestAnalyticsStatOutputShapeCounts? Type306 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type306 { get; set; }
///
///
///
- public global::PromptLayer.RequestAnalyticsBreakdownEntry? Type307 { get; set; }
+ public global::PromptLayer.RequestAnalyticsStatOutputShapeCounts? Type307 { get; set; }
///
///
///
- public global::PromptLayer.RequestAnalyticsToolLatency? Type308 { get; set; }
+ public global::PromptLayer.RequestAnalyticsBreakdownEntry? Type308 { get; set; }
///
///
///
- public global::PromptLayer.RequestAnalyticsResponse? Type309 { get; set; }
+ public global::PromptLayer.RequestAnalyticsToolLatency? Type309 { get; set; }
///
///
///
- public global::PromptLayer.RequestAnalyticsResponseChartInterval? Type310 { get; set; }
+ public global::PromptLayer.RequestAnalyticsResponse? Type310 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type311 { get; set; }
+ public global::PromptLayer.RequestAnalyticsResponseChartInterval? Type311 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary>>? Type312 { get; set; }
+ public global::System.Collections.Generic.IList? Type312 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type313 { get; set; }
+ public global::System.Collections.Generic.Dictionary>>? Type313 { get; set; }
///
///
///
- public global::PromptLayer.RequestAnalyticsResponseMostUsedPromptTemplate? Type314 { get; set; }
+ public global::System.Collections.Generic.IList? Type314 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type315 { get; set; }
+ public global::PromptLayer.RequestAnalyticsResponseMostUsedPromptTemplate? Type315 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type316 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type316 { get; set; }
///
///
///
- public global::PromptLayer.RequestAnalyticsResponseErrorType? Type317 { get; set; }
+ public global::System.Collections.Generic.IList? Type317 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type318 { get; set; }
+ public global::PromptLayer.RequestAnalyticsResponseErrorType? Type318 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type319 { get; set; }
+ public global::System.Collections.Generic.IList? Type319 { get; set; }
///
///
///
- public global::PromptLayer.RequestAnalyticsResponseMetadataKeysTopItem? Type320 { get; set; }
+ public global::System.Collections.Generic.IList? Type320 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type321 { get; set; }
+ public global::PromptLayer.RequestAnalyticsResponseMetadataKeysTopItem? Type321 { get; set; }
///
///
///
- public global::PromptLayer.RequestAnalyticsResponseOutputKeysTopItem? Type322 { get; set; }
+ public global::System.Collections.Generic.IList? Type322 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type323 { get; set; }
+ public global::PromptLayer.RequestAnalyticsResponseOutputKeysTopItem? Type323 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type324 { get; set; }
+ public global::System.Collections.Generic.IList? Type324 { get; set; }
///
///
///
- public global::PromptLayer.RequestAnalyticsResponseToolsUsageBar? Type325 { get; set; }
+ public global::System.Collections.Generic.IList? Type325 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type326 { get; set; }
+ public global::PromptLayer.RequestAnalyticsResponseToolsUsageBar? Type326 { get; set; }
///
///
///
- public global::PromptLayer.RequestAnalyticsResponseMetadataValueBreakdownItem? Type327 { get; set; }
+ public global::System.Collections.Generic.IList? Type327 { get; set; }
///
///
///
- public global::PromptLayer.SearchRequestLogsRequest? Type328 { get; set; }
+ public global::PromptLayer.RequestAnalyticsResponseMetadataValueBreakdownItem? Type328 { get; set; }
///
///
///
- public global::PromptLayer.SearchRequestLogsRequestVariant2? Type329 { get; set; }
+ public global::PromptLayer.SearchRequestLogsRequest? Type329 { get; set; }
///
///
///
- public global::PromptLayer.StructuredFilter? Type330 { get; set; }
+ public global::PromptLayer.SearchRequestLogsRequestVariant2? Type330 { get; set; }
///
///
///
- public global::PromptLayer.StructuredFilterField? Type331 { get; set; }
+ public global::PromptLayer.StructuredFilter? Type331 { get; set; }
///
///
///
- public global::PromptLayer.StructuredFilterOperator? Type332 { get; set; }
+ public global::PromptLayer.StructuredFilterField? Type332 { get; set; }
///
///
///
- public global::PromptLayer.OneOf? Type333 { get; set; }
+ public global::PromptLayer.StructuredFilterOperator? Type333 { get; set; }
///
///
///
- public global::PromptLayer.StructuredFilterGroupLogic? Type334 { get; set; }
+ public global::PromptLayer.OneOf? Type334 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList>? Type335 { get; set; }
+ public global::PromptLayer.StructuredFilterGroupLogic? Type335 { get; set; }
///
///
///
- public global::PromptLayer.OneOf? Type336 { get; set; }
+ public global::System.Collections.Generic.IList>? Type336 { get; set; }
///
///
///
- public global::PromptLayer.SearchRequestLogsResponse? Type337 { get; set; }
+ public global::PromptLayer.OneOf? Type337 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type338 { get; set; }
+ public global::PromptLayer.SearchRequestLogsResponse? Type338 { get; set; }
///
///
///
- public global::PromptLayer.RequestLogSearchResult? Type339 { get; set; }
+ public global::System.Collections.Generic.IList? Type339 { get; set; }
///
///
///
- public global::PromptLayer.AttachExternalIdRequest? Type340 { get; set; }
+ public global::PromptLayer.RequestLogSearchResult? Type340 { get; set; }
///
///
///
- public global::PromptLayer.ExternalIdAttachResponse? Type341 { get; set; }
+ public global::PromptLayer.AttachExternalIdRequest? Type341 { get; set; }
///
///
///
- public global::PromptLayer.ExternalIdsListResponse? Type342 { get; set; }
+ public global::PromptLayer.ExternalIdAttachResponse? Type342 { get; set; }
///
///
///
- public global::PromptLayer.ExternalIdDeleteResponse? Type343 { get; set; }
+ public global::PromptLayer.ExternalIdsListResponse? Type343 { get; set; }
///
///
///
- public global::PromptLayer.ExternalIdErrorResponse? Type344 { get; set; }
+ public global::PromptLayer.ExternalIdDeleteResponse? Type344 { get; set; }
///
///
///
- public global::PromptLayer.PromptTemplate6? Type345 { get; set; }
+ public global::PromptLayer.ExternalIdErrorResponse? Type345 { get; set; }
///
///
///
- public global::PromptLayer.ListPromptTemplateItemPromptTemplateDiscriminator? Type346 { get; set; }
+ public global::PromptLayer.PromptTemplate6? Type346 { get; set; }
///
///
///
- public global::PromptLayer.ListPromptTemplateItemPromptTemplateDiscriminatorType? Type347 { get; set; }
+ public global::PromptLayer.ListPromptTemplateItemPromptTemplateDiscriminator? Type347 { get; set; }
///
///
///
- public global::PromptLayer.RateLimitError? Type348 { get; set; }
+ public global::PromptLayer.ListPromptTemplateItemPromptTemplateDiscriminatorType? Type348 { get; set; }
///
///
///
- public global::PromptLayer.EvaluationColumnDefinition? Type349 { get; set; }
+ public global::PromptLayer.RateLimitError? Type349 { get; set; }
///
///
///
- public global::PromptLayer.EvaluationColumnDefinitionColumnType? Type350 { get; set; }
+ public global::PromptLayer.EvaluationColumnDefinition? Type350 { get; set; }
///
///
///
- public global::PromptLayer.ScoreConfiguration? Type351 { get; set; }
+ public global::PromptLayer.EvaluationColumnDefinitionColumnType? Type351 { get; set; }
///
///
///
- public global::PromptLayer.ScoreConfigurationCodeLanguage? Type352 { get; set; }
+ public global::PromptLayer.ScoreConfiguration? Type352 { get; set; }
///
///
///
- public global::PromptLayer.EvaluationPipelineSummary? Type353 { get; set; }
+ public global::PromptLayer.ScoreConfigurationCodeLanguage? Type353 { get; set; }
///
///
///
- public global::PromptLayer.ReportColumnSummary? Type354 { get; set; }
+ public global::PromptLayer.EvaluationPipelineSummary? Type354 { get; set; }
///
///
///
- public global::PromptLayer.ReportColumnSummaryColumnType? Type355 { get; set; }
+ public global::PromptLayer.ReportColumnSummary? Type355 { get; set; }
///
///
///
- public global::PromptLayer.CreateEvaluationPipelineRequest? Type356 { get; set; }
+ public global::PromptLayer.ReportColumnSummaryColumnType? Type356 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type357 { get; set; }
+ public global::PromptLayer.CreateEvaluationPipelineRequest? Type357 { get; set; }
///
///
///
- public global::PromptLayer.CreateEvaluationPipelineResponse? Type358 { get; set; }
+ public global::System.Collections.Generic.IList? Type358 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type359 { get; set; }
+ public global::PromptLayer.CreateEvaluationPipelineResponse? Type359 { get; set; }
///
///
///
- public global::PromptLayer.UpdateReportScoreCardRequest? Type360 { get; set; }
+ public global::System.Collections.Generic.IList? Type360 { get; set; }
///
///
///
- public global::PromptLayer.UpdateReportScoreCardRequestCodeLanguage? Type361 { get; set; }
+ public global::PromptLayer.UpdateReportScoreCardRequest? Type361 { get; set; }
///
///
///
- public global::PromptLayer.UpdateReportScoreCardResponse? Type362 { get; set; }
+ public global::PromptLayer.UpdateReportScoreCardRequestCodeLanguage? Type362 { get; set; }
///
///
///
- public global::PromptLayer.EditReportColumnRequest? Type363 { get; set; }
+ public global::PromptLayer.UpdateReportScoreCardResponse? Type363 { get; set; }
///
///
///
- public global::PromptLayer.EditReportColumnRequestColumnType? Type364 { get; set; }
+ public global::PromptLayer.EditReportColumnRequest? Type364 { get; set; }
///
///
///
- public global::PromptLayer.EditReportColumnResponse? Type365 { get; set; }
+ public global::PromptLayer.EditReportColumnRequestColumnType? Type365 { get; set; }
///
///
///
- public global::PromptLayer.RenameReportRequest? Type366 { get; set; }
+ public global::PromptLayer.EditReportColumnResponse? Type366 { get; set; }
///
///
///
- public global::PromptLayer.RenameReportResponse? Type367 { get; set; }
+ public global::PromptLayer.RenameReportRequest? Type367 { get; set; }
///
///
///
- public global::PromptLayer.DeleteReportResponse? Type368 { get; set; }
+ public global::PromptLayer.RenameReportResponse? Type368 { get; set; }
///
///
///
- public global::PromptLayer.CreateDatasetGroupRequest? Type369 { get; set; }
+ public global::PromptLayer.DeleteReportResponse? Type369 { get; set; }
///
///
///
- public global::PromptLayer.CreateDatasetGroupResponse? Type370 { get; set; }
+ public global::PromptLayer.CreateDatasetGroupRequest? Type370 { get; set; }
///
///
///
- public global::PromptLayer.AnyOf? Type371 { get; set; }
+ public global::PromptLayer.CreateDatasetGroupResponse? Type371 { get; set; }
///
///
///
- public global::PromptLayer.AnyOf? Type372 { get; set; }
+ public global::PromptLayer.AnyOf? Type372 { get; set; }
///
///
///
- public global::PromptLayer.CreateDatasetVersionFromFilterParamsRequest? Type373 { get; set; }
+ public global::PromptLayer.AnyOf? Type373 { get; set; }
///
///
///
- public global::PromptLayer.CreateDatasetVersionFromFilterParamsRequestSortBy? Type374 { get; set; }
+ public global::PromptLayer.CreateDatasetVersionFromFilterParamsRequest? Type374 { get; set; }
///
///
///
- public global::PromptLayer.CreateDatasetVersionFromFilterParamsRequestSortOrder? Type375 { get; set; }
+ public global::PromptLayer.CreateDatasetVersionFromFilterParamsRequestSortBy? Type375 { get; set; }
///
///
///
- public global::PromptLayer.CreateDatasetVersionFromFilterParamsResponse? Type376 { get; set; }
+ public global::PromptLayer.CreateDatasetVersionFromFilterParamsRequestSortOrder? Type376 { get; set; }
///
///
///
- public global::PromptLayer.DatasetRowCell? Type377 { get; set; }
+ public global::PromptLayer.CreateDatasetVersionFromFilterParamsResponse? Type377 { get; set; }
///
///
///
- public global::PromptLayer.DatasetRowCellType? Type378 { get; set; }
+ public global::PromptLayer.DatasetRowCell? Type378 { get; set; }
///
///
///
- public global::PromptLayer.EvaluationRowCell? Type379 { get; set; }
+ public global::PromptLayer.DatasetRowCellType? Type379 { get; set; }
///
///
///
- public global::PromptLayer.EvaluationRowCellType? Type380 { get; set; }
+ public global::PromptLayer.EvaluationRowCell? Type380 { get; set; }
///
///
///
- public global::PromptLayer.DatasetRowsResponse? Type381 { get; set; }
+ public global::PromptLayer.EvaluationRowCellType? Type381 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList>? Type382 { get; set; }
+ public global::PromptLayer.DatasetRowsResponse? Type382 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type383 { get; set; }
+ public global::System.Collections.Generic.IList>? Type383 { get; set; }
///
///
///
- public global::PromptLayer.EvaluationRowsResponse? Type384 { get; set; }
+ public global::System.Collections.Generic.IList? Type384 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList>>? Type385 { get; set; }
+ public global::PromptLayer.EvaluationRowsResponse? Type385 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList>? Type386 { get; set; }
+ public global::System.Collections.Generic.IList>>? Type386 { get; set; }
///
///
///
- public global::PromptLayer.OneOf? Type387 { get; set; }
+ public global::System.Collections.Generic.IList>? Type387 { get; set; }
///
///
///
- public global::PromptLayer.RequestLogDetailResponse? Type388 { get; set; }
+ public global::PromptLayer.OneOf? Type388 { get; set; }
///
///
///
- public global::PromptLayer.TraceDetailResponse? Type389 { get; set; }
+ public global::PromptLayer.RequestLogDetailResponse? Type389 { get; set; }
///
///
///
- public global::PromptLayer.SearchRequestSuggestionsResponse? Type390 { get; set; }
+ public global::PromptLayer.TraceDetailResponse? Type390 { get; set; }
///
///
///
- public global::PromptLayer.TrackPromptRequest? Type391 { get; set; }
+ public global::PromptLayer.SearchRequestSuggestionsResponse? Type391 { get; set; }
///
///
///
- public global::PromptLayer.AnyOf? Type392 { get; set; }
+ public global::PromptLayer.TrackPromptRequest? Type392 { get; set; }
///
///
///
- public global::PromptLayer.AnyOf? Type393 { get; set; }
+ public global::PromptLayer.AnyOf? Type393 { get; set; }
///
///
///
- public global::PromptLayer.TrackMetadataRequest? Type394 { get; set; }
+ public global::PromptLayer.AnyOf? Type394 { get; set; }
///
///
///
- public global::PromptLayer.TrackResponse? Type395 { get; set; }
+ public global::PromptLayer.TrackMetadataRequest? Type395 { get; set; }
///
///
///
- public global::PromptLayer.CreateDatasetVersionFromFileRequest? Type396 { get; set; }
+ public global::PromptLayer.TrackResponse? Type396 { get; set; }
///
///
///
- public global::PromptLayer.CreateDatasetVersionFromFileResponse? Type397 { get; set; }
+ public global::PromptLayer.CreateDatasetVersionFromFileRequest? Type397 { get; set; }
///
///
///
- public global::PromptLayer.CreateDraftDatasetVersionRequest? Type398 { get; set; }
+ public global::PromptLayer.CreateDatasetVersionFromFileResponse? Type398 { get; set; }
///
///
///
- public global::PromptLayer.DraftDatasetVersionResponse? Type399 { get; set; }
+ public global::PromptLayer.CreateDraftDatasetVersionRequest? Type399 { get; set; }
///
///
///
- public global::PromptLayer.AddRequestLogToDatasetRequest? Type400 { get; set; }
+ public global::PromptLayer.DraftDatasetVersionResponse? Type400 { get; set; }
///
///
///
- public global::PromptLayer.SaveDraftDatasetVersionRequest? Type401 { get; set; }
+ public global::PromptLayer.AddRequestLogToDatasetRequest? Type401 { get; set; }
///
///
///
- public global::PromptLayer.AddTraceToDatasetRequest? Type402 { get; set; }
+ public global::PromptLayer.SaveDraftDatasetVersionRequest? Type402 { get; set; }
///
///
///
- public global::PromptLayer.AddTraceToDatasetResponse? Type403 { get; set; }
+ public global::PromptLayer.AddTraceToDatasetRequest? Type403 { get; set; }
///
///
///
- public global::PromptLayer.AddTraceToDatasetResponseMode? Type404 { get; set; }
+ public global::PromptLayer.AddTraceToDatasetResponse? Type404 { get; set; }
///
///
///
- public global::PromptLayer.CreatePromptLabelRequest? Type405 { get; set; }
+ public global::PromptLayer.AddTraceToDatasetResponseMode? Type405 { get; set; }
///
///
///
- public global::PromptLayer.PromptTemplatesLabelsPromptLabelIdPatchRequest? Type406 { get; set; }
+ public global::PromptLayer.CreatePromptLabelRequest? Type406 { get; set; }
///
///
///
- public global::PromptLayer.TrackGroupRequest? Type407 { get; set; }
+ public global::PromptLayer.PromptTemplatesLabelsPromptLabelIdPatchRequest? Type407 { get; set; }
///
///
///
- public global::PromptLayer.TrackScoreRequest? Type408 { get; set; }
+ public global::PromptLayer.TrackGroupRequest? Type408 { get; set; }
///
///
///
- public global::PromptLayer.AddReportColumnRequest? Type409 { get; set; }
+ public global::PromptLayer.TrackScoreRequest? Type409 { get; set; }
///
///
///
- public global::PromptLayer.AddReportColumnRequestColumnType? Type410 { get; set; }
+ public global::PromptLayer.AddReportColumnRequest? Type410 { get; set; }
///
///
///
- public global::PromptLayer.RunReportRequest? Type411 { get; set; }
+ public global::PromptLayer.AddReportColumnRequestColumnType? Type411 { get; set; }
///
///
///
- public global::PromptLayer.CreateToolRegistryRequest? Type412 { get; set; }
+ public global::PromptLayer.RunReportRequest? Type412 { get; set; }
///
///
///
- public global::PromptLayer.CreateToolRegistryRequestExecution? Type413 { get; set; }
+ public global::PromptLayer.CreateToolRegistryRequest? Type413 { get; set; }
///
///
///
- public global::PromptLayer.CreateToolRegistryRequestExecutionType? Type414 { get; set; }
+ public global::PromptLayer.CreateToolRegistryRequestExecution? Type414 { get; set; }
///
///
///
- public global::PromptLayer.CreateToolRegistryRequestExecutionLanguage? Type415 { get; set; }
+ public global::PromptLayer.CreateToolRegistryRequestExecutionType? Type415 { get; set; }
///
///
///
- public global::PromptLayer.CreateToolVersionRequest? Type416 { get; set; }
+ public global::PromptLayer.CreateToolRegistryRequestExecutionLanguage? Type416 { get; set; }
///
///
///
- public global::PromptLayer.CreateToolVersionRequestExecution? Type417 { get; set; }
+ public global::PromptLayer.CreateToolVersionRequest? Type417 { get; set; }
///
///
///
- public global::PromptLayer.CreateToolVersionRequestExecutionType? Type418 { get; set; }
+ public global::PromptLayer.CreateToolVersionRequestExecution? Type418 { get; set; }
///
///
///
- public global::PromptLayer.CreateToolVersionRequestExecutionLanguage? Type419 { get; set; }
+ public global::PromptLayer.CreateToolVersionRequestExecutionType? Type419 { get; set; }
///
///
///
- public global::PromptLayer.TestExecuteToolRequest? Type420 { get; set; }
+ public global::PromptLayer.CreateToolVersionRequestExecutionLanguage? Type420 { get; set; }
///
///
///
- public global::PromptLayer.TestExecuteToolRequestExecution? Type421 { get; set; }
+ public global::PromptLayer.TestExecuteToolRequest? Type421 { get; set; }
///
///
///
- public global::PromptLayer.TestExecuteToolRequestExecutionType? Type422 { get; set; }
+ public global::PromptLayer.TestExecuteToolRequestExecution? Type422 { get; set; }
///
///
///
- public global::PromptLayer.TestExecuteToolRequestExecutionLanguage? Type423 { get; set; }
+ public global::PromptLayer.TestExecuteToolRequestExecutionType? Type423 { get; set; }
///
///
///
- public global::PromptLayer.ListDatasetsStatus? Type424 { get; set; }
+ public global::PromptLayer.TestExecuteToolRequestExecutionLanguage? Type424 { get; set; }
///
///
///
- public global::PromptLayer.ListDatasetsSortBy? Type425 { get; set; }
+ public global::PromptLayer.ListDatasetsStatus? Type425 { get; set; }
///
///
///
- public global::PromptLayer.ListDatasetsSortOrder? Type426 { get; set; }
+ public global::PromptLayer.ListDatasetsSortBy? Type426 { get; set; }
///
///
///
- public global::PromptLayer.ListEvaluationsStatus? Type427 { get; set; }
+ public global::PromptLayer.ListDatasetsSortOrder? Type427 { get; set; }
///
///
///
- public global::PromptLayer.ListEvaluationsSortBy? Type428 { get; set; }
+ public global::PromptLayer.ListEvaluationsStatus? Type428 { get; set; }
///
///
///
- public global::PromptLayer.ListEvaluationsSortOrder? Type429 { get; set; }
+ public global::PromptLayer.ListEvaluationsSortBy? Type429 { get; set; }
///
///
///
- public global::PromptLayer.AnyOf>? Type430 { get; set; }
+ public global::PromptLayer.ListEvaluationsSortOrder? Type430 { get; set; }
///
///
///
- public global::PromptLayer.GetAllPromptTemplatesGetStatus? Type431 { get; set; }
+ public global::PromptLayer.AnyOf>? Type431 { get; set; }
///
///
///
- public global::PromptLayer.GetAllPromptTemplatesGetSortBy? Type432 { get; set; }
+ public global::PromptLayer.GetAllPromptTemplatesGetStatus? Type432 { get; set; }
///
///
///
- public global::PromptLayer.GetAllPromptTemplatesGetSortOrder? Type433 { get; set; }
+ public global::PromptLayer.GetAllPromptTemplatesGetSortBy? Type433 { get; set; }
///
///
///
- public long? Type434 { get; set; }
+ public global::PromptLayer.GetAllPromptTemplatesGetSortOrder? Type434 { get; set; }
///
///
///
- public global::PromptLayer.ListWorkflowsSortBy? Type435 { get; set; }
+ public long? Type435 { get; set; }
///
///
///
- public global::PromptLayer.ListWorkflowsSortOrder? Type436 { get; set; }
+ public global::PromptLayer.ListWorkflowsSortBy? Type436 { get; set; }
///
///
///
- public global::PromptLayer.ListFolderEntitiesApiPublicV2FoldersEntitiesGetFilterType2? Type437 { get; set; }
+ public global::PromptLayer.ListWorkflowsSortOrder? Type437 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type438 { get; set; }
+ public global::PromptLayer.ListFolderEntitiesApiPublicV2FoldersEntitiesGetFilterType2? Type438 { get; set; }
///
///
///
- public global::PromptLayer.ListFolderEntitiesApiPublicV2FoldersEntitiesGetFilterTypeItem? Type439 { get; set; }
+ public global::System.Collections.Generic.IList? Type439 { get; set; }
///
///
///
- public global::PromptLayer.ListFolderEntitiesApiPublicV2FoldersEntitiesGetSortBy? Type440 { get; set; }
+ public global::PromptLayer.ListFolderEntitiesApiPublicV2FoldersEntitiesGetFilterTypeItem? Type440 { get; set; }
///
///
///
- public global::PromptLayer.ListFolderEntitiesApiPublicV2FoldersEntitiesGetSortOrder? Type441 { get; set; }
+ public global::PromptLayer.ListFolderEntitiesApiPublicV2FoldersEntitiesGetSortBy? Type441 { get; set; }
///
///
///
- public global::PromptLayer.OneOf>? Type442 { get; set; }
+ public global::PromptLayer.ListFolderEntitiesApiPublicV2FoldersEntitiesGetSortOrder? Type442 { get; set; }
///
///
///
- public global::PromptLayer.IngestOtlpTracesContentType? Type443 { get; set; }
+ public global::PromptLayer.OneOf>? Type443 { get; set; }
///
///
///
- public global::PromptLayer.IngestOtlpTracesContentEncoding? Type444 { get; set; }
+ public global::PromptLayer.IngestOtlpTracesContentType? Type444 { get; set; }
///
///
///
- public global::PromptLayer.ListSkillCollectionsPublicSortBy? Type445 { get; set; }
+ public global::PromptLayer.IngestOtlpTracesContentEncoding? Type445 { get; set; }
///
///
///
- public global::PromptLayer.ListSkillCollectionsPublicSortOrder? Type446 { get; set; }
+ public global::PromptLayer.ListSkillCollectionsPublicSortBy? Type446 { get; set; }
///
///
///
- public global::PromptLayer.GetSkillCollectionPublicFormat? Type447 { get; set; }
+ public global::PromptLayer.ListSkillCollectionsPublicSortOrder? Type447 { get; set; }
///
///
///
- public global::PromptLayer.GetRequestSearchSuggestionsField? Type448 { get; set; }
+ public global::PromptLayer.GetSkillCollectionPublicFormat? Type448 { get; set; }
///
///
///
- public global::PromptLayer.ListToolRegistriesSortBy? Type449 { get; set; }
+ public global::PromptLayer.GetRequestSearchSuggestionsField? Type449 { get; set; }
///
///
///
- public global::PromptLayer.ListToolRegistriesSortOrder? Type450 { get; set; }
+ public global::PromptLayer.ListToolRegistriesSortBy? Type450 { get; set; }
///
///
///
- public global::PromptLayer.OneOf? Type451 { get; set; }
+ public global::PromptLayer.ListToolRegistriesSortOrder? Type451 { get; set; }
///
///
///
- public global::PromptLayer.CreatePromptLabelResponse? Type452 { get; set; }
+ public global::PromptLayer.OneOf? Type452 { get; set; }
///
///
///
- public global::PromptLayer.PromptTemplatesLabelsPromptLabelIdPatchResponse? Type453 { get; set; }
+ public global::PromptLayer.CreatePromptLabelResponse? Type453 { get; set; }
///
///
///
- public global::PromptLayer.TrackGroupResponse? Type454 { get; set; }
+ public global::PromptLayer.PromptTemplatesLabelsPromptLabelIdPatchResponse? Type454 { get; set; }
///
///
///
- public global::PromptLayer.TrackScoreResponse? Type455 { get; set; }
+ public global::PromptLayer.TrackGroupResponse? Type455 { get; set; }
///
///
///
- public global::PromptLayer.DeleteReportsByNameResponse? Type456 { get; set; }
+ public global::PromptLayer.TrackScoreResponse? Type456 { get; set; }
///
///
///
- public global::PromptLayer.CreateEvaluationPipelineResponse2? Type457 { get; set; }
+ public global::PromptLayer.DeleteReportsByNameResponse? Type457 { get; set; }
///
///
///
- public global::PromptLayer.AddReportColumnResponse? Type458 { get; set; }
+ public global::PromptLayer.CreateEvaluationPipelineResponse2? Type458 { get; set; }
///
///
///
- public global::PromptLayer.AddReportColumnResponse2? Type459 { get; set; }
+ public global::PromptLayer.AddReportColumnResponse? Type459 { get; set; }
///
///
///
- public global::PromptLayer.AddReportColumnResponse3? Type460 { get; set; }
+ public global::PromptLayer.AddReportColumnResponse2? Type460 { get; set; }
///
///
///
- public global::PromptLayer.AddReportColumnResponse4? Type461 { get; set; }
+ public global::PromptLayer.AddReportColumnResponse3? Type461 { get; set; }
///
///
///
- public global::PromptLayer.RunReportResponse? Type462 { get; set; }
+ public global::PromptLayer.AddReportColumnResponse4? Type462 { get; set; }
///
///
///
- public global::PromptLayer.RunReportResponse2? Type463 { get; set; }
+ public global::PromptLayer.RunReportResponse? Type463 { get; set; }
///
///
///
- public global::PromptLayer.RunReportResponse3? Type464 { get; set; }
+ public global::PromptLayer.RunReportResponse2? Type464 { get; set; }
///
///
///
- public global::PromptLayer.RunReportResponse4? Type465 { get; set; }
+ public global::PromptLayer.RunReportResponse3? Type465 { get; set; }
///
///
///
- public global::PromptLayer.RunReportResponse5? Type466 { get; set; }
+ public global::PromptLayer.RunReportResponse4? Type466 { get; set; }
///
///
///
- public global::PromptLayer.GetReportResponse? Type467 { get; set; }
+ public global::PromptLayer.RunReportResponse5? Type467 { get; set; }
///
///
///
- public global::PromptLayer.GetReportResponseReport? Type468 { get; set; }
+ public global::PromptLayer.GetReportResponse? Type468 { get; set; }
///
///
///
- public global::PromptLayer.GetReportResponseStatus? Type469 { get; set; }
+ public global::PromptLayer.GetReportResponseReport? Type469 { get; set; }
///
///
///
- public global::PromptLayer.GetReportResponseStats? Type470 { get; set; }
+ public global::PromptLayer.GetReportResponseStatus? Type470 { get; set; }
///
///
///
- public global::PromptLayer.GetReportResponseStatsStatusCounts? Type471 { get; set; }
+ public global::PromptLayer.GetReportResponseStats? Type471 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type472 { get; set; }
+ public global::PromptLayer.GetReportResponseStatsStatusCounts? Type472 { get; set; }
///
///
///
- public global::PromptLayer.GetReportResponseReportColumn? Type473 { get; set; }
+ public global::System.Collections.Generic.IList? Type473 { get; set; }
///
///
///
- public global::PromptLayer.GetReportScoreResponse? Type474 { get; set; }
+ public global::PromptLayer.GetReportResponseReportColumn? Type474 { get; set; }
///
///
///
- public global::PromptLayer.GetReportScoreResponseScore? Type475 { get; set; }
+ public global::PromptLayer.GetReportScoreResponse? Type475 { get; set; }
///
///
///
- public global::PromptLayer.GetReportScoreResponseScoreScoreType? Type476 { get; set; }
+ public global::PromptLayer.GetReportScoreResponseScore? Type476 { get; set; }
///
///
///
- public global::PromptLayer.GetReportScoreResponseScoreDetailsVariant1? Type477 { get; set; }
+ public global::PromptLayer.GetReportScoreResponseScoreScoreType? Type477 { get; set; }
///
///
///
- public global::PromptLayer.GetReportScoreResponseScoreDetailsVariant2? Type478 { get; set; }
+ public global::PromptLayer.GetReportScoreResponseScoreDetailsVariant1? Type478 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type479 { get; set; }
+ public global::PromptLayer.GetReportScoreResponseScoreDetailsVariant2? Type479 { get; set; }
///
///
///
- public global::PromptLayer.GetReportScoreResponseScoreDetailsVariant2Column? Type480 { get; set; }
+ public global::System.Collections.Generic.IList? Type480 { get; set; }
///
///
///
- public global::PromptLayer.GetReportScoreResponseScoreDetailsVariant3? Type481 { get; set; }
+ public global::PromptLayer.GetReportScoreResponseScoreDetailsVariant2Column? Type481 { get; set; }
///
///
///
- public global::PromptLayer.GetReportScoreResponseScoreDetailsVariant4? Type482 { get; set; }
+ public global::PromptLayer.GetReportScoreResponseScoreDetailsVariant3? Type482 { get; set; }
///
///
///
- public global::PromptLayer.ListDatasetsResponse? Type483 { get; set; }
+ public global::PromptLayer.GetReportScoreResponseScoreDetailsVariant4? Type483 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type484 { get; set; }
+ public global::PromptLayer.ListDatasetsResponse? Type484 { get; set; }
///
///
///
- public global::PromptLayer.ListEvaluationsResponse? Type485 { get; set; }
+ public global::System.Collections.Generic.IList? Type485 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type486 { get; set; }
+ public global::PromptLayer.ListEvaluationsResponse? Type486 { get; set; }
///
///
///
- public global::PromptLayer.AnyOf? Type487 { get; set; }
+ public global::System.Collections.Generic.IList? Type487 { get; set; }
///
///
///
- public global::PromptLayer.OneOf, object>? Type488 { get; set; }
+ public global::PromptLayer.AnyOf? Type488 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type489 { get; set; }
+ public global::PromptLayer.OneOf, object>? Type489 { get; set; }
///
///
///
- public global::PromptLayer.GetWorkflowVersionExecutionResultsResponseVariant12? Type490 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type490 { get; set; }
///
///
///
- public global::PromptLayer.OneOf, object>? Type491 { get; set; }
+ public global::PromptLayer.GetWorkflowVersionExecutionResultsResponseVariant12? Type491 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type492 { get; set; }
+ public global::PromptLayer.OneOf, object>? Type492 { get; set; }
///
///
///
- public global::PromptLayer.GetWorkflowVersionExecutionResultsResponseVariant14? Type493 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type493 { get; set; }
///
///
///
- public global::PromptLayer.ListWorkflowsResponse? Type494 { get; set; }
+ public global::PromptLayer.GetWorkflowVersionExecutionResultsResponseVariant14? Type494 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type495 { get; set; }
+ public global::PromptLayer.ListWorkflowsResponse? Type495 { get; set; }
///
///
///
- public global::PromptLayer.ListWorkflowsResponseItem? Type496 { get; set; }
+ public global::System.Collections.Generic.IList? Type496 { get; set; }
///
///
///
- public global::PromptLayer.ListWorkflowsResponse2? Type497 { get; set; }
+ public global::PromptLayer.ListWorkflowsResponseItem? Type497 { get; set; }
///
///
///
- public global::PromptLayer.ListWorkflowsResponse3? Type498 { get; set; }
+ public global::PromptLayer.ListWorkflowsResponse2? Type498 { get; set; }
///
///
///
- public global::PromptLayer.GetWorkflowResponse? Type499 { get; set; }
+ public global::PromptLayer.ListWorkflowsResponse3? Type499 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type500 { get; set; }
+ public global::PromptLayer.GetWorkflowResponse? Type500 { get; set; }
///
///
///
- public global::PromptLayer.GetWorkflowResponseNode? Type501 { get; set; }
+ public global::System.Collections.Generic.IList? Type501 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type502 { get; set; }
+ public global::PromptLayer.GetWorkflowResponseNode? Type502 { get; set; }
///
///
///
- public global::PromptLayer.GetWorkflowResponseEdge? Type503 { get; set; }
+ public global::System.Collections.Generic.IList? Type503 { get; set; }
///
///
///
- public global::PromptLayer.GetWorkflowLabelsResponse? Type504 { get; set; }
+ public global::PromptLayer.GetWorkflowResponseEdge? Type504 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type505 { get; set; }
+ public global::PromptLayer.GetWorkflowLabelsResponse? Type505 { get; set; }
///
///
///
- public global::PromptLayer.GetWorkflowLabelsResponseReleaseLabel? Type506 { get; set; }
+ public global::System.Collections.Generic.IList? Type506 { get; set; }
///
///
///
- public global::PromptLayer.AnyOf? Type507 { get; set; }
+ public global::PromptLayer.GetWorkflowLabelsResponseReleaseLabel? Type507 { get; set; }
///
///
///
- public global::PromptLayer.ListToolRegistriesResponse? Type508 { get; set; }
+ public global::PromptLayer.AnyOf? Type508 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type509 { get; set; }
+ public global::PromptLayer.IngestOtlpTracesResponse2? Type509 { get; set; }
///
///
///
- public global::PromptLayer.ListToolRegistriesResponseToolRegistrie? Type510 { get; set; }
+ public global::PromptLayer.ListToolRegistriesResponse? Type510 { get; set; }
///
///
///
- public global::PromptLayer.CreateToolRegistryResponse? Type511 { get; set; }
+ public global::System.Collections.Generic.IList? Type511 { get; set; }
///
///
///
- public global::PromptLayer.GetToolRegistryResponse? Type512 { get; set; }
+ public global::PromptLayer.ListToolRegistriesResponseToolRegistrie? Type512 { get; set; }
///
///
///
- public global::PromptLayer.GetToolRegistryResponseToolRegistry? Type513 { get; set; }
+ public global::PromptLayer.CreateToolRegistryResponse? Type513 { get; set; }
///
///
///
- public global::PromptLayer.CreateToolVersionResponse? Type514 { get; set; }
+ public global::PromptLayer.GetToolRegistryResponse? Type514 { get; set; }
///
///
///
- public global::PromptLayer.TestExecuteToolResponse? Type515 { get; set; }
+ public global::PromptLayer.GetToolRegistryResponseToolRegistry? Type515 { get; set; }
///
///
///
- public global::PromptLayer.TestExecuteToolResponseResult? Type516 { get; set; }
+ public global::PromptLayer.CreateToolVersionResponse? Type516 { get; set; }
///
///
///
- public global::PromptLayer.TestExecuteToolResponseResultStatus? Type517 { get; set; }
+ public global::PromptLayer.TestExecuteToolResponse? Type517 { get; set; }
+ ///
+ ///
+ ///
+ public global::PromptLayer.TestExecuteToolResponseResult? Type518 { get; set; }
+ ///
+ ///
+ ///
+ public global::PromptLayer.TestExecuteToolResponseResultStatus? Type519 { get; set; }
+ ///
+ ///
+ ///
+ public global::PromptLayer.CloseTraceResponse? Type520 { get; set; }
+ ///
+ ///
+ ///
+ public global::PromptLayer.CloseTraceResponseClosure? Type521 { get; set; }
+ ///
+ ///
+ ///
+ public global::PromptLayer.CloseTraceResponseClosureStatus? Type522 { get; set; }
+ ///
+ ///
+ ///
+ public global::PromptLayer.CloseTraceResponse2? Type523 { get; set; }
///
///
diff --git a/src/libs/PromptLayer/Generated/PromptLayer.Models.CloseTraceResponse.Json.g.cs b/src/libs/PromptLayer/Generated/PromptLayer.Models.CloseTraceResponse.Json.g.cs
new file mode 100644
index 0000000..514caf7
--- /dev/null
+++ b/src/libs/PromptLayer/Generated/PromptLayer.Models.CloseTraceResponse.Json.g.cs
@@ -0,0 +1,92 @@
+#nullable enable
+
+namespace PromptLayer
+{
+ public sealed partial class CloseTraceResponse
+ {
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
+ ///
+ public string ToJson(
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ this.GetType(),
+ jsonSerializerContext);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public string ToJson(
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerContext.
+ ///
+ public static global::PromptLayer.CloseTraceResponse? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::PromptLayer.CloseTraceResponse),
+ jsonSerializerContext) as global::PromptLayer.CloseTraceResponse;
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::PromptLayer.CloseTraceResponse? FromJson(
+ string json,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerContext.
+ ///
+ public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ typeof(global::PromptLayer.CloseTraceResponse),
+ jsonSerializerContext).ConfigureAwait(false)) as global::PromptLayer.CloseTraceResponse;
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ jsonSerializerOptions);
+ }
+ }
+}
diff --git a/src/libs/PromptLayer/Generated/PromptLayer.Models.CloseTraceResponse.g.cs b/src/libs/PromptLayer/Generated/PromptLayer.Models.CloseTraceResponse.g.cs
new file mode 100644
index 0000000..5c3daec
--- /dev/null
+++ b/src/libs/PromptLayer/Generated/PromptLayer.Models.CloseTraceResponse.g.cs
@@ -0,0 +1,53 @@
+
+#nullable enable
+
+namespace PromptLayer
+{
+ ///
+ ///
+ ///
+ public sealed partial class CloseTraceResponse
+ {
+ ///
+ ///
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("success")]
+ public bool? Success { get; set; }
+
+ ///
+ ///
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("closure")]
+ public global::PromptLayer.CloseTraceResponseClosure? Closure { get; set; }
+
+ ///
+ /// Additional properties that are not explicitly defined in the schema
+ ///
+ [global::System.Text.Json.Serialization.JsonExtensionData]
+ public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ ///
+ ///
+#if NET7_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
+#endif
+ public CloseTraceResponse(
+ bool? success,
+ global::PromptLayer.CloseTraceResponseClosure? closure)
+ {
+ this.Success = success;
+ this.Closure = closure;
+ }
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public CloseTraceResponse()
+ {
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/PromptLayer/Generated/PromptLayer.Models.CloseTraceResponse2.Json.g.cs b/src/libs/PromptLayer/Generated/PromptLayer.Models.CloseTraceResponse2.Json.g.cs
new file mode 100644
index 0000000..1f4a56f
--- /dev/null
+++ b/src/libs/PromptLayer/Generated/PromptLayer.Models.CloseTraceResponse2.Json.g.cs
@@ -0,0 +1,92 @@
+#nullable enable
+
+namespace PromptLayer
+{
+ public sealed partial class CloseTraceResponse2
+ {
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
+ ///
+ public string ToJson(
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ this.GetType(),
+ jsonSerializerContext);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public string ToJson(
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerContext.
+ ///
+ public static global::PromptLayer.CloseTraceResponse2? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::PromptLayer.CloseTraceResponse2),
+ jsonSerializerContext) as global::PromptLayer.CloseTraceResponse2;
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::PromptLayer.CloseTraceResponse2? FromJson(
+ string json,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerContext.
+ ///
+ public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ typeof(global::PromptLayer.CloseTraceResponse2),
+ jsonSerializerContext).ConfigureAwait(false)) as global::PromptLayer.CloseTraceResponse2;
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ jsonSerializerOptions);
+ }
+ }
+}
diff --git a/src/libs/PromptLayer/Generated/PromptLayer.Models.CloseTraceResponse2.g.cs b/src/libs/PromptLayer/Generated/PromptLayer.Models.CloseTraceResponse2.g.cs
new file mode 100644
index 0000000..70438e3
--- /dev/null
+++ b/src/libs/PromptLayer/Generated/PromptLayer.Models.CloseTraceResponse2.g.cs
@@ -0,0 +1,59 @@
+
+#nullable enable
+
+namespace PromptLayer
+{
+ ///
+ ///
+ ///
+ public sealed partial class CloseTraceResponse2
+ {
+ ///
+ /// Example: false
+ ///
+ /// false
+ [global::System.Text.Json.Serialization.JsonPropertyName("success")]
+ public bool? Success { get; set; }
+
+ ///
+ /// Example: Trace already closed
+ ///
+ /// Trace already closed
+ [global::System.Text.Json.Serialization.JsonPropertyName("message")]
+ public string? Message { get; set; }
+
+ ///
+ /// Additional properties that are not explicitly defined in the schema
+ ///
+ [global::System.Text.Json.Serialization.JsonExtensionData]
+ public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ ///
+ /// Example: false
+ ///
+ ///
+ /// Example: Trace already closed
+ ///
+#if NET7_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
+#endif
+ public CloseTraceResponse2(
+ bool? success,
+ string? message)
+ {
+ this.Success = success;
+ this.Message = message;
+ }
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public CloseTraceResponse2()
+ {
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/PromptLayer/Generated/PromptLayer.Models.CloseTraceResponseClosure.Json.g.cs b/src/libs/PromptLayer/Generated/PromptLayer.Models.CloseTraceResponseClosure.Json.g.cs
new file mode 100644
index 0000000..8edb18d
--- /dev/null
+++ b/src/libs/PromptLayer/Generated/PromptLayer.Models.CloseTraceResponseClosure.Json.g.cs
@@ -0,0 +1,92 @@
+#nullable enable
+
+namespace PromptLayer
+{
+ public sealed partial class CloseTraceResponseClosure
+ {
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
+ ///
+ public string ToJson(
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ this.GetType(),
+ jsonSerializerContext);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public string ToJson(
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerContext.
+ ///
+ public static global::PromptLayer.CloseTraceResponseClosure? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::PromptLayer.CloseTraceResponseClosure),
+ jsonSerializerContext) as global::PromptLayer.CloseTraceResponseClosure;
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::PromptLayer.CloseTraceResponseClosure? FromJson(
+ string json,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerContext.
+ ///
+ public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ typeof(global::PromptLayer.CloseTraceResponseClosure),
+ jsonSerializerContext).ConfigureAwait(false)) as global::PromptLayer.CloseTraceResponseClosure;
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ jsonSerializerOptions);
+ }
+ }
+}
diff --git a/src/libs/PromptLayer/Generated/PromptLayer.Models.CloseTraceResponseClosure.g.cs b/src/libs/PromptLayer/Generated/PromptLayer.Models.CloseTraceResponseClosure.g.cs
new file mode 100644
index 0000000..eb989ab
--- /dev/null
+++ b/src/libs/PromptLayer/Generated/PromptLayer.Models.CloseTraceResponseClosure.g.cs
@@ -0,0 +1,90 @@
+
+#nullable enable
+
+namespace PromptLayer
+{
+ ///
+ ///
+ ///
+ public sealed partial class CloseTraceResponseClosure
+ {
+ ///
+ ///
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("id")]
+ public global::System.Guid? Id { get; set; }
+
+ ///
+ ///
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("workspace_id")]
+ public int? WorkspaceId { get; set; }
+
+ ///
+ ///
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("trace_id")]
+ public string? TraceId { get; set; }
+
+ ///
+ ///
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("status")]
+ [global::System.Text.Json.Serialization.JsonConverter(typeof(global::PromptLayer.JsonConverters.CloseTraceResponseClosureStatusJsonConverter))]
+ public global::PromptLayer.CloseTraceResponseClosureStatus? Status { get; set; }
+
+ ///
+ ///
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("created_at")]
+ public global::System.DateTime? CreatedAt { get; set; }
+
+ ///
+ ///
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")]
+ public global::System.DateTime? UpdatedAt { get; set; }
+
+ ///
+ /// Additional properties that are not explicitly defined in the schema
+ ///
+ [global::System.Text.Json.Serialization.JsonExtensionData]
+ public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+#if NET7_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
+#endif
+ public CloseTraceResponseClosure(
+ global::System.Guid? id,
+ int? workspaceId,
+ string? traceId,
+ global::PromptLayer.CloseTraceResponseClosureStatus? status,
+ global::System.DateTime? createdAt,
+ global::System.DateTime? updatedAt)
+ {
+ this.Id = id;
+ this.WorkspaceId = workspaceId;
+ this.TraceId = traceId;
+ this.Status = status;
+ this.CreatedAt = createdAt;
+ this.UpdatedAt = updatedAt;
+ }
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public CloseTraceResponseClosure()
+ {
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/PromptLayer/Generated/PromptLayer.Models.CloseTraceResponseClosureStatus.g.cs b/src/libs/PromptLayer/Generated/PromptLayer.Models.CloseTraceResponseClosureStatus.g.cs
new file mode 100644
index 0000000..f237bec
--- /dev/null
+++ b/src/libs/PromptLayer/Generated/PromptLayer.Models.CloseTraceResponseClosureStatus.g.cs
@@ -0,0 +1,45 @@
+
+#nullable enable
+
+namespace PromptLayer
+{
+ ///
+ ///
+ ///
+ public enum CloseTraceResponseClosureStatus
+ {
+ ///
+ ///
+ ///
+ Closed,
+ }
+
+ ///
+ /// Enum extensions to do fast conversions without the reflection.
+ ///
+ public static class CloseTraceResponseClosureStatusExtensions
+ {
+ ///
+ /// Converts an enum to a string.
+ ///
+ public static string ToValueString(this CloseTraceResponseClosureStatus value)
+ {
+ return value switch
+ {
+ CloseTraceResponseClosureStatus.Closed => "closed",
+ _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
+ };
+ }
+ ///
+ /// Converts an string to a enum.
+ ///
+ public static CloseTraceResponseClosureStatus? ToEnum(string value)
+ {
+ return value switch
+ {
+ "closed" => CloseTraceResponseClosureStatus.Closed,
+ _ => null,
+ };
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/PromptLayer/Generated/PromptLayer.Models.CreateSpansBulk.g.cs b/src/libs/PromptLayer/Generated/PromptLayer.Models.CreateSpansBulk.g.cs
index 324e1a4..5825fe4 100644
--- a/src/libs/PromptLayer/Generated/PromptLayer.Models.CreateSpansBulk.g.cs
+++ b/src/libs/PromptLayer/Generated/PromptLayer.Models.CreateSpansBulk.g.cs
@@ -15,6 +15,13 @@ public sealed partial class CreateSpansBulk
[global::System.Text.Json.Serialization.JsonRequired]
public required global::System.Collections.Generic.IList Spans { get; set; }
+ ///
+ /// When true, all trace IDs in this batch are marked as closed after the spans are persisted. Subsequent span writes for those traces will be rejected with a trace_closed rejection reason. Defaults to false.
+ /// Default Value: false
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("close_after")]
+ public bool? CloseAfter { get; set; }
+
///
/// Additional properties that are not explicitly defined in the schema
///
@@ -25,13 +32,19 @@ public sealed partial class CreateSpansBulk
/// Initializes a new instance of the class.
///
///
+ ///
+ /// When true, all trace IDs in this batch are marked as closed after the spans are persisted. Subsequent span writes for those traces will be rejected with a trace_closed rejection reason. Defaults to false.
+ /// Default Value: false
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public CreateSpansBulk(
- global::System.Collections.Generic.IList spans)
+ global::System.Collections.Generic.IList spans,
+ bool? closeAfter)
{
this.Spans = spans ?? throw new global::System.ArgumentNullException(nameof(spans));
+ this.CloseAfter = closeAfter;
}
///
diff --git a/src/libs/PromptLayer/Generated/PromptLayer.Models.CreateSpansBulkResponse.g.cs b/src/libs/PromptLayer/Generated/PromptLayer.Models.CreateSpansBulkResponse.g.cs
index 2446bef..962ded4 100644
--- a/src/libs/PromptLayer/Generated/PromptLayer.Models.CreateSpansBulkResponse.g.cs
+++ b/src/libs/PromptLayer/Generated/PromptLayer.Models.CreateSpansBulkResponse.g.cs
@@ -28,6 +28,25 @@ public sealed partial class CreateSpansBulkResponse
[global::System.Text.Json.Serialization.JsonPropertyName("request_logs")]
public global::System.Collections.Generic.IList
///
///
+ ///
+ /// Default Value: false
+ ///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
@@ -87,6 +97,7 @@ partial void ProcessIngestOtlpTracesResponseContent(
global::PromptLayer.OtlpExportTraceServiceRequest request,
global::PromptLayer.IngestOtlpTracesContentEncoding? contentEncoding = default,
+ bool? closeAfter = default,
global::PromptLayer.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
@@ -98,6 +109,7 @@ partial void ProcessIngestOtlpTracesResponseContent(
httpClient: HttpClient,
contentType: ref contentType,
contentEncoding: ref contentEncoding,
+ closeAfter: ref closeAfter,
request: request);
@@ -126,6 +138,9 @@ partial void ProcessIngestOtlpTracesResponseContent(
var __pathBuilder = new global::PromptLayer.PathBuilder(
path: "/v1/traces",
baseUri: HttpClient.BaseAddress);
+ __pathBuilder
+ .AddOptionalParameter("close_after", closeAfter?.ToString().ToLowerInvariant())
+ ;
var __path = __pathBuilder.ToString();
__path = global::PromptLayer.AutoSDKRequestOptionsSupport.AppendQueryParameters(
path: __path,
@@ -181,6 +196,7 @@ partial void ProcessIngestOtlpTracesResponseContent(
httpRequestMessage: __httpRequest,
contentType: contentType!,
contentEncoding: contentEncoding,
+ closeAfter: closeAfter,
request: request);
return __httpRequest;
@@ -508,6 +524,43 @@ partial void ProcessIngestOtlpTracesResponseContent(
h => h.Key,
h => h.Value));
}
+ // One or more traces in the request are already closed.
+ if ((int)__response.StatusCode == 409)
+ {
+ string? __content_409 = null;
+ global::System.Exception? __exception_409 = null;
+ global::PromptLayer.IngestOtlpTracesResponse2? __value_409 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ __value_409 = global::PromptLayer.IngestOtlpTracesResponse2.FromJson(__content_409, JsonSerializerContext);
+ }
+ else
+ {
+ __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+
+ __value_409 = global::PromptLayer.IngestOtlpTracesResponse2.FromJson(__content_409, JsonSerializerContext);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_409 = __ex;
+ }
+
+
+ throw global::PromptLayer.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_409 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_409,
+ responseBody: __content_409,
+ responseObject: __value_409,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
if (__effectiveReadResponseAsString)
{
@@ -609,6 +662,9 @@ partial void ProcessIngestOtlpTracesResponseContent(
///
///
///
+ ///
+ /// Default Value: false
+ ///
///
/// An array of ResourceSpans. Each element describes spans from a single instrumented resource.
///
@@ -618,6 +674,7 @@ partial void ProcessIngestOtlpTracesResponseContent(
public async global::System.Threading.Tasks.Task IngestOtlpTracesAsync(
global::PromptLayer.IngestOtlpTracesContentType contentType,
global::PromptLayer.IngestOtlpTracesContentEncoding? contentEncoding = default,
+ bool? closeAfter = default,
global::System.Collections.Generic.IList? resourceSpans = default,
global::PromptLayer.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
@@ -630,6 +687,7 @@ partial void ProcessIngestOtlpTracesResponseContent(
return await IngestOtlpTracesAsync(
contentType: contentType,
contentEncoding: contentEncoding,
+ closeAfter: closeAfter,
request: __request,
requestOptions: requestOptions,
cancellationToken: cancellationToken).ConfigureAwait(false);
diff --git a/src/libs/PromptLayer/Generated/PromptLayer.SpansClient.CreateSpansBulk.g.cs b/src/libs/PromptLayer/Generated/PromptLayer.SpansClient.CreateSpansBulk.g.cs
index e202331..d74cdbc 100644
--- a/src/libs/PromptLayer/Generated/PromptLayer.SpansClient.CreateSpansBulk.g.cs
+++ b/src/libs/PromptLayer/Generated/PromptLayer.SpansClient.CreateSpansBulk.g.cs
@@ -620,17 +620,23 @@ partial void ProcessCreateSpansBulkResponseContent(
/// Create Spans Bulk
///
///
+ ///
+ /// When true, all trace IDs in this batch are marked as closed after the spans are persisted. Subsequent span writes for those traces will be rejected with a trace_closed rejection reason. Defaults to false.
+ /// Default Value: false
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task CreateSpansBulkAsync(
global::System.Collections.Generic.IList spans,
+ bool? closeAfter = default,
global::PromptLayer.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var __request = new global::PromptLayer.CreateSpansBulk
{
Spans = spans,
+ CloseAfter = closeAfter,
};
return await CreateSpansBulkAsync(
diff --git a/src/libs/PromptLayer/Generated/PromptLayer.TrackingClient.CloseTrace.g.cs b/src/libs/PromptLayer/Generated/PromptLayer.TrackingClient.CloseTrace.g.cs
new file mode 100644
index 0000000..d025cb0
--- /dev/null
+++ b/src/libs/PromptLayer/Generated/PromptLayer.TrackingClient.CloseTrace.g.cs
@@ -0,0 +1,611 @@
+
+#nullable enable
+
+namespace PromptLayer
+{
+ public partial class TrackingClient
+ {
+
+
+ private static readonly global::PromptLayer.EndPointSecurityRequirement s_CloseTraceSecurityRequirement0 =
+ new global::PromptLayer.EndPointSecurityRequirement
+ {
+ Authorizations = new global::PromptLayer.EndPointAuthorizationRequirement[]
+ { new global::PromptLayer.EndPointAuthorizationRequirement
+ {
+ Type = "ApiKey",
+ SchemeId = "ApikeyXApiKey",
+ Location = "Header",
+ Name = "X-API-KEY",
+ FriendlyName = "ApiKeyInHeader",
+ },
+ },
+ };
+ private static readonly global::PromptLayer.EndPointSecurityRequirement[] s_CloseTraceSecurityRequirements =
+ new global::PromptLayer.EndPointSecurityRequirement[]
+ { s_CloseTraceSecurityRequirement0,
+ };
+ partial void PrepareCloseTraceArguments(
+ global::System.Net.Http.HttpClient httpClient,
+ ref string traceId);
+ partial void PrepareCloseTraceRequest(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpRequestMessage httpRequestMessage,
+ string traceId);
+ partial void ProcessCloseTraceResponse(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage);
+
+ partial void ProcessCloseTraceResponseContent(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage,
+ ref string content);
+
+ ///
+ /// Close Trace
+ /// Marks a trace as closed, preventing any further span ingestion for that trace. Once closed, subsequent calls to `/spans-bulk` or `/v1/traces` that include spans for this trace will have those spans rejected.
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task CloseTraceAsync(
+ string traceId,
+ global::PromptLayer.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ var __response = await CloseTraceAsResponseAsync(
+ traceId: traceId,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken
+ ).ConfigureAwait(false);
+
+ return __response.Body;
+ }
+ ///
+ /// Close Trace
+ /// Marks a trace as closed, preventing any further span ingestion for that trace. Once closed, subsequent calls to `/spans-bulk` or `/v1/traces` that include spans for this trace will have those spans rejected.
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task> CloseTraceAsResponseAsync(
+ string traceId,
+ global::PromptLayer.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ PrepareArguments(
+ client: HttpClient);
+ PrepareCloseTraceArguments(
+ httpClient: HttpClient,
+ traceId: ref traceId);
+
+
+ var __authorizations = global::PromptLayer.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_CloseTraceSecurityRequirements,
+ operationName: "CloseTraceAsync");
+
+ using var __timeoutCancellationTokenSource = global::PromptLayer.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken);
+ var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken;
+ var __effectiveReadResponseAsString = global::PromptLayer.AutoSDKRequestOptionsSupport.GetReadResponseAsString(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ fallbackValue: ReadResponseAsString);
+ var __maxAttempts = global::PromptLayer.AutoSDKRequestOptionsSupport.GetMaxAttempts(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ supportsRetry: true);
+
+ global::System.Net.Http.HttpRequestMessage __CreateHttpRequest()
+ {
+
+ var __pathBuilder = new global::PromptLayer.PathBuilder(
+ path: $"/api/public/v2/traces/{traceId}/close",
+ baseUri: HttpClient.BaseAddress);
+ var __path = __pathBuilder.ToString();
+ __path = global::PromptLayer.AutoSDKRequestOptionsSupport.AppendQueryParameters(
+ path: __path,
+ clientParameters: Options.QueryParameters,
+ requestParameters: requestOptions?.QueryParameters);
+ var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
+ method: global::System.Net.Http.HttpMethod.Post,
+ requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
+#if NET6_0_OR_GREATER
+ __httpRequest.Version = global::System.Net.HttpVersion.Version11;
+ __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
+#endif
+
+ foreach (var __authorization in __authorizations)
+ {
+ if (__authorization.Type == "Http" ||
+ __authorization.Type == "OAuth2" ||
+ __authorization.Type == "OpenIdConnect")
+ {
+ __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue(
+ scheme: __authorization.Name,
+ parameter: __authorization.Value);
+ }
+ else if (__authorization.Type == "ApiKey" &&
+ __authorization.Location == "Header")
+ {
+ __httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
+ }
+ }
+ global::PromptLayer.AutoSDKRequestOptionsSupport.ApplyHeaders(
+ request: __httpRequest,
+ clientHeaders: Options.Headers,
+ requestHeaders: requestOptions?.Headers);
+
+ PrepareRequest(
+ client: HttpClient,
+ request: __httpRequest);
+ PrepareCloseTraceRequest(
+ httpClient: HttpClient,
+ httpRequestMessage: __httpRequest,
+ traceId: traceId!);
+
+ return __httpRequest;
+ }
+
+ global::System.Net.Http.HttpRequestMessage? __httpRequest = null;
+ global::System.Net.Http.HttpResponseMessage? __response = null;
+ var __attemptNumber = 0;
+ try
+ {
+ for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++)
+ {
+ __attemptNumber = __attempt;
+ __httpRequest = __CreateHttpRequest();
+ await global::PromptLayer.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync(
+ clientOptions: Options,
+ context: global::PromptLayer.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CloseTrace",
+ methodName: "CloseTraceAsync",
+ pathTemplate: "$\"/api/public/v2/traces/{traceId}/close\"",
+ httpMethod: "POST",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: null,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ try
+ {
+ __response = await HttpClient.SendAsync(
+ request: __httpRequest,
+ completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ }
+ catch (global::System.Net.Http.HttpRequestException __exception)
+ {
+ var __retryDelay = global::PromptLayer.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: null,
+ attempt: __attempt);
+ var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested;
+ await global::PromptLayer.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::PromptLayer.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CloseTrace",
+ methodName: "CloseTraceAsync",
+ pathTemplate: "$\"/api/public/v2/traces/{traceId}/close\"",
+ httpMethod: "POST",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: null,
+ exception: __exception,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: __willRetry,
+ retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null,
+ retryReason: "exception",
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ if (!__willRetry)
+ {
+ throw;
+ }
+
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::PromptLayer.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ if (__response != null &&
+ __attempt < __maxAttempts &&
+ global::PromptLayer.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode))
+ {
+ var __retryDelay = global::PromptLayer.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: __response,
+ attempt: __attempt);
+ await global::PromptLayer.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::PromptLayer.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CloseTrace",
+ methodName: "CloseTraceAsync",
+ pathTemplate: "$\"/api/public/v2/traces/{traceId}/close\"",
+ httpMethod: "POST",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: true,
+ retryDelay: __retryDelay,
+ retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture),
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ __response.Dispose();
+ __response = null;
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::PromptLayer.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ break;
+ }
+
+ if (__response == null)
+ {
+ throw new global::System.InvalidOperationException("No response received.");
+ }
+
+ using (__response)
+ {
+
+ ProcessResponse(
+ client: HttpClient,
+ response: __response);
+ ProcessCloseTraceResponse(
+ httpClient: HttpClient,
+ httpResponseMessage: __response);
+ if (__response.IsSuccessStatusCode)
+ {
+ await global::PromptLayer.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync(
+ clientOptions: Options,
+ context: global::PromptLayer.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CloseTrace",
+ methodName: "CloseTraceAsync",
+ pathTemplate: "$\"/api/public/v2/traces/{traceId}/close\"",
+ httpMethod: "POST",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ else
+ {
+ await global::PromptLayer.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::PromptLayer.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CloseTrace",
+ methodName: "CloseTraceAsync",
+ pathTemplate: "$\"/api/public/v2/traces/{traceId}/close\"",
+ httpMethod: "POST",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ // Unauthorized - missing or invalid API key.
+ if ((int)__response.StatusCode == 401)
+ {
+ string? __content_401 = null;
+ global::System.Exception? __exception_401 = null;
+ global::PromptLayer.ErrorResponse? __value_401 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ __value_401 = global::PromptLayer.ErrorResponse.FromJson(__content_401, JsonSerializerContext);
+ }
+ else
+ {
+ __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+
+ __value_401 = global::PromptLayer.ErrorResponse.FromJson(__content_401, JsonSerializerContext);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_401 = __ex;
+ }
+
+
+ throw global::PromptLayer.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_401 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_401,
+ responseBody: __content_401,
+ responseObject: __value_401,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ // Not found - requested resource does not exist or is not accessible.
+ if ((int)__response.StatusCode == 404)
+ {
+ string? __content_404 = null;
+ global::System.Exception? __exception_404 = null;
+ global::PromptLayer.ErrorResponse? __value_404 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ __value_404 = global::PromptLayer.ErrorResponse.FromJson(__content_404, JsonSerializerContext);
+ }
+ else
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+
+ __value_404 = global::PromptLayer.ErrorResponse.FromJson(__content_404, JsonSerializerContext);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_404 = __ex;
+ }
+
+
+ throw global::PromptLayer.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_404 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_404,
+ responseBody: __content_404,
+ responseObject: __value_404,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ // Trace is already closed.
+ if ((int)__response.StatusCode == 409)
+ {
+ string? __content_409 = null;
+ global::System.Exception? __exception_409 = null;
+ global::PromptLayer.CloseTraceResponse2? __value_409 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ __value_409 = global::PromptLayer.CloseTraceResponse2.FromJson(__content_409, JsonSerializerContext);
+ }
+ else
+ {
+ __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+
+ __value_409 = global::PromptLayer.CloseTraceResponse2.FromJson(__content_409, JsonSerializerContext);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_409 = __ex;
+ }
+
+
+ throw global::PromptLayer.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_409 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_409,
+ responseBody: __content_409,
+ responseObject: __value_409,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ // Validation error - request parameters or body are invalid.
+ if ((int)__response.StatusCode == 422)
+ {
+ string? __content_422 = null;
+ global::System.Exception? __exception_422 = null;
+ global::PromptLayer.OneOf? __value_422 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ __value_422 = global::PromptLayer.OneOf.FromJson(__content_422, JsonSerializerContext);
+ }
+ else
+ {
+ __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+
+ __value_422 = global::PromptLayer.OneOf.FromJson(__content_422, JsonSerializerContext);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_422 = __ex;
+ }
+
+
+ throw global::PromptLayer.ApiException?>.Create(
+ statusCode: __response.StatusCode,
+ message: __content_422 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_422,
+ responseBody: __content_422,
+ responseObject: __value_422,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ // Internal server error.
+ if ((int)__response.StatusCode == 500)
+ {
+ string? __content_500 = null;
+ global::System.Exception? __exception_500 = null;
+ global::PromptLayer.ErrorResponse? __value_500 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ __value_500 = global::PromptLayer.ErrorResponse.FromJson(__content_500, JsonSerializerContext);
+ }
+ else
+ {
+ __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+
+ __value_500 = global::PromptLayer.ErrorResponse.FromJson(__content_500, JsonSerializerContext);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_500 = __ex;
+ }
+
+
+ throw global::PromptLayer.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_500 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_500,
+ responseBody: __content_500,
+ responseObject: __value_500,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+
+ if (__effectiveReadResponseAsString)
+ {
+ var __content = await __response.Content.ReadAsStringAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+
+ ProcessResponseContent(
+ client: HttpClient,
+ response: __response,
+ content: ref __content);
+ ProcessCloseTraceResponseContent(
+ httpClient: HttpClient,
+ httpResponseMessage: __response,
+ content: ref __content);
+
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+
+ var __value = global::PromptLayer.CloseTraceResponse.FromJson(__content, JsonSerializerContext) ??
+ throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
+ return new global::PromptLayer.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::PromptLayer.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri,
+ body: __value);
+ }
+ catch (global::System.Exception __ex)
+ {
+ throw global::PromptLayer.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __ex,
+ responseBody: __content,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ }
+ else
+ {
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+ using var __content = await __response.Content.ReadAsStreamAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+
+ var __value = await global::PromptLayer.CloseTraceResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??
+ throw new global::System.InvalidOperationException("Response deserialization failed.");
+ return new global::PromptLayer.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::PromptLayer.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri,
+ body: __value);
+ }
+ catch (global::System.Exception __ex)
+ {
+ string? __content = null;
+ try
+ {
+ __content = await __response.Content.ReadAsStringAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+ }
+ catch (global::System.Exception)
+ {
+ }
+
+ throw global::PromptLayer.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __ex,
+ responseBody: __content,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ }
+
+ }
+ }
+ finally
+ {
+ __httpRequest?.Dispose();
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/PromptLayer/Generated/autosdk.generated-examples.json b/src/libs/PromptLayer/Generated/autosdk.generated-examples.json
index 6642d8c..13709e8 100644
--- a/src/libs/PromptLayer/Generated/autosdk.generated-examples.json
+++ b/src/libs/PromptLayer/Generated/autosdk.generated-examples.json
@@ -255,6 +255,17 @@
},
{
"Order": 24,
+ "Title": "Close Trace",
+ "Slug": "closetrace",
+ "Description": "Marks a trace as closed, preventing any further span ingestion for that trace. Once closed, subsequent calls to \u0060/spans-bulk\u0060 or \u0060/v1/traces\u0060 that include spans for this trace will have those spans rejected.",
+ "Language": "csharp",
+ "Code": "using var client = PromptLayerClient.CreateFromEnvironment();\n\nvar response = await client.Tracking.CloseTraceAsync(\n traceId: \u0022a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6\u0022\n);\n\n// Example response:\n// {\n// \u0022success\u0022: true,\n// \u0022closure\u0022: {\n// \u0022id\u0022: \u0022550e8400-e29b-41d4-a716-446655440000\u0022,\n// \u0022workspace_id\u0022: 1,\n// \u0022trace_id\u0022: \u0022a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6\u0022,\n// \u0022status\u0022: \u0022closed\u0022,\n// \u0022created_at\u0022: \u00222026-06-06T18:00:00Z\u0022,\n// \u0022updated_at\u0022: \u00222026-06-06T18:00:00Z\u0022\n// }\n// }",
+ "Format": "sdk",
+ "OperationId": "closeTrace",
+ "Setup": "This example assumes \u0060using PromptLayer;\u0060 is in scope and a configured credential environment variable is set: \u0060PROMPTLAYER_API_KEY\u0060."
+ },
+ {
+ "Order": 25,
"Title": "Get Request",
"Slug": "getrequest",
"Description": "Generated from OpenAPI examples.",
@@ -265,7 +276,7 @@
"Setup": "This example assumes \u0060using PromptLayer;\u0060 is in scope and a configured credential environment variable is set: \u0060PROMPTLAYER_API_KEY\u0060."
},
{
- "Order": 25,
+ "Order": 26,
"Title": "Request Analytics",
"Slug": "getrequestanalytics",
"Description": "Generated from OpenAPI examples.",
@@ -276,7 +287,7 @@
"Setup": "This example assumes \u0060using PromptLayer;\u0060 is in scope and a configured credential environment variable is set: \u0060PROMPTLAYER_API_KEY\u0060."
},
{
- "Order": 26,
+ "Order": 27,
"Title": "Search Request Suggestions",
"Slug": "getrequestsearchsuggestions",
"Description": "Generated from OpenAPI examples.",
@@ -287,7 +298,7 @@
"Setup": "This example assumes \u0060using PromptLayer;\u0060 is in scope and a configured credential environment variable is set: \u0060PROMPTLAYER_API_KEY\u0060."
},
{
- "Order": 27,
+ "Order": 28,
"Title": "Get Trace",
"Slug": "gettrace",
"Description": "Generated from OpenAPI examples.",
@@ -298,7 +309,7 @@
"Setup": "This example assumes \u0060using PromptLayer;\u0060 is in scope and a configured credential environment variable is set: \u0060PROMPTLAYER_API_KEY\u0060."
},
{
- "Order": 28,
+ "Order": 29,
"Title": "Search Request Logs",
"Slug": "searchrequestlogs",
"Description": "Generated from OpenAPI examples.",
@@ -309,7 +320,7 @@
"Setup": "This example assumes \u0060using PromptLayer;\u0060 is in scope and a configured credential environment variable is set: \u0060PROMPTLAYER_API_KEY\u0060."
},
{
- "Order": 29,
+ "Order": 30,
"Title": "Create Workflow",
"Slug": "createworkflow",
"Description": "Generated from OpenAPI examples.",
@@ -320,7 +331,7 @@
"Setup": "This example assumes \u0060using PromptLayer;\u0060 is in scope and a configured credential environment variable is set: \u0060PROMPTLAYER_API_KEY\u0060."
},
{
- "Order": 30,
+ "Order": 31,
"Title": "Get Agent",
"Slug": "getworkflow",
"Description": "Generated from OpenAPI examples.",
@@ -331,7 +342,7 @@
"Setup": "This example assumes \u0060using PromptLayer;\u0060 is in scope and a configured credential environment variable is set: \u0060PROMPTLAYER_API_KEY\u0060."
},
{
- "Order": 31,
+ "Order": 32,
"Title": "Patch Workflow",
"Slug": "patchworkflow",
"Description": "Generated from OpenAPI examples.",
@@ -342,7 +353,7 @@
"Setup": null
},
{
- "Order": 32,
+ "Order": 33,
"Title": "Run Workflow",
"Slug": "runworkflow",
"Description": "Generated from OpenAPI examples.",
diff --git a/src/libs/PromptLayer/openapi.json b/src/libs/PromptLayer/openapi.json
index ee46895..e833cf6 100644
--- a/src/libs/PromptLayer/openapi.json
+++ b/src/libs/PromptLayer/openapi.json
@@ -6136,6 +6136,16 @@
]
},
"description": "Set to `gzip` if the request body is gzip-compressed."
+ },
+ {
+ "name": "close_after",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "boolean",
+ "default": false
+ },
+ "description": "When true, all trace IDs in the request are marked as closed after ingestion. Subsequent span writes for those traces will be rejected with HTTP 409. Defaults to false."
}
],
"requestBody": {
@@ -6283,6 +6293,40 @@
}
}
}
+ },
+ "409": {
+ "description": "One or more traces in the request are already closed.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "error": {
+ "type": "string",
+ "example": "Trace already closed: a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6"
+ },
+ "trace_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The trace IDs that are already closed."
+ }
+ }
+ },
+ "examples": {
+ "traceClosed": {
+ "summary": "Trace already closed",
+ "value": {
+ "error": "Trace already closed: a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6",
+ "trace_ids": [
+ "a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6"
+ ]
+ }
+ }
+ }
+ }
+ }
}
}
}
@@ -9979,6 +10023,129 @@
}
}
}
+ },
+ "/api/public/v2/traces/{trace_id}/close": {
+ "post": {
+ "summary": "Close Trace",
+ "operationId": "closeTrace",
+ "tags": [
+ "tracking"
+ ],
+ "description": "Marks a trace as closed, preventing any further span ingestion for that trace. Once closed, subsequent calls to `/spans-bulk` or `/v1/traces` that include spans for this trace will have those spans rejected.",
+ "parameters": [
+ {
+ "name": "trace_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "The trace ID to close.",
+ "example": "a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Trace successfully closed.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "success": {
+ "type": "boolean"
+ },
+ "closure": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "format": "uuid"
+ },
+ "workspace_id": {
+ "type": "integer"
+ },
+ "trace_id": {
+ "type": "string"
+ },
+ "status": {
+ "type": "string",
+ "enum": [
+ "closed"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time"
+ }
+ }
+ }
+ }
+ },
+ "examples": {
+ "closed": {
+ "summary": "Trace closed",
+ "value": {
+ "success": true,
+ "closure": {
+ "id": "550e8400-e29b-41d4-a716-446655440000",
+ "workspace_id": 1,
+ "trace_id": "a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6",
+ "status": "closed",
+ "created_at": "2026-06-06T18:00:00Z",
+ "updated_at": "2026-06-06T18:00:00Z"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "401": {
+ "$ref": "#/components/responses/UnauthorizedError"
+ },
+ "404": {
+ "$ref": "#/components/responses/NotFoundError"
+ },
+ "409": {
+ "description": "Trace is already closed.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "success": {
+ "type": "boolean",
+ "example": false
+ },
+ "message": {
+ "type": "string",
+ "example": "Trace already closed"
+ }
+ }
+ }
+ }
+ }
+ },
+ "422": {
+ "$ref": "#/components/responses/ValidationError"
+ },
+ "500": {
+ "description": "Internal server error.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ErrorResponse"
+ }
+ }
+ }
+ }
+ }
+ }
}
},
"components": {
@@ -15394,6 +15561,12 @@
"$ref": "#/components/schemas/Span"
},
"title": "Spans"
+ },
+ "close_after": {
+ "type": "boolean",
+ "default": false,
+ "title": "Close After",
+ "description": "When true, all trace IDs in this batch are marked as closed after the spans are persisted. Subsequent span writes for those traces will be rejected with a trace_closed rejection reason. Defaults to false."
}
},
"required": [
@@ -15423,6 +15596,33 @@
},
"title": "Request Logs",
"nullable": true
+ },
+ "rejected_span_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "title": "Rejected Span IDs",
+ "description": "Span IDs that were dropped because they belong to a closed trace. Only present when one or more spans were rejected.",
+ "nullable": true
+ },
+ "rejected_trace_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "title": "Rejected Trace IDs",
+ "description": "Trace IDs that were closed and caused span rejections. Only present when one or more spans were rejected.",
+ "nullable": true
+ },
+ "rejection_reason": {
+ "type": "string",
+ "enum": [
+ "trace_closed"
+ ],
+ "title": "Rejection Reason",
+ "description": "The reason spans were rejected. Currently only `trace_closed` is possible. Only present when one or more spans were rejected.",
+ "nullable": true
}
},
"required": [