diff --git a/src/libs/PromptLayer/Generated/PromptLayer.ITrackingClient.GetRequestAnalytics.g.cs b/src/libs/PromptLayer/Generated/PromptLayer.ITrackingClient.GetRequestAnalytics.g.cs
index 4743c73..f1f1c68 100644
--- a/src/libs/PromptLayer/Generated/PromptLayer.ITrackingClient.GetRequestAnalytics.g.cs
+++ b/src/libs/PromptLayer/Generated/PromptLayer.ITrackingClient.GetRequestAnalytics.g.cs
@@ -43,6 +43,9 @@ public partial interface ITrackingClient
///
/// Sort direction. Must be provided together with sort_by.
///
+ ///
+ /// When provided, the analytics response includes a `metadataValueBreakdown` array with cost and request counts for each value of this metadata key. Omit or pass null to get an aggregate breakdown across the top metadata keys.
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
@@ -51,6 +54,7 @@ public partial interface ITrackingClient
string? q = default,
global::PromptLayer.RequestLogQuerySortBy? sortBy = default,
global::PromptLayer.RequestLogQuerySortOrder? sortOrder = default,
+ string? metadataCostBreakdownKey = default,
global::PromptLayer.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/PromptLayer/Generated/PromptLayer.JsonConverters.SearchRequestLogsRequest.g.cs b/src/libs/PromptLayer/Generated/PromptLayer.JsonConverters.SearchRequestLogsRequest.g.cs
index d9e2e56..5e5ca92 100644
--- a/src/libs/PromptLayer/Generated/PromptLayer.JsonConverters.SearchRequestLogsRequest.g.cs
+++ b/src/libs/PromptLayer/Generated/PromptLayer.JsonConverters.SearchRequestLogsRequest.g.cs
@@ -38,6 +38,7 @@ public class SearchRequestLogsRequestJsonConverter : global::System.Text.Json.Se
if (__jsonProps.Contains("filter_group")) __score0++;
if (__jsonProps.Contains("filter_group.filters")) __score0++;
if (__jsonProps.Contains("filter_group.logic")) __score0++;
+ if (__jsonProps.Contains("metadata_cost_breakdown_key")) __score0++;
if (__jsonProps.Contains("q")) __score0++;
if (__jsonProps.Contains("sort_by")) __score0++;
if (__jsonProps.Contains("sort_order")) __score0++;
diff --git a/src/libs/PromptLayer/Generated/PromptLayer.JsonSerializerContext.g.cs b/src/libs/PromptLayer/Generated/PromptLayer.JsonSerializerContext.g.cs
index fc0a1cc..d964b0c 100644
--- a/src/libs/PromptLayer/Generated/PromptLayer.JsonSerializerContext.g.cs
+++ b/src/libs/PromptLayer/Generated/PromptLayer.JsonSerializerContext.g.cs
@@ -1017,6 +1017,8 @@ namespace PromptLayer
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::PromptLayer.RequestAnalyticsResponseToolsUsageBar))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::PromptLayer.RequestAnalyticsResponseMetadataValueBreakdownItem))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::PromptLayer.SearchRequestLogsRequest), TypeInfoPropertyName = "SearchRequestLogsRequest2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::PromptLayer.SearchRequestLogsRequestVariant2))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::PromptLayer.StructuredFilter))]
@@ -1183,8 +1185,6 @@ namespace PromptLayer
[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))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::PromptLayer.ListWorkflowsResponse))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
internal sealed partial class SourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext
{
}
@@ -1873,6 +1873,8 @@ 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.ListWorkflowsResponse))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::PromptLayer.ListWorkflowsResponseItem))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::PromptLayer.ListWorkflowsResponse2))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::PromptLayer.ListWorkflowsResponse3))]
@@ -1949,6 +1951,7 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
[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))]
+ [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))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
diff --git a/src/libs/PromptLayer/Generated/PromptLayer.JsonSerializerContextTypes.g.cs b/src/libs/PromptLayer/Generated/PromptLayer.JsonSerializerContextTypes.g.cs
index d9f9894..1d90c73 100644
--- a/src/libs/PromptLayer/Generated/PromptLayer.JsonSerializerContextTypes.g.cs
+++ b/src/libs/PromptLayer/Generated/PromptLayer.JsonSerializerContextTypes.g.cs
@@ -1332,763 +1332,771 @@ public sealed partial class JsonSerializerContextTypes
///
///
///
- public global::PromptLayer.SearchRequestLogsRequest? Type326 { get; set; }
+ public global::System.Collections.Generic.IList? Type326 { get; set; }
///
///
///
- public global::PromptLayer.SearchRequestLogsRequestVariant2? Type327 { get; set; }
+ public global::PromptLayer.RequestAnalyticsResponseMetadataValueBreakdownItem? Type327 { get; set; }
///
///
///
- public global::PromptLayer.StructuredFilter? Type328 { get; set; }
+ public global::PromptLayer.SearchRequestLogsRequest? Type328 { get; set; }
///
///
///
- public global::PromptLayer.StructuredFilterField? Type329 { get; set; }
+ public global::PromptLayer.SearchRequestLogsRequestVariant2? Type329 { get; set; }
///
///
///
- public global::PromptLayer.StructuredFilterOperator? Type330 { get; set; }
+ public global::PromptLayer.StructuredFilter? Type330 { get; set; }
///
///
///
- public global::PromptLayer.OneOf? Type331 { get; set; }
+ public global::PromptLayer.StructuredFilterField? Type331 { get; set; }
///
///
///
- public global::PromptLayer.StructuredFilterGroupLogic? Type332 { get; set; }
+ public global::PromptLayer.StructuredFilterOperator? Type332 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList>? Type333 { get; set; }
+ public global::PromptLayer.OneOf? Type333 { get; set; }
///
///
///
- public global::PromptLayer.OneOf? Type334 { get; set; }
+ public global::PromptLayer.StructuredFilterGroupLogic? Type334 { get; set; }
///
///
///
- public global::PromptLayer.SearchRequestLogsResponse? Type335 { get; set; }
+ public global::System.Collections.Generic.IList>? Type335 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type336 { get; set; }
+ public global::PromptLayer.OneOf? Type336 { get; set; }
///
///
///
- public global::PromptLayer.RequestLogSearchResult? Type337 { get; set; }
+ public global::PromptLayer.SearchRequestLogsResponse? Type337 { get; set; }
///
///
///
- public global::PromptLayer.AttachExternalIdRequest? Type338 { get; set; }
+ public global::System.Collections.Generic.IList? Type338 { get; set; }
///
///
///
- public global::PromptLayer.ExternalIdAttachResponse? Type339 { get; set; }
+ public global::PromptLayer.RequestLogSearchResult? Type339 { get; set; }
///
///
///
- public global::PromptLayer.ExternalIdsListResponse? Type340 { get; set; }
+ public global::PromptLayer.AttachExternalIdRequest? Type340 { get; set; }
///
///
///
- public global::PromptLayer.ExternalIdDeleteResponse? Type341 { get; set; }
+ public global::PromptLayer.ExternalIdAttachResponse? Type341 { get; set; }
///
///
///
- public global::PromptLayer.ExternalIdErrorResponse? Type342 { get; set; }
+ public global::PromptLayer.ExternalIdsListResponse? Type342 { get; set; }
///
///
///
- public global::PromptLayer.PromptTemplate6? Type343 { get; set; }
+ public global::PromptLayer.ExternalIdDeleteResponse? Type343 { get; set; }
///
///
///
- public global::PromptLayer.ListPromptTemplateItemPromptTemplateDiscriminator? Type344 { get; set; }
+ public global::PromptLayer.ExternalIdErrorResponse? Type344 { get; set; }
///
///
///
- public global::PromptLayer.ListPromptTemplateItemPromptTemplateDiscriminatorType? Type345 { get; set; }
+ public global::PromptLayer.PromptTemplate6? Type345 { get; set; }
///
///
///
- public global::PromptLayer.RateLimitError? Type346 { get; set; }
+ public global::PromptLayer.ListPromptTemplateItemPromptTemplateDiscriminator? Type346 { get; set; }
///
///
///
- public global::PromptLayer.EvaluationColumnDefinition? Type347 { get; set; }
+ public global::PromptLayer.ListPromptTemplateItemPromptTemplateDiscriminatorType? Type347 { get; set; }
///
///
///
- public global::PromptLayer.EvaluationColumnDefinitionColumnType? Type348 { get; set; }
+ public global::PromptLayer.RateLimitError? Type348 { get; set; }
///
///
///
- public global::PromptLayer.ScoreConfiguration? Type349 { get; set; }
+ public global::PromptLayer.EvaluationColumnDefinition? Type349 { get; set; }
///
///
///
- public global::PromptLayer.ScoreConfigurationCodeLanguage? Type350 { get; set; }
+ public global::PromptLayer.EvaluationColumnDefinitionColumnType? Type350 { get; set; }
///
///
///
- public global::PromptLayer.EvaluationPipelineSummary? Type351 { get; set; }
+ public global::PromptLayer.ScoreConfiguration? Type351 { get; set; }
///
///
///
- public global::PromptLayer.ReportColumnSummary? Type352 { get; set; }
+ public global::PromptLayer.ScoreConfigurationCodeLanguage? Type352 { get; set; }
///
///
///
- public global::PromptLayer.ReportColumnSummaryColumnType? Type353 { get; set; }
+ public global::PromptLayer.EvaluationPipelineSummary? Type353 { get; set; }
///
///
///
- public global::PromptLayer.CreateEvaluationPipelineRequest? Type354 { get; set; }
+ public global::PromptLayer.ReportColumnSummary? Type354 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type355 { get; set; }
+ public global::PromptLayer.ReportColumnSummaryColumnType? Type355 { get; set; }
///
///
///
- public global::PromptLayer.CreateEvaluationPipelineResponse? Type356 { get; set; }
+ public global::PromptLayer.CreateEvaluationPipelineRequest? Type356 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type357 { get; set; }
+ public global::System.Collections.Generic.IList? Type357 { get; set; }
///
///
///
- public global::PromptLayer.UpdateReportScoreCardRequest? Type358 { get; set; }
+ public global::PromptLayer.CreateEvaluationPipelineResponse? Type358 { get; set; }
///
///
///
- public global::PromptLayer.UpdateReportScoreCardRequestCodeLanguage? Type359 { get; set; }
+ public global::System.Collections.Generic.IList? Type359 { get; set; }
///
///
///
- public global::PromptLayer.UpdateReportScoreCardResponse? Type360 { get; set; }
+ public global::PromptLayer.UpdateReportScoreCardRequest? Type360 { get; set; }
///
///
///
- public global::PromptLayer.EditReportColumnRequest? Type361 { get; set; }
+ public global::PromptLayer.UpdateReportScoreCardRequestCodeLanguage? Type361 { get; set; }
///
///
///
- public global::PromptLayer.EditReportColumnRequestColumnType? Type362 { get; set; }
+ public global::PromptLayer.UpdateReportScoreCardResponse? Type362 { get; set; }
///
///
///
- public global::PromptLayer.EditReportColumnResponse? Type363 { get; set; }
+ public global::PromptLayer.EditReportColumnRequest? Type363 { get; set; }
///
///
///
- public global::PromptLayer.RenameReportRequest? Type364 { get; set; }
+ public global::PromptLayer.EditReportColumnRequestColumnType? Type364 { get; set; }
///
///
///
- public global::PromptLayer.RenameReportResponse? Type365 { get; set; }
+ public global::PromptLayer.EditReportColumnResponse? Type365 { get; set; }
///
///
///
- public global::PromptLayer.DeleteReportResponse? Type366 { get; set; }
+ public global::PromptLayer.RenameReportRequest? Type366 { get; set; }
///
///
///
- public global::PromptLayer.CreateDatasetGroupRequest? Type367 { get; set; }
+ public global::PromptLayer.RenameReportResponse? Type367 { get; set; }
///
///
///
- public global::PromptLayer.CreateDatasetGroupResponse? Type368 { get; set; }
+ public global::PromptLayer.DeleteReportResponse? Type368 { get; set; }
///
///
///
- public global::PromptLayer.AnyOf? Type369 { get; set; }
+ public global::PromptLayer.CreateDatasetGroupRequest? Type369 { get; set; }
///
///
///
- public global::PromptLayer.AnyOf? Type370 { get; set; }
+ public global::PromptLayer.CreateDatasetGroupResponse? Type370 { get; set; }
///
///
///
- public global::PromptLayer.CreateDatasetVersionFromFilterParamsRequest? Type371 { get; set; }
+ public global::PromptLayer.AnyOf? Type371 { get; set; }
///
///
///
- public global::PromptLayer.CreateDatasetVersionFromFilterParamsRequestSortBy? Type372 { get; set; }
+ public global::PromptLayer.AnyOf? Type372 { get; set; }
///
///
///
- public global::PromptLayer.CreateDatasetVersionFromFilterParamsRequestSortOrder? Type373 { get; set; }
+ public global::PromptLayer.CreateDatasetVersionFromFilterParamsRequest? Type373 { get; set; }
///
///
///
- public global::PromptLayer.CreateDatasetVersionFromFilterParamsResponse? Type374 { get; set; }
+ public global::PromptLayer.CreateDatasetVersionFromFilterParamsRequestSortBy? Type374 { get; set; }
///
///
///
- public global::PromptLayer.DatasetRowCell? Type375 { get; set; }
+ public global::PromptLayer.CreateDatasetVersionFromFilterParamsRequestSortOrder? Type375 { get; set; }
///
///
///
- public global::PromptLayer.DatasetRowCellType? Type376 { get; set; }
+ public global::PromptLayer.CreateDatasetVersionFromFilterParamsResponse? Type376 { get; set; }
///
///
///
- public global::PromptLayer.EvaluationRowCell? Type377 { get; set; }
+ public global::PromptLayer.DatasetRowCell? Type377 { get; set; }
///
///
///
- public global::PromptLayer.EvaluationRowCellType? Type378 { get; set; }
+ public global::PromptLayer.DatasetRowCellType? Type378 { get; set; }
///
///
///
- public global::PromptLayer.DatasetRowsResponse? Type379 { get; set; }
+ public global::PromptLayer.EvaluationRowCell? Type379 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList>? Type380 { get; set; }
+ public global::PromptLayer.EvaluationRowCellType? Type380 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type381 { get; set; }
+ public global::PromptLayer.DatasetRowsResponse? Type381 { get; set; }
///
///
///
- public global::PromptLayer.EvaluationRowsResponse? Type382 { get; set; }
+ public global::System.Collections.Generic.IList>? Type382 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList>>? Type383 { get; set; }
+ public global::System.Collections.Generic.IList? Type383 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList>? Type384 { get; set; }
+ public global::PromptLayer.EvaluationRowsResponse? Type384 { get; set; }
///
///
///
- public global::PromptLayer.OneOf? Type385 { get; set; }
+ public global::System.Collections.Generic.IList>>? Type385 { get; set; }
///
///
///
- public global::PromptLayer.RequestLogDetailResponse? Type386 { get; set; }
+ public global::System.Collections.Generic.IList>? Type386 { get; set; }
///
///
///
- public global::PromptLayer.TraceDetailResponse? Type387 { get; set; }
+ public global::PromptLayer.OneOf? Type387 { get; set; }
///
///
///
- public global::PromptLayer.SearchRequestSuggestionsResponse? Type388 { get; set; }
+ public global::PromptLayer.RequestLogDetailResponse? Type388 { get; set; }
///
///
///
- public global::PromptLayer.TrackPromptRequest? Type389 { get; set; }
+ public global::PromptLayer.TraceDetailResponse? Type389 { get; set; }
///
///
///
- public global::PromptLayer.AnyOf? Type390 { get; set; }
+ public global::PromptLayer.SearchRequestSuggestionsResponse? Type390 { get; set; }
///
///
///
- public global::PromptLayer.AnyOf? Type391 { get; set; }
+ public global::PromptLayer.TrackPromptRequest? Type391 { get; set; }
///
///
///
- public global::PromptLayer.TrackMetadataRequest? Type392 { get; set; }
+ public global::PromptLayer.AnyOf? Type392 { get; set; }
///
///
///
- public global::PromptLayer.TrackResponse? Type393 { get; set; }
+ public global::PromptLayer.AnyOf? Type393 { get; set; }
///
///
///
- public global::PromptLayer.CreateDatasetVersionFromFileRequest? Type394 { get; set; }
+ public global::PromptLayer.TrackMetadataRequest? Type394 { get; set; }
///
///
///
- public global::PromptLayer.CreateDatasetVersionFromFileResponse? Type395 { get; set; }
+ public global::PromptLayer.TrackResponse? Type395 { get; set; }
///
///
///
- public global::PromptLayer.CreateDraftDatasetVersionRequest? Type396 { get; set; }
+ public global::PromptLayer.CreateDatasetVersionFromFileRequest? Type396 { get; set; }
///
///
///
- public global::PromptLayer.DraftDatasetVersionResponse? Type397 { get; set; }
+ public global::PromptLayer.CreateDatasetVersionFromFileResponse? Type397 { get; set; }
///
///
///
- public global::PromptLayer.AddRequestLogToDatasetRequest? Type398 { get; set; }
+ public global::PromptLayer.CreateDraftDatasetVersionRequest? Type398 { get; set; }
///
///
///
- public global::PromptLayer.SaveDraftDatasetVersionRequest? Type399 { get; set; }
+ public global::PromptLayer.DraftDatasetVersionResponse? Type399 { get; set; }
///
///
///
- public global::PromptLayer.AddTraceToDatasetRequest? Type400 { get; set; }
+ public global::PromptLayer.AddRequestLogToDatasetRequest? Type400 { get; set; }
///
///
///
- public global::PromptLayer.AddTraceToDatasetResponse? Type401 { get; set; }
+ public global::PromptLayer.SaveDraftDatasetVersionRequest? Type401 { get; set; }
///
///
///
- public global::PromptLayer.AddTraceToDatasetResponseMode? Type402 { get; set; }
+ public global::PromptLayer.AddTraceToDatasetRequest? Type402 { get; set; }
///
///
///
- public global::PromptLayer.CreatePromptLabelRequest? Type403 { get; set; }
+ public global::PromptLayer.AddTraceToDatasetResponse? Type403 { get; set; }
///
///
///
- public global::PromptLayer.PromptTemplatesLabelsPromptLabelIdPatchRequest? Type404 { get; set; }
+ public global::PromptLayer.AddTraceToDatasetResponseMode? Type404 { get; set; }
///
///
///
- public global::PromptLayer.TrackGroupRequest? Type405 { get; set; }
+ public global::PromptLayer.CreatePromptLabelRequest? Type405 { get; set; }
///
///
///
- public global::PromptLayer.TrackScoreRequest? Type406 { get; set; }
+ public global::PromptLayer.PromptTemplatesLabelsPromptLabelIdPatchRequest? Type406 { get; set; }
///
///
///
- public global::PromptLayer.AddReportColumnRequest? Type407 { get; set; }
+ public global::PromptLayer.TrackGroupRequest? Type407 { get; set; }
///
///
///
- public global::PromptLayer.AddReportColumnRequestColumnType? Type408 { get; set; }
+ public global::PromptLayer.TrackScoreRequest? Type408 { get; set; }
///
///
///
- public global::PromptLayer.RunReportRequest? Type409 { get; set; }
+ public global::PromptLayer.AddReportColumnRequest? Type409 { get; set; }
///
///
///
- public global::PromptLayer.CreateToolRegistryRequest? Type410 { get; set; }
+ public global::PromptLayer.AddReportColumnRequestColumnType? Type410 { get; set; }
///
///
///
- public global::PromptLayer.CreateToolRegistryRequestExecution? Type411 { get; set; }
+ public global::PromptLayer.RunReportRequest? Type411 { get; set; }
///
///
///
- public global::PromptLayer.CreateToolRegistryRequestExecutionType? Type412 { get; set; }
+ public global::PromptLayer.CreateToolRegistryRequest? Type412 { get; set; }
///
///
///
- public global::PromptLayer.CreateToolRegistryRequestExecutionLanguage? Type413 { get; set; }
+ public global::PromptLayer.CreateToolRegistryRequestExecution? Type413 { get; set; }
///
///
///
- public global::PromptLayer.CreateToolVersionRequest? Type414 { get; set; }
+ public global::PromptLayer.CreateToolRegistryRequestExecutionType? Type414 { get; set; }
///
///
///
- public global::PromptLayer.CreateToolVersionRequestExecution? Type415 { get; set; }
+ public global::PromptLayer.CreateToolRegistryRequestExecutionLanguage? Type415 { get; set; }
///
///
///
- public global::PromptLayer.CreateToolVersionRequestExecutionType? Type416 { get; set; }
+ public global::PromptLayer.CreateToolVersionRequest? Type416 { get; set; }
///
///
///
- public global::PromptLayer.CreateToolVersionRequestExecutionLanguage? Type417 { get; set; }
+ public global::PromptLayer.CreateToolVersionRequestExecution? Type417 { get; set; }
///
///
///
- public global::PromptLayer.TestExecuteToolRequest? Type418 { get; set; }
+ public global::PromptLayer.CreateToolVersionRequestExecutionType? Type418 { get; set; }
///
///
///
- public global::PromptLayer.TestExecuteToolRequestExecution? Type419 { get; set; }
+ public global::PromptLayer.CreateToolVersionRequestExecutionLanguage? Type419 { get; set; }
///
///
///
- public global::PromptLayer.TestExecuteToolRequestExecutionType? Type420 { get; set; }
+ public global::PromptLayer.TestExecuteToolRequest? Type420 { get; set; }
///
///
///
- public global::PromptLayer.TestExecuteToolRequestExecutionLanguage? Type421 { get; set; }
+ public global::PromptLayer.TestExecuteToolRequestExecution? Type421 { get; set; }
///
///
///
- public global::PromptLayer.ListDatasetsStatus? Type422 { get; set; }
+ public global::PromptLayer.TestExecuteToolRequestExecutionType? Type422 { get; set; }
///
///
///
- public global::PromptLayer.ListDatasetsSortBy? Type423 { get; set; }
+ public global::PromptLayer.TestExecuteToolRequestExecutionLanguage? Type423 { get; set; }
///
///
///
- public global::PromptLayer.ListDatasetsSortOrder? Type424 { get; set; }
+ public global::PromptLayer.ListDatasetsStatus? Type424 { get; set; }
///
///
///
- public global::PromptLayer.ListEvaluationsStatus? Type425 { get; set; }
+ public global::PromptLayer.ListDatasetsSortBy? Type425 { get; set; }
///
///
///
- public global::PromptLayer.ListEvaluationsSortBy? Type426 { get; set; }
+ public global::PromptLayer.ListDatasetsSortOrder? Type426 { get; set; }
///
///
///
- public global::PromptLayer.ListEvaluationsSortOrder? Type427 { get; set; }
+ public global::PromptLayer.ListEvaluationsStatus? Type427 { get; set; }
///
///
///
- public global::PromptLayer.AnyOf>? Type428 { get; set; }
+ public global::PromptLayer.ListEvaluationsSortBy? Type428 { get; set; }
///
///
///
- public global::PromptLayer.GetAllPromptTemplatesGetStatus? Type429 { get; set; }
+ public global::PromptLayer.ListEvaluationsSortOrder? Type429 { get; set; }
///
///
///
- public global::PromptLayer.GetAllPromptTemplatesGetSortBy? Type430 { get; set; }
+ public global::PromptLayer.AnyOf>? Type430 { get; set; }
///
///
///
- public global::PromptLayer.GetAllPromptTemplatesGetSortOrder? Type431 { get; set; }
+ public global::PromptLayer.GetAllPromptTemplatesGetStatus? Type431 { get; set; }
///
///
///
- public long? Type432 { get; set; }
+ public global::PromptLayer.GetAllPromptTemplatesGetSortBy? Type432 { get; set; }
///
///
///
- public global::PromptLayer.ListWorkflowsSortBy? Type433 { get; set; }
+ public global::PromptLayer.GetAllPromptTemplatesGetSortOrder? Type433 { get; set; }
///
///
///
- public global::PromptLayer.ListWorkflowsSortOrder? Type434 { get; set; }
+ public long? Type434 { get; set; }
///
///
///
- public global::PromptLayer.ListFolderEntitiesApiPublicV2FoldersEntitiesGetFilterType2? Type435 { get; set; }
+ public global::PromptLayer.ListWorkflowsSortBy? Type435 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type436 { get; set; }
+ public global::PromptLayer.ListWorkflowsSortOrder? Type436 { get; set; }
///
///
///
- public global::PromptLayer.ListFolderEntitiesApiPublicV2FoldersEntitiesGetFilterTypeItem? Type437 { get; set; }
+ public global::PromptLayer.ListFolderEntitiesApiPublicV2FoldersEntitiesGetFilterType2? Type437 { get; set; }
///
///
///
- public global::PromptLayer.ListFolderEntitiesApiPublicV2FoldersEntitiesGetSortBy? Type438 { get; set; }
+ public global::System.Collections.Generic.IList? Type438 { get; set; }
///
///
///
- public global::PromptLayer.ListFolderEntitiesApiPublicV2FoldersEntitiesGetSortOrder? Type439 { get; set; }
+ public global::PromptLayer.ListFolderEntitiesApiPublicV2FoldersEntitiesGetFilterTypeItem? Type439 { get; set; }
///
///
///
- public global::PromptLayer.OneOf>? Type440 { get; set; }
+ public global::PromptLayer.ListFolderEntitiesApiPublicV2FoldersEntitiesGetSortBy? Type440 { get; set; }
///
///
///
- public global::PromptLayer.IngestOtlpTracesContentType? Type441 { get; set; }
+ public global::PromptLayer.ListFolderEntitiesApiPublicV2FoldersEntitiesGetSortOrder? Type441 { get; set; }
///
///
///
- public global::PromptLayer.IngestOtlpTracesContentEncoding? Type442 { get; set; }
+ public global::PromptLayer.OneOf>? Type442 { get; set; }
///
///
///
- public global::PromptLayer.ListSkillCollectionsPublicSortBy? Type443 { get; set; }
+ public global::PromptLayer.IngestOtlpTracesContentType? Type443 { get; set; }
///
///
///
- public global::PromptLayer.ListSkillCollectionsPublicSortOrder? Type444 { get; set; }
+ public global::PromptLayer.IngestOtlpTracesContentEncoding? Type444 { get; set; }
///
///
///
- public global::PromptLayer.GetSkillCollectionPublicFormat? Type445 { get; set; }
+ public global::PromptLayer.ListSkillCollectionsPublicSortBy? Type445 { get; set; }
///
///
///
- public global::PromptLayer.GetRequestSearchSuggestionsField? Type446 { get; set; }
+ public global::PromptLayer.ListSkillCollectionsPublicSortOrder? Type446 { get; set; }
///
///
///
- public global::PromptLayer.ListToolRegistriesSortBy? Type447 { get; set; }
+ public global::PromptLayer.GetSkillCollectionPublicFormat? Type447 { get; set; }
///
///
///
- public global::PromptLayer.ListToolRegistriesSortOrder? Type448 { get; set; }
+ public global::PromptLayer.GetRequestSearchSuggestionsField? Type448 { get; set; }
///
///
///
- public global::PromptLayer.OneOf? Type449 { get; set; }
+ public global::PromptLayer.ListToolRegistriesSortBy? Type449 { get; set; }
///
///
///
- public global::PromptLayer.CreatePromptLabelResponse? Type450 { get; set; }
+ public global::PromptLayer.ListToolRegistriesSortOrder? Type450 { get; set; }
///
///
///
- public global::PromptLayer.PromptTemplatesLabelsPromptLabelIdPatchResponse? Type451 { get; set; }
+ public global::PromptLayer.OneOf? Type451 { get; set; }
///
///
///
- public global::PromptLayer.TrackGroupResponse? Type452 { get; set; }
+ public global::PromptLayer.CreatePromptLabelResponse? Type452 { get; set; }
///
///
///
- public global::PromptLayer.TrackScoreResponse? Type453 { get; set; }
+ public global::PromptLayer.PromptTemplatesLabelsPromptLabelIdPatchResponse? Type453 { get; set; }
///
///
///
- public global::PromptLayer.DeleteReportsByNameResponse? Type454 { get; set; }
+ public global::PromptLayer.TrackGroupResponse? Type454 { get; set; }
///
///
///
- public global::PromptLayer.CreateEvaluationPipelineResponse2? Type455 { get; set; }
+ public global::PromptLayer.TrackScoreResponse? Type455 { get; set; }
///
///
///
- public global::PromptLayer.AddReportColumnResponse? Type456 { get; set; }
+ public global::PromptLayer.DeleteReportsByNameResponse? Type456 { get; set; }
///
///
///
- public global::PromptLayer.AddReportColumnResponse2? Type457 { get; set; }
+ public global::PromptLayer.CreateEvaluationPipelineResponse2? Type457 { get; set; }
///
///
///
- public global::PromptLayer.AddReportColumnResponse3? Type458 { get; set; }
+ public global::PromptLayer.AddReportColumnResponse? Type458 { get; set; }
///
///
///
- public global::PromptLayer.AddReportColumnResponse4? Type459 { get; set; }
+ public global::PromptLayer.AddReportColumnResponse2? Type459 { get; set; }
///
///
///
- public global::PromptLayer.RunReportResponse? Type460 { get; set; }
+ public global::PromptLayer.AddReportColumnResponse3? Type460 { get; set; }
///
///
///
- public global::PromptLayer.RunReportResponse2? Type461 { get; set; }
+ public global::PromptLayer.AddReportColumnResponse4? Type461 { get; set; }
///
///
///
- public global::PromptLayer.RunReportResponse3? Type462 { get; set; }
+ public global::PromptLayer.RunReportResponse? Type462 { get; set; }
///
///
///
- public global::PromptLayer.RunReportResponse4? Type463 { get; set; }
+ public global::PromptLayer.RunReportResponse2? Type463 { get; set; }
///
///
///
- public global::PromptLayer.RunReportResponse5? Type464 { get; set; }
+ public global::PromptLayer.RunReportResponse3? Type464 { get; set; }
///
///
///
- public global::PromptLayer.GetReportResponse? Type465 { get; set; }
+ public global::PromptLayer.RunReportResponse4? Type465 { get; set; }
///
///
///
- public global::PromptLayer.GetReportResponseReport? Type466 { get; set; }
+ public global::PromptLayer.RunReportResponse5? Type466 { get; set; }
///
///
///
- public global::PromptLayer.GetReportResponseStatus? Type467 { get; set; }
+ public global::PromptLayer.GetReportResponse? Type467 { get; set; }
///
///
///
- public global::PromptLayer.GetReportResponseStats? Type468 { get; set; }
+ public global::PromptLayer.GetReportResponseReport? Type468 { get; set; }
///
///
///
- public global::PromptLayer.GetReportResponseStatsStatusCounts? Type469 { get; set; }
+ public global::PromptLayer.GetReportResponseStatus? Type469 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type470 { get; set; }
+ public global::PromptLayer.GetReportResponseStats? Type470 { get; set; }
///
///
///
- public global::PromptLayer.GetReportResponseReportColumn? Type471 { get; set; }
+ public global::PromptLayer.GetReportResponseStatsStatusCounts? Type471 { get; set; }
///
///
///
- public global::PromptLayer.GetReportScoreResponse? Type472 { get; set; }
+ public global::System.Collections.Generic.IList? Type472 { get; set; }
///
///
///
- public global::PromptLayer.GetReportScoreResponseScore? Type473 { get; set; }
+ public global::PromptLayer.GetReportResponseReportColumn? Type473 { get; set; }
///
///
///
- public global::PromptLayer.GetReportScoreResponseScoreScoreType? Type474 { get; set; }
+ public global::PromptLayer.GetReportScoreResponse? Type474 { get; set; }
///
///
///
- public global::PromptLayer.GetReportScoreResponseScoreDetailsVariant1? Type475 { get; set; }
+ public global::PromptLayer.GetReportScoreResponseScore? Type475 { get; set; }
///
///
///
- public global::PromptLayer.GetReportScoreResponseScoreDetailsVariant2? Type476 { get; set; }
+ public global::PromptLayer.GetReportScoreResponseScoreScoreType? Type476 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type477 { get; set; }
+ public global::PromptLayer.GetReportScoreResponseScoreDetailsVariant1? Type477 { get; set; }
///
///
///
- public global::PromptLayer.GetReportScoreResponseScoreDetailsVariant2Column? Type478 { get; set; }
+ public global::PromptLayer.GetReportScoreResponseScoreDetailsVariant2? Type478 { get; set; }
///
///
///
- public global::PromptLayer.GetReportScoreResponseScoreDetailsVariant3? Type479 { get; set; }
+ public global::System.Collections.Generic.IList? Type479 { get; set; }
///
///
///
- public global::PromptLayer.GetReportScoreResponseScoreDetailsVariant4? Type480 { get; set; }
+ public global::PromptLayer.GetReportScoreResponseScoreDetailsVariant2Column? Type480 { get; set; }
///
///
///
- public global::PromptLayer.ListDatasetsResponse? Type481 { get; set; }
+ public global::PromptLayer.GetReportScoreResponseScoreDetailsVariant3? Type481 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type482 { get; set; }
+ public global::PromptLayer.GetReportScoreResponseScoreDetailsVariant4? Type482 { get; set; }
///
///
///
- public global::PromptLayer.ListEvaluationsResponse? Type483 { get; set; }
+ public global::PromptLayer.ListDatasetsResponse? Type483 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type484 { get; set; }
+ public global::System.Collections.Generic.IList? Type484 { get; set; }
///
///
///
- public global::PromptLayer.AnyOf? Type485 { get; set; }
+ public global::PromptLayer.ListEvaluationsResponse? Type485 { get; set; }
///
///
///
- public global::PromptLayer.OneOf, object>? Type486 { get; set; }
+ public global::System.Collections.Generic.IList? Type486 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type487 { get; set; }
+ public global::PromptLayer.AnyOf? Type487 { get; set; }
///
///
///
- public global::PromptLayer.GetWorkflowVersionExecutionResultsResponseVariant12? Type488 { get; set; }
+ public global::PromptLayer.OneOf, object>? Type488 { get; set; }
///
///
///
- public global::PromptLayer.OneOf, object>? Type489 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type489 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type490 { get; set; }
+ public global::PromptLayer.GetWorkflowVersionExecutionResultsResponseVariant12? Type490 { get; set; }
///
///
///
- public global::PromptLayer.GetWorkflowVersionExecutionResultsResponseVariant14? Type491 { get; set; }
+ public global::PromptLayer.OneOf, object>? Type491 { get; set; }
///
///
///
- public global::PromptLayer.ListWorkflowsResponse? Type492 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type492 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type493 { get; set; }
+ public global::PromptLayer.GetWorkflowVersionExecutionResultsResponseVariant14? Type493 { get; set; }
///
///
///
- public global::PromptLayer.ListWorkflowsResponseItem? Type494 { get; set; }
+ public global::PromptLayer.ListWorkflowsResponse? Type494 { get; set; }
///
///
///
- public global::PromptLayer.ListWorkflowsResponse2? Type495 { get; set; }
+ public global::System.Collections.Generic.IList? Type495 { get; set; }
///
///
///
- public global::PromptLayer.ListWorkflowsResponse3? Type496 { get; set; }
+ public global::PromptLayer.ListWorkflowsResponseItem? Type496 { get; set; }
///
///
///
- public global::PromptLayer.GetWorkflowResponse? Type497 { get; set; }
+ public global::PromptLayer.ListWorkflowsResponse2? Type497 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type498 { get; set; }
+ public global::PromptLayer.ListWorkflowsResponse3? Type498 { get; set; }
///
///
///
- public global::PromptLayer.GetWorkflowResponseNode? Type499 { get; set; }
+ public global::PromptLayer.GetWorkflowResponse? Type499 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type500 { get; set; }
+ public global::System.Collections.Generic.IList? Type500 { get; set; }
///
///
///
- public global::PromptLayer.GetWorkflowResponseEdge? Type501 { get; set; }
+ public global::PromptLayer.GetWorkflowResponseNode? Type501 { get; set; }
///
///
///
- public global::PromptLayer.GetWorkflowLabelsResponse? Type502 { get; set; }
+ public global::System.Collections.Generic.IList? Type502 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type503 { get; set; }
+ public global::PromptLayer.GetWorkflowResponseEdge? Type503 { get; set; }
///
///
///
- public global::PromptLayer.GetWorkflowLabelsResponseReleaseLabel? Type504 { get; set; }
+ public global::PromptLayer.GetWorkflowLabelsResponse? Type504 { get; set; }
///
///
///
- public global::PromptLayer.AnyOf? Type505 { get; set; }
+ public global::System.Collections.Generic.IList? Type505 { get; set; }
///
///
///
- public global::PromptLayer.ListToolRegistriesResponse? Type506 { get; set; }
+ public global::PromptLayer.GetWorkflowLabelsResponseReleaseLabel? Type506 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type507 { get; set; }
+ public global::PromptLayer.AnyOf? Type507 { get; set; }
///
///
///
- public global::PromptLayer.ListToolRegistriesResponseToolRegistrie? Type508 { get; set; }
+ public global::PromptLayer.ListToolRegistriesResponse? Type508 { get; set; }
///
///
///
- public global::PromptLayer.CreateToolRegistryResponse? Type509 { get; set; }
+ public global::System.Collections.Generic.IList? Type509 { get; set; }
///
///
///
- public global::PromptLayer.GetToolRegistryResponse? Type510 { get; set; }
+ public global::PromptLayer.ListToolRegistriesResponseToolRegistrie? Type510 { get; set; }
///
///
///
- public global::PromptLayer.GetToolRegistryResponseToolRegistry? Type511 { get; set; }
+ public global::PromptLayer.CreateToolRegistryResponse? Type511 { get; set; }
///
///
///
- public global::PromptLayer.CreateToolVersionResponse? Type512 { get; set; }
+ public global::PromptLayer.GetToolRegistryResponse? Type512 { get; set; }
///
///
///
- public global::PromptLayer.TestExecuteToolResponse? Type513 { get; set; }
+ public global::PromptLayer.GetToolRegistryResponseToolRegistry? Type513 { get; set; }
///
///
///
- public global::PromptLayer.TestExecuteToolResponseResult? Type514 { get; set; }
+ public global::PromptLayer.CreateToolVersionResponse? Type514 { get; set; }
///
///
///
- public global::PromptLayer.TestExecuteToolResponseResultStatus? Type515 { get; set; }
+ public global::PromptLayer.TestExecuteToolResponse? Type515 { get; set; }
+ ///
+ ///
+ ///
+ public global::PromptLayer.TestExecuteToolResponseResult? Type516 { get; set; }
+ ///
+ ///
+ ///
+ public global::PromptLayer.TestExecuteToolResponseResultStatus? Type517 { get; set; }
///
///
@@ -2309,82 +2317,86 @@ public sealed partial class JsonSerializerContextTypes
///
///
///
- public global::System.Collections.Generic.List>? ListType54 { get; set; }
+ public global::System.Collections.Generic.List? ListType54 { get; set; }
+ ///
+ ///
+ ///
+ public global::System.Collections.Generic.List>? ListType55 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType55 { get; set; }
+ public global::System.Collections.Generic.List? ListType56 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType56 { get; set; }
+ public global::System.Collections.Generic.List? ListType57 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType57 { get; set; }
+ public global::System.Collections.Generic.List? ListType58 { get; set; }
///
///
///
- public global::System.Collections.Generic.List>? ListType58 { get; set; }
+ public global::System.Collections.Generic.List>? ListType59 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType59 { get; set; }
+ public global::System.Collections.Generic.List? ListType60 { get; set; }
///
///
///
- public global::System.Collections.Generic.List>>? ListType60 { get; set; }
+ public global::System.Collections.Generic.List>>? ListType61 { get; set; }
///
///
///
- public global::System.Collections.Generic.List>? ListType61 { get; set; }
+ public global::System.Collections.Generic.List>? ListType62 { get; set; }
///
///
///
- public global::PromptLayer.AnyOf>? ListType62 { get; set; }
+ public global::PromptLayer.AnyOf>? ListType63 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType63 { get; set; }
+ public global::System.Collections.Generic.List? ListType64 { get; set; }
///
///
///
- public global::PromptLayer.OneOf>? ListType64 { get; set; }
+ public global::PromptLayer.OneOf>? ListType65 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType65 { get; set; }
+ public global::System.Collections.Generic.List? ListType66 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType66 { get; set; }
+ public global::System.Collections.Generic.List? ListType67 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType67 { get; set; }
+ public global::System.Collections.Generic.List? ListType68 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType68 { get; set; }
+ public global::System.Collections.Generic.List? ListType69 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType69 { get; set; }
+ public global::System.Collections.Generic.List? ListType70 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType70 { get; set; }
+ public global::System.Collections.Generic.List? ListType71 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType71 { get; set; }
+ public global::System.Collections.Generic.List? ListType72 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType72 { get; set; }
+ public global::System.Collections.Generic.List? ListType73 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType73 { get; set; }
+ public global::System.Collections.Generic.List? ListType74 { get; set; }
}
}
\ No newline at end of file
diff --git a/src/libs/PromptLayer/Generated/PromptLayer.Models.RequestAnalyticsResponse.g.cs b/src/libs/PromptLayer/Generated/PromptLayer.Models.RequestAnalyticsResponse.g.cs
index 8aa5c02..f14c28c 100644
--- a/src/libs/PromptLayer/Generated/PromptLayer.Models.RequestAnalyticsResponse.g.cs
+++ b/src/libs/PromptLayer/Generated/PromptLayer.Models.RequestAnalyticsResponse.g.cs
@@ -171,6 +171,12 @@ public sealed partial class RequestAnalyticsResponse
[global::System.Text.Json.Serialization.JsonPropertyName("toolsUsageBars")]
public global::System.Collections.Generic.IList? ToolsUsageBars { get; set; }
+ ///
+ /// Cost and request count breakdown by metadata key-value pairs. When `metadata_cost_breakdown_key` is set in the request, all entries share that key and the `label` equals the value. Otherwise entries span the top key-value combinations and `label` is `key = value`. Ordered by cost descending; up to 50 entries.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("metadataValueBreakdown")]
+ public global::System.Collections.Generic.IList? MetadataValueBreakdown { get; set; }
+
///
/// Additional properties that are not explicitly defined in the schema
///
@@ -221,6 +227,9 @@ public sealed partial class RequestAnalyticsResponse
///
///
///
+ ///
+ /// Cost and request count breakdown by metadata key-value pairs. When `metadata_cost_breakdown_key` is set in the request, all entries share that key and the `label` equals the value. Otherwise entries span the top key-value combinations and `label` is `key = value`. Ordered by cost descending; up to 50 entries.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -251,7 +260,8 @@ public RequestAnalyticsResponse(
global::System.Collections.Generic.IList? metadataKeysTop,
global::System.Collections.Generic.IList? outputKeysTop,
global::System.Collections.Generic.IList? toolsLatency,
- global::System.Collections.Generic.IList? toolsUsageBars)
+ global::System.Collections.Generic.IList? toolsUsageBars,
+ global::System.Collections.Generic.IList? metadataValueBreakdown)
{
this.Success = success;
this.ChartInterval = chartInterval;
@@ -280,6 +290,7 @@ public RequestAnalyticsResponse(
this.OutputKeysTop = outputKeysTop;
this.ToolsLatency = toolsLatency;
this.ToolsUsageBars = toolsUsageBars;
+ this.MetadataValueBreakdown = metadataValueBreakdown;
}
///
diff --git a/src/libs/PromptLayer/Generated/PromptLayer.Models.RequestAnalyticsResponseMetadataValueBreakdownItem.Json.g.cs b/src/libs/PromptLayer/Generated/PromptLayer.Models.RequestAnalyticsResponseMetadataValueBreakdownItem.Json.g.cs
new file mode 100644
index 0000000..0c34eda
--- /dev/null
+++ b/src/libs/PromptLayer/Generated/PromptLayer.Models.RequestAnalyticsResponseMetadataValueBreakdownItem.Json.g.cs
@@ -0,0 +1,92 @@
+#nullable enable
+
+namespace PromptLayer
+{
+ public sealed partial class RequestAnalyticsResponseMetadataValueBreakdownItem
+ {
+ ///
+ /// 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.RequestAnalyticsResponseMetadataValueBreakdownItem? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::PromptLayer.RequestAnalyticsResponseMetadataValueBreakdownItem),
+ jsonSerializerContext) as global::PromptLayer.RequestAnalyticsResponseMetadataValueBreakdownItem;
+ }
+
+ ///
+ /// 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.RequestAnalyticsResponseMetadataValueBreakdownItem? 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.RequestAnalyticsResponseMetadataValueBreakdownItem),
+ jsonSerializerContext).ConfigureAwait(false)) as global::PromptLayer.RequestAnalyticsResponseMetadataValueBreakdownItem;
+ }
+
+ ///
+ /// 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.RequestAnalyticsResponseMetadataValueBreakdownItem.g.cs b/src/libs/PromptLayer/Generated/PromptLayer.Models.RequestAnalyticsResponseMetadataValueBreakdownItem.g.cs
new file mode 100644
index 0000000..70a123a
--- /dev/null
+++ b/src/libs/PromptLayer/Generated/PromptLayer.Models.RequestAnalyticsResponseMetadataValueBreakdownItem.g.cs
@@ -0,0 +1,90 @@
+
+#nullable enable
+
+namespace PromptLayer
+{
+ ///
+ ///
+ ///
+ public sealed partial class RequestAnalyticsResponseMetadataValueBreakdownItem
+ {
+ ///
+ /// The metadata key.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("key")]
+ public string? Key { get; set; }
+
+ ///
+ /// The metadata value.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("value")]
+ public string? Value { get; set; }
+
+ ///
+ /// Display label. Equals `value` when filtered to a single key; equals `key = value` in the aggregate view.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("label")]
+ public string? Label { get; set; }
+
+ ///
+ /// Number of requests with this key-value pair.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("requests")]
+ public int? Requests { get; set; }
+
+ ///
+ /// Total cost for requests with this key-value pair, in USD.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("cost")]
+ public double? Cost { 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.
+ ///
+ ///
+ /// The metadata key.
+ ///
+ ///
+ /// The metadata value.
+ ///
+ ///
+ /// Display label. Equals `value` when filtered to a single key; equals `key = value` in the aggregate view.
+ ///
+ ///
+ /// Number of requests with this key-value pair.
+ ///
+ ///
+ /// Total cost for requests with this key-value pair, in USD.
+ ///
+#if NET7_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
+#endif
+ public RequestAnalyticsResponseMetadataValueBreakdownItem(
+ string? key,
+ string? value,
+ string? label,
+ int? requests,
+ double? cost)
+ {
+ this.Key = key;
+ this.Value = value;
+ this.Label = label;
+ this.Requests = requests;
+ this.Cost = cost;
+ }
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public RequestAnalyticsResponseMetadataValueBreakdownItem()
+ {
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/PromptLayer/Generated/PromptLayer.Models.RequestLogQuery.g.cs b/src/libs/PromptLayer/Generated/PromptLayer.Models.RequestLogQuery.g.cs
index 05c5858..9d0b9e0 100644
--- a/src/libs/PromptLayer/Generated/PromptLayer.Models.RequestLogQuery.g.cs
+++ b/src/libs/PromptLayer/Generated/PromptLayer.Models.RequestLogQuery.g.cs
@@ -35,6 +35,12 @@ public sealed partial class RequestLogQuery
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::PromptLayer.JsonConverters.RequestLogQuerySortOrderJsonConverter))]
public global::PromptLayer.RequestLogQuerySortOrder? SortOrder { get; set; }
+ ///
+ /// When provided, the analytics response includes a `metadataValueBreakdown` array with cost and request counts for each value of this metadata key. Omit or pass null to get an aggregate breakdown across the top metadata keys.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("metadata_cost_breakdown_key")]
+ public string? MetadataCostBreakdownKey { get; set; }
+
///
/// Additional properties that are not explicitly defined in the schema
///
@@ -56,6 +62,9 @@ public sealed partial class RequestLogQuery
///
/// Sort direction. Must be provided together with sort_by.
///
+ ///
+ /// When provided, the analytics response includes a `metadataValueBreakdown` array with cost and request counts for each value of this metadata key. Omit or pass null to get an aggregate breakdown across the top metadata keys.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -63,12 +72,14 @@ public RequestLogQuery(
global::PromptLayer.StructuredFilterGroup? filterGroup,
string? q,
global::PromptLayer.RequestLogQuerySortBy? sortBy,
- global::PromptLayer.RequestLogQuerySortOrder? sortOrder)
+ global::PromptLayer.RequestLogQuerySortOrder? sortOrder,
+ string? metadataCostBreakdownKey)
{
this.FilterGroup = filterGroup;
this.Q = q;
this.SortBy = sortBy;
this.SortOrder = sortOrder;
+ this.MetadataCostBreakdownKey = metadataCostBreakdownKey;
}
///
diff --git a/src/libs/PromptLayer/Generated/PromptLayer.TrackingClient.GetRequestAnalytics.g.cs b/src/libs/PromptLayer/Generated/PromptLayer.TrackingClient.GetRequestAnalytics.g.cs
index aa4d2bd..9bfa473 100644
--- a/src/libs/PromptLayer/Generated/PromptLayer.TrackingClient.GetRequestAnalytics.g.cs
+++ b/src/libs/PromptLayer/Generated/PromptLayer.TrackingClient.GetRequestAnalytics.g.cs
@@ -594,6 +594,9 @@ partial void ProcessGetRequestAnalyticsResponseContent(
///
/// Sort direction. Must be provided together with sort_by.
///
+ ///
+ /// When provided, the analytics response includes a `metadataValueBreakdown` array with cost and request counts for each value of this metadata key. Omit or pass null to get an aggregate breakdown across the top metadata keys.
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
@@ -602,6 +605,7 @@ partial void ProcessGetRequestAnalyticsResponseContent(
string? q = default,
global::PromptLayer.RequestLogQuerySortBy? sortBy = default,
global::PromptLayer.RequestLogQuerySortOrder? sortOrder = default,
+ string? metadataCostBreakdownKey = default,
global::PromptLayer.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
@@ -611,6 +615,7 @@ partial void ProcessGetRequestAnalyticsResponseContent(
Q = q,
SortBy = sortBy,
SortOrder = sortOrder,
+ MetadataCostBreakdownKey = metadataCostBreakdownKey,
};
return await GetRequestAnalyticsAsync(
diff --git a/src/libs/PromptLayer/openapi.json b/src/libs/PromptLayer/openapi.json
index df4bf88..ee46895 100644
--- a/src/libs/PromptLayer/openapi.json
+++ b/src/libs/PromptLayer/openapi.json
@@ -16186,6 +16186,11 @@
"desc"
],
"description": "Sort direction. Must be provided together with sort_by."
+ },
+ "metadata_cost_breakdown_key": {
+ "type": "string",
+ "nullable": true,
+ "description": "When provided, the analytics response includes a `metadataValueBreakdown` array with cost and request counts for each value of this metadata key. Omit or pass null to get an aggregate breakdown across the top metadata keys."
}
},
"example": {
@@ -16615,6 +16620,35 @@
}
}
}
+ },
+ "metadataValueBreakdown": {
+ "type": "array",
+ "description": "Cost and request count breakdown by metadata key-value pairs. When `metadata_cost_breakdown_key` is set in the request, all entries share that key and the `label` equals the value. Otherwise entries span the top key-value combinations and `label` is `key = value`. Ordered by cost descending; up to 50 entries.",
+ "items": {
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "description": "The metadata key."
+ },
+ "value": {
+ "type": "string",
+ "description": "The metadata value."
+ },
+ "label": {
+ "type": "string",
+ "description": "Display label. Equals `value` when filtered to a single key; equals `key = value` in the aggregate view."
+ },
+ "requests": {
+ "type": "integer",
+ "description": "Number of requests with this key-value pair."
+ },
+ "cost": {
+ "type": "number",
+ "description": "Total cost for requests with this key-value pair, in USD."
+ }
+ }
+ }
}
}
},