From ec5be12520ba67d6225da83d6e0019404c446b04 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Fri, 13 Nov 2026 10:20:18 +0000 Subject: [PATCH] Regenerate client from commit 1f57865 of spec repo --- .generator/schemas/v2/openapi.yaml | 10 ++++++---- .../ai_gateway_nullable_routing_rule_tier_ordering.rb | 2 +- .../v2/models/ai_gateway_routing_classifier_request.rb | 2 +- .../models/ai_gateway_routing_rule_target_request.rb | 4 ++-- .../v2/models/ai_gateway_routing_rule_tier_request.rb | 2 +- 5 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 0e7b8a86740e..09b2858945c8 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -10785,7 +10785,7 @@ components: - MAX AiGatewayNullableRoutingRuleTierOrdering: description: >- - How a tier orders its targets. Omission preserves the saved same-position tier on update; null resets to configured. New tiers default to configured. The weighted_affinity ordering distributes first-choice assignments by relative target weights and accepts only model targets with an explicit provider, without repeated provider and model pairs in the same tier. The `classified` ordering is allowed only in the first tier and requires a classifier, destination rubrics, and one default destination. + How a tier orders its targets. Omission preserves the saved same-position tier on update; null resets to configured. New tiers default to configured. The weighted_affinity ordering distributes first-choice assignments by relative target weights and accepts only model targets with an explicit provider, without repeated provider and model pairs in the same tier. The `classified` ordering is allowed only in the first tier and requires a classifier, destination rubrics, and one default destination. Its targets are model targets that each name one provider, not "*". Besides the default, it needs 1 to 9 destinations, each with a different rubric. Classified routing is in Preview: saving a classified tier returns 403 Forbidden unless the feature is enabled for the organization. enum: - configured - weighted_affinity @@ -11734,7 +11734,8 @@ components: example: gpt-6-luna type: string provider: - description: Decision-model provider slug. Omit together with model to preserve the saved selection. + description: >- + Decision-model provider slug. It must name a provider of type `openai`, `baseten`, or `typesafe`, the provider types that serve a decision model. Omit together with model to preserve the saved selection. example: openai type: string type: object @@ -11986,13 +11987,14 @@ components: minimum: 1 type: integer provider: - description: Provider slug. weighted_affinity requires an explicit provider and does not allow "*". + description: Provider slug. weighted_affinity and classified tiers require an explicit provider and do not allow "*". example: prod-us type: string reasoning_level: $ref: "#/components/schemas/AiGatewayRoutingReasoningLevel" rubric: - description: Destination rubric in a classified tier. Omission preserves a saved value; null clears it. Must be absent on the default destination. + description: >- + Destination rubric in a classified tier: when the decision model picks this destination. Up to 300 characters after leading and trailing spaces are trimmed, and different for each destination in the tier. Omission preserves a saved value; null clears it. Must be absent on the default destination. example: Short factual questions. maxLength: 300 nullable: true diff --git a/lib/datadog_api_client/v2/models/ai_gateway_nullable_routing_rule_tier_ordering.rb b/lib/datadog_api_client/v2/models/ai_gateway_nullable_routing_rule_tier_ordering.rb index b58468890024..f79cb3d5b53c 100644 --- a/lib/datadog_api_client/v2/models/ai_gateway_nullable_routing_rule_tier_ordering.rb +++ b/lib/datadog_api_client/v2/models/ai_gateway_nullable_routing_rule_tier_ordering.rb @@ -17,7 +17,7 @@ require 'time' module DatadogAPIClient::V2 - # How a tier orders its targets. Omission preserves the saved same-position tier on update; null resets to configured. New tiers default to configured. The weighted_affinity ordering distributes first-choice assignments by relative target weights and accepts only model targets with an explicit provider, without repeated provider and model pairs in the same tier. The `classified` ordering is allowed only in the first tier and requires a classifier, destination rubrics, and one default destination. + # How a tier orders its targets. Omission preserves the saved same-position tier on update; null resets to configured. New tiers default to configured. The weighted_affinity ordering distributes first-choice assignments by relative target weights and accepts only model targets with an explicit provider, without repeated provider and model pairs in the same tier. The `classified` ordering is allowed only in the first tier and requires a classifier, destination rubrics, and one default destination. Its targets are model targets that each name one provider, not "*". Besides the default, it needs 1 to 9 destinations, each with a different rubric. Classified routing is in Preview: saving a classified tier returns 403 Forbidden unless the feature is enabled for the organization. class AiGatewayNullableRoutingRuleTierOrdering include BaseEnumModel diff --git a/lib/datadog_api_client/v2/models/ai_gateway_routing_classifier_request.rb b/lib/datadog_api_client/v2/models/ai_gateway_routing_classifier_request.rb index 49a6011fe04d..55c864469a63 100644 --- a/lib/datadog_api_client/v2/models/ai_gateway_routing_classifier_request.rb +++ b/lib/datadog_api_client/v2/models/ai_gateway_routing_classifier_request.rb @@ -30,7 +30,7 @@ class AiGatewayRoutingClassifierRequest # Decision model on the provider. Omit together with provider to preserve the saved selection. attr_accessor :model - # Decision-model provider slug. Omit together with model to preserve the saved selection. + # Decision-model provider slug. It must name a provider of type `openai`, `baseten`, or `typesafe`, the provider types that serve a decision model. Omit together with model to preserve the saved selection. attr_accessor :provider attr_accessor :additional_properties diff --git a/lib/datadog_api_client/v2/models/ai_gateway_routing_rule_target_request.rb b/lib/datadog_api_client/v2/models/ai_gateway_routing_rule_target_request.rb index dc57dc506bb3..04460ce0bfd7 100644 --- a/lib/datadog_api_client/v2/models/ai_gateway_routing_rule_target_request.rb +++ b/lib/datadog_api_client/v2/models/ai_gateway_routing_rule_target_request.rb @@ -33,13 +33,13 @@ class AiGatewayRoutingRuleTargetRequest # Opaque model catalog ID for a concrete model target. New selections require provider View; saved selections can be retained without metadata. attr_reader :model_id - # Provider slug. weighted_affinity requires an explicit provider and does not allow "*". + # Provider slug. weighted_affinity and classified tiers require an explicit provider and do not allow "*". attr_accessor :provider # Optional reasoning effort preference for this model destination. Must be supported by the selected model and provider. For provider "*", every eligible provider must support the level. An explicit value overrides the request's reasoning setting, subject to model-group policy. Omitted or null preserves request and provider behavior; none is an explicit level, not the default. On update, omission preserves a saved target override; null explicitly clears it. Routing-rule references cannot set this field; each referenced model destination owns its override. If an override cannot be applied at runtime, the gateway keeps the destination and restores the caller's original reasoning settings, or preserves the provider default when omitted. It rechecks all applicable route and model-group policies against those settings before sending. Model-group max_reasoning_level enforces hard limits; the override is not an additional cap. Normal fallback applies if governance denies the resulting request or the destination cannot otherwise serve it. Metrics and span tags record the override outcome and incompatibility reason. When response headers have not already been committed, `X-Ai-Gateway-Reasoning-Override` reports applied or not_applied for the returned attempt, and `X-Ai-Gateway-Reasoning-Override-Reason` reports the reason when not applied. attr_accessor :reasoning_level - # Destination rubric in a classified tier. Omission preserves a saved value; null clears it. Must be absent on the default destination. + # Destination rubric in a classified tier: when the decision model picks this destination. Up to 300 characters after leading and trailing spaces are trimmed, and different for each destination in the tier. Omission preserves a saved value; null clears it. Must be absent on the default destination. attr_reader :rubric # Organization-unique routing rule slug. New references require route View. Omit to retain a saved target by its parent-local ID. Allowed only in configured tiers. diff --git a/lib/datadog_api_client/v2/models/ai_gateway_routing_rule_tier_request.rb b/lib/datadog_api_client/v2/models/ai_gateway_routing_rule_tier_request.rb index 6e9930826221..0d1a44d37dc5 100644 --- a/lib/datadog_api_client/v2/models/ai_gateway_routing_rule_tier_request.rb +++ b/lib/datadog_api_client/v2/models/ai_gateway_routing_rule_tier_request.rb @@ -24,7 +24,7 @@ class AiGatewayRoutingRuleTierRequest # Decision model and settings for a classified tier. Omission preserves the saved classifier; null clears it. Newly selected models require provider View. attr_accessor :classifier - # How a tier orders its targets. Omission preserves the saved same-position tier on update; null resets to configured. New tiers default to configured. The weighted_affinity ordering distributes first-choice assignments by relative target weights and accepts only model targets with an explicit provider, without repeated provider and model pairs in the same tier. The `classified` ordering is allowed only in the first tier and requires a classifier, destination rubrics, and one default destination. + # How a tier orders its targets. Omission preserves the saved same-position tier on update; null resets to configured. New tiers default to configured. The weighted_affinity ordering distributes first-choice assignments by relative target weights and accepts only model targets with an explicit provider, without repeated provider and model pairs in the same tier. The `classified` ordering is allowed only in the first tier and requires a classifier, destination rubrics, and one default destination. Its targets are model targets that each name one provider, not "*". Besides the default, it needs 1 to 9 destinations, each with a different rubric. Classified routing is in Preview: saving a classified tier returns 403 Forbidden unless the feature is enabled for the organization. attr_accessor :ordering #