AI Gateway Custom Policies

Changes to Create an AI Gateway Custom Policy

post/v1/ai-gateways/{gatewayId}/custom-policies
    • breaking

      the oneOf[#/components/schemas/CreateAIGatewayCustomPolicyInstalledRequest]/schema request property's minLength was increased from 0 to 1

    • breaking

      the oneOf[#/components/schemas/CreateAIGatewayCustomPolicyStreamingRequest]/handler request property's minLength was increased from 0 to 1

    • breaking

      the oneOf[#/components/schemas/CreateAIGatewayCustomPolicyStreamingRequest]/schema request property's minLength was increased from 0 to 1

    • breaking

      the oneOf[#/components/schemas/AIGatewayCustomPolicyInstalled]/managed_by/additionalProperties response property's maxLength was increased from 63 to 127 for the response status

    • breaking

      the oneOf[#/components/schemas/AIGatewayCustomPolicyStreaming]/managed_by/additionalProperties response property's maxLength was increased from 63 to 127 for the response status

    • warning

      changed the pattern of the request property oneOf[#/components/schemas/CreateAIGatewayCustomPolicyInstalledRequest]/managed_by/additionalProperties from ^[a-z0-9A-Z]{1}([a-z0-9A-Z-._]*[a-z0-9A-Z]+)?$ to ^[^\s\x00-\x1F\x7F-\x9F]+$

    • warning

      changed the pattern of the request property oneOf[#/components/schemas/CreateAIGatewayCustomPolicyStreamingRequest]/managed_by/additionalProperties from ^[a-z0-9A-Z]{1}([a-z0-9A-Z-._]*[a-z0-9A-Z]+)?$ to ^[^\s\x00-\x1F\x7F-\x9F]+$

    • info

      the oneOf[#/components/schemas/CreateAIGatewayCustomPolicyInstalledRequest]/managed_by/additionalProperties request property's maxLength was increased from 63 to 127

    • info

      the oneOf[#/components/schemas/CreateAIGatewayCustomPolicyStreamingRequest]/managed_by/additionalProperties request property's maxLength was increased from 63 to 127

    • info

      the oneOf[#/components/schemas/AIGatewayCustomPolicyInstalled]/managed_by/additionalProperties response's property pattern was changed from ^[a-z0-9A-Z]{1}([a-z0-9A-Z-._]*[a-z0-9A-Z]+)?$ to ^[^\s\x00-\x1F\x7F-\x9F]+$ for the status

    • info

      the oneOf[#/components/schemas/AIGatewayCustomPolicyStreaming]/managed_by/additionalProperties response's property pattern was changed from ^[a-z0-9A-Z]{1}([a-z0-9A-Z-._]*[a-z0-9A-Z]+)?$ to ^[^\s\x00-\x1F\x7F-\x9F]+$ for the status

    • breaking

      added to the invalid_parameters/items response property oneOf list for the response status

    • warning

      added the new key_invalid enum value to the invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule response property for the response status

    • warning

      added the new unique enum value to the invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule response property for the response status

    • info

      endpoint added