{
  "components": {
    "schemas": {
      "Input_AccessPrograms": {
        "additionalProperties": true,
        "description": "Source: upstream_docs/openai/docs/Create a model response.md, access_programs.",
        "properties": {
          "cyber": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CyberAccessProgram"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_Action": {
        "enum": [
          "spawn_agent",
          "interrupt_agent",
          "list_agents",
          "send_message",
          "followup_task",
          "wait_agent"
        ],
        "type": "string"
      },
      "Input_ActivityHandling": {
        "enum": [
          "ACTIVITY_HANDLING_UNSPECIFIED",
          "START_OF_ACTIVITY_INTERRUPTS",
          "NO_INTERRUPTION"
        ],
        "type": "string"
      },
      "Input_AdditionalTools": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "role": {
            "$ref": "#/components/schemas/Input_AdditionalToolsRole"
          },
          "tools": {
            "items": {
              "$ref": "#/components/schemas/Input_Tool"
            },
            "type": "array"
          },
          "type": {
            "$ref": "#/components/schemas/Input_AdditionalToolsType"
          }
        },
        "required": [
          "type",
          "role",
          "tools"
        ],
        "type": "object"
      },
      "Input_AdditionalToolsRole": {
        "enum": [
          "developer"
        ],
        "type": "string"
      },
      "Input_AdditionalToolsType": {
        "enum": [
          "additional_tools"
        ],
        "type": "string"
      },
      "Input_AdvisorError": {
        "additionalProperties": true,
        "properties": {
          "error_code": {
            "$ref": "#/components/schemas/Input_AdvisorErrorCode"
          },
          "type": {
            "$ref": "#/components/schemas/Input_AdvisorErrorType"
          }
        },
        "required": [
          "type",
          "error_code"
        ],
        "type": "object"
      },
      "Input_AdvisorErrorCode": {
        "enum": [
          "max_uses_exceeded",
          "prompt_too_long",
          "too_many_requests",
          "overloaded",
          "unavailable",
          "execution_time_exceeded",
          "model_not_found"
        ],
        "type": "string"
      },
      "Input_AdvisorErrorType": {
        "enum": [
          "advisor_tool_result_error"
        ],
        "type": "string"
      },
      "Input_AdvisorRedactedResult": {
        "additionalProperties": true,
        "properties": {
          "encrypted_content": {
            "type": "string"
          },
          "stop_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_AdvisorRedactedResultType"
          }
        },
        "required": [
          "type",
          "encrypted_content"
        ],
        "type": "object"
      },
      "Input_AdvisorRedactedResultType": {
        "enum": [
          "advisor_redacted_result"
        ],
        "type": "string"
      },
      "Input_AdvisorResult": {
        "additionalProperties": true,
        "properties": {
          "stop_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "text": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_AdvisorResultType"
          }
        },
        "required": [
          "type",
          "text"
        ],
        "type": "object"
      },
      "Input_AdvisorResultContent": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_AdvisorError"
          },
          {
            "$ref": "#/components/schemas/Input_AdvisorResult"
          },
          {
            "$ref": "#/components/schemas/Input_AdvisorRedactedResult"
          }
        ]
      },
      "Input_AdvisorResultType": {
        "enum": [
          "advisor_result"
        ],
        "type": "string"
      },
      "Input_AdvisorTool20260301": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Input_AllowedCaller2"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "caching": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "max_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "max_uses": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "model": {
            "type": "string"
          },
          "name": {
            "$ref": "#/components/schemas/Input_AdvisorTool20260301Name"
          },
          "strict": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_AdvisorTool20260301Type"
          }
        },
        "required": [
          "name",
          "type",
          "model"
        ],
        "type": "object"
      },
      "Input_AdvisorTool20260301Name": {
        "enum": [
          "advisor"
        ],
        "type": "string"
      },
      "Input_AdvisorTool20260301Type": {
        "enum": [
          "advisor_20260301"
        ],
        "type": "string"
      },
      "Input_AdvisorToolResultBlock": {
        "additionalProperties": true,
        "properties": {
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "$ref": "#/components/schemas/Input_AdvisorResultContent"
          },
          "tool_use_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_AdvisorToolResultType"
          }
        },
        "required": [
          "type",
          "content",
          "tool_use_id"
        ],
        "type": "object"
      },
      "Input_AdvisorToolResultType": {
        "enum": [
          "advisor_tool_result"
        ],
        "type": "string"
      },
      "Input_Agent": {
        "additionalProperties": true,
        "properties": {
          "agent_name": {
            "type": "string"
          }
        },
        "required": [
          "agent_name"
        ],
        "type": "object"
      },
      "Input_AgentContent": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_ResponseInputText"
          },
          {
            "$ref": "#/components/schemas/Input_ReplayOutputText"
          },
          {
            "$ref": "#/components/schemas/Input_AgentText"
          },
          {
            "$ref": "#/components/schemas/Input_SummaryText"
          },
          {
            "$ref": "#/components/schemas/Input_ReasoningContent"
          },
          {
            "$ref": "#/components/schemas/Input_ResponseOutputRefusal"
          },
          {
            "$ref": "#/components/schemas/Input_ResponseInputImage"
          },
          {
            "$ref": "#/components/schemas/Input_ComputerScreenshot"
          },
          {
            "$ref": "#/components/schemas/Input_ResponseInputFile"
          },
          {
            "$ref": "#/components/schemas/Input_EncryptedContent"
          }
        ]
      },
      "Input_AgentMessage": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "author": {
            "type": "string"
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/Input_AgentContent"
            },
            "type": "array"
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "recipient": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_AgentMessageType"
          }
        },
        "required": [
          "type",
          "author",
          "recipient",
          "content"
        ],
        "type": "object"
      },
      "Input_AgentMessageInputContent": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Input_AgentMessageInputContentInputText",
            "properties": {
              "type": {
                "const": "input_text",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_AgentMessageInputContentEncryptedContent",
            "properties": {
              "type": {
                "const": "encrypted_content",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Input_AgentMessageInputContentEncryptedContent": {
        "additionalProperties": true,
        "properties": {
          "encrypted_content": {
            "type": "string"
          }
        },
        "required": [
          "encrypted_content"
        ],
        "type": "object"
      },
      "Input_AgentMessageInputContentInputText": {
        "additionalProperties": true,
        "properties": {
          "text": {
            "type": "string"
          }
        },
        "required": [
          "text"
        ],
        "type": "object"
      },
      "Input_AgentMessageType": {
        "enum": [
          "agent_message"
        ],
        "type": "string"
      },
      "Input_AgentText": {
        "additionalProperties": true,
        "properties": {
          "text": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_AgentTextType"
          }
        },
        "required": [
          "type",
          "text"
        ],
        "type": "object"
      },
      "Input_AgentTextType": {
        "enum": [
          "text"
        ],
        "type": "string"
      },
      "Input_AllStringThinkingTurns": {
        "enum": [
          "all"
        ],
        "type": "string"
      },
      "Input_AllThinkingTurns": {
        "additionalProperties": true,
        "properties": {
          "type": {
            "$ref": "#/components/schemas/Input_AllThinkingType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_AllThinkingType": {
        "enum": [
          "all"
        ],
        "type": "string"
      },
      "Input_AllowedCaller": {
        "enum": [
          "direct",
          "programmatic"
        ],
        "type": "string"
      },
      "Input_AllowedCaller2": {
        "enum": [
          "direct",
          "code_execution_20250825",
          "code_execution_20260120",
          "code_execution_20260521"
        ],
        "type": "string"
      },
      "Input_AllowedCaller3": {
        "enum": [
          "direct",
          "shell",
          "code_interpreter"
        ],
        "type": "string"
      },
      "Input_AllowedToolChoice": {
        "additionalProperties": true,
        "properties": {
          "allowed_tools": {
            "$ref": "#/components/schemas/Input_AllowedTools"
          },
          "type": {
            "$ref": "#/components/schemas/Input_AllowedToolChoiceType"
          }
        },
        "required": [
          "type",
          "allowed_tools"
        ],
        "type": "object"
      },
      "Input_AllowedToolChoiceMode": {
        "enum": [
          "auto",
          "required"
        ],
        "type": "string"
      },
      "Input_AllowedToolChoiceType": {
        "enum": [
          "allowed_tools"
        ],
        "type": "string"
      },
      "Input_AllowedTools": {
        "additionalProperties": true,
        "properties": {
          "mode": {
            "$ref": "#/components/schemas/Input_AllowedToolsMode"
          },
          "tools": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "mode",
          "tools"
        ],
        "type": "object"
      },
      "Input_AllowedToolsMode": {
        "enum": [
          "auto",
          "required"
        ],
        "type": "string"
      },
      "Input_AllowlistBody": {
        "properties": {
          "clients": {
            "description": "`null` clears the per-user allowlist and falls back to the global one.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_ApiKeyBudgetWrite": {
        "description": "A key's initial cost budget. Ownership and metric are assigned by the server.",
        "properties": {
          "anchorAtMs": {
            "default": null,
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "limitValue": {
            "type": "string"
          },
          "modelPattern": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "period": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "periodSeconds": {
            "default": null,
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "windowKey": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "limitValue"
        ],
        "type": "object"
      },
      "Input_ApiKeyPatch": {
        "properties": {
          "enabled": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "expiresAtMs": {
            "default": null,
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "management": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "name": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "organizationId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "teamId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_ApiKeyWrite": {
        "properties": {
          "budget": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ApiKeyBudgetWrite"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Optional initial cost budget, committed atomically with the key."
          },
          "enabled": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "expiresAtMs": {
            "default": null,
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "id": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "management": {
            "default": null,
            "description": "Let the key manage: `/admin/api`, and the portal's key and password\noperations. Off by default.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "organizationId": {
            "default": null,
            "description": "The binding that decides the budget chain, the permission subject and\nthe credential-visibility boundary at once. It is set here, once, and\nnever taken from a request header.",
            "type": [
              "string",
              "null"
            ]
          },
          "retainSecret": {
            "default": null,
            "description": "Keep a sealed copy of the key text so it can be revealed later. False\nby default: a key the instance cannot reproduce is a key a database\nleak does not hand over.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "teamId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "userId": {
            "type": "string"
          }
        },
        "required": [
          "userId",
          "name"
        ],
        "type": "object"
      },
      "Input_ApplyDefaultPricesRequest": {
        "properties": {
          "modelIds": {
            "description": "Catalog `model_id`s, or names a catalog glob covers.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "overwrite": {
            "default": false,
            "description": "Whether a rule that already covers the same pattern in the same scope\nis replaced. False leaves an operator's edited price alone, which is\nwhat makes re-applying the catalog safe.",
            "type": "boolean"
          },
          "providerId": {
            "default": null,
            "description": "None writes global rules, which price the model at every provider. A\nprovider id writes rules that only that provider's traffic matches, and\nthose are written under the literal model id rather than the catalog's\nglob.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "modelIds"
        ],
        "type": "object"
      },
      "Input_ApplyDiscoveredBody": {
        "properties": {
          "providerId": {
            "type": "string"
          },
          "upstreamNames": {
            "default": [],
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "providerId"
        ],
        "type": "object"
      },
      "Input_ApplyPatchCall": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "call_id": {
            "type": "string"
          },
          "caller": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Caller"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "operation": {
            "$ref": "#/components/schemas/Input_ApplyPatchOperation"
          },
          "status": {
            "$ref": "#/components/schemas/Input_ApplyPatchStatus"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ApplyPatchCallType"
          }
        },
        "required": [
          "type",
          "call_id",
          "operation",
          "status"
        ],
        "type": "object"
      },
      "Input_ApplyPatchCallOutput": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "call_id": {
            "type": "string"
          },
          "caller": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Caller"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "output": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "$ref": "#/components/schemas/Input_ApplyPatchOutputStatus"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ApplyPatchCallOutputType"
          }
        },
        "required": [
          "type",
          "call_id",
          "status"
        ],
        "type": "object"
      },
      "Input_ApplyPatchCallOutputType": {
        "enum": [
          "apply_patch_call_output"
        ],
        "type": "string"
      },
      "Input_ApplyPatchCallType": {
        "enum": [
          "apply_patch_call"
        ],
        "type": "string"
      },
      "Input_ApplyPatchCreate": {
        "additionalProperties": true,
        "properties": {
          "diff": {
            "type": "string"
          },
          "path": {
            "type": "string"
          }
        },
        "required": [
          "path",
          "diff"
        ],
        "type": "object"
      },
      "Input_ApplyPatchDelete": {
        "additionalProperties": true,
        "properties": {
          "path": {
            "type": "string"
          }
        },
        "required": [
          "path"
        ],
        "type": "object"
      },
      "Input_ApplyPatchOperation": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Input_ApplyPatchCreate",
            "properties": {
              "type": {
                "const": "create_file",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ApplyPatchDelete",
            "properties": {
              "type": {
                "const": "delete_file",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ApplyPatchUpdate",
            "properties": {
              "type": {
                "const": "update_file",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Input_ApplyPatchOutputStatus": {
        "enum": [
          "completed",
          "failed"
        ],
        "type": "string"
      },
      "Input_ApplyPatchStatus": {
        "enum": [
          "in_progress",
          "completed"
        ],
        "type": "string"
      },
      "Input_ApplyPatchTool": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Input_AllowedCaller"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_ApplyPatchUpdate": {
        "additionalProperties": true,
        "properties": {
          "diff": {
            "type": "string"
          },
          "path": {
            "type": "string"
          }
        },
        "required": [
          "path",
          "diff"
        ],
        "type": "object"
      },
      "Input_ApproximateLocation": {
        "additionalProperties": true,
        "properties": {
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "country": {
            "type": [
              "string",
              "null"
            ]
          },
          "region": {
            "type": [
              "string",
              "null"
            ]
          },
          "timezone": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_ApproximateLocation2": {
        "additionalProperties": true,
        "properties": {
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "country": {
            "type": [
              "string",
              "null"
            ]
          },
          "region": {
            "type": [
              "string",
              "null"
            ]
          },
          "timezone": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_LocationType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_AspectRatio": {
        "enum": [
          "ASPECT_RATIO_UNSPECIFIED",
          "ASPECT_RATIO_ONE_BY_ONE",
          "ASPECT_RATIO_TWO_BY_THREE",
          "ASPECT_RATIO_THREE_BY_TWO",
          "ASPECT_RATIO_THREE_BY_FOUR",
          "ASPECT_RATIO_FOUR_BY_THREE",
          "ASPECT_RATIO_FOUR_BY_FIVE",
          "ASPECT_RATIO_FIVE_BY_FOUR",
          "ASPECT_RATIO_NINE_BY_SIXTEEN",
          "ASPECT_RATIO_SIXTEEN_BY_NINE",
          "ASPECT_RATIO_TWENTY_ONE_BY_NINE",
          "ASPECT_RATIO_ONE_BY_EIGHT",
          "ASPECT_RATIO_EIGHT_BY_ONE",
          "ASPECT_RATIO_ONE_BY_FOUR",
          "ASPECT_RATIO_FOUR_BY_ONE"
        ],
        "type": "string"
      },
      "Input_AssistantAudio": {
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "type": "object"
      },
      "Input_AssistantContentPart": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_TextPart"
          },
          {
            "$ref": "#/components/schemas/Input_RefusalPart"
          }
        ]
      },
      "Input_AssistantContentParts": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "$ref": "#/components/schemas/Input_AssistantContentPart"
            },
            "type": "array"
          }
        ]
      },
      "Input_AssistantMessage": {
        "additionalProperties": true,
        "properties": {
          "audio": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_AssistantAudio"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_AssistantContentParts"
              },
              {
                "type": "null"
              }
            ]
          },
          "function_call": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_FunctionCall3"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "reasoning": {
            "description": "Alternative compatible-provider spelling. Kept separately on the wire.",
            "type": [
              "string",
              "null"
            ]
          },
          "reasoning_content": {
            "description": "Plain-text reasoning returned by compatible providers (for example DeepSeek).",
            "type": [
              "string",
              "null"
            ]
          },
          "reasoning_details": {
            "items": {
              "$ref": "#/components/schemas/Input_ReasoningDetail"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "refusal": {
            "type": [
              "string",
              "null"
            ]
          },
          "role": {
            "$ref": "#/components/schemas/Input_AssistantRole"
          },
          "tool_calls": {
            "items": {
              "$ref": "#/components/schemas/Input_MessageToolCall"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "role"
        ],
        "type": "object"
      },
      "Input_AssistantRole": {
        "enum": [
          "assistant"
        ],
        "type": "string"
      },
      "Input_AudioFormat": {
        "enum": [
          "wav",
          "mp3"
        ],
        "type": "string"
      },
      "Input_AudioMimeType": {
        "enum": [
          "MIME_TYPE_UNSPECIFIED",
          "AUDIO_MP3",
          "AUDIO_OGG_OPUS",
          "AUDIO_L16",
          "AUDIO_WAV",
          "AUDIO_ALAW",
          "AUDIO_MULAW"
        ],
        "type": "string"
      },
      "Input_AudioResponseFormat": {
        "additionalProperties": true,
        "properties": {
          "bitRate": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "delivery": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Delivery"
              },
              {
                "type": "null"
              }
            ]
          },
          "mimeType": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_AudioMimeType"
              },
              {
                "type": "null"
              }
            ]
          },
          "sampleRate": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_AudioResponseFormat2": {
        "enum": [
          "mp3",
          "opus",
          "aac",
          "flac",
          "wav",
          "pcm"
        ],
        "type": "string"
      },
      "Input_AudioTranscription": {
        "additionalProperties": true,
        "properties": {
          "speakerLabel": {
            "type": [
              "string",
              "null"
            ]
          },
          "text": {
            "type": "string"
          },
          "words": {
            "items": {
              "$ref": "#/components/schemas/Input_WordInfo"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "text"
        ],
        "type": "object"
      },
      "Input_AudioTranscription2": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/audio_transcription.py`, `AudioTranscription`.",
        "properties": {
          "delay": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_AudioTranscriptionDelay"
              },
              {
                "type": "null"
              }
            ]
          },
          "keywords": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "language": {
            "type": [
              "string",
              "null"
            ]
          },
          "languages": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "model": {
            "type": [
              "string",
              "null"
            ]
          },
          "prompt": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_AudioTranscriptionConfig": {
        "additionalProperties": true,
        "properties": {
          "adaptationPhrases": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "customVocabulary": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "diarization": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "languageAuto": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_LanguageAuto"
              },
              {
                "type": "null"
              }
            ]
          },
          "languageCodes": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "languageHints": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_LanguageHints"
              },
              {
                "type": "null"
              }
            ]
          },
          "mode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_AudioTranscriptionMode"
              },
              {
                "type": "null"
              }
            ]
          },
          "wordTimestamp": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_AudioTranscriptionDelay": {
        "enum": [
          "minimal",
          "low",
          "medium",
          "high",
          "xhigh"
        ],
        "type": "string"
      },
      "Input_AudioTranscriptionMode": {
        "enum": [
          "MODE_UNSPECIFIED",
          "VERBATIM",
          "SMART"
        ],
        "type": "string"
      },
      "Input_AudioVoice": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_AudioVoiceName"
          },
          {
            "$ref": "#/components/schemas/Input_CustomVoice"
          },
          {
            "type": "string"
          }
        ]
      },
      "Input_AudioVoiceName": {
        "enum": [
          "alloy",
          "ash",
          "ballad",
          "coral",
          "echo",
          "fable",
          "nova",
          "onyx",
          "sage",
          "shimmer",
          "verse",
          "marin",
          "cedar"
        ],
        "type": "string"
      },
      "Input_AuthCodeComplete": {
        "description": "Finish a browser redirect login, with either the whole callback URL or the\nauthorization code picked out of it — never both.",
        "properties": {
          "callbackUrl": {
            "default": null,
            "description": "The callback as the browser received it; `code` and `state` are read\nout of its query.",
            "type": [
              "string",
              "null"
            ]
          },
          "code": {
            "default": null,
            "description": "The bare authorization code, for a caller that already parsed it.",
            "type": [
              "string",
              "null"
            ]
          },
          "loginSessionId": {
            "type": "string"
          },
          "state": {
            "default": null,
            "description": "The state that came back with a bare code. Absent skips the comparison;\npresent and different is refused.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "loginSessionId"
        ],
        "type": "object"
      },
      "Input_AuthCodeStart": {
        "description": "Begin a browser redirect login. The SDK mints the PKCE verifier and the\nCSRF state itself, so neither is a field here.",
        "properties": {
          "label": {
            "default": null,
            "description": "The label for the credential this login will create. Absent derives one\nfrom the channel and whatever account the upstream names.",
            "type": [
              "string",
              "null"
            ]
          },
          "owner": {
            "$ref": "#/components/schemas/Input_CredentialOwner",
            "default": {
              "organizationId": null,
              "teamId": null,
              "userId": null
            }
          },
          "providerId": {
            "type": "string"
          },
          "redirectUri": {
            "default": null,
            "description": "Where the upstream should send the person back. Absent lets the channel\nuse the redirect it registered with the upstream itself, which is what\na CLI-shaped channel needs.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "providerId"
        ],
        "type": "object"
      },
      "Input_AutoContainerType": {
        "enum": [
          "auto"
        ],
        "type": "string"
      },
      "Input_AutomaticActivityDetection": {
        "additionalProperties": true,
        "properties": {
          "disabled": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "endOfSpeechSensitivity": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_EndSensitivity"
              },
              {
                "type": "null"
              }
            ]
          },
          "prefixPaddingMs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "silenceDurationMs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "startOfSpeechSensitivity": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_StartSensitivity"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_AutomaticChunking": {
        "enum": [
          "auto"
        ],
        "type": "string"
      },
      "Input_AvatarConfig": {
        "additionalProperties": true,
        "properties": {
          "audioBitrateBps": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "avatarName": {
            "type": [
              "string",
              "null"
            ]
          },
          "customizedAvatar": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CustomizedAvatar"
              },
              {
                "type": "null"
              }
            ]
          },
          "videoBitrateBps": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_Base64Source": {
        "additionalProperties": true,
        "properties": {
          "data": {
            "type": "string"
          },
          "media_type": {
            "$ref": "#/components/schemas/Input_ImageMediaType"
          }
        },
        "required": [
          "data",
          "media_type"
        ],
        "type": "object"
      },
      "Input_Base64SourceType": {
        "enum": [
          "base64"
        ],
        "type": "string"
      },
      "Input_BashCodeExecutionError": {
        "additionalProperties": true,
        "properties": {
          "error_code": {
            "$ref": "#/components/schemas/Input_BashCodeExecutionErrorCode"
          },
          "type": {
            "$ref": "#/components/schemas/Input_BashCodeExecutionErrorType"
          }
        },
        "required": [
          "type",
          "error_code"
        ],
        "type": "object"
      },
      "Input_BashCodeExecutionErrorCode": {
        "enum": [
          "invalid_tool_input",
          "unavailable",
          "too_many_requests",
          "execution_time_exceeded",
          "output_file_too_large"
        ],
        "type": "string"
      },
      "Input_BashCodeExecutionErrorType": {
        "enum": [
          "bash_code_execution_tool_result_error"
        ],
        "type": "string"
      },
      "Input_BashCodeExecutionOutput": {
        "additionalProperties": true,
        "properties": {
          "file_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_BashCodeExecutionOutputType"
          }
        },
        "required": [
          "type",
          "file_id"
        ],
        "type": "object"
      },
      "Input_BashCodeExecutionOutputType": {
        "enum": [
          "bash_code_execution_output"
        ],
        "type": "string"
      },
      "Input_BashCodeExecutionResult": {
        "additionalProperties": true,
        "properties": {
          "content": {
            "items": {
              "$ref": "#/components/schemas/Input_BashCodeExecutionOutput"
            },
            "type": "array"
          },
          "return_code": {
            "format": "int64",
            "type": "integer"
          },
          "stderr": {
            "type": "string"
          },
          "stdout": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_BashCodeExecutionResultType"
          }
        },
        "required": [
          "type",
          "content",
          "return_code",
          "stderr",
          "stdout"
        ],
        "type": "object"
      },
      "Input_BashCodeExecutionResultContent": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_BashCodeExecutionError"
          },
          {
            "$ref": "#/components/schemas/Input_BashCodeExecutionResult"
          }
        ]
      },
      "Input_BashCodeExecutionResultType": {
        "enum": [
          "bash_code_execution_result"
        ],
        "type": "string"
      },
      "Input_BashCodeExecutionToolResultBlock": {
        "additionalProperties": true,
        "properties": {
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "$ref": "#/components/schemas/Input_BashCodeExecutionResultContent"
          },
          "tool_use_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_BashCodeExecutionToolResultType"
          }
        },
        "required": [
          "type",
          "content",
          "tool_use_id"
        ],
        "type": "object"
      },
      "Input_BashCodeExecutionToolResultType": {
        "enum": [
          "bash_code_execution_tool_result"
        ],
        "type": "string"
      },
      "Input_BashTool20241022": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Input_AllowedCaller2"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "input_examples": {
            "items": true,
            "type": [
              "array",
              "null"
            ]
          },
          "name": {
            "$ref": "#/components/schemas/Input_BashTool20241022Name"
          },
          "strict": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_BashTool20241022Type"
          }
        },
        "required": [
          "name",
          "type"
        ],
        "type": "object"
      },
      "Input_BashTool20241022Name": {
        "enum": [
          "bash"
        ],
        "type": "string"
      },
      "Input_BashTool20241022Type": {
        "enum": [
          "bash_20241022"
        ],
        "type": "string"
      },
      "Input_BashTool20250124": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Input_AllowedCaller2"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "input_examples": {
            "items": true,
            "type": [
              "array",
              "null"
            ]
          },
          "name": {
            "$ref": "#/components/schemas/Input_BashTool20250124Name"
          },
          "strict": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_BashTool20250124Type"
          }
        },
        "required": [
          "name",
          "type"
        ],
        "type": "object"
      },
      "Input_BashTool20250124Name": {
        "enum": [
          "bash"
        ],
        "type": "string"
      },
      "Input_BashTool20250124Type": {
        "enum": [
          "bash_20250124"
        ],
        "type": "string"
      },
      "Input_BatchEmbedContentRequest": {
        "additionalProperties": true,
        "properties": {
          "content": {
            "$ref": "#/components/schemas/Input_Content"
          },
          "embedContentConfig": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_EmbedContentConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "model": {
            "type": "string"
          },
          "outputDimensionality": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "taskType": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_GeminiTaskType"
              },
              {
                "type": "null"
              }
            ]
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "model",
          "content"
        ],
        "type": "object"
      },
      "Input_BatchEmbedContentsRequestBody": {
        "additionalProperties": true,
        "properties": {
          "requests": {
            "items": {
              "$ref": "#/components/schemas/Input_BatchEmbedContentRequest"
            },
            "type": "array"
          }
        },
        "required": [
          "requests"
        ],
        "type": "object"
      },
      "Input_BatchItem": {
        "description": "One step of a batch write. Every item of one batch lands in a single\nrevision commit: either all of them are durable or none is.",
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "create": {
                "$ref": "#/components/schemas/Input_UserWrite"
              }
            },
            "required": [
              "create"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "update": {
                "$ref": "#/components/schemas/Input_BatchPatch"
              }
            },
            "required": [
              "update"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "delete": {
                "type": "string"
              }
            },
            "required": [
              "delete"
            ],
            "type": "object"
          }
        ]
      },
      "Input_BatchItem10": {
        "description": "One step of a batch write. Every item of one batch lands in a single\nrevision commit: either all of them are durable or none is.",
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "create": {
                "$ref": "#/components/schemas/Input_ModelWrite"
              }
            },
            "required": [
              "create"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "update": {
                "$ref": "#/components/schemas/Input_BatchPatch10"
              }
            },
            "required": [
              "update"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "delete": {
                "type": "string"
              }
            },
            "required": [
              "delete"
            ],
            "type": "object"
          }
        ]
      },
      "Input_BatchItem11": {
        "description": "One step of a batch write. Every item of one batch lands in a single\nrevision commit: either all of them are durable or none is.",
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "create": {
                "$ref": "#/components/schemas/Input_ProviderModelWrite"
              }
            },
            "required": [
              "create"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "update": {
                "$ref": "#/components/schemas/Input_BatchPatch11"
              }
            },
            "required": [
              "update"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "delete": {
                "type": "string"
              }
            },
            "required": [
              "delete"
            ],
            "type": "object"
          }
        ]
      },
      "Input_BatchItem12": {
        "description": "One step of a batch write. Every item of one batch lands in a single\nrevision commit: either all of them are durable or none is.",
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "create": {
                "$ref": "#/components/schemas/Input_RouteWrite"
              }
            },
            "required": [
              "create"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "update": {
                "$ref": "#/components/schemas/Input_BatchPatch12"
              }
            },
            "required": [
              "update"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "delete": {
                "type": "string"
              }
            },
            "required": [
              "delete"
            ],
            "type": "object"
          }
        ]
      },
      "Input_BatchItem13": {
        "description": "One step of a batch write. Every item of one batch lands in a single\nrevision commit: either all of them are durable or none is.",
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "create": {
                "$ref": "#/components/schemas/Input_RouteMemberWrite"
              }
            },
            "required": [
              "create"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "update": {
                "$ref": "#/components/schemas/Input_BatchPatch13"
              }
            },
            "required": [
              "update"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "delete": {
                "type": "string"
              }
            },
            "required": [
              "delete"
            ],
            "type": "object"
          }
        ]
      },
      "Input_BatchItem14": {
        "description": "One step of a batch write. Every item of one batch lands in a single\nrevision commit: either all of them are durable or none is.",
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "create": {
                "$ref": "#/components/schemas/Input_ConnectionProfileWrite"
              }
            },
            "required": [
              "create"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "update": {
                "$ref": "#/components/schemas/Input_BatchPatch14"
              }
            },
            "required": [
              "update"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "delete": {
                "type": "string"
              }
            },
            "required": [
              "delete"
            ],
            "type": "object"
          }
        ]
      },
      "Input_BatchItem15": {
        "description": "One step of a batch write. Every item of one batch lands in a single\nrevision commit: either all of them are durable or none is.",
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "create": {
                "$ref": "#/components/schemas/Input_RuleSetWrite"
              }
            },
            "required": [
              "create"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "update": {
                "$ref": "#/components/schemas/Input_BatchPatch15"
              }
            },
            "required": [
              "update"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "delete": {
                "type": "string"
              }
            },
            "required": [
              "delete"
            ],
            "type": "object"
          }
        ]
      },
      "Input_BatchItem16": {
        "description": "One step of a batch write. Every item of one batch lands in a single\nrevision commit: either all of them are durable or none is.",
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "create": {
                "$ref": "#/components/schemas/Input_RewriteRuleWrite"
              }
            },
            "required": [
              "create"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "update": {
                "$ref": "#/components/schemas/Input_BatchPatch16"
              }
            },
            "required": [
              "update"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "delete": {
                "type": "string"
              }
            },
            "required": [
              "delete"
            ],
            "type": "object"
          }
        ]
      },
      "Input_BatchItem17": {
        "description": "One step of a batch write. Every item of one batch lands in a single\nrevision commit: either all of them are durable or none is.",
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "create": {
                "$ref": "#/components/schemas/Input_ProviderRuleSetWrite"
              }
            },
            "required": [
              "create"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "update": {
                "$ref": "#/components/schemas/Input_BatchPatch17"
              }
            },
            "required": [
              "update"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "delete": {
                "type": "string"
              }
            },
            "required": [
              "delete"
            ],
            "type": "object"
          }
        ]
      },
      "Input_BatchItem18": {
        "description": "One step of a batch write. Every item of one batch lands in a single\nrevision commit: either all of them are durable or none is.",
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "create": {
                "$ref": "#/components/schemas/Input_OperationRuleWrite"
              }
            },
            "required": [
              "create"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "update": {
                "$ref": "#/components/schemas/Input_BatchPatch18"
              }
            },
            "required": [
              "update"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "delete": {
                "type": "string"
              }
            },
            "required": [
              "delete"
            ],
            "type": "object"
          }
        ]
      },
      "Input_BatchItem19": {
        "description": "One step of a batch write. Every item of one batch lands in a single\nrevision commit: either all of them are durable or none is.",
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "create": {
                "$ref": "#/components/schemas/Input_OperationEndpointWrite"
              }
            },
            "required": [
              "create"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "update": {
                "$ref": "#/components/schemas/Input_BatchPatch19"
              }
            },
            "required": [
              "update"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "delete": {
                "type": "string"
              }
            },
            "required": [
              "delete"
            ],
            "type": "object"
          }
        ]
      },
      "Input_BatchItem2": {
        "description": "One step of a batch write. Every item of one batch lands in a single\nrevision commit: either all of them are durable or none is.",
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "create": {
                "$ref": "#/components/schemas/Input_ApiKeyWrite"
              }
            },
            "required": [
              "create"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "update": {
                "$ref": "#/components/schemas/Input_BatchPatch2"
              }
            },
            "required": [
              "update"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "delete": {
                "type": "string"
              }
            },
            "required": [
              "delete"
            ],
            "type": "object"
          }
        ]
      },
      "Input_BatchItem20": {
        "description": "One step of a batch write. Every item of one batch lands in a single\nrevision commit: either all of them are durable or none is.",
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "create": {
                "$ref": "#/components/schemas/Input_QuotaWrite"
              }
            },
            "required": [
              "create"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "update": {
                "$ref": "#/components/schemas/Input_BatchPatch20"
              }
            },
            "required": [
              "update"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "delete": {
                "type": "string"
              }
            },
            "required": [
              "delete"
            ],
            "type": "object"
          }
        ]
      },
      "Input_BatchItem21": {
        "description": "One step of a batch write. Every item of one batch lands in a single\nrevision commit: either all of them are durable or none is.",
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "create": {
                "$ref": "#/components/schemas/Input_PriceRuleWrite"
              }
            },
            "required": [
              "create"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "update": {
                "$ref": "#/components/schemas/Input_BatchPatch21"
              }
            },
            "required": [
              "update"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "delete": {
                "type": "string"
              }
            },
            "required": [
              "delete"
            ],
            "type": "object"
          }
        ]
      },
      "Input_BatchItem22": {
        "description": "One step of a batch write. Every item of one batch lands in a single\nrevision commit: either all of them are durable or none is.",
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "create": {
                "$ref": "#/components/schemas/Input_PriceRateWrite"
              }
            },
            "required": [
              "create"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "update": {
                "$ref": "#/components/schemas/Input_BatchPatch22"
              }
            },
            "required": [
              "update"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "delete": {
                "type": "string"
              }
            },
            "required": [
              "delete"
            ],
            "type": "object"
          }
        ]
      },
      "Input_BatchItem23": {
        "description": "One step of a batch write. Every item of one batch lands in a single\nrevision commit: either all of them are durable or none is.",
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "create": {
                "$ref": "#/components/schemas/Input_PriceTierWrite"
              }
            },
            "required": [
              "create"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "update": {
                "$ref": "#/components/schemas/Input_BatchPatch23"
              }
            },
            "required": [
              "update"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "delete": {
                "type": "string"
              }
            },
            "required": [
              "delete"
            ],
            "type": "object"
          }
        ]
      },
      "Input_BatchItem3": {
        "description": "One step of a batch write. Every item of one batch lands in a single\nrevision commit: either all of them are durable or none is.",
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "create": {
                "$ref": "#/components/schemas/Input_OrganizationWrite"
              }
            },
            "required": [
              "create"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "update": {
                "$ref": "#/components/schemas/Input_BatchPatch3"
              }
            },
            "required": [
              "update"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "delete": {
                "type": "string"
              }
            },
            "required": [
              "delete"
            ],
            "type": "object"
          }
        ]
      },
      "Input_BatchItem4": {
        "description": "One step of a batch write. Every item of one batch lands in a single\nrevision commit: either all of them are durable or none is.",
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "create": {
                "$ref": "#/components/schemas/Input_TeamWrite"
              }
            },
            "required": [
              "create"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "update": {
                "$ref": "#/components/schemas/Input_BatchPatch4"
              }
            },
            "required": [
              "update"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "delete": {
                "type": "string"
              }
            },
            "required": [
              "delete"
            ],
            "type": "object"
          }
        ]
      },
      "Input_BatchItem5": {
        "description": "One step of a batch write. Every item of one batch lands in a single\nrevision commit: either all of them are durable or none is.",
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "create": {
                "$ref": "#/components/schemas/Input_PermissionWrite"
              }
            },
            "required": [
              "create"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "update": {
                "$ref": "#/components/schemas/Input_BatchPatch5"
              }
            },
            "required": [
              "update"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "delete": {
                "type": "string"
              }
            },
            "required": [
              "delete"
            ],
            "type": "object"
          }
        ]
      },
      "Input_BatchItem6": {
        "description": "One step of a batch write. Every item of one batch lands in a single\nrevision commit: either all of them are durable or none is.",
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "create": {
                "$ref": "#/components/schemas/Input_RateLimitWrite"
              }
            },
            "required": [
              "create"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "update": {
                "$ref": "#/components/schemas/Input_BatchPatch6"
              }
            },
            "required": [
              "update"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "delete": {
                "type": "string"
              }
            },
            "required": [
              "delete"
            ],
            "type": "object"
          }
        ]
      },
      "Input_BatchItem7": {
        "description": "One step of a batch write. Every item of one batch lands in a single\nrevision commit: either all of them are durable or none is.",
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "create": {
                "$ref": "#/components/schemas/Input_OAuthClientWrite"
              }
            },
            "required": [
              "create"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "update": {
                "$ref": "#/components/schemas/Input_BatchPatch7"
              }
            },
            "required": [
              "update"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "delete": {
                "type": "string"
              }
            },
            "required": [
              "delete"
            ],
            "type": "object"
          }
        ]
      },
      "Input_BatchItem8": {
        "description": "One step of a batch write. Every item of one batch lands in a single\nrevision commit: either all of them are durable or none is.",
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "create": {
                "$ref": "#/components/schemas/Input_ProviderWrite"
              }
            },
            "required": [
              "create"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "update": {
                "$ref": "#/components/schemas/Input_BatchPatch8"
              }
            },
            "required": [
              "update"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "delete": {
                "type": "string"
              }
            },
            "required": [
              "delete"
            ],
            "type": "object"
          }
        ]
      },
      "Input_BatchItem9": {
        "description": "One step of a batch write. Every item of one batch lands in a single\nrevision commit: either all of them are durable or none is.",
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "create": {
                "$ref": "#/components/schemas/Input_CredentialWrite"
              }
            },
            "required": [
              "create"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "update": {
                "$ref": "#/components/schemas/Input_BatchPatch9"
              }
            },
            "required": [
              "update"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "delete": {
                "type": "string"
              }
            },
            "required": [
              "delete"
            ],
            "type": "object"
          }
        ]
      },
      "Input_BatchPatch": {
        "properties": {
          "id": {
            "type": "string"
          },
          "patch": {
            "$ref": "#/components/schemas/Input_UserPatch"
          }
        },
        "required": [
          "id",
          "patch"
        ],
        "type": "object"
      },
      "Input_BatchPatch10": {
        "properties": {
          "id": {
            "type": "string"
          },
          "patch": {
            "$ref": "#/components/schemas/Input_ModelPatch"
          }
        },
        "required": [
          "id",
          "patch"
        ],
        "type": "object"
      },
      "Input_BatchPatch11": {
        "properties": {
          "id": {
            "type": "string"
          },
          "patch": {
            "$ref": "#/components/schemas/Input_ProviderModelPatch"
          }
        },
        "required": [
          "id",
          "patch"
        ],
        "type": "object"
      },
      "Input_BatchPatch12": {
        "properties": {
          "id": {
            "type": "string"
          },
          "patch": {
            "$ref": "#/components/schemas/Input_RoutePatch"
          }
        },
        "required": [
          "id",
          "patch"
        ],
        "type": "object"
      },
      "Input_BatchPatch13": {
        "properties": {
          "id": {
            "type": "string"
          },
          "patch": {
            "$ref": "#/components/schemas/Input_RouteMemberPatch"
          }
        },
        "required": [
          "id",
          "patch"
        ],
        "type": "object"
      },
      "Input_BatchPatch14": {
        "properties": {
          "id": {
            "type": "string"
          },
          "patch": {
            "$ref": "#/components/schemas/Input_ConnectionProfilePatch"
          }
        },
        "required": [
          "id",
          "patch"
        ],
        "type": "object"
      },
      "Input_BatchPatch15": {
        "properties": {
          "id": {
            "type": "string"
          },
          "patch": {
            "$ref": "#/components/schemas/Input_RuleSetPatch"
          }
        },
        "required": [
          "id",
          "patch"
        ],
        "type": "object"
      },
      "Input_BatchPatch16": {
        "properties": {
          "id": {
            "type": "string"
          },
          "patch": {
            "$ref": "#/components/schemas/Input_RewriteRulePatch"
          }
        },
        "required": [
          "id",
          "patch"
        ],
        "type": "object"
      },
      "Input_BatchPatch17": {
        "properties": {
          "id": {
            "type": "string"
          },
          "patch": {
            "$ref": "#/components/schemas/Input_ProviderRuleSetPatch"
          }
        },
        "required": [
          "id",
          "patch"
        ],
        "type": "object"
      },
      "Input_BatchPatch18": {
        "properties": {
          "id": {
            "type": "string"
          },
          "patch": {
            "$ref": "#/components/schemas/Input_OperationRulePatch"
          }
        },
        "required": [
          "id",
          "patch"
        ],
        "type": "object"
      },
      "Input_BatchPatch19": {
        "properties": {
          "id": {
            "type": "string"
          },
          "patch": {
            "$ref": "#/components/schemas/Input_OperationEndpointPatch"
          }
        },
        "required": [
          "id",
          "patch"
        ],
        "type": "object"
      },
      "Input_BatchPatch2": {
        "properties": {
          "id": {
            "type": "string"
          },
          "patch": {
            "$ref": "#/components/schemas/Input_ApiKeyPatch"
          }
        },
        "required": [
          "id",
          "patch"
        ],
        "type": "object"
      },
      "Input_BatchPatch20": {
        "properties": {
          "id": {
            "type": "string"
          },
          "patch": {
            "$ref": "#/components/schemas/Input_QuotaPatch"
          }
        },
        "required": [
          "id",
          "patch"
        ],
        "type": "object"
      },
      "Input_BatchPatch21": {
        "properties": {
          "id": {
            "type": "string"
          },
          "patch": {
            "$ref": "#/components/schemas/Input_PriceRulePatch"
          }
        },
        "required": [
          "id",
          "patch"
        ],
        "type": "object"
      },
      "Input_BatchPatch22": {
        "properties": {
          "id": {
            "type": "string"
          },
          "patch": {
            "$ref": "#/components/schemas/Input_PriceRatePatch"
          }
        },
        "required": [
          "id",
          "patch"
        ],
        "type": "object"
      },
      "Input_BatchPatch23": {
        "properties": {
          "id": {
            "type": "string"
          },
          "patch": {
            "$ref": "#/components/schemas/Input_PriceTierPatch"
          }
        },
        "required": [
          "id",
          "patch"
        ],
        "type": "object"
      },
      "Input_BatchPatch3": {
        "properties": {
          "id": {
            "type": "string"
          },
          "patch": {
            "$ref": "#/components/schemas/Input_OrganizationPatch"
          }
        },
        "required": [
          "id",
          "patch"
        ],
        "type": "object"
      },
      "Input_BatchPatch4": {
        "properties": {
          "id": {
            "type": "string"
          },
          "patch": {
            "$ref": "#/components/schemas/Input_TeamPatch"
          }
        },
        "required": [
          "id",
          "patch"
        ],
        "type": "object"
      },
      "Input_BatchPatch5": {
        "properties": {
          "id": {
            "type": "string"
          },
          "patch": {
            "$ref": "#/components/schemas/Input_PermissionPatch"
          }
        },
        "required": [
          "id",
          "patch"
        ],
        "type": "object"
      },
      "Input_BatchPatch6": {
        "properties": {
          "id": {
            "type": "string"
          },
          "patch": {
            "$ref": "#/components/schemas/Input_RateLimitPatch"
          }
        },
        "required": [
          "id",
          "patch"
        ],
        "type": "object"
      },
      "Input_BatchPatch7": {
        "properties": {
          "id": {
            "type": "string"
          },
          "patch": {
            "$ref": "#/components/schemas/Input_OAuthClientPatch"
          }
        },
        "required": [
          "id",
          "patch"
        ],
        "type": "object"
      },
      "Input_BatchPatch8": {
        "properties": {
          "id": {
            "type": "string"
          },
          "patch": {
            "$ref": "#/components/schemas/Input_ProviderPatch"
          }
        },
        "required": [
          "id",
          "patch"
        ],
        "type": "object"
      },
      "Input_BatchPatch9": {
        "properties": {
          "id": {
            "type": "string"
          },
          "patch": {
            "$ref": "#/components/schemas/Input_CredentialPatch"
          }
        },
        "required": [
          "id",
          "patch"
        ],
        "type": "object"
      },
      "Input_Behavior": {
        "enum": [
          "UNSPECIFIED",
          "BLOCKING",
          "NON_BLOCKING"
        ],
        "type": "string"
      },
      "Input_BidiGenerateContentClientContent": {
        "additionalProperties": true,
        "properties": {
          "turnComplete": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "turns": {
            "items": {
              "$ref": "#/components/schemas/Input_LiveContent"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_BidiGenerateContentRealtimeInput": {
        "additionalProperties": true,
        "properties": {
          "activityEnd": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_LiveActivityEnd"
              },
              {
                "type": "null"
              }
            ]
          },
          "activityStart": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_LiveActivityStart"
              },
              {
                "type": "null"
              }
            ]
          },
          "audio": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_LiveBlob"
              },
              {
                "type": "null"
              }
            ]
          },
          "audioStreamEnd": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "mediaChunks": {
            "items": {
              "$ref": "#/components/schemas/Input_LiveBlob"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "mediaResolution": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_GenerationMediaResolution"
              },
              {
                "type": "null"
              }
            ]
          },
          "text": {
            "type": [
              "string",
              "null"
            ]
          },
          "video": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_LiveBlob"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_BidiGenerateContentSetup": {
        "additionalProperties": true,
        "properties": {
          "avatarConfig": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_AvatarConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "contextWindowCompression": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ContextWindowCompressionConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "generationConfig": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_LiveGenerationConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "historyConfig": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_HistoryConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "inputAudioTranscription": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_AudioTranscriptionConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "model": {
            "type": "string"
          },
          "outputAudioTranscription": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_AudioTranscriptionConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "proactivity": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ProactivityConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "realtimeInputConfig": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeInputConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "safetySettings": {
            "items": {
              "$ref": "#/components/schemas/Input_SafetySetting"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "sessionResumption": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_SessionResumptionConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "systemInstruction": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_LiveContent"
              },
              {
                "type": "null"
              }
            ]
          },
          "tools": {
            "items": {
              "$ref": "#/components/schemas/Input_Tool3"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "model"
        ],
        "type": "object"
      },
      "Input_BidiGenerateContentToolResponse": {
        "additionalProperties": true,
        "properties": {
          "functionResponses": {
            "items": {
              "$ref": "#/components/schemas/Input_FunctionResponse"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_BidiGenerateContentTranscription": {
        "additionalProperties": true,
        "properties": {
          "finished": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "languageCode": {
            "type": [
              "string",
              "null"
            ]
          },
          "speakerLabel": {
            "type": [
              "string",
              "null"
            ]
          },
          "text": {
            "type": [
              "string",
              "null"
            ]
          },
          "words": {
            "items": {
              "$ref": "#/components/schemas/Input_WordInfo2"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_BinaryPart": {
        "format": "binary",
        "type": "string"
      },
      "Input_Blob": {
        "additionalProperties": true,
        "properties": {
          "data": {
            "type": "string"
          },
          "displayName": {
            "type": [
              "string",
              "null"
            ]
          },
          "mimeType": {
            "type": "string"
          }
        },
        "required": [
          "mimeType",
          "data"
        ],
        "type": "object"
      },
      "Input_BrowserDownloadCompleted": {
        "additionalProperties": true,
        "properties": {
          "download_id": {
            "type": "string"
          },
          "path": {
            "type": [
              "string",
              "null"
            ]
          },
          "size_bytes": {
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "download_id",
          "url"
        ],
        "type": "object"
      },
      "Input_BrowserDownloadFailed": {
        "additionalProperties": true,
        "properties": {
          "download_id": {
            "type": "string"
          },
          "error": {
            "type": [
              "string",
              "null"
            ]
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "download_id",
          "url"
        ],
        "type": "object"
      },
      "Input_BrowserDownloadStarted": {
        "additionalProperties": true,
        "properties": {
          "download_id": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "download_id",
          "url"
        ],
        "type": "object"
      },
      "Input_BrowserStateBlock": {
        "additionalProperties": true,
        "properties": {
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "state_changes": {
            "items": {
              "$ref": "#/components/schemas/Input_BrowserStateChange"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "tabs": {
            "items": {
              "$ref": "#/components/schemas/Input_BrowserStateTab"
            },
            "type": "array"
          },
          "type": {
            "$ref": "#/components/schemas/Input_BrowserStateType"
          }
        },
        "required": [
          "type",
          "tabs"
        ],
        "type": "object"
      },
      "Input_BrowserStateChange": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Input_BrowserTabOpened",
            "properties": {
              "type": {
                "const": "tab_opened",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_BrowserDownloadStarted",
            "properties": {
              "type": {
                "const": "download_started",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_BrowserDownloadCompleted",
            "properties": {
              "type": {
                "const": "download_completed",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_BrowserDownloadFailed",
            "properties": {
              "type": {
                "const": "download_failed",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Input_BrowserStateTab": {
        "additionalProperties": true,
        "properties": {
          "active": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "tab_id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "tab_id",
          "title",
          "url"
        ],
        "type": "object"
      },
      "Input_BrowserStateType": {
        "enum": [
          "browser_state"
        ],
        "type": "string"
      },
      "Input_BrowserTabOpened": {
        "additionalProperties": true,
        "properties": {
          "tab_id": {
            "type": "string"
          }
        },
        "required": [
          "tab_id"
        ],
        "type": "object"
      },
      "Input_BrowserToolset20260801": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Input_AllowedCaller2"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "configs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_BrowserToolsetConfigs"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_BrowserToolset20260801Type"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_BrowserToolset20260801Type": {
        "enum": [
          "browser_toolset_20260801"
        ],
        "type": "string"
      },
      "Input_BrowserToolsetConfigs": {
        "additionalProperties": true,
        "properties": {
          "close_tab": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "double_click": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "file_upload": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "find": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "form_input": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "get_page_text": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "hold_key": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "hover": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "javascript_exec": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "key": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "left_click": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "left_click_drag": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "left_mouse_down": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "left_mouse_up": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "list_tabs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "middle_click": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "mouse_move": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "navigate": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "new_tab": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "read_console": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "read_network": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "read_page": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "right_click": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "screenshot": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "scroll": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "scroll_to": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "switch_tab": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "triple_click": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "wait": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "zoom": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_CacheControl": {
        "additionalProperties": true,
        "properties": {
          "ttl": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheTtl"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_CacheControlType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_CacheControlType": {
        "enum": [
          "ephemeral"
        ],
        "type": "string"
      },
      "Input_CacheCreationPriceDto": {
        "description": "A cache-write price per million tokens. No TTL is the fallback price.",
        "properties": {
          "price": {
            "type": "string"
          },
          "ttlSeconds": {
            "default": null,
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "price"
        ],
        "type": "object"
      },
      "Input_CacheTtl": {
        "enum": [
          "5m",
          "1h"
        ],
        "type": "string"
      },
      "Input_Caller": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Input_DirectCaller",
            "properties": {
              "type": {
                "const": "direct",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ProgramCaller",
            "properties": {
              "type": {
                "const": "program",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Input_Caller2": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Input_DirectCaller2",
            "properties": {
              "type": {
                "const": "direct",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ServerCaller",
            "properties": {
              "type": {
                "const": "code_execution_20250825",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ServerCaller20260120",
            "properties": {
              "type": {
                "const": "code_execution_20260120",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Input_CatalogProviderDto": {
        "properties": {
          "displayName": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name"
        ],
        "type": "object"
      },
      "Input_CharCitation": {
        "additionalProperties": true,
        "properties": {
          "cited_text": {
            "type": "string"
          },
          "document_index": {
            "format": "int64",
            "type": "integer"
          },
          "document_title": {
            "type": "string"
          },
          "end_char_index": {
            "format": "int64",
            "type": "integer"
          },
          "start_char_index": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "cited_text",
          "document_index",
          "document_title",
          "end_char_index",
          "start_char_index"
        ],
        "type": "object"
      },
      "Input_ChatAudioFormat": {
        "enum": [
          "wav",
          "aac",
          "mp3",
          "flac",
          "opus",
          "pcm16"
        ],
        "type": "string"
      },
      "Input_ChatAudioParam": {
        "additionalProperties": true,
        "properties": {
          "format": {
            "$ref": "#/components/schemas/Input_ChatAudioFormat"
          },
          "voice": {
            "$ref": "#/components/schemas/Input_AudioVoice"
          }
        },
        "required": [
          "voice",
          "format"
        ],
        "type": "object"
      },
      "Input_ChatMessage": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_DeveloperMessage"
          },
          {
            "$ref": "#/components/schemas/Input_SystemMessage"
          },
          {
            "$ref": "#/components/schemas/Input_UserMessage"
          },
          {
            "$ref": "#/components/schemas/Input_AssistantMessage"
          },
          {
            "$ref": "#/components/schemas/Input_ToolMessage"
          },
          {
            "$ref": "#/components/schemas/Input_FunctionMessage"
          }
        ]
      },
      "Input_ChatTool": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_FunctionTool2"
          },
          {
            "$ref": "#/components/schemas/Input_CustomToolDefinition"
          }
        ]
      },
      "Input_ChatToolCall": {
        "additionalProperties": true,
        "properties": {
          "function": {
            "$ref": "#/components/schemas/Input_FunctionCall3"
          },
          "id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ChatToolCallType"
          }
        },
        "required": [
          "id",
          "function",
          "type"
        ],
        "type": "object"
      },
      "Input_ChatToolCallType": {
        "enum": [
          "function"
        ],
        "type": "string"
      },
      "Input_ChunkingStrategy": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_AutomaticChunking"
          },
          {
            "$ref": "#/components/schemas/Input_VadConfig"
          }
        ]
      },
      "Input_CitationsConfig": {
        "additionalProperties": true,
        "properties": {
          "enabled": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_ClearThinkingEdit": {
        "additionalProperties": true,
        "properties": {
          "keep": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ThinkingKeep"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_ClearThinkingType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_ClearThinkingType": {
        "enum": [
          "clear_thinking_20251015"
        ],
        "type": "string"
      },
      "Input_ClearToolInputs": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        ]
      },
      "Input_ClearToolUsesEdit": {
        "additionalProperties": true,
        "properties": {
          "clear_at_least": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_InputTokensThreshold"
              },
              {
                "type": "null"
              }
            ]
          },
          "clear_tool_inputs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ClearToolInputs"
              },
              {
                "type": "null"
              }
            ]
          },
          "exclude_tools": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "keep": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolUsesKeep"
              },
              {
                "type": "null"
              }
            ]
          },
          "trigger": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ContextTrigger"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_ClearToolUsesType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_ClearToolUsesType": {
        "enum": [
          "clear_tool_uses_20250919"
        ],
        "type": "string"
      },
      "Input_ClickAction": {
        "additionalProperties": true,
        "properties": {
          "button": {
            "$ref": "#/components/schemas/Input_ClickButton"
          },
          "keys": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "x": {
            "format": "int64",
            "type": "integer"
          },
          "y": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "button",
          "x",
          "y"
        ],
        "type": "object"
      },
      "Input_ClickButton": {
        "enum": [
          "left",
          "right",
          "wheel",
          "back",
          "forward"
        ],
        "type": "string"
      },
      "Input_ClickOperation": {
        "additionalProperties": true,
        "properties": {
          "id": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "ref_id": {
            "type": "string"
          }
        },
        "required": [
          "ref_id",
          "id"
        ],
        "type": "object"
      },
      "Input_ClientAdditionalTools": {
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "role": {
            "type": "string"
          },
          "tools": {
            "items": true,
            "type": "array"
          }
        },
        "required": [
          "role",
          "tools"
        ],
        "type": "object"
      },
      "Input_ClientAgentMessage": {
        "additionalProperties": true,
        "properties": {
          "author": {
            "type": "string"
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/Input_AgentMessageInputContent"
            },
            "type": "array"
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "internal_chat_message_metadata_passthrough": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_InternalChatMessageMetadataPassthrough"
              },
              {
                "type": "null"
              }
            ]
          },
          "recipient": {
            "type": "string"
          }
        },
        "required": [
          "author",
          "recipient",
          "content"
        ],
        "type": "object"
      },
      "Input_ClientCompaction": {
        "additionalProperties": true,
        "properties": {
          "encrypted_content": {
            "type": "string"
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "internal_chat_message_metadata_passthrough": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_InternalChatMessageMetadataPassthrough"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "encrypted_content"
        ],
        "type": "object"
      },
      "Input_ClientCompactionTrigger": {
        "additionalProperties": true,
        "type": "object"
      },
      "Input_ClientConfigurationUpdate": {
        "additionalProperties": true,
        "properties": {
          "reasoning": {
            "$ref": "#/components/schemas/Input_ConfigurationReasoning2"
          }
        },
        "required": [
          "reasoning"
        ],
        "type": "object"
      },
      "Input_ClientContextCompaction": {
        "additionalProperties": true,
        "properties": {
          "encrypted_content": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "internal_chat_message_metadata_passthrough": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_InternalChatMessageMetadataPassthrough"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_ClientCustomToolCall": {
        "additionalProperties": true,
        "properties": {
          "call_id": {
            "type": "string"
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "input": {
            "type": "string"
          },
          "internal_chat_message_metadata_passthrough": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_InternalChatMessageMetadataPassthrough"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "namespace": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "call_id",
          "name",
          "input"
        ],
        "type": "object"
      },
      "Input_ClientCustomToolCallOutput": {
        "additionalProperties": true,
        "properties": {
          "call_id": {
            "type": "string"
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "internal_chat_message_metadata_passthrough": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_InternalChatMessageMetadataPassthrough"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "output": {
            "$ref": "#/components/schemas/Input_FunctionCallOutputBody"
          }
        },
        "required": [
          "call_id",
          "output"
        ],
        "type": "object"
      },
      "Input_ClientFunctionCall": {
        "additionalProperties": true,
        "properties": {
          "arguments": {
            "type": "string"
          },
          "call_id": {
            "type": "string"
          },
          "encrypted_function_args": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "internal_chat_message_metadata_passthrough": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_InternalChatMessageMetadataPassthrough"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "namespace": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "name",
          "arguments",
          "call_id"
        ],
        "type": "object"
      },
      "Input_ClientFunctionCallOutput": {
        "additionalProperties": true,
        "properties": {
          "call_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "internal_chat_message_metadata_passthrough": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_InternalChatMessageMetadataPassthrough"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "namespace": {
            "type": [
              "string",
              "null"
            ]
          },
          "output": {
            "$ref": "#/components/schemas/Input_FunctionCallOutputBody"
          }
        },
        "required": [
          "output"
        ],
        "type": "object"
      },
      "Input_ClientImageGenerationCall": {
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "internal_chat_message_metadata_passthrough": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_InternalChatMessageMetadataPassthrough"
              },
              {
                "type": "null"
              }
            ]
          },
          "result": {
            "type": "string"
          },
          "revised_prompt": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "status",
          "result"
        ],
        "type": "object"
      },
      "Input_ClientLocalShellCall": {
        "additionalProperties": true,
        "properties": {
          "action": {
            "$ref": "#/components/schemas/Input_LocalShellAction2"
          },
          "call_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "internal_chat_message_metadata_passthrough": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_InternalChatMessageMetadataPassthrough"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "$ref": "#/components/schemas/Input_LocalShellStatus"
          }
        },
        "required": [
          "status",
          "action",
          "call_id"
        ],
        "type": "object"
      },
      "Input_ClientMessage": {
        "additionalProperties": true,
        "properties": {
          "content": {
            "items": {
              "$ref": "#/components/schemas/Input_ContentItem"
            },
            "type": "array"
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "internal_chat_message_metadata_passthrough": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_InternalChatMessageMetadataPassthrough"
              },
              {
                "type": "null"
              }
            ]
          },
          "phase": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_MessagePhase2"
              },
              {
                "type": "null"
              }
            ]
          },
          "role": {
            "type": "string"
          }
        },
        "required": [
          "role",
          "content"
        ],
        "type": "object"
      },
      "Input_ClientReasoning": {
        "additionalProperties": true,
        "properties": {
          "content": {
            "items": {
              "$ref": "#/components/schemas/Input_ReasoningItemContent"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "encrypted_content": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "internal_chat_message_metadata_passthrough": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_InternalChatMessageMetadataPassthrough"
              },
              {
                "type": "null"
              }
            ]
          },
          "summary": {
            "items": {
              "$ref": "#/components/schemas/Input_ReasoningItemReasoningSummary"
            },
            "type": "array"
          }
        },
        "required": [
          "summary",
          "encrypted_content"
        ],
        "type": "object"
      },
      "Input_ClientResponseItem": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Input_ClientAdditionalTools",
            "properties": {
              "type": {
                "const": "additional_tools",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ClientMessage",
            "properties": {
              "type": {
                "const": "message",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ClientAgentMessage",
            "properties": {
              "type": {
                "const": "agent_message",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ClientReasoning",
            "properties": {
              "type": {
                "const": "reasoning",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ClientLocalShellCall",
            "properties": {
              "type": {
                "const": "local_shell_call",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ClientFunctionCall",
            "properties": {
              "type": {
                "const": "function_call",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ClientToolSearchCall",
            "properties": {
              "type": {
                "const": "tool_search_call",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ClientFunctionCallOutput",
            "properties": {
              "type": {
                "const": "function_call_output",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ClientCustomToolCall",
            "properties": {
              "type": {
                "const": "custom_tool_call",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ClientCustomToolCallOutput",
            "properties": {
              "type": {
                "const": "custom_tool_call_output",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ClientToolSearchOutput",
            "properties": {
              "type": {
                "const": "tool_search_output",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ClientWebSearchCall",
            "properties": {
              "type": {
                "const": "web_search_call",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ClientImageGenerationCall",
            "properties": {
              "type": {
                "const": "image_generation_call",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ClientCompaction",
            "properties": {
              "type": {
                "const": "compaction",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ClientConfigurationUpdate",
            "properties": {
              "type": {
                "const": "configuration_update",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ClientCompactionTrigger",
            "properties": {
              "type": {
                "const": "compaction_trigger",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ClientContextCompaction",
            "properties": {
              "type": {
                "const": "context_compaction",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ResponseItemOther",
            "properties": {
              "type": {
                "const": "other",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Input_ClientSecretExpiresAfter": {
        "additionalProperties": true,
        "properties": {
          "anchor": {
            "type": [
              "string",
              "null"
            ]
          },
          "seconds": {
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_ClientSecretSession": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_RealtimeSessionCreateRequest"
          },
          {
            "$ref": "#/components/schemas/Input_RealtimeTranscriptionSessionCreateRequest"
          }
        ]
      },
      "Input_ClientToolSearchCall": {
        "additionalProperties": true,
        "properties": {
          "arguments": true,
          "call_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "execution": {
            "type": "string"
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "internal_chat_message_metadata_passthrough": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_InternalChatMessageMetadataPassthrough"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "execution",
          "arguments",
          "call_id"
        ],
        "type": "object"
      },
      "Input_ClientToolSearchOutput": {
        "additionalProperties": true,
        "properties": {
          "call_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "execution": {
            "type": "string"
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "internal_chat_message_metadata_passthrough": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_InternalChatMessageMetadataPassthrough"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "type": "string"
          },
          "tools": {
            "items": true,
            "type": "array"
          }
        },
        "required": [
          "status",
          "execution",
          "tools",
          "call_id"
        ],
        "type": "object"
      },
      "Input_ClientWebSearchCall": {
        "additionalProperties": true,
        "properties": {
          "action": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_WebSearchAction2"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "internal_chat_message_metadata_passthrough": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_InternalChatMessageMetadataPassthrough"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_CodeExecution": {
        "additionalProperties": true,
        "type": "object"
      },
      "Input_CodeExecutionError": {
        "additionalProperties": true,
        "properties": {
          "error_code": {
            "$ref": "#/components/schemas/Input_CodeExecutionErrorCode"
          },
          "type": {
            "$ref": "#/components/schemas/Input_CodeExecutionErrorType"
          }
        },
        "required": [
          "type",
          "error_code"
        ],
        "type": "object"
      },
      "Input_CodeExecutionErrorCode": {
        "enum": [
          "invalid_tool_input",
          "unavailable",
          "too_many_requests",
          "execution_time_exceeded"
        ],
        "type": "string"
      },
      "Input_CodeExecutionErrorType": {
        "enum": [
          "code_execution_tool_result_error"
        ],
        "type": "string"
      },
      "Input_CodeExecutionOutput": {
        "additionalProperties": true,
        "properties": {
          "file_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_CodeExecutionOutputType"
          }
        },
        "required": [
          "type",
          "file_id"
        ],
        "type": "object"
      },
      "Input_CodeExecutionOutputType": {
        "enum": [
          "code_execution_output"
        ],
        "type": "string"
      },
      "Input_CodeExecutionResult": {
        "additionalProperties": true,
        "properties": {
          "content": {
            "items": {
              "$ref": "#/components/schemas/Input_CodeExecutionOutput"
            },
            "type": "array"
          },
          "return_code": {
            "format": "int64",
            "type": "integer"
          },
          "stderr": {
            "type": "string"
          },
          "stdout": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_CodeExecutionResultType"
          }
        },
        "required": [
          "type",
          "content",
          "return_code",
          "stderr",
          "stdout"
        ],
        "type": "object"
      },
      "Input_CodeExecutionResult2": {
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "outcome": {
            "$ref": "#/components/schemas/Input_Outcome"
          },
          "output": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "outcome"
        ],
        "type": "object"
      },
      "Input_CodeExecutionResultContent": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_CodeExecutionError"
          },
          {
            "$ref": "#/components/schemas/Input_CodeExecutionResult"
          },
          {
            "$ref": "#/components/schemas/Input_EncryptedCodeExecutionResult"
          }
        ]
      },
      "Input_CodeExecutionResultType": {
        "enum": [
          "code_execution_result"
        ],
        "type": "string"
      },
      "Input_CodeExecutionTool20250522": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Input_AllowedCaller2"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "name": {
            "$ref": "#/components/schemas/Input_CodeExecutionTool20250522Name"
          },
          "strict": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_CodeExecutionTool20250522Type"
          }
        },
        "required": [
          "name",
          "type"
        ],
        "type": "object"
      },
      "Input_CodeExecutionTool20250522Name": {
        "enum": [
          "code_execution"
        ],
        "type": "string"
      },
      "Input_CodeExecutionTool20250522Type": {
        "enum": [
          "code_execution_20250522"
        ],
        "type": "string"
      },
      "Input_CodeExecutionTool20250825": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Input_AllowedCaller2"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "name": {
            "$ref": "#/components/schemas/Input_CodeExecutionTool20250825Name"
          },
          "strict": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_CodeExecutionTool20250825Type"
          }
        },
        "required": [
          "name",
          "type"
        ],
        "type": "object"
      },
      "Input_CodeExecutionTool20250825Name": {
        "enum": [
          "code_execution"
        ],
        "type": "string"
      },
      "Input_CodeExecutionTool20250825Type": {
        "enum": [
          "code_execution_20250825"
        ],
        "type": "string"
      },
      "Input_CodeExecutionTool20260120": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Input_AllowedCaller2"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "name": {
            "$ref": "#/components/schemas/Input_CodeExecutionTool20260120Name"
          },
          "strict": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_CodeExecutionTool20260120Type"
          }
        },
        "required": [
          "name",
          "type"
        ],
        "type": "object"
      },
      "Input_CodeExecutionTool20260120Name": {
        "enum": [
          "code_execution"
        ],
        "type": "string"
      },
      "Input_CodeExecutionTool20260120Type": {
        "enum": [
          "code_execution_20260120"
        ],
        "type": "string"
      },
      "Input_CodeExecutionTool20260521": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Input_AllowedCaller2"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "name": {
            "$ref": "#/components/schemas/Input_CodeExecutionTool20260521Name"
          },
          "strict": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_CodeExecutionTool20260521Type"
          }
        },
        "required": [
          "name",
          "type"
        ],
        "type": "object"
      },
      "Input_CodeExecutionTool20260521Name": {
        "enum": [
          "code_execution"
        ],
        "type": "string"
      },
      "Input_CodeExecutionTool20260521Type": {
        "enum": [
          "code_execution_20260521"
        ],
        "type": "string"
      },
      "Input_CodeExecutionToolResultBlock": {
        "additionalProperties": true,
        "properties": {
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "$ref": "#/components/schemas/Input_CodeExecutionResultContent"
          },
          "tool_use_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_CodeExecutionToolResultType"
          }
        },
        "required": [
          "type",
          "content",
          "tool_use_id"
        ],
        "type": "object"
      },
      "Input_CodeExecutionToolResultType": {
        "enum": [
          "code_execution_tool_result"
        ],
        "type": "string"
      },
      "Input_CodeImage": {
        "additionalProperties": true,
        "properties": {
          "url": {
            "type": "string"
          }
        },
        "required": [
          "url"
        ],
        "type": "object"
      },
      "Input_CodeInterpreterAuto": {
        "additionalProperties": true,
        "properties": {
          "file_ids": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "memory_limit": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_MemoryLimit"
              },
              {
                "type": "null"
              }
            ]
          },
          "network_policy": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ContainerNetworkPolicy"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_AutoContainerType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_CodeInterpreterCall": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "code": {
            "type": [
              "string",
              "null"
            ]
          },
          "container_id": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "outputs": {
            "items": {
              "$ref": "#/components/schemas/Input_CodeInterpreterOutput"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "status": {
            "$ref": "#/components/schemas/Input_CodeInterpreterStatus"
          },
          "type": {
            "$ref": "#/components/schemas/Input_CodeInterpreterCallType"
          }
        },
        "required": [
          "type",
          "id",
          "container_id",
          "status",
          "code",
          "outputs"
        ],
        "type": "object"
      },
      "Input_CodeInterpreterCallType": {
        "enum": [
          "code_interpreter_call"
        ],
        "type": "string"
      },
      "Input_CodeInterpreterContainer": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "$ref": "#/components/schemas/Input_CodeInterpreterAuto"
          }
        ]
      },
      "Input_CodeInterpreterOutput": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Input_CodeLogs",
            "properties": {
              "type": {
                "const": "logs",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_CodeImage",
            "properties": {
              "type": {
                "const": "image",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Input_CodeInterpreterStatus": {
        "enum": [
          "in_progress",
          "completed",
          "incomplete",
          "interpreting",
          "failed"
        ],
        "type": "string"
      },
      "Input_CodeInterpreterTool": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Input_AllowedCaller"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "container": {
            "$ref": "#/components/schemas/Input_CodeInterpreterContainer"
          }
        },
        "required": [
          "container"
        ],
        "type": "object"
      },
      "Input_CodeLogs": {
        "additionalProperties": true,
        "properties": {
          "logs": {
            "type": "string"
          }
        },
        "required": [
          "logs"
        ],
        "type": "object"
      },
      "Input_CompactEdit": {
        "additionalProperties": true,
        "properties": {
          "instructions": {
            "type": [
              "string",
              "null"
            ]
          },
          "pause_after_compaction": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "trigger": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_InputTokensThreshold"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_CompactType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_CompactRequestBody": {
        "additionalProperties": true,
        "properties": {
          "input": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Input"
              },
              {
                "type": "null"
              }
            ]
          },
          "instructions": {
            "type": [
              "string",
              "null"
            ]
          },
          "model": {
            "type": [
              "string",
              "null"
            ]
          },
          "previous_response_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "prompt_cache_key": {
            "type": [
              "string",
              "null"
            ]
          },
          "prompt_cache_options": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_PromptCacheOptions"
              },
              {
                "type": "null"
              }
            ]
          },
          "prompt_cache_retention": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_PromptCacheRetention"
              },
              {
                "type": "null"
              }
            ]
          },
          "service_tier": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ServiceTier5"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "model"
        ],
        "type": "object"
      },
      "Input_CompactType": {
        "enum": [
          "compact_20260112"
        ],
        "type": "string"
      },
      "Input_Compaction": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "encrypted_content": {
            "type": "string"
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_CompactionType"
          }
        },
        "required": [
          "type",
          "encrypted_content"
        ],
        "type": "object"
      },
      "Input_CompactionBlock": {
        "additionalProperties": true,
        "properties": {
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "type": [
              "string",
              "null"
            ]
          },
          "encrypted_content": {
            "type": [
              "string",
              "null"
            ]
          },
          "signature": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_CompactionType2"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_CompactionConfig": {
        "additionalProperties": true,
        "properties": {
          "instructions": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_CompactionConfigType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_CompactionConfigType": {
        "enum": [
          "summarize"
        ],
        "type": "string"
      },
      "Input_CompactionTrigger": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_CompactionTriggerType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_CompactionTriggerType": {
        "enum": [
          "compaction_trigger"
        ],
        "type": "string"
      },
      "Input_CompactionType": {
        "enum": [
          "compaction"
        ],
        "type": "string"
      },
      "Input_CompactionType2": {
        "enum": [
          "compaction"
        ],
        "type": "string"
      },
      "Input_ComparisonFilter": {
        "additionalProperties": true,
        "properties": {
          "key": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ComparisonFilterType"
          },
          "value": {
            "$ref": "#/components/schemas/Input_FilterValue"
          }
        },
        "required": [
          "key",
          "value",
          "type"
        ],
        "type": "object"
      },
      "Input_ComparisonFilterType": {
        "enum": [
          "eq",
          "ne",
          "gt",
          "gte",
          "lt",
          "lte",
          "in",
          "nin"
        ],
        "type": "string"
      },
      "Input_CompoundFilter": {
        "additionalProperties": true,
        "properties": {
          "filters": {
            "items": {
              "$ref": "#/components/schemas/Input_FileSearchFilter"
            },
            "type": "array"
          },
          "type": {
            "$ref": "#/components/schemas/Input_CompoundFilterType"
          }
        },
        "required": [
          "filters",
          "type"
        ],
        "type": "object"
      },
      "Input_CompoundFilterType": {
        "enum": [
          "and",
          "or"
        ],
        "type": "string"
      },
      "Input_ComputerAction": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Input_ClickAction",
            "properties": {
              "type": {
                "const": "click",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_DoubleClickAction",
            "properties": {
              "type": {
                "const": "double_click",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_DragAction",
            "properties": {
              "type": {
                "const": "drag",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_KeypressAction",
            "properties": {
              "type": {
                "const": "keypress",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_MoveAction",
            "properties": {
              "type": {
                "const": "move",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ScreenshotAction",
            "properties": {
              "type": {
                "const": "screenshot",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ScrollAction",
            "properties": {
              "type": {
                "const": "scroll",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_TypeAction",
            "properties": {
              "type": {
                "const": "type",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_WaitAction",
            "properties": {
              "type": {
                "const": "wait",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Input_ComputerCall": {
        "additionalProperties": true,
        "properties": {
          "action": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ComputerAction"
              },
              {
                "type": "null"
              }
            ]
          },
          "actions": {
            "items": {
              "$ref": "#/components/schemas/Input_ComputerAction"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "call_id": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "pending_safety_checks": {
            "items": {
              "$ref": "#/components/schemas/Input_PendingSafetyCheck"
            },
            "type": "array"
          },
          "status": {
            "$ref": "#/components/schemas/Input_ItemStatus"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ComputerCallType"
          }
        },
        "required": [
          "type",
          "id",
          "call_id",
          "pending_safety_checks",
          "status"
        ],
        "type": "object"
      },
      "Input_ComputerCallOutput": {
        "additionalProperties": true,
        "properties": {
          "acknowledged_safety_checks": {
            "items": {
              "$ref": "#/components/schemas/Input_PendingSafetyCheck"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "call_id": {
            "type": "string"
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "output": {
            "$ref": "#/components/schemas/Input_ComputerScreenshot"
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ItemStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_ComputerCallOutputType"
          }
        },
        "required": [
          "type",
          "call_id",
          "output"
        ],
        "type": "object"
      },
      "Input_ComputerCallOutputType": {
        "enum": [
          "computer_call_output"
        ],
        "type": "string"
      },
      "Input_ComputerCallType": {
        "enum": [
          "computer_call"
        ],
        "type": "string"
      },
      "Input_ComputerEnvironment": {
        "enum": [
          "windows",
          "mac",
          "linux",
          "ubuntu",
          "browser"
        ],
        "type": "string"
      },
      "Input_ComputerEnvironment2": {
        "enum": [
          "ENVIRONMENT_UNSPECIFIED",
          "ENVIRONMENT_BROWSER",
          "ENVIRONMENT_MOBILE",
          "ENVIRONMENT_DESKTOP"
        ],
        "type": "string"
      },
      "Input_ComputerScreenshot": {
        "additionalProperties": true,
        "properties": {
          "file_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "image_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_ComputerScreenshotType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_ComputerScreenshotType": {
        "enum": [
          "computer_screenshot"
        ],
        "type": "string"
      },
      "Input_ComputerTool": {
        "additionalProperties": true,
        "properties": {
          "display_height": {
            "format": "int64",
            "type": "integer"
          },
          "display_width": {
            "format": "int64",
            "type": "integer"
          },
          "environment": {
            "$ref": "#/components/schemas/Input_ComputerEnvironment"
          }
        },
        "required": [
          "display_height",
          "display_width",
          "environment"
        ],
        "type": "object"
      },
      "Input_ComputerTool20241022": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Input_AllowedCaller2"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "display_height_px": {
            "format": "int64",
            "type": "integer"
          },
          "display_number": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "display_width_px": {
            "format": "int64",
            "type": "integer"
          },
          "input_examples": {
            "items": true,
            "type": [
              "array",
              "null"
            ]
          },
          "name": {
            "$ref": "#/components/schemas/Input_ComputerTool20241022Name"
          },
          "strict": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_ComputerTool20241022Type"
          }
        },
        "required": [
          "name",
          "type",
          "display_height_px",
          "display_width_px"
        ],
        "type": "object"
      },
      "Input_ComputerTool20241022Name": {
        "enum": [
          "computer"
        ],
        "type": "string"
      },
      "Input_ComputerTool20241022Type": {
        "enum": [
          "computer_20241022"
        ],
        "type": "string"
      },
      "Input_ComputerTool20250124": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Input_AllowedCaller2"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "display_height_px": {
            "format": "int64",
            "type": "integer"
          },
          "display_number": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "display_width_px": {
            "format": "int64",
            "type": "integer"
          },
          "input_examples": {
            "items": true,
            "type": [
              "array",
              "null"
            ]
          },
          "name": {
            "$ref": "#/components/schemas/Input_ComputerTool20250124Name"
          },
          "strict": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_ComputerTool20250124Type"
          }
        },
        "required": [
          "name",
          "type",
          "display_height_px",
          "display_width_px"
        ],
        "type": "object"
      },
      "Input_ComputerTool20250124Name": {
        "enum": [
          "computer"
        ],
        "type": "string"
      },
      "Input_ComputerTool20250124Type": {
        "enum": [
          "computer_20250124"
        ],
        "type": "string"
      },
      "Input_ComputerTool20251124": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Input_AllowedCaller2"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "display_height_px": {
            "format": "int64",
            "type": "integer"
          },
          "display_number": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "display_width_px": {
            "format": "int64",
            "type": "integer"
          },
          "enable_zoom": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "input_examples": {
            "items": true,
            "type": [
              "array",
              "null"
            ]
          },
          "name": {
            "$ref": "#/components/schemas/Input_ComputerTool20251124Name"
          },
          "strict": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_ComputerTool20251124Type"
          }
        },
        "required": [
          "name",
          "type",
          "display_height_px",
          "display_width_px"
        ],
        "type": "object"
      },
      "Input_ComputerTool20251124Name": {
        "enum": [
          "computer"
        ],
        "type": "string"
      },
      "Input_ComputerTool20251124Type": {
        "enum": [
          "computer_20251124"
        ],
        "type": "string"
      },
      "Input_ComputerToolset20260801": {
        "additionalProperties": true,
        "properties": {
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "configs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ComputerToolsetConfigs"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_ComputerToolset20260801Type"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_ComputerToolset20260801Type": {
        "enum": [
          "computer_toolset_20260801"
        ],
        "type": "string"
      },
      "Input_ComputerToolsetConfigs": {
        "additionalProperties": true,
        "properties": {
          "cursor_position": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "double_click": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "hold_key": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "key": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "left_click": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "left_click_drag": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "left_mouse_down": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "left_mouse_up": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "middle_click": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "mouse_move": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "right_click": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "screenshot": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "scroll": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "triple_click": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "wait": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "zoom": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolsetMemberConfig"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_ComputerUse": {
        "additionalProperties": true,
        "properties": {
          "disabledSafetyPolicies": {
            "items": {
              "$ref": "#/components/schemas/Input_ComputerUseSafetyPolicy"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "enablePromptInjectionDetection": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "environment": {
            "$ref": "#/components/schemas/Input_ComputerEnvironment2"
          },
          "excludedPredefinedFunctions": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "environment"
        ],
        "type": "object"
      },
      "Input_ComputerUseSafetyPolicy": {
        "enum": [
          "SAFETY_POLICY_UNSPECIFIED",
          "FINANCIAL_TRANSACTIONS",
          "SENSITIVE_DATA_MODIFICATION",
          "COMMUNICATION_TOOL",
          "ACCOUNT_CREATION",
          "DATA_MODIFICATION",
          "USER_CONSENT_MANAGEMENT",
          "LEGAL_TERMS_AND_AGREEMENTS"
        ],
        "type": "string"
      },
      "Input_ConfigurationDataDto": {
        "description": "Every exported table, in the order a fresh instance may replay them: a row\nnever appears before the row it points at. Each field defaults to empty, so\na document written by a build that knew fewer tables still imports.",
        "properties": {
          "connectionProfiles": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Input_ConnectionProfileDto"
            },
            "type": "array"
          },
          "credentials": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Input_ExportCredentialDto"
            },
            "type": "array"
          },
          "models": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Input_ModelDto"
            },
            "type": "array"
          },
          "operationEndpoints": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Input_OperationEndpointDto"
            },
            "type": "array"
          },
          "operationRules": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Input_OperationRuleDto"
            },
            "type": "array"
          },
          "priceRates": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Input_PriceRateDto"
            },
            "type": "array"
          },
          "priceRules": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Input_PriceRuleDto"
            },
            "type": "array"
          },
          "priceTiers": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Input_PriceTierDto"
            },
            "type": "array"
          },
          "providerModels": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Input_ProviderModelDto"
            },
            "type": "array"
          },
          "providerRewriteRuleSets": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Input_ProviderRuleSetDto"
            },
            "type": "array"
          },
          "providers": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Input_ProviderDto"
            },
            "type": "array"
          },
          "quotas": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Input_QuotaDto"
            },
            "type": "array"
          },
          "rewriteRuleSets": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Input_RuleSetDto"
            },
            "type": "array"
          },
          "rewriteRules": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Input_RewriteRuleDto"
            },
            "type": "array"
          },
          "routeMembers": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Input_RouteMemberDto"
            },
            "type": "array"
          },
          "routes": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Input_RouteDto"
            },
            "type": "array"
          },
          "settings": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_SettingsDto"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The single settings row. `config_revision` travels but is never\nimported: the destination's revision is its own counter."
          }
        },
        "type": "object"
      },
      "Input_ConfigurationExportDto": {
        "description": "One instance's configuration as a document.",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/Input_ConfigurationDataDto"
          },
          "exportedAtMs": {
            "format": "int64",
            "type": "integer"
          },
          "formatVersion": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "secrets": {
            "description": "The sealing codecs the exported blobs actually use, sorted and without\nduplicates; empty when the secrets were omitted. An importer reads it\nbefore it starts, to decide whether it needs a source master key at all.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "secretsOmitted": {
            "description": "True when the export was taken without secrets: every credential's\n`secret` is null.",
            "type": "boolean"
          }
        },
        "required": [
          "formatVersion",
          "exportedAtMs",
          "secretsOmitted",
          "secrets",
          "data"
        ],
        "type": "object"
      },
      "Input_ConfigurationReasoning": {
        "additionalProperties": true,
        "properties": {
          "effort": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ReasoningEffort"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_ConfigurationReasoning2": {
        "additionalProperties": true,
        "properties": {
          "effort": {
            "type": "string"
          }
        },
        "required": [
          "effort"
        ],
        "type": "object"
      },
      "Input_ConfigurationUpdate": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "reasoning": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ConfigurationReasoning"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_ConfigurationUpdateType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_ConfigurationUpdateType": {
        "enum": [
          "configuration_update"
        ],
        "type": "string"
      },
      "Input_ConnectionProfileDto": {
        "additionalProperties": false,
        "description": "A reusable HTTP transport configuration, independent of outbound proxy selection.",
        "properties": {
          "backend": {
            "description": "`reqwest`, `wreq` or `reqwest_native`.",
            "type": "string"
          },
          "brotli": {
            "type": "boolean"
          },
          "connectTimeoutMs": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "createdAtMs": {
            "format": "int64",
            "type": "integer"
          },
          "deflate": {
            "type": "boolean"
          },
          "emulation": {
            "description": "A `gproxy-client` emulation object, or null. wreq applies the full identity; other clients apply supported custom fields."
          },
          "gzip": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "poolIdleTimeoutMs": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "poolMaxIdlePerHost": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "redirectMaxHops": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "retry": {
            "description": "`never` or `default`.",
            "type": "string"
          },
          "zstd": {
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "name",
          "backend",
          "gzip",
          "brotli",
          "deflate",
          "zstd",
          "redirectMaxHops",
          "retry",
          "connectTimeoutMs",
          "poolIdleTimeoutMs",
          "poolMaxIdlePerHost",
          "createdAtMs"
        ],
        "type": "object"
      },
      "Input_ConnectionProfilePatch": {
        "additionalProperties": false,
        "properties": {
          "backend": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "brotli": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "connectTimeoutMs": {
            "default": null,
            "format": "uint32",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "deflate": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "emulation": {
            "default": null
          },
          "gzip": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "name": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "poolIdleTimeoutMs": {
            "default": null,
            "format": "uint32",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "poolMaxIdlePerHost": {
            "default": null,
            "format": "uint32",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "redirectMaxHops": {
            "default": null,
            "format": "uint32",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "retry": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "zstd": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_ConnectionProfileWrite": {
        "additionalProperties": false,
        "properties": {
          "backend": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "brotli": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "connectTimeoutMs": {
            "default": null,
            "format": "uint32",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "deflate": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "emulation": {
            "default": null
          },
          "gzip": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "id": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "poolIdleTimeoutMs": {
            "default": null,
            "format": "uint32",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "poolMaxIdlePerHost": {
            "default": null,
            "format": "uint32",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "redirectMaxHops": {
            "default": null,
            "format": "uint32",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "retry": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "zstd": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "Input_ConnectivityTest": {
        "description": "What a connectivity test should exercise. Each variant resolves the same\nclient chain a real call would: the credential's profile, then the\nprovider's, then the channel's default, then the instance default.",
        "oneOf": [
          {
            "description": "The instance default profile, with no provider in the picture.",
            "properties": {
              "scope": {
                "const": "global",
                "type": "string"
              }
            },
            "required": [
              "scope"
            ],
            "type": "object"
          },
          {
            "properties": {
              "provider_id": {
                "type": "string"
              },
              "scope": {
                "const": "provider",
                "type": "string"
              }
            },
            "required": [
              "scope",
              "provider_id"
            ],
            "type": "object"
          },
          {
            "description": "The chain that credential's own calls take.",
            "properties": {
              "credential_id": {
                "type": "string"
              },
              "scope": {
                "const": "credential",
                "type": "string"
              }
            },
            "required": [
              "scope",
              "credential_id"
            ],
            "type": "object"
          },
          {
            "description": "A proxy that is not configured anywhere yet: the reason this exists is\nto test one before saving it.",
            "properties": {
              "scope": {
                "const": "proxy",
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            },
            "required": [
              "scope",
              "url"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "proxy": {
            "default": null,
            "description": "Omitted tests saved settings; null previews inheritance at this scope."
          }
        },
        "type": "object"
      },
      "Input_ConnectorId": {
        "enum": [
          "connector_dropbox",
          "connector_gmail",
          "connector_googlecalendar",
          "connector_googledrive",
          "connector_microsoftteams",
          "connector_outlookcalendar",
          "connector_outlookemail",
          "connector_sharepoint"
        ],
        "type": "string"
      },
      "Input_ConsentDecision": {
        "description": "What the person at the consent screen chose.\n\nNamed `ConsentDecision` rather than `Decision` because\n[`snapshot::Decision`](crate::snapshot::Decision) is the permission\nevaluator's verdict, and the two appear in the same files.",
        "enum": [
          "approve",
          "deny"
        ],
        "type": "string"
      },
      "Input_ContainerFileCitation": {
        "additionalProperties": true,
        "properties": {
          "container_id": {
            "type": "string"
          },
          "end_index": {
            "format": "int64",
            "type": "integer"
          },
          "file_id": {
            "type": "string"
          },
          "filename": {
            "type": "string"
          },
          "start_index": {
            "format": "int64",
            "type": "integer"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ContainerFileCitationType"
          }
        },
        "required": [
          "container_id",
          "end_index",
          "file_id",
          "filename",
          "start_index",
          "type"
        ],
        "type": "object"
      },
      "Input_ContainerFileCitationType": {
        "enum": [
          "container_file_citation"
        ],
        "type": "string"
      },
      "Input_ContainerNetworkPolicy": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_NetworkDisabled"
          },
          {
            "$ref": "#/components/schemas/Input_NetworkAllowlist"
          }
        ]
      },
      "Input_ContainerParam": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "$ref": "#/components/schemas/Input_ContainerParams"
          }
        ]
      },
      "Input_ContainerParams": {
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "skills": {
            "items": {
              "$ref": "#/components/schemas/Input_SkillParam"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_ContainerUploadBlock": {
        "additionalProperties": true,
        "properties": {
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "file_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ContainerUploadType"
          }
        },
        "required": [
          "type",
          "file_id"
        ],
        "type": "object"
      },
      "Input_ContainerUploadType": {
        "enum": [
          "container_upload"
        ],
        "type": "string"
      },
      "Input_Content": {
        "additionalProperties": true,
        "properties": {
          "parts": {
            "items": {
              "$ref": "#/components/schemas/Input_Part"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "role": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_ContentBlock": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_TextBlock"
          },
          {
            "$ref": "#/components/schemas/Input_ImageBlock"
          },
          {
            "$ref": "#/components/schemas/Input_DocumentBlock"
          },
          {
            "$ref": "#/components/schemas/Input_ThinkingBlock"
          },
          {
            "$ref": "#/components/schemas/Input_RedactedThinkingBlock"
          },
          {
            "$ref": "#/components/schemas/Input_ToolUseBlock"
          },
          {
            "$ref": "#/components/schemas/Input_ToolResultBlock"
          },
          {
            "$ref": "#/components/schemas/Input_ServerToolUseBlock"
          },
          {
            "$ref": "#/components/schemas/Input_SearchResultBlock"
          },
          {
            "$ref": "#/components/schemas/Input_WebSearchToolResultBlock"
          },
          {
            "$ref": "#/components/schemas/Input_WebFetchToolResultBlock"
          },
          {
            "$ref": "#/components/schemas/Input_AdvisorToolResultBlock"
          },
          {
            "$ref": "#/components/schemas/Input_CodeExecutionToolResultBlock"
          },
          {
            "$ref": "#/components/schemas/Input_BashCodeExecutionToolResultBlock"
          },
          {
            "$ref": "#/components/schemas/Input_TextEditorCodeExecutionToolResultBlock"
          },
          {
            "$ref": "#/components/schemas/Input_ToolSearchToolResultBlock"
          },
          {
            "$ref": "#/components/schemas/Input_McpToolListingBlock"
          },
          {
            "$ref": "#/components/schemas/Input_McpToolUseBlock"
          },
          {
            "$ref": "#/components/schemas/Input_McpToolResultBlock"
          },
          {
            "$ref": "#/components/schemas/Input_ContainerUploadBlock"
          },
          {
            "$ref": "#/components/schemas/Input_CompactionBlock"
          },
          {
            "$ref": "#/components/schemas/Input_MidConversationSystemBlock"
          },
          {
            "$ref": "#/components/schemas/Input_ToolAdditionBlock"
          },
          {
            "$ref": "#/components/schemas/Input_ToolRemovalBlock"
          },
          {
            "$ref": "#/components/schemas/Input_FallbackBlock"
          }
        ]
      },
      "Input_ContentBlockCitation": {
        "additionalProperties": true,
        "properties": {
          "cited_text": {
            "type": "string"
          },
          "document_index": {
            "format": "int64",
            "type": "integer"
          },
          "document_title": {
            "type": "string"
          },
          "end_block_index": {
            "format": "int64",
            "type": "integer"
          },
          "start_block_index": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "cited_text",
          "document_index",
          "document_title",
          "end_block_index",
          "start_block_index"
        ],
        "type": "object"
      },
      "Input_ContentItem": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Input_ContentItemInputText",
            "properties": {
              "type": {
                "const": "input_text",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ContentItemInputImage",
            "properties": {
              "type": {
                "const": "input_image",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ContentItemInputAudio",
            "properties": {
              "type": {
                "const": "input_audio",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ContentItemOutputText",
            "properties": {
              "type": {
                "const": "output_text",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Input_ContentItemInputAudio": {
        "additionalProperties": true,
        "properties": {
          "audio_url": {
            "type": "string"
          }
        },
        "required": [
          "audio_url"
        ],
        "type": "object"
      },
      "Input_ContentItemInputImage": {
        "additionalProperties": true,
        "properties": {
          "detail": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ImageDetail3"
              },
              {
                "type": "null"
              }
            ]
          },
          "image_url": {
            "type": "string"
          }
        },
        "required": [
          "image_url"
        ],
        "type": "object"
      },
      "Input_ContentItemInputText": {
        "additionalProperties": true,
        "properties": {
          "text": {
            "type": "string"
          }
        },
        "required": [
          "text"
        ],
        "type": "object"
      },
      "Input_ContentItemOutputText": {
        "additionalProperties": true,
        "properties": {
          "text": {
            "type": "string"
          }
        },
        "required": [
          "text"
        ],
        "type": "object"
      },
      "Input_ContentSource": {
        "additionalProperties": true,
        "properties": {
          "content": {
            "$ref": "#/components/schemas/Input_DocumentContent"
          }
        },
        "required": [
          "content"
        ],
        "type": "object"
      },
      "Input_ContextEdit": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_ClearToolUsesEdit"
          },
          {
            "$ref": "#/components/schemas/Input_ClearThinkingEdit"
          },
          {
            "$ref": "#/components/schemas/Input_CompactEdit"
          }
        ]
      },
      "Input_ContextManagement": {
        "additionalProperties": true,
        "properties": {
          "compact_threshold": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_ContextManagementConfig": {
        "additionalProperties": true,
        "properties": {
          "edits": {
            "items": {
              "$ref": "#/components/schemas/Input_ContextEdit"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_ContextTrigger": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_InputTokensThreshold"
          },
          {
            "$ref": "#/components/schemas/Input_ToolUsesKeep"
          }
        ]
      },
      "Input_ContextWindowCompressionConfig": {
        "additionalProperties": true,
        "properties": {
          "slidingWindow": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_SlidingWindow"
              },
              {
                "type": "null"
              }
            ]
          },
          "triggerTokens": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_LiveInt64"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_ConversationItem": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_RealtimeConversationItemSystemMessage"
          },
          {
            "$ref": "#/components/schemas/Input_RealtimeConversationItemUserMessage"
          },
          {
            "$ref": "#/components/schemas/Input_RealtimeConversationItemAssistantMessage"
          },
          {
            "$ref": "#/components/schemas/Input_RealtimeConversationItemFunctionCall"
          },
          {
            "$ref": "#/components/schemas/Input_RealtimeConversationItemFunctionCallOutput"
          },
          {
            "$ref": "#/components/schemas/Input_RealtimeMcpApprovalResponse"
          },
          {
            "$ref": "#/components/schemas/Input_RealtimeMcpListTools"
          },
          {
            "$ref": "#/components/schemas/Input_RealtimeMcpToolCall"
          },
          {
            "$ref": "#/components/schemas/Input_RealtimeMcpApprovalRequest"
          }
        ],
        "description": "Source: `openai/types/realtime/conversation_item.py`, `ConversationItem`."
      },
      "Input_ConversationItemCreateEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/conversation_item_create_event.py`, `ConversationItemCreateEvent`.",
        "properties": {
          "event_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "item": {
            "$ref": "#/components/schemas/Input_ConversationItem"
          },
          "previous_item_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_ConversationItemCreateEventType"
          }
        },
        "required": [
          "item",
          "type"
        ],
        "type": "object"
      },
      "Input_ConversationItemCreateEventType": {
        "enum": [
          "conversation.item.create"
        ],
        "type": "string"
      },
      "Input_ConversationItemDeleteEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/conversation_item_delete_event.py`, `ConversationItemDeleteEvent`.",
        "properties": {
          "event_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "item_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ConversationItemDeleteEventType"
          }
        },
        "required": [
          "item_id",
          "type"
        ],
        "type": "object"
      },
      "Input_ConversationItemDeleteEventType": {
        "enum": [
          "conversation.item.delete"
        ],
        "type": "string"
      },
      "Input_ConversationItemRetrieveEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/conversation_item_retrieve_event.py`, `ConversationItemRetrieveEvent`.",
        "properties": {
          "event_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "item_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ConversationItemRetrieveEventType"
          }
        },
        "required": [
          "item_id",
          "type"
        ],
        "type": "object"
      },
      "Input_ConversationItemRetrieveEventType": {
        "enum": [
          "conversation.item.retrieve"
        ],
        "type": "string"
      },
      "Input_ConversationItemTruncateEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/conversation_item_truncate_event.py`, `ConversationItemTruncateEvent`.",
        "properties": {
          "audio_end_ms": {
            "format": "int64",
            "type": "integer"
          },
          "content_index": {
            "format": "int64",
            "type": "integer"
          },
          "event_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "item_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ConversationItemTruncateEventType"
          }
        },
        "required": [
          "audio_end_ms",
          "content_index",
          "item_id",
          "type"
        ],
        "type": "object"
      },
      "Input_ConversationItemTruncateEventType": {
        "enum": [
          "conversation.item.truncate"
        ],
        "type": "string"
      },
      "Input_ConversationParam": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "$ref": "#/components/schemas/Input_ResponseConversationParam"
          }
        ]
      },
      "Input_Coordinate": {
        "additionalProperties": true,
        "properties": {
          "x": {
            "format": "int64",
            "type": "integer"
          },
          "y": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "x",
          "y"
        ],
        "type": "object"
      },
      "Input_CountTokensRequestBody": {
        "additionalProperties": true,
        "properties": {
          "conversation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ConversationParam"
              },
              {
                "type": "null"
              }
            ]
          },
          "input": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Input"
              },
              {
                "type": "null"
              }
            ]
          },
          "instructions": {
            "type": [
              "string",
              "null"
            ]
          },
          "model": {
            "type": [
              "string",
              "null"
            ]
          },
          "parallel_tool_calls": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "personality": {
            "type": [
              "string",
              "null"
            ]
          },
          "previous_response_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "reasoning": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ReasoningConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "text": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_TextConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "tool_choice": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolChoice"
              },
              {
                "type": "null"
              }
            ]
          },
          "tools": {
            "items": {
              "$ref": "#/components/schemas/Input_Tool"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "truncation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Truncation"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_CountTokensRequestBody2": {
        "additionalProperties": true,
        "properties": {
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "context_management": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ContextManagementConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "mcp_servers": {
            "items": {
              "$ref": "#/components/schemas/Input_McpServerUrlDefinition"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "messages": {
            "items": {
              "$ref": "#/components/schemas/Input_Message"
            },
            "type": "array"
          },
          "model": {
            "type": "string"
          },
          "output_config": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_OutputConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "output_format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_JsonOutputFormat"
              },
              {
                "type": "null"
              }
            ]
          },
          "speed": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Speed"
              },
              {
                "type": "null"
              }
            ]
          },
          "system": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_SystemPrompt"
              },
              {
                "type": "null"
              }
            ]
          },
          "thinking": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ThinkingConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "tool_choice": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolChoice2"
              },
              {
                "type": "null"
              }
            ]
          },
          "tools": {
            "items": {
              "$ref": "#/components/schemas/Input_ToolUnion"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "messages",
          "model"
        ],
        "type": "object"
      },
      "Input_CountTokensRequestBody3": {
        "additionalProperties": true,
        "description": "Body for `POST .../{model=models/*}:countTokens`; `model` is the path resource.",
        "properties": {
          "contents": {
            "items": {
              "$ref": "#/components/schemas/Input_Content"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "generateContentRequest": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_EmbeddedGenerateContentRequest"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_CreateConversationRequestBody": {
        "additionalProperties": true,
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Input_InputItem"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "metadata": {
            "additionalProperties": {
              "type": "string"
            },
            "type": [
              "object",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_CreateDecisionRequestBody": {
        "additionalProperties": true,
        "properties": {
          "input": {
            "$ref": "#/components/schemas/Input_DecisionInput"
          },
          "model": {
            "type": "string"
          },
          "questions": {
            "items": {
              "$ref": "#/components/schemas/Input_DecisionQuestion"
            },
            "type": "array"
          },
          "safety_identifier": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "model",
          "input",
          "questions"
        ],
        "type": "object"
      },
      "Input_CreateEmbeddingRequestBody": {
        "additionalProperties": true,
        "properties": {
          "dimensions": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "encoding_format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_EmbeddingEncodingFormat"
              },
              {
                "type": "null"
              }
            ]
          },
          "input": {
            "$ref": "#/components/schemas/Input_EmbeddingInput"
          },
          "model": {
            "type": "string"
          },
          "user": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "input",
          "model"
        ],
        "type": "object"
      },
      "Input_CreateImageRequestBody": {
        "additionalProperties": true,
        "properties": {
          "background": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ImageBackground2"
              },
              {
                "type": "null"
              }
            ]
          },
          "model": {
            "type": [
              "string",
              "null"
            ]
          },
          "moderation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ImageModeration"
              },
              {
                "type": "null"
              }
            ]
          },
          "n": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "output_compression": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "output_format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ImageOutputFormat2"
              },
              {
                "type": "null"
              }
            ]
          },
          "partial_images": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "prompt": {
            "type": "string"
          },
          "quality": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ImageQuality2"
              },
              {
                "type": "null"
              }
            ]
          },
          "response_format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ImageResponseFormat2"
              },
              {
                "type": "null"
              }
            ]
          },
          "size": {
            "type": [
              "string",
              "null"
            ]
          },
          "stream": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "style": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ImageStyle"
              },
              {
                "type": "null"
              }
            ]
          },
          "user": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "prompt"
        ],
        "type": "object"
      },
      "Input_CreateLiveCallMultipartForm": {
        "properties": {
          "sdp": {
            "$ref": "#/components/schemas/Input_BinaryPart"
          },
          "session": {
            "$ref": "#/components/schemas/Input_LiveSessionCreateRequest"
          }
        },
        "required": [
          "sdp",
          "session"
        ],
        "type": "object"
      },
      "Input_CreateLiveSessionRequestBody": {
        "additionalProperties": true,
        "properties": {
          "session": {
            "$ref": "#/components/schemas/Input_LiveSessionConfig"
          },
          "transport": {
            "$ref": "#/components/schemas/Input_LiveCreateTransport"
          }
        },
        "required": [
          "session",
          "transport"
        ],
        "type": "object"
      },
      "Input_CreateModerationRequestBody": {
        "additionalProperties": true,
        "properties": {
          "input": {
            "$ref": "#/components/schemas/Input_ModerationInput"
          },
          "model": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      },
      "Input_CreatePromptVoiceRequestBody": {
        "additionalProperties": true,
        "properties": {
          "model": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "prompt": {
            "type": "string"
          },
          "script_hint": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_PromptVoiceType"
          }
        },
        "required": [
          "type",
          "name",
          "prompt"
        ],
        "type": "object"
      },
      "Input_CreateRealtimeCallMultipartForm": {
        "properties": {
          "sdp": {
            "$ref": "#/components/schemas/Input_BinaryPart"
          },
          "session": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeSessionCreateRequest"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "sdp"
        ],
        "type": "object"
      },
      "Input_CreateRealtimeClientSecretRequestBody": {
        "additionalProperties": true,
        "properties": {
          "expires_after": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ClientSecretExpiresAfter"
              },
              {
                "type": "null"
              }
            ]
          },
          "session": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ClientSecretSession"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_CreateSampleVoiceMultipartForm": {
        "properties": {
          "audio_sample": {
            "$ref": "#/components/schemas/Input_BinaryPart"
          },
          "consent": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_VoiceSource"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "name",
          "consent",
          "audio_sample"
        ],
        "type": "object"
      },
      "Input_CreateSpeechRequestBody": {
        "additionalProperties": true,
        "properties": {
          "input": {
            "type": "string"
          },
          "instructions": {
            "type": [
              "string",
              "null"
            ]
          },
          "model": {
            "type": "string"
          },
          "response_format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_AudioResponseFormat2"
              },
              {
                "type": "null"
              }
            ]
          },
          "speed": {
            "type": [
              "number",
              "null"
            ]
          },
          "stream_format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_SpeechStreamFormat"
              },
              {
                "type": "null"
              }
            ]
          },
          "voice": {
            "$ref": "#/components/schemas/Input_SpeechVoice"
          }
        },
        "required": [
          "model",
          "input",
          "voice"
        ],
        "type": "object"
      },
      "Input_CreateTranscriptionMultipartForm": {
        "properties": {
          "chunking_strategy": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ChunkingStrategy"
              },
              {
                "type": "null"
              }
            ]
          },
          "file": {
            "$ref": "#/components/schemas/Input_BinaryPart"
          },
          "include": {
            "items": {
              "$ref": "#/components/schemas/Input_TranscriptionInclude"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "keywords": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "known_speaker_names": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "known_speaker_references": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "language": {
            "type": [
              "string",
              "null"
            ]
          },
          "languages": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "model": {
            "type": "string"
          },
          "prompt": {
            "type": [
              "string",
              "null"
            ]
          },
          "response_format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_TranscriptionResponseFormat"
              },
              {
                "type": "null"
              }
            ]
          },
          "stream": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "temperature": {
            "type": [
              "number",
              "null"
            ]
          },
          "timestamp_granularities": {
            "items": {
              "$ref": "#/components/schemas/Input_TranscriptionTimestampGranularity"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "file",
          "model"
        ],
        "type": "object"
      },
      "Input_CreateTranslationMultipartForm": {
        "properties": {
          "file": {
            "$ref": "#/components/schemas/Input_BinaryPart"
          },
          "model": {
            "type": "string"
          },
          "prompt": {
            "type": [
              "string",
              "null"
            ]
          },
          "response_format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_TranslationResponseFormat"
              },
              {
                "type": "null"
              }
            ]
          },
          "temperature": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "file",
          "model"
        ],
        "type": "object"
      },
      "Input_CredentialOwner": {
        "description": "Who the credential belongs to, in the application layer's own vocabulary.\nOpaque to this crate: it copies the three columns through untouched, and\nonly the layer above knows what an organization or a team is.",
        "properties": {
          "organizationId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "teamId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "userId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_CredentialPatch": {
        "additionalProperties": false,
        "description": "Lifecycle status is not here: it is versioned against concurrent refreshes\nand changes through `Credentials::set_status`.",
        "properties": {
          "connectionProfileId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "enabled": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "expiresAtMs": {
            "default": null,
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "label": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "metadata": {
            "default": null
          },
          "organizationId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "proxy": {
            "default": null
          },
          "secret": {
            "default": null,
            "description": "Resealed and version-bumped; peers then reload this credential alone."
          },
          "teamId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "userId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_CredentialStatus": {
        "description": "Whether the credential can still be used at all. Selection only needs this\nbit; the reason is a separate column for people.",
        "oneOf": [
          {
            "enum": [
              "active"
            ],
            "type": "string"
          },
          {
            "const": "dead",
            "description": "Refresh was rejected definitively, the upstream revoked it, or an\noperator retired it. Waiting does not help; never selected until a\nperson logs in again.",
            "type": "string"
          }
        ]
      },
      "Input_CredentialWrite": {
        "properties": {
          "authKind": {
            "description": "How the channel injects it: `api_key`, `oauth`, `cookie`, …",
            "type": "string"
          },
          "connectionProfileId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "enabled": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "expiresAtMs": {
            "default": null,
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "id": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "label": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "metadata": {
            "default": null
          },
          "organizationId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "providerId": {
            "type": "string"
          },
          "proxy": {
            "default": null
          },
          "secret": {
            "description": "Plaintext on the way in, sealed before it reaches the database."
          },
          "teamId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "userId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "providerId",
          "authKind",
          "secret"
        ],
        "type": "object"
      },
      "Input_CustomCall": {
        "additionalProperties": true,
        "properties": {
          "input": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "input",
          "name"
        ],
        "type": "object"
      },
      "Input_CustomOutput": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "$ref": "#/components/schemas/Input_InputContent"
            },
            "type": "array"
          }
        ]
      },
      "Input_CustomTextFormat": {
        "additionalProperties": true,
        "properties": {
          "type": {
            "$ref": "#/components/schemas/Input_TextFormatType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_CustomTool": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Input_AllowedCaller"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "async": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CustomToolFormat"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "Input_CustomTool2": {
        "additionalProperties": true,
        "properties": {
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CustomToolFormat2"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "Input_CustomToolCall": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "async": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "call_id": {
            "type": "string"
          },
          "caller": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Caller"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "input": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "namespace": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_CustomToolCallType"
          }
        },
        "required": [
          "type",
          "call_id",
          "input",
          "name"
        ],
        "type": "object"
      },
      "Input_CustomToolCall2": {
        "additionalProperties": true,
        "properties": {
          "custom": {
            "$ref": "#/components/schemas/Input_CustomCall"
          },
          "id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_CustomToolCallType2"
          }
        },
        "required": [
          "id",
          "custom",
          "type"
        ],
        "type": "object"
      },
      "Input_CustomToolCallOutput": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "call_id": {
            "type": "string"
          },
          "caller": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Caller"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "output": {
            "$ref": "#/components/schemas/Input_CustomOutput"
          },
          "type": {
            "$ref": "#/components/schemas/Input_CustomToolCallOutputType"
          }
        },
        "required": [
          "type",
          "call_id",
          "output"
        ],
        "type": "object"
      },
      "Input_CustomToolCallOutputType": {
        "enum": [
          "custom_tool_call_output"
        ],
        "type": "string"
      },
      "Input_CustomToolCallType": {
        "enum": [
          "custom_tool_call"
        ],
        "type": "string"
      },
      "Input_CustomToolCallType2": {
        "enum": [
          "custom"
        ],
        "type": "string"
      },
      "Input_CustomToolDefinition": {
        "additionalProperties": true,
        "properties": {
          "custom": {
            "$ref": "#/components/schemas/Input_CustomTool2"
          },
          "type": {
            "$ref": "#/components/schemas/Input_CustomToolDefinitionType"
          }
        },
        "required": [
          "type",
          "custom"
        ],
        "type": "object"
      },
      "Input_CustomToolDefinitionType": {
        "enum": [
          "custom"
        ],
        "type": "string"
      },
      "Input_CustomToolFormat": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_CustomTextFormat"
          },
          {
            "$ref": "#/components/schemas/Input_GrammarFormat"
          }
        ]
      },
      "Input_CustomToolFormat2": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_TextFormat2"
          },
          {
            "$ref": "#/components/schemas/Input_GrammarFormat2"
          }
        ]
      },
      "Input_CustomVoice": {
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "type": "object"
      },
      "Input_CustomVoice2": {
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "type": "object"
      },
      "Input_CustomVoice3": {
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "type": "object"
      },
      "Input_CustomizedAvatar": {
        "additionalProperties": true,
        "properties": {
          "imageData": {
            "type": [
              "string",
              "null"
            ]
          },
          "imageMimeType": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_CyberAccessProgram": {
        "enum": [
          "standard",
          "daybreak_blue",
          "daybreak_red"
        ],
        "type": "string"
      },
      "Input_DataCollection": {
        "enum": [
          "deny",
          "allow"
        ],
        "type": "string"
      },
      "Input_DecisionBody": {
        "properties": {
          "decision": {
            "$ref": "#/components/schemas/Input_ConsentDecision"
          }
        },
        "required": [
          "decision"
        ],
        "type": "object"
      },
      "Input_DecisionChoice": {
        "additionalProperties": true,
        "properties": {
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "value": {
            "$ref": "#/components/schemas/Input_DecisionChoiceValue"
          }
        },
        "required": [
          "value"
        ],
        "type": "object"
      },
      "Input_DecisionChoiceValue": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "boolean"
          }
        ]
      },
      "Input_DecisionContent": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "$ref": "#/components/schemas/Input_DecisionInputPart"
            },
            "type": "array"
          }
        ]
      },
      "Input_DecisionImageDetail": {
        "enum": [
          "low",
          "high",
          "auto",
          "original"
        ],
        "type": "string"
      },
      "Input_DecisionInput": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "$ref": "#/components/schemas/Input_DecisionInputMessage"
            },
            "type": "array"
          }
        ]
      },
      "Input_DecisionInputMessage": {
        "additionalProperties": true,
        "properties": {
          "content": {
            "$ref": "#/components/schemas/Input_DecisionContent"
          },
          "role": {
            "$ref": "#/components/schemas/Input_DecisionRole"
          },
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_DecisionMessageType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "role",
          "content"
        ],
        "type": "object"
      },
      "Input_DecisionInputPart": {
        "oneOf": [
          {
            "additionalProperties": true,
            "properties": {
              "text": {
                "type": "string"
              },
              "type": {
                "const": "input_text",
                "type": "string"
              }
            },
            "required": [
              "type",
              "text"
            ],
            "type": "object"
          },
          {
            "additionalProperties": true,
            "properties": {
              "detail": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/Input_DecisionImageDetail"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "image_url": {
                "type": "string"
              },
              "type": {
                "const": "input_image",
                "type": "string"
              }
            },
            "required": [
              "type",
              "image_url"
            ],
            "type": "object"
          }
        ]
      },
      "Input_DecisionMessageType": {
        "enum": [
          "message"
        ],
        "type": "string"
      },
      "Input_DecisionQuestion": {
        "oneOf": [
          {
            "additionalProperties": true,
            "properties": {
              "instructions": {
                "type": "string"
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "type": {
                "const": "predicate",
                "type": "string"
              }
            },
            "required": [
              "type",
              "instructions"
            ],
            "type": "object"
          },
          {
            "additionalProperties": true,
            "properties": {
              "choices": {
                "items": {
                  "$ref": "#/components/schemas/Input_DecisionChoice"
                },
                "type": "array"
              },
              "instructions": {
                "type": "string"
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "type": {
                "const": "choice",
                "type": "string"
              }
            },
            "required": [
              "type",
              "instructions",
              "choices"
            ],
            "type": "object"
          },
          {
            "additionalProperties": true,
            "properties": {
              "instructions": {
                "type": "string"
              },
              "levels": {
                "items": {
                  "$ref": "#/components/schemas/Input_DecisionScoreLevel"
                },
                "type": "array"
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "type": {
                "const": "score",
                "type": "string"
              }
            },
            "required": [
              "type",
              "instructions",
              "levels"
            ],
            "type": "object"
          }
        ]
      },
      "Input_DecisionRole": {
        "enum": [
          "user"
        ],
        "type": "string"
      },
      "Input_DecisionScoreLevel": {
        "additionalProperties": true,
        "properties": {
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "label": {
            "type": "string"
          }
        },
        "required": [
          "label"
        ],
        "type": "object"
      },
      "Input_DefaultFallbacks": {
        "enum": [
          "default"
        ],
        "type": "string"
      },
      "Input_Delivery": {
        "enum": [
          "DELIVERY_UNSPECIFIED",
          "INLINE",
          "URI"
        ],
        "type": "string"
      },
      "Input_DeveloperMessage": {
        "additionalProperties": true,
        "properties": {
          "content": {
            "$ref": "#/components/schemas/Input_StringOrTextParts"
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "role": {
            "$ref": "#/components/schemas/Input_DeveloperRole"
          }
        },
        "required": [
          "role",
          "content"
        ],
        "type": "object"
      },
      "Input_DeveloperRole": {
        "enum": [
          "developer"
        ],
        "type": "string"
      },
      "Input_DeviceCodeRequest": {
        "description": "RFC 8628 §3.1.",
        "properties": {
          "client_id": {
            "default": "",
            "type": "string"
          },
          "scope": {
            "default": "",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Input_DeviceDecisionBody": {
        "properties": {
          "decision": {
            "$ref": "#/components/schemas/Input_ConsentDecision"
          },
          "userCode": {
            "type": "string"
          }
        },
        "required": [
          "userCode",
          "decision"
        ],
        "type": "object"
      },
      "Input_DeviceStart": {
        "properties": {
          "label": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "owner": {
            "$ref": "#/components/schemas/Input_CredentialOwner",
            "default": {
              "organizationId": null,
              "teamId": null,
              "userId": null
            }
          },
          "providerId": {
            "type": "string"
          }
        },
        "required": [
          "providerId"
        ],
        "type": "object"
      },
      "Input_DiagnosticsParam": {
        "additionalProperties": true,
        "properties": {
          "previous_message_id": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_DirectCaller": {
        "additionalProperties": true,
        "type": "object"
      },
      "Input_DirectCaller2": {
        "additionalProperties": true,
        "type": "object"
      },
      "Input_DiscoverBody": {
        "description": "The two arguments `discover_models` takes. It is a request shape rather\nthan a DTO because the sdk's own signature is two arguments — there is\nnothing to mirror.",
        "properties": {
          "credentialId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "providerId": {
            "type": "string"
          }
        },
        "required": [
          "providerId"
        ],
        "type": "object"
      },
      "Input_DocumentBlock": {
        "additionalProperties": true,
        "properties": {
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "citations": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CitationsConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "context": {
            "type": [
              "string",
              "null"
            ]
          },
          "source": {
            "$ref": "#/components/schemas/Input_DocumentSource"
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_DocumentBlockType"
          }
        },
        "required": [
          "type",
          "source"
        ],
        "type": "object"
      },
      "Input_DocumentBlockType": {
        "enum": [
          "document"
        ],
        "type": "string"
      },
      "Input_DocumentContent": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "$ref": "#/components/schemas/Input_DocumentContentBlock"
            },
            "type": "array"
          }
        ]
      },
      "Input_DocumentContentBlock": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_TextBlock"
          },
          {
            "$ref": "#/components/schemas/Input_ImageBlock"
          }
        ]
      },
      "Input_DocumentSource": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Input_PdfBase64Source",
            "properties": {
              "type": {
                "const": "base64",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_PlainTextSource",
            "properties": {
              "type": {
                "const": "text",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_UrlSource",
            "properties": {
              "type": {
                "const": "url",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_FileSource",
            "properties": {
              "type": {
                "const": "file",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ContentSource",
            "properties": {
              "type": {
                "const": "content",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Input_DomainSecret": {
        "additionalProperties": true,
        "properties": {
          "domain": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "domain",
          "name",
          "value"
        ],
        "type": "object"
      },
      "Input_DoubleClickAction": {
        "additionalProperties": true,
        "properties": {
          "keys": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "x": {
            "format": "int64",
            "type": "integer"
          },
          "y": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "x",
          "y",
          "keys"
        ],
        "type": "object"
      },
      "Input_DragAction": {
        "additionalProperties": true,
        "properties": {
          "keys": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "path": {
            "items": {
              "$ref": "#/components/schemas/Input_Coordinate"
            },
            "type": "array"
          }
        },
        "required": [
          "path"
        ],
        "type": "object"
      },
      "Input_DynamicRetrievalConfig": {
        "additionalProperties": true,
        "properties": {
          "dynamicThreshold": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "mode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RetrievalMode"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_EasyInputMessage": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "$ref": "#/components/schemas/Input_MessageContent"
          },
          "phase": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_MessagePhase"
              },
              {
                "type": "null"
              }
            ]
          },
          "role": {
            "$ref": "#/components/schemas/Input_MessageRole"
          },
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_MessageType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "content",
          "role"
        ],
        "type": "object"
      },
      "Input_EditImageJsonBody": {
        "additionalProperties": true,
        "properties": {
          "background": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ImageBackground2"
              },
              {
                "type": "null"
              }
            ]
          },
          "images": {
            "items": {
              "$ref": "#/components/schemas/Input_ImageReference"
            },
            "type": "array"
          },
          "input_fidelity": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_InputFidelity2"
              },
              {
                "type": "null"
              }
            ]
          },
          "mask": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ImageReference"
              },
              {
                "type": "null"
              }
            ]
          },
          "model": {
            "type": [
              "string",
              "null"
            ]
          },
          "moderation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ImageModeration"
              },
              {
                "type": "null"
              }
            ]
          },
          "n": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "output_compression": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "output_format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ImageOutputFormat2"
              },
              {
                "type": "null"
              }
            ]
          },
          "partial_images": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "prompt": {
            "type": "string"
          },
          "quality": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_EditedImageQuality"
              },
              {
                "type": "null"
              }
            ]
          },
          "size": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_EditedImageSize"
              },
              {
                "type": "null"
              }
            ]
          },
          "stream": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "user": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "images",
          "prompt"
        ],
        "type": "object"
      },
      "Input_EditImageMultipartForm": {
        "properties": {
          "background": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ImageBackground2"
              },
              {
                "type": "null"
              }
            ]
          },
          "image": {
            "items": {
              "$ref": "#/components/schemas/Input_BinaryPart"
            },
            "type": "array"
          },
          "input_fidelity": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_InputFidelity2"
              },
              {
                "type": "null"
              }
            ]
          },
          "mask": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_BinaryPart"
              },
              {
                "type": "null"
              }
            ]
          },
          "model": {
            "type": [
              "string",
              "null"
            ]
          },
          "n": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "output_compression": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "output_format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ImageOutputFormat2"
              },
              {
                "type": "null"
              }
            ]
          },
          "partial_images": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "prompt": {
            "type": "string"
          },
          "quality": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_MultipartImageQuality"
              },
              {
                "type": "null"
              }
            ]
          },
          "response_format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ImageResponseFormat2"
              },
              {
                "type": "null"
              }
            ]
          },
          "size": {
            "type": [
              "string",
              "null"
            ]
          },
          "stream": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "user": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "image",
          "prompt"
        ],
        "type": "object"
      },
      "Input_EditedImageQuality": {
        "enum": [
          "low",
          "medium",
          "high",
          "auto",
          "xhigh",
          "max"
        ],
        "type": "string"
      },
      "Input_EditedImageSize": {
        "anyOf": [
          {
            "enum": [
              "auto",
              "1024x1024",
              "1536x1024",
              "1024x1536"
            ],
            "type": "string"
          },
          {
            "type": "string"
          }
        ]
      },
      "Input_Effort": {
        "enum": [
          "low",
          "medium",
          "high",
          "xhigh",
          "max"
        ],
        "type": "string"
      },
      "Input_EmbedContentConfig": {
        "additionalProperties": true,
        "properties": {
          "audioTrackExtraction": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "autoTruncate": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "documentOcr": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "outputDimensionality": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "taskType": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_GeminiTaskType"
              },
              {
                "type": "null"
              }
            ]
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_EmbedContentRequestBody": {
        "additionalProperties": true,
        "properties": {
          "content": {
            "$ref": "#/components/schemas/Input_Content"
          },
          "embedContentConfig": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_EmbedContentConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "outputDimensionality": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "taskType": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_GeminiTaskType"
              },
              {
                "type": "null"
              }
            ]
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "content"
        ],
        "type": "object"
      },
      "Input_EmbeddedGenerateContentRequest": {
        "additionalProperties": true,
        "description": "Full `GenerateContentRequest` object accepted inside CountTokens. Its\n`model` is part of this embedded Batch API object; standalone REST\ngeneration keeps model in its path.",
        "properties": {
          "cachedContent": {
            "type": [
              "string",
              "null"
            ]
          },
          "contents": {
            "items": {
              "$ref": "#/components/schemas/Input_Content"
            },
            "type": "array"
          },
          "generationConfig": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_GenerationConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "labels": {
            "additionalProperties": {
              "type": "string"
            },
            "type": [
              "object",
              "null"
            ]
          },
          "model": {
            "description": "Required by the Batch API `GenerateContentRequest` embedded in CountTokens.",
            "type": "string"
          },
          "safetySettings": {
            "items": {
              "$ref": "#/components/schemas/Input_SafetySetting"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "serviceTier": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ServiceTier"
              },
              {
                "type": "null"
              }
            ]
          },
          "store": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "systemInstruction": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Content"
              },
              {
                "type": "null"
              }
            ]
          },
          "toolConfig": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "tools": {
            "items": {
              "$ref": "#/components/schemas/Input_Tool3"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "model",
          "contents"
        ],
        "type": "object"
      },
      "Input_EmbeddingEncodingFormat": {
        "enum": [
          "float",
          "base64"
        ],
        "type": "string"
      },
      "Input_EmbeddingInput": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "items": {
              "format": "int64",
              "type": "integer"
            },
            "type": "array"
          },
          {
            "items": {
              "items": {
                "format": "int64",
                "type": "integer"
              },
              "type": "array"
            },
            "type": "array"
          }
        ]
      },
      "Input_EncryptedCodeExecutionResult": {
        "additionalProperties": true,
        "properties": {
          "content": {
            "items": {
              "$ref": "#/components/schemas/Input_CodeExecutionOutput"
            },
            "type": "array"
          },
          "encrypted_stdout": {
            "type": "string"
          },
          "return_code": {
            "format": "int64",
            "type": "integer"
          },
          "stderr": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_EncryptedCodeExecutionResultType"
          }
        },
        "required": [
          "type",
          "content",
          "encrypted_stdout",
          "return_code",
          "stderr"
        ],
        "type": "object"
      },
      "Input_EncryptedCodeExecutionResultType": {
        "enum": [
          "encrypted_code_execution_result"
        ],
        "type": "string"
      },
      "Input_EncryptedContent": {
        "additionalProperties": true,
        "properties": {
          "encrypted_content": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_EncryptedContentType"
          }
        },
        "required": [
          "type",
          "encrypted_content"
        ],
        "type": "object"
      },
      "Input_EncryptedContentType": {
        "enum": [
          "encrypted_content"
        ],
        "type": "string"
      },
      "Input_EndSensitivity": {
        "enum": [
          "END_SENSITIVITY_UNSPECIFIED",
          "END_SENSITIVITY_HIGH",
          "END_SENSITIVITY_LOW"
        ],
        "type": "string"
      },
      "Input_ExecutableCode": {
        "additionalProperties": true,
        "properties": {
          "code": {
            "type": "string"
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "language": {
            "$ref": "#/components/schemas/Input_Language"
          }
        },
        "required": [
          "language",
          "code"
        ],
        "type": "object"
      },
      "Input_ExecutedToolCall": {
        "additionalProperties": true,
        "properties": {
          "arguments": true,
          "name": {
            "type": "string"
          },
          "tool_result_sources": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolResultSources"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "name",
          "arguments"
        ],
        "type": "object"
      },
      "Input_ExportCredentialDto": {
        "description": "A credential row plus the sealed bytes behind it. The columns are flattened,\nso the object is a [`CredentialDto`] with one field added.",
        "properties": {
          "authKind": {
            "type": "string"
          },
          "connectionProfileId": {
            "type": [
              "string",
              "null"
            ]
          },
          "enabled": {
            "type": "boolean"
          },
          "expiresAtMs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "hasSecret": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "label": {
            "type": [
              "string",
              "null"
            ]
          },
          "metadata": true,
          "organizationId": {
            "description": "Opaque to this crate: the application layer decides what owns what.",
            "type": [
              "string",
              "null"
            ]
          },
          "providerId": {
            "type": "string"
          },
          "proxy": {
            "default": null
          },
          "refreshExpiresAtMs": {
            "description": "Read-only refresh-token expiry, projected from the sealed secret on management reads.\nNone means no expiry was reported or the secret could not be read.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "secret": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_SealedSecretDto"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The database column verbatim; null when the export omitted secrets."
          },
          "status": {
            "description": "`active` or `dead`.",
            "type": "string"
          },
          "statusReason": {
            "type": [
              "string",
              "null"
            ]
          },
          "teamId": {
            "type": [
              "string",
              "null"
            ]
          },
          "userId": {
            "type": [
              "string",
              "null"
            ]
          },
          "version": {
            "description": "Bumped by every secret or lifecycle write; peers reload on a change.",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "providerId",
          "authKind",
          "hasSecret",
          "version",
          "metadata",
          "status",
          "enabled"
        ],
        "type": "object"
      },
      "Input_ExportRequest": {
        "properties": {
          "includeSecrets": {
            "default": false,
            "description": "Whether the sealed credential blobs travel with the configuration. An\nexport without them still restores every row; the credentials simply\narrive unable to authenticate until someone logs in again.",
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Input_ExternalWebAccess": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "$ref": "#/components/schemas/Input_ExternalWebAccessMode"
          }
        ]
      },
      "Input_ExternalWebAccessMode": {
        "enum": [
          "cached",
          "indexed",
          "live"
        ],
        "type": "string"
      },
      "Input_FallbackBlock": {
        "additionalProperties": true,
        "properties": {
          "from": {
            "$ref": "#/components/schemas/Input_FallbackInfo"
          },
          "to": {
            "$ref": "#/components/schemas/Input_FallbackInfo"
          },
          "trigger": true,
          "type": {
            "$ref": "#/components/schemas/Input_FallbackType"
          }
        },
        "required": [
          "type",
          "from",
          "to"
        ],
        "type": "object"
      },
      "Input_FallbackCreditMode": {
        "enum": [
          "strict",
          "best_effort"
        ],
        "type": "string"
      },
      "Input_FallbackCreditToken": {
        "additionalProperties": true,
        "properties": {
          "mode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_FallbackCreditMode"
              },
              {
                "type": "null"
              }
            ]
          },
          "token": {
            "type": "string"
          }
        },
        "required": [
          "token"
        ],
        "type": "object"
      },
      "Input_FallbackCreditTokenParam": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "$ref": "#/components/schemas/Input_FallbackCreditToken"
          }
        ]
      },
      "Input_FallbackInfo": {
        "additionalProperties": true,
        "properties": {
          "model": {
            "type": "string"
          }
        },
        "required": [
          "model"
        ],
        "type": "object"
      },
      "Input_FallbackParam": {
        "additionalProperties": true,
        "properties": {
          "max_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "model": {
            "type": "string"
          },
          "output_config": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_OutputConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "speed": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Speed"
              },
              {
                "type": "null"
              }
            ]
          },
          "thinking": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ThinkingConfig"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "model"
        ],
        "type": "object"
      },
      "Input_FallbackType": {
        "enum": [
          "fallback"
        ],
        "type": "string"
      },
      "Input_FallbacksParam": {
        "anyOf": [
          {
            "items": {
              "$ref": "#/components/schemas/Input_FallbackParam"
            },
            "type": "array"
          },
          {
            "$ref": "#/components/schemas/Input_DefaultFallbacks"
          }
        ]
      },
      "Input_File": {
        "additionalProperties": true,
        "properties": {
          "createTime": {
            "type": [
              "string",
              "null"
            ]
          },
          "displayName": {
            "type": [
              "string",
              "null"
            ]
          },
          "downloadUri": {
            "type": [
              "string",
              "null"
            ]
          },
          "error": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Status"
              },
              {
                "type": "null"
              }
            ]
          },
          "expirationTime": {
            "type": [
              "string",
              "null"
            ]
          },
          "mimeType": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "sha256Hash": {
            "type": [
              "string",
              "null"
            ]
          },
          "sizeBytes": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_FileSize"
              },
              {
                "type": "null"
              }
            ]
          },
          "source": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_FileSource2"
              },
              {
                "type": "null"
              }
            ]
          },
          "state": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_FileState"
              },
              {
                "type": "null"
              }
            ]
          },
          "updateTime": {
            "type": [
              "string",
              "null"
            ]
          },
          "uri": {
            "type": [
              "string",
              "null"
            ]
          },
          "videoMetadata": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_VideoFileMetadata"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_FileAttributeValue": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "number"
          },
          {
            "type": "boolean"
          }
        ]
      },
      "Input_FileCitation": {
        "additionalProperties": true,
        "properties": {
          "file_id": {
            "type": "string"
          },
          "filename": {
            "type": "string"
          },
          "index": {
            "format": "int64",
            "type": "integer"
          },
          "type": {
            "$ref": "#/components/schemas/Input_FileCitationType"
          }
        },
        "required": [
          "file_id",
          "filename",
          "index",
          "type"
        ],
        "type": "object"
      },
      "Input_FileCitationType": {
        "enum": [
          "file_citation"
        ],
        "type": "string"
      },
      "Input_FileData": {
        "additionalProperties": true,
        "properties": {
          "displayName": {
            "type": [
              "string",
              "null"
            ]
          },
          "fileUri": {
            "type": "string"
          },
          "mimeType": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "fileUri"
        ],
        "type": "object"
      },
      "Input_FileDetail": {
        "enum": [
          "auto",
          "low",
          "high"
        ],
        "type": "string"
      },
      "Input_FileExpiry": {
        "additionalProperties": true,
        "properties": {
          "anchor": {
            "$ref": "#/components/schemas/Input_FileExpiryAnchor"
          },
          "seconds": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "anchor",
          "seconds"
        ],
        "type": "object"
      },
      "Input_FileExpiryAnchor": {
        "enum": [
          "created_at"
        ],
        "type": "string"
      },
      "Input_FileOrder": {
        "enum": [
          "asc",
          "desc"
        ],
        "type": "string"
      },
      "Input_FilePart": {
        "additionalProperties": true,
        "properties": {
          "file": {
            "$ref": "#/components/schemas/Input_FileRef"
          },
          "prompt_cache_breakpoint": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_PromptCacheBreakpoint2"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_FilePartType"
          }
        },
        "required": [
          "type",
          "file"
        ],
        "type": "object"
      },
      "Input_FilePartType": {
        "enum": [
          "file"
        ],
        "type": "string"
      },
      "Input_FilePath": {
        "additionalProperties": true,
        "properties": {
          "file_id": {
            "type": "string"
          },
          "index": {
            "format": "int64",
            "type": "integer"
          },
          "type": {
            "$ref": "#/components/schemas/Input_FilePathType"
          }
        },
        "required": [
          "file_id",
          "index",
          "type"
        ],
        "type": "object"
      },
      "Input_FilePathType": {
        "enum": [
          "file_path"
        ],
        "type": "string"
      },
      "Input_FileRef": {
        "additionalProperties": true,
        "properties": {
          "file_data": {
            "type": [
              "string",
              "null"
            ]
          },
          "file_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "filename": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_FileSearch": {
        "additionalProperties": true,
        "properties": {
          "fileSearchStoreNames": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "metadataFilter": {
            "type": [
              "string",
              "null"
            ]
          },
          "topK": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "fileSearchStoreNames"
        ],
        "type": "object"
      },
      "Input_FileSearchCall": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": "string"
          },
          "queries": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "results": {
            "items": {
              "$ref": "#/components/schemas/Input_FileSearchResult"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "status": {
            "$ref": "#/components/schemas/Input_FileSearchStatus"
          },
          "type": {
            "$ref": "#/components/schemas/Input_FileSearchCallType"
          }
        },
        "required": [
          "type",
          "id",
          "queries",
          "status"
        ],
        "type": "object"
      },
      "Input_FileSearchCallType": {
        "enum": [
          "file_search_call"
        ],
        "type": "string"
      },
      "Input_FileSearchFilter": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_ComparisonFilter"
          },
          {
            "$ref": "#/components/schemas/Input_CompoundFilter"
          }
        ]
      },
      "Input_FileSearchResult": {
        "additionalProperties": true,
        "properties": {
          "attributes": {
            "additionalProperties": {
              "$ref": "#/components/schemas/Input_FileAttributeValue"
            },
            "type": [
              "object",
              "null"
            ]
          },
          "file_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "filename": {
            "type": [
              "string",
              "null"
            ]
          },
          "score": {
            "type": [
              "number",
              "null"
            ]
          },
          "text": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_FileSearchStatus": {
        "enum": [
          "in_progress",
          "searching",
          "completed",
          "incomplete",
          "failed"
        ],
        "type": "string"
      },
      "Input_FileSearchTool": {
        "additionalProperties": true,
        "properties": {
          "filters": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_FileSearchFilter"
              },
              {
                "type": "null"
              }
            ]
          },
          "max_num_results": {
            "type": [
              "number",
              "null"
            ]
          },
          "ranking_options": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RankingOptions"
              },
              {
                "type": "null"
              }
            ]
          },
          "vector_store_ids": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "vector_store_ids"
        ],
        "type": "object"
      },
      "Input_FileSize": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "format": "int64",
            "type": "integer"
          }
        ],
        "description": "ProtoJSON int64 values encode as strings; parsers also accept JSON integers."
      },
      "Input_FileSource": {
        "additionalProperties": true,
        "properties": {
          "file_id": {
            "type": "string"
          }
        },
        "required": [
          "file_id"
        ],
        "type": "object"
      },
      "Input_FileSource2": {
        "enum": [
          "SOURCE_UNSPECIFIED",
          "UPLOADED",
          "GENERATED",
          "REGISTERED"
        ],
        "type": "string"
      },
      "Input_FileState": {
        "enum": [
          "STATE_UNSPECIFIED",
          "PROCESSING",
          "ACTIVE",
          "FAILED"
        ],
        "type": "string"
      },
      "Input_FilterArrayValue": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "number"
          }
        ]
      },
      "Input_FilterValue": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "number"
          },
          {
            "type": "boolean"
          },
          {
            "items": {
              "$ref": "#/components/schemas/Input_FilterArrayValue"
            },
            "type": "array"
          }
        ]
      },
      "Input_FinanceAssetType": {
        "enum": [
          "equity",
          "fund",
          "crypto",
          "index"
        ],
        "type": "string"
      },
      "Input_FinanceOperation": {
        "additionalProperties": true,
        "properties": {
          "market": {
            "type": [
              "string",
              "null"
            ]
          },
          "ticker": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_FinanceAssetType"
          }
        },
        "required": [
          "ticker",
          "type"
        ],
        "type": "object"
      },
      "Input_FindOperation": {
        "additionalProperties": true,
        "properties": {
          "pattern": {
            "type": "string"
          },
          "ref_id": {
            "type": "string"
          }
        },
        "required": [
          "ref_id",
          "pattern"
        ],
        "type": "object"
      },
      "Input_FunctionCall": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "arguments": {
            "type": "string"
          },
          "async": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "call_id": {
            "type": "string"
          },
          "caller": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Caller"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "namespace": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ItemStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_FunctionCallType"
          }
        },
        "required": [
          "type",
          "arguments",
          "call_id",
          "name"
        ],
        "type": "object"
      },
      "Input_FunctionCall2": {
        "additionalProperties": true,
        "properties": {
          "args": {
            "additionalProperties": true,
            "type": [
              "object",
              "null"
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "Input_FunctionCall3": {
        "additionalProperties": true,
        "properties": {
          "arguments": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "arguments",
          "name"
        ],
        "type": "object"
      },
      "Input_FunctionCallChoice": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_FunctionCallMode"
          },
          {
            "$ref": "#/components/schemas/Input_LegacyFunctionChoice"
          }
        ]
      },
      "Input_FunctionCallMode": {
        "enum": [
          "none",
          "auto"
        ],
        "type": "string"
      },
      "Input_FunctionCallOutput": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "call_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "caller": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Caller"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "namespace": {
            "type": [
              "string",
              "null"
            ]
          },
          "output": {
            "$ref": "#/components/schemas/Input_FunctionOutput"
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ItemStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_FunctionCallOutputType"
          }
        },
        "required": [
          "type",
          "output"
        ],
        "type": "object"
      },
      "Input_FunctionCallOutputBody": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "$ref": "#/components/schemas/Input_FunctionCallOutputContentItem"
            },
            "type": "array"
          }
        ]
      },
      "Input_FunctionCallOutputContentItem": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Input_FunctionCallOutputContentItemInputText",
            "properties": {
              "type": {
                "const": "input_text",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_FunctionCallOutputContentItemInputImage",
            "properties": {
              "type": {
                "const": "input_image",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_FunctionCallOutputContentItemInputAudio",
            "properties": {
              "type": {
                "const": "input_audio",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_FunctionCallOutputContentItemEncryptedContent",
            "properties": {
              "type": {
                "const": "encrypted_content",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Input_FunctionCallOutputContentItemEncryptedContent": {
        "additionalProperties": true,
        "properties": {
          "encrypted_content": {
            "type": "string"
          }
        },
        "required": [
          "encrypted_content"
        ],
        "type": "object"
      },
      "Input_FunctionCallOutputContentItemInputAudio": {
        "additionalProperties": true,
        "properties": {
          "audio_url": {
            "type": "string"
          }
        },
        "required": [
          "audio_url"
        ],
        "type": "object"
      },
      "Input_FunctionCallOutputContentItemInputImage": {
        "additionalProperties": true,
        "properties": {
          "detail": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ImageDetail3"
              },
              {
                "type": "null"
              }
            ]
          },
          "image_url": {
            "type": "string"
          }
        },
        "required": [
          "image_url"
        ],
        "type": "object"
      },
      "Input_FunctionCallOutputContentItemInputText": {
        "additionalProperties": true,
        "properties": {
          "text": {
            "type": "string"
          }
        },
        "required": [
          "text"
        ],
        "type": "object"
      },
      "Input_FunctionCallOutputType": {
        "enum": [
          "function_call_output"
        ],
        "type": "string"
      },
      "Input_FunctionCallType": {
        "enum": [
          "function_call"
        ],
        "type": "string"
      },
      "Input_FunctionCallingConfig": {
        "additionalProperties": true,
        "properties": {
          "allowedFunctionNames": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "mode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_FunctionCallingMode"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_FunctionCallingMode": {
        "enum": [
          "MODE_UNSPECIFIED",
          "AUTO",
          "ANY",
          "NONE",
          "VALIDATED"
        ],
        "type": "string"
      },
      "Input_FunctionDeclaration": {
        "additionalProperties": true,
        "properties": {
          "behavior": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Behavior"
              },
              {
                "type": "null"
              }
            ]
          },
          "description": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "parameters": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Schema"
              },
              {
                "type": "null"
              }
            ]
          },
          "parametersJsonSchema": true,
          "response": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Schema"
              },
              {
                "type": "null"
              }
            ]
          },
          "responseJsonSchema": true
        },
        "required": [
          "name",
          "description"
        ],
        "type": "object"
      },
      "Input_FunctionDefinition": {
        "additionalProperties": true,
        "properties": {
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "parameters": {
            "additionalProperties": true,
            "type": [
              "object",
              "null"
            ]
          },
          "strict": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "Input_FunctionMessage": {
        "additionalProperties": true,
        "properties": {
          "content": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "role": {
            "$ref": "#/components/schemas/Input_FunctionRole"
          }
        },
        "required": [
          "role",
          "name",
          "content"
        ],
        "type": "object"
      },
      "Input_FunctionOutput": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "$ref": "#/components/schemas/Input_FunctionOutputContent"
            },
            "type": "array"
          }
        ]
      },
      "Input_FunctionOutputContent": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_FunctionOutputText"
          },
          {
            "$ref": "#/components/schemas/Input_FunctionOutputImage"
          },
          {
            "$ref": "#/components/schemas/Input_FunctionOutputFile"
          }
        ]
      },
      "Input_FunctionOutputFile": {
        "additionalProperties": true,
        "properties": {
          "detail": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_FileDetail"
              },
              {
                "type": "null"
              }
            ]
          },
          "file_data": {
            "type": [
              "string",
              "null"
            ]
          },
          "file_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "file_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "filename": {
            "type": [
              "string",
              "null"
            ]
          },
          "prompt_cache_breakpoint": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_PromptCacheBreakpoint"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_ResponseInputFileType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_FunctionOutputImage": {
        "additionalProperties": true,
        "properties": {
          "detail": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ImageDetail"
              },
              {
                "type": "null"
              }
            ]
          },
          "file_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "image_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "prompt_cache_breakpoint": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_PromptCacheBreakpoint"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_ResponseInputImageType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_FunctionOutputText": {
        "additionalProperties": true,
        "properties": {
          "prompt_cache_breakpoint": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_PromptCacheBreakpoint"
              },
              {
                "type": "null"
              }
            ]
          },
          "text": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ResponseInputTextType"
          }
        },
        "required": [
          "type",
          "text"
        ],
        "type": "object"
      },
      "Input_FunctionResponse": {
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "parts": {
            "items": {
              "$ref": "#/components/schemas/Input_FunctionResponsePart"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "response": {
            "additionalProperties": true,
            "type": "object"
          },
          "scheduling": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Scheduling"
              },
              {
                "type": "null"
              }
            ]
          },
          "willContinue": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "required": [
          "name",
          "response"
        ],
        "type": "object"
      },
      "Input_FunctionResponsePart": {
        "additionalProperties": true,
        "properties": {
          "inlineData": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Blob"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_FunctionRole": {
        "enum": [
          "function"
        ],
        "type": "string"
      },
      "Input_FunctionTool": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Input_AllowedCaller"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "async": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "output_schema": {
            "additionalProperties": true,
            "type": [
              "object",
              "null"
            ]
          },
          "parameters": {
            "additionalProperties": true,
            "type": [
              "object",
              "null"
            ]
          },
          "strict": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "required": [
          "name",
          "parameters"
        ],
        "type": "object"
      },
      "Input_FunctionTool2": {
        "additionalProperties": true,
        "properties": {
          "function": {
            "$ref": "#/components/schemas/Input_FunctionDefinition"
          },
          "type": {
            "$ref": "#/components/schemas/Input_FunctionToolType"
          }
        },
        "required": [
          "type",
          "function"
        ],
        "type": "object"
      },
      "Input_FunctionToolType": {
        "enum": [
          "function"
        ],
        "type": "string"
      },
      "Input_GeminiTaskType": {
        "enum": [
          "TASK_TYPE_UNSPECIFIED",
          "RETRIEVAL_QUERY",
          "RETRIEVAL_DOCUMENT",
          "SEMANTIC_SIMILARITY",
          "CLASSIFICATION",
          "CLUSTERING",
          "QUESTION_ANSWERING",
          "FACT_VERIFICATION",
          "CODE_RETRIEVAL_QUERY"
        ],
        "type": "string"
      },
      "Input_GenerateContentRequestBody": {
        "additionalProperties": true,
        "properties": {
          "access_programs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_AccessPrograms"
              },
              {
                "type": "null"
              }
            ]
          },
          "background": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "context_management": {
            "items": {
              "$ref": "#/components/schemas/Input_ContextManagement"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "conversation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ConversationParam"
              },
              {
                "type": "null"
              }
            ]
          },
          "include": {
            "items": {
              "$ref": "#/components/schemas/Input_ResponseIncludable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "input": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Input"
              },
              {
                "type": "null"
              }
            ]
          },
          "instructions": {
            "type": [
              "string",
              "null"
            ]
          },
          "max_output_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "max_tool_calls": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "metadata": {
            "additionalProperties": {
              "type": "string"
            },
            "type": [
              "object",
              "null"
            ]
          },
          "model": {
            "type": [
              "string",
              "null"
            ]
          },
          "moderation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ResponseModeration"
              },
              {
                "type": "null"
              }
            ]
          },
          "multi_agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_MultiAgentConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "parallel_tool_calls": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "previous_response_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "prompt": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ResponsePrompt"
              },
              {
                "type": "null"
              }
            ]
          },
          "prompt_cache_key": {
            "type": [
              "string",
              "null"
            ]
          },
          "prompt_cache_options": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_PromptCacheOptions"
              },
              {
                "type": "null"
              }
            ]
          },
          "prompt_cache_retention": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_PromptCacheRetention"
              },
              {
                "type": "null"
              }
            ]
          },
          "reasoning": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ReasoningConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "safety_identifier": {
            "type": [
              "string",
              "null"
            ]
          },
          "service_tier": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ServiceTier2"
              },
              {
                "type": "null"
              }
            ]
          },
          "store": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "stream": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "stream_options": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_StreamOptions"
              },
              {
                "type": "null"
              }
            ]
          },
          "temperature": {
            "type": [
              "number",
              "null"
            ]
          },
          "text": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_TextConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "tool_choice": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolChoice"
              },
              {
                "type": "null"
              }
            ]
          },
          "tools": {
            "items": {
              "$ref": "#/components/schemas/Input_Tool"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "top_logprobs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "top_p": {
            "type": [
              "number",
              "null"
            ]
          },
          "truncation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_GenerateTruncation"
              },
              {
                "type": "null"
              }
            ]
          },
          "user": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_GenerateContentRequestBody2": {
        "additionalProperties": true,
        "properties": {
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "compaction": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CompactionConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "container": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ContainerParam"
              },
              {
                "type": "null"
              }
            ]
          },
          "context_management": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ContextManagementConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "diagnostics": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_DiagnosticsParam"
              },
              {
                "type": "null"
              }
            ]
          },
          "fallback_credit_token": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_FallbackCreditTokenParam"
              },
              {
                "type": "null"
              }
            ]
          },
          "fallbacks": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_FallbacksParam"
              },
              {
                "type": "null"
              }
            ]
          },
          "inference_geo": {
            "type": [
              "string",
              "null"
            ]
          },
          "max_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "mcp_servers": {
            "items": {
              "$ref": "#/components/schemas/Input_McpServerUrlDefinition"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "messages": {
            "items": {
              "$ref": "#/components/schemas/Input_Message"
            },
            "type": "array"
          },
          "metadata": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Metadata"
              },
              {
                "type": "null"
              }
            ]
          },
          "model": {
            "type": "string"
          },
          "output_config": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_OutputConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "output_format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_JsonOutputFormat"
              },
              {
                "type": "null"
              }
            ]
          },
          "service_tier": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ServiceTier3"
              },
              {
                "type": "null"
              }
            ]
          },
          "speed": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Speed"
              },
              {
                "type": "null"
              }
            ]
          },
          "stop_sequences": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "stream": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "system": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_SystemPrompt"
              },
              {
                "type": "null"
              }
            ]
          },
          "thinking": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ThinkingConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "tool_choice": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolChoice2"
              },
              {
                "type": "null"
              }
            ]
          },
          "tools": {
            "items": {
              "$ref": "#/components/schemas/Input_ToolUnion"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "max_tokens",
          "messages",
          "model"
        ],
        "type": "object"
      },
      "Input_GenerateContentRequestBody3": {
        "additionalProperties": true,
        "properties": {
          "cachedContent": {
            "type": [
              "string",
              "null"
            ]
          },
          "contents": {
            "items": {
              "$ref": "#/components/schemas/Input_Content"
            },
            "type": "array"
          },
          "continuationToken": {
            "description": "Opaque token from a previous hop; contents must match the original request.",
            "type": [
              "string",
              "null"
            ]
          },
          "generationConfig": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_GenerationConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "labels": {
            "additionalProperties": {
              "type": "string"
            },
            "type": [
              "object",
              "null"
            ]
          },
          "safetySettings": {
            "items": {
              "$ref": "#/components/schemas/Input_SafetySetting"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "serviceTier": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ServiceTier"
              },
              {
                "type": "null"
              }
            ]
          },
          "store": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "systemInstruction": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Content"
              },
              {
                "type": "null"
              }
            ]
          },
          "toolConfig": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "tools": {
            "items": {
              "$ref": "#/components/schemas/Input_Tool3"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "contents"
        ],
        "type": "object"
      },
      "Input_GenerateContentRequestBody4": {
        "additionalProperties": true,
        "properties": {
          "audio": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ChatAudioParam"
              },
              {
                "type": "null"
              }
            ]
          },
          "frequency_penalty": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "function_call": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_FunctionCallChoice"
              },
              {
                "type": "null"
              }
            ]
          },
          "functions": {
            "items": {
              "$ref": "#/components/schemas/Input_LegacyFunction"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "logit_bias": {
            "additionalProperties": {
              "format": "double",
              "type": "number"
            },
            "type": [
              "object",
              "null"
            ]
          },
          "logprobs": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "max_completion_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "max_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "messages": {
            "items": {
              "$ref": "#/components/schemas/Input_ChatMessage"
            },
            "type": "array"
          },
          "metadata": {
            "additionalProperties": {
              "type": "string"
            },
            "type": [
              "object",
              "null"
            ]
          },
          "modalities": {
            "items": {
              "$ref": "#/components/schemas/Input_Modality2"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "model": {
            "type": "string"
          },
          "moderation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Moderation2"
              },
              {
                "type": "null"
              }
            ]
          },
          "n": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "parallel_tool_calls": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "prediction": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Prediction"
              },
              {
                "type": "null"
              }
            ]
          },
          "presence_penalty": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "prompt_cache_key": {
            "type": [
              "string",
              "null"
            ]
          },
          "prompt_cache_options": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_PromptCacheOptions2"
              },
              {
                "type": "null"
              }
            ]
          },
          "prompt_cache_retention": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_PromptCacheRetention2"
              },
              {
                "type": "null"
              }
            ]
          },
          "reasoning_effort": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ReasoningEffort2"
              },
              {
                "type": "null"
              }
            ]
          },
          "response_format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ResponseFormat"
              },
              {
                "type": "null"
              }
            ]
          },
          "safety_identifier": {
            "type": [
              "string",
              "null"
            ]
          },
          "seed": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "service_tier": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ServiceTier4"
              },
              {
                "type": "null"
              }
            ]
          },
          "stop": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Stop"
              },
              {
                "type": "null"
              }
            ]
          },
          "store": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "stream": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "stream_options": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_StreamOptions2"
              },
              {
                "type": "null"
              }
            ]
          },
          "temperature": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "tool_choice": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolChoice3"
              },
              {
                "type": "null"
              }
            ]
          },
          "tools": {
            "items": {
              "$ref": "#/components/schemas/Input_ChatTool"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "top_logprobs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "top_p": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "user": {
            "type": [
              "string",
              "null"
            ]
          },
          "verbosity": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Verbosity"
              },
              {
                "type": "null"
              }
            ]
          },
          "web_search_options": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_WebSearchOptions"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "messages",
          "model"
        ],
        "type": "object"
      },
      "Input_GenerateTruncation": {
        "enum": [
          "auto",
          "disabled"
        ],
        "type": "string"
      },
      "Input_GenerationConfig": {
        "additionalProperties": true,
        "properties": {
          "_responseJsonSchema": true,
          "audioTranscriptionConfig": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_AudioTranscriptionConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "candidateCount": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "enableAffectiveDialog": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "enableEnhancedCivicAnswers": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "frequencyPenalty": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "imageConfig": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ImageConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "logprobs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "maxOutputTokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "mediaResolution": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_GenerationMediaResolution"
              },
              {
                "type": "null"
              }
            ]
          },
          "presencePenalty": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "responseFormat": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ResponseFormatConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "responseJsonSchema": true,
          "responseLogprobs": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "responseMimeType": {
            "type": [
              "string",
              "null"
            ]
          },
          "responseModalities": {
            "items": {
              "$ref": "#/components/schemas/Input_Modality"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "responseSchema": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Schema"
              },
              {
                "type": "null"
              }
            ]
          },
          "seed": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "speechConfig": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_SpeechConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "stopSequences": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "temperature": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "thinkingConfig": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ThinkingConfig2"
              },
              {
                "type": "null"
              }
            ]
          },
          "topK": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "topP": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "translationConfig": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_TranslationConfig"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_GenerationMediaResolution": {
        "enum": [
          "MEDIA_RESOLUTION_UNSPECIFIED",
          "MEDIA_RESOLUTION_LOW",
          "MEDIA_RESOLUTION_MEDIUM",
          "MEDIA_RESOLUTION_HIGH"
        ],
        "type": "string"
      },
      "Input_GoogleMaps": {
        "additionalProperties": true,
        "properties": {
          "enableWidget": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_GoogleSearch": {
        "additionalProperties": true,
        "properties": {
          "searchTypes": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_SearchTypes"
              },
              {
                "type": "null"
              }
            ]
          },
          "timeRangeFilter": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Interval"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_GoogleSearchRetrieval": {
        "additionalProperties": true,
        "properties": {
          "dynamicRetrievalConfig": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_DynamicRetrievalConfig"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_Grammar": {
        "additionalProperties": true,
        "properties": {
          "definition": {
            "type": "string"
          },
          "syntax": {
            "$ref": "#/components/schemas/Input_GrammarSyntax2"
          }
        },
        "required": [
          "definition",
          "syntax"
        ],
        "type": "object"
      },
      "Input_GrammarFormat": {
        "additionalProperties": true,
        "properties": {
          "definition": {
            "type": "string"
          },
          "syntax": {
            "$ref": "#/components/schemas/Input_GrammarSyntax"
          },
          "type": {
            "$ref": "#/components/schemas/Input_GrammarFormatType"
          }
        },
        "required": [
          "definition",
          "syntax",
          "type"
        ],
        "type": "object"
      },
      "Input_GrammarFormat2": {
        "additionalProperties": true,
        "properties": {
          "grammar": {
            "$ref": "#/components/schemas/Input_Grammar"
          },
          "type": {
            "$ref": "#/components/schemas/Input_GrammarFormatType2"
          }
        },
        "required": [
          "type",
          "grammar"
        ],
        "type": "object"
      },
      "Input_GrammarFormatType": {
        "enum": [
          "grammar"
        ],
        "type": "string"
      },
      "Input_GrammarFormatType2": {
        "enum": [
          "grammar"
        ],
        "type": "string"
      },
      "Input_GrammarSyntax": {
        "enum": [
          "lark",
          "regex"
        ],
        "type": "string"
      },
      "Input_GrammarSyntax2": {
        "enum": [
          "lark",
          "regex"
        ],
        "type": "string"
      },
      "Input_HarmBlockThreshold": {
        "enum": [
          "HARM_BLOCK_THRESHOLD_UNSPECIFIED",
          "BLOCK_LOW_AND_ABOVE",
          "BLOCK_MEDIUM_AND_ABOVE",
          "BLOCK_ONLY_HIGH",
          "BLOCK_NONE",
          "OFF"
        ],
        "type": "string"
      },
      "Input_HarmCategory": {
        "enum": [
          "HARM_CATEGORY_UNSPECIFIED",
          "HARM_CATEGORY_HARASSMENT",
          "HARM_CATEGORY_HATE_SPEECH",
          "HARM_CATEGORY_SEXUALLY_EXPLICIT",
          "HARM_CATEGORY_DANGEROUS_CONTENT",
          "HARM_CATEGORY_CIVIC_INTEGRITY",
          "HARM_CATEGORY_DEROGATORY",
          "HARM_CATEGORY_TOXICITY",
          "HARM_CATEGORY_VIOLENCE",
          "HARM_CATEGORY_SEXUAL",
          "HARM_CATEGORY_MEDICAL",
          "HARM_CATEGORY_DANGEROUS",
          "HARM_CATEGORY_JAILBREAK"
        ],
        "type": "string"
      },
      "Input_HistoryConfig": {
        "additionalProperties": true,
        "properties": {
          "initialHistoryInClientContent": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_HistoryDelete": {
        "description": "Request history rows to delete, by the ids a listing returned.",
        "properties": {
          "ids": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "ids"
        ],
        "type": "object"
      },
      "Input_HybridSearch": {
        "additionalProperties": true,
        "properties": {
          "embedding_weight": {
            "type": "number"
          },
          "text_weight": {
            "type": "number"
          }
        },
        "required": [
          "embedding_weight",
          "text_weight"
        ],
        "type": "object"
      },
      "Input_ImageAction": {
        "enum": [
          "generate",
          "edit",
          "auto"
        ],
        "type": "string"
      },
      "Input_ImageBackground": {
        "enum": [
          "transparent",
          "opaque",
          "auto"
        ],
        "type": "string"
      },
      "Input_ImageBackground2": {
        "enum": [
          "transparent",
          "opaque",
          "auto"
        ],
        "type": "string"
      },
      "Input_ImageBlock": {
        "additionalProperties": true,
        "properties": {
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "source": {
            "$ref": "#/components/schemas/Input_ImageSource"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ImageBlockType"
          }
        },
        "required": [
          "type",
          "source"
        ],
        "type": "object"
      },
      "Input_ImageBlockType": {
        "enum": [
          "image"
        ],
        "type": "string"
      },
      "Input_ImageConfig": {
        "additionalProperties": true,
        "properties": {
          "aspectRatio": {
            "type": [
              "string",
              "null"
            ]
          },
          "imageSize": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_ImageDetail": {
        "enum": [
          "low",
          "high",
          "auto",
          "original"
        ],
        "type": "string"
      },
      "Input_ImageDetail2": {
        "enum": [
          "auto",
          "low",
          "high"
        ],
        "type": "string"
      },
      "Input_ImageDetail3": {
        "enum": [
          "auto",
          "low",
          "high",
          "original"
        ],
        "type": "string"
      },
      "Input_ImageDetail4": {
        "description": "Source: `openai/types/responses/image_detail.py`, `ImageDetail`.",
        "enum": [
          "low",
          "high",
          "auto",
          "original"
        ],
        "type": "string"
      },
      "Input_ImageGenerationCall": {
        "additionalProperties": true,
        "properties": {
          "action": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ImageAction"
              },
              {
                "type": "null"
              }
            ]
          },
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "background": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ImageBackground"
              },
              {
                "type": "null"
              }
            ]
          },
          "error": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ImageGenerationCallError"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": "string"
          },
          "output_format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ImageOutputFormat"
              },
              {
                "type": "null"
              }
            ]
          },
          "quality": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ImageQuality"
              },
              {
                "type": "null"
              }
            ]
          },
          "result": {
            "type": [
              "string",
              "null"
            ]
          },
          "revised_prompt": {
            "type": [
              "string",
              "null"
            ]
          },
          "size": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "$ref": "#/components/schemas/Input_ImageGenerationStatus"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ImageGenerationCallType"
          }
        },
        "required": [
          "type",
          "id",
          "status",
          "result"
        ],
        "type": "object"
      },
      "Input_ImageGenerationCallError": {
        "additionalProperties": true,
        "properties": {
          "code": {
            "type": [
              "string",
              "null"
            ]
          },
          "message": {
            "type": "string"
          },
          "moderation_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ImageModerationDetails"
              },
              {
                "type": "null"
              }
            ]
          },
          "param": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "message",
          "type",
          "code",
          "param"
        ],
        "type": "object"
      },
      "Input_ImageGenerationCallType": {
        "enum": [
          "image_generation_call"
        ],
        "type": "string"
      },
      "Input_ImageGenerationStatus": {
        "enum": [
          "in_progress",
          "completed",
          "generating",
          "failed"
        ],
        "type": "string"
      },
      "Input_ImageGenerationTool": {
        "additionalProperties": true,
        "properties": {
          "action": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ImageAction"
              },
              {
                "type": "null"
              }
            ]
          },
          "background": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ImageBackground"
              },
              {
                "type": "null"
              }
            ]
          },
          "input_fidelity": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_InputFidelity"
              },
              {
                "type": "null"
              }
            ]
          },
          "input_image_mask": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_InputImageMask"
              },
              {
                "type": "null"
              }
            ]
          },
          "model": {
            "type": [
              "string",
              "null"
            ]
          },
          "moderation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Moderation"
              },
              {
                "type": "null"
              }
            ]
          },
          "output_compression": {
            "type": [
              "number",
              "null"
            ]
          },
          "output_format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ImageOutputFormat"
              },
              {
                "type": "null"
              }
            ]
          },
          "partial_images": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "quality": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ImageQuality"
              },
              {
                "type": "null"
              }
            ]
          },
          "size": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_ImageMediaType": {
        "enum": [
          "image/jpeg",
          "image/png",
          "image/gif",
          "image/webp"
        ],
        "type": "string"
      },
      "Input_ImageMimeType": {
        "enum": [
          "MIME_TYPE_UNSPECIFIED",
          "IMAGE_JPEG"
        ],
        "type": "string"
      },
      "Input_ImageModeration": {
        "enum": [
          "low",
          "auto"
        ],
        "type": "string"
      },
      "Input_ImageModerationDetails": {
        "additionalProperties": true,
        "properties": {
          "categories": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "moderation_stage": {
            "$ref": "#/components/schemas/Input_ImageModerationStage"
          }
        },
        "required": [
          "categories",
          "moderation_stage"
        ],
        "type": "object"
      },
      "Input_ImageModerationStage": {
        "enum": [
          "input",
          "output",
          "unknown"
        ],
        "type": "string"
      },
      "Input_ImageOutputFormat": {
        "enum": [
          "png",
          "webp",
          "jpeg"
        ],
        "type": "string"
      },
      "Input_ImageOutputFormat2": {
        "enum": [
          "png",
          "jpeg",
          "webp"
        ],
        "type": "string"
      },
      "Input_ImagePart": {
        "additionalProperties": true,
        "properties": {
          "image_url": {
            "$ref": "#/components/schemas/Input_ImageUrl"
          },
          "prompt_cache_breakpoint": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_PromptCacheBreakpoint2"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_ImagePartType"
          }
        },
        "required": [
          "type",
          "image_url"
        ],
        "type": "object"
      },
      "Input_ImagePartType": {
        "enum": [
          "image_url"
        ],
        "type": "string"
      },
      "Input_ImageQuality": {
        "enum": [
          "xhigh",
          "max",
          "low",
          "medium",
          "high",
          "auto"
        ],
        "type": "string"
      },
      "Input_ImageQuality2": {
        "enum": [
          "standard",
          "hd",
          "low",
          "medium",
          "high",
          "auto",
          "xhigh",
          "max"
        ],
        "type": "string"
      },
      "Input_ImageReference": {
        "additionalProperties": true,
        "properties": {
          "file_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "image_url": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_ImageResponseFormat": {
        "additionalProperties": true,
        "properties": {
          "aspectRatio": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_AspectRatio"
              },
              {
                "type": "null"
              }
            ]
          },
          "delivery": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Delivery"
              },
              {
                "type": "null"
              }
            ]
          },
          "imageSize": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ImageSize"
              },
              {
                "type": "null"
              }
            ]
          },
          "mimeType": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ImageMimeType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_ImageResponseFormat2": {
        "enum": [
          "url",
          "b64_json"
        ],
        "type": "string"
      },
      "Input_ImageSearch": {
        "additionalProperties": true,
        "type": "object"
      },
      "Input_ImageSize": {
        "enum": [
          "IMAGE_SIZE_UNSPECIFIED",
          "IMAGE_SIZE_FIVE_TWELVE",
          "IMAGE_SIZE_ONE_K",
          "IMAGE_SIZE_TWO_K",
          "IMAGE_SIZE_FOUR_K"
        ],
        "type": "string"
      },
      "Input_ImageSource": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Input_Base64Source",
            "properties": {
              "type": {
                "const": "base64",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_UrlSource",
            "properties": {
              "type": {
                "const": "url",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_FileSource",
            "properties": {
              "type": {
                "const": "file",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Input_ImageStyle": {
        "enum": [
          "vivid",
          "natural"
        ],
        "type": "string"
      },
      "Input_ImageUrl": {
        "additionalProperties": true,
        "properties": {
          "detail": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ImageDetail2"
              },
              {
                "type": "null"
              }
            ]
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "url"
        ],
        "type": "object"
      },
      "Input_ImportMode": {
        "description": "What an import does with a row the destination already has under that id.",
        "oneOf": [
          {
            "const": "merge",
            "description": "Write every row of the document, leaving anything it does not mention\nalone. This is the additive mode: two deployments can be merged.",
            "type": "string"
          },
          {
            "const": "replace",
            "description": "The same, and then delete every row of an exported kind that the\ndocument does not mention. The destination becomes the document.\nIdentity, usage and capture tables are never touched by it.",
            "type": "string"
          }
        ]
      },
      "Input_ImportRequest": {
        "properties": {
          "export": {
            "$ref": "#/components/schemas/Input_ConfigurationExportDto"
          },
          "mode": {
            "$ref": "#/components/schemas/Input_ImportMode",
            "default": "merge"
          },
          "sourceMasterKey": {
            "default": null,
            "description": "The 32-byte master key the source sealed its credentials with, in\nstandard base64. With it every secret is opened and resealed under this\ninstance's codec; without it the blobs are stored verbatim, which only\nworks if both instances share a key.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "export"
        ],
        "type": "object"
      },
      "Input_InjectRequest": {
        "additionalProperties": true,
        "properties": {
          "input": {
            "items": {
              "$ref": "#/components/schemas/Input_InputItem"
            },
            "type": "array"
          },
          "response_id": {
            "type": "string"
          }
        },
        "required": [
          "response_id",
          "input"
        ],
        "type": "object"
      },
      "Input_InlineSkill": {
        "additionalProperties": true,
        "properties": {
          "description": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Input_InlineSkillSource"
          },
          "type": {
            "$ref": "#/components/schemas/Input_InlineSkillType"
          }
        },
        "required": [
          "description",
          "name",
          "source",
          "type"
        ],
        "type": "object"
      },
      "Input_InlineSkillSource": {
        "additionalProperties": true,
        "properties": {
          "data": {
            "type": "string"
          },
          "media_type": {
            "$ref": "#/components/schemas/Input_ZipMediaType"
          },
          "type": {
            "$ref": "#/components/schemas/Input_Base64SourceType"
          }
        },
        "required": [
          "data",
          "media_type",
          "type"
        ],
        "type": "object"
      },
      "Input_InlineSkillType": {
        "enum": [
          "inline"
        ],
        "type": "string"
      },
      "Input_Input": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "$ref": "#/components/schemas/Input_InputItem"
            },
            "type": "array"
          }
        ]
      },
      "Input_InputAudio": {
        "additionalProperties": true,
        "properties": {
          "data": {
            "type": "string"
          },
          "format": {
            "$ref": "#/components/schemas/Input_AudioFormat"
          }
        },
        "required": [
          "data",
          "format"
        ],
        "type": "object"
      },
      "Input_InputAudioBufferAppendEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/input_audio_buffer_append_event.py`, `InputAudioBufferAppendEvent`.",
        "properties": {
          "audio": {
            "type": "string"
          },
          "event_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_InputAudioBufferAppendEventType"
          }
        },
        "required": [
          "audio",
          "type"
        ],
        "type": "object"
      },
      "Input_InputAudioBufferAppendEventType": {
        "enum": [
          "input_audio_buffer.append"
        ],
        "type": "string"
      },
      "Input_InputAudioBufferClearEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/input_audio_buffer_clear_event.py`, `InputAudioBufferClearEvent`.",
        "properties": {
          "event_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_InputAudioBufferClearEventType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_InputAudioBufferClearEventType": {
        "enum": [
          "input_audio_buffer.clear"
        ],
        "type": "string"
      },
      "Input_InputAudioBufferCommitEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/input_audio_buffer_commit_event.py`, `InputAudioBufferCommitEvent`.",
        "properties": {
          "event_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_InputAudioBufferCommitEventType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_InputAudioBufferCommitEventType": {
        "enum": [
          "input_audio_buffer.commit"
        ],
        "type": "string"
      },
      "Input_InputAudioPart": {
        "additionalProperties": true,
        "properties": {
          "input_audio": {
            "$ref": "#/components/schemas/Input_InputAudio"
          },
          "prompt_cache_breakpoint": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_PromptCacheBreakpoint2"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_InputAudioPartType"
          }
        },
        "required": [
          "type",
          "input_audio"
        ],
        "type": "object"
      },
      "Input_InputAudioPartType": {
        "enum": [
          "input_audio"
        ],
        "type": "string"
      },
      "Input_InputContent": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_ResponseInputText"
          },
          {
            "$ref": "#/components/schemas/Input_ResponseInputImage"
          },
          {
            "$ref": "#/components/schemas/Input_ResponseInputFile"
          }
        ]
      },
      "Input_InputFidelity": {
        "enum": [
          "low",
          "high"
        ],
        "type": "string"
      },
      "Input_InputFidelity2": {
        "enum": [
          "high",
          "low"
        ],
        "type": "string"
      },
      "Input_InputImageMask": {
        "additionalProperties": true,
        "properties": {
          "file_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "image_url": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_InputItem": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_MultiAgentCall"
          },
          {
            "$ref": "#/components/schemas/Input_MultiAgentCallOutput"
          },
          {
            "$ref": "#/components/schemas/Input_AgentMessage"
          },
          {
            "$ref": "#/components/schemas/Input_ConfigurationUpdate"
          },
          {
            "$ref": "#/components/schemas/Input_ResponseOutputMessage"
          },
          {
            "$ref": "#/components/schemas/Input_InputMessage"
          },
          {
            "$ref": "#/components/schemas/Input_EasyInputMessage"
          },
          {
            "$ref": "#/components/schemas/Input_FunctionCall"
          },
          {
            "$ref": "#/components/schemas/Input_FunctionCallOutput"
          },
          {
            "$ref": "#/components/schemas/Input_ReasoningItem"
          },
          {
            "$ref": "#/components/schemas/Input_ItemReference"
          },
          {
            "$ref": "#/components/schemas/Input_Compaction"
          },
          {
            "$ref": "#/components/schemas/Input_ComputerCall"
          },
          {
            "$ref": "#/components/schemas/Input_ComputerCallOutput"
          },
          {
            "$ref": "#/components/schemas/Input_WebSearchCall"
          },
          {
            "$ref": "#/components/schemas/Input_FileSearchCall"
          },
          {
            "$ref": "#/components/schemas/Input_ImageGenerationCall"
          },
          {
            "$ref": "#/components/schemas/Input_CodeInterpreterCall"
          },
          {
            "$ref": "#/components/schemas/Input_CustomToolCall"
          },
          {
            "$ref": "#/components/schemas/Input_CustomToolCallOutput"
          },
          {
            "$ref": "#/components/schemas/Input_ToolSearchCall"
          },
          {
            "$ref": "#/components/schemas/Input_ToolSearchOutput"
          },
          {
            "$ref": "#/components/schemas/Input_AdditionalTools"
          },
          {
            "$ref": "#/components/schemas/Input_LocalShellCall"
          },
          {
            "$ref": "#/components/schemas/Input_LocalShellCallOutput"
          },
          {
            "$ref": "#/components/schemas/Input_ShellCall"
          },
          {
            "$ref": "#/components/schemas/Input_ShellCallOutput"
          },
          {
            "$ref": "#/components/schemas/Input_ApplyPatchCall"
          },
          {
            "$ref": "#/components/schemas/Input_ApplyPatchCallOutput"
          },
          {
            "$ref": "#/components/schemas/Input_McpListTools"
          },
          {
            "$ref": "#/components/schemas/Input_McpApprovalRequest"
          },
          {
            "$ref": "#/components/schemas/Input_McpApprovalResponse"
          },
          {
            "$ref": "#/components/schemas/Input_McpCall"
          },
          {
            "$ref": "#/components/schemas/Input_CompactionTrigger"
          },
          {
            "$ref": "#/components/schemas/Input_Program"
          },
          {
            "$ref": "#/components/schemas/Input_ProgramOutput"
          }
        ]
      },
      "Input_InputMessage": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/Input_InputContent"
            },
            "type": "array"
          },
          "role": {
            "$ref": "#/components/schemas/Input_InputMessageRole"
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_OutputMessageStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_MessageType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "content",
          "role"
        ],
        "type": "object"
      },
      "Input_InputMessageRole": {
        "enum": [
          "user",
          "system",
          "developer"
        ],
        "type": "string"
      },
      "Input_InputTokensThreshold": {
        "additionalProperties": true,
        "properties": {
          "type": {
            "$ref": "#/components/schemas/Input_InputTokensType"
          },
          "value": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "type",
          "value"
        ],
        "type": "object"
      },
      "Input_InputTokensType": {
        "enum": [
          "input_tokens"
        ],
        "type": "string"
      },
      "Input_InstanceSettingsDto": {
        "additionalProperties": false,
        "description": "Identity, network, execution limits and maintenance. `config_revision` is\nread-only: it is the write path's own counter.",
        "properties": {
          "allowedHeaders": {
            "default": []
          },
          "alwaysSecureCookie": {
            "default": false,
            "description": "Absent in an export from a build without it, which reads as off.",
            "type": "boolean"
          },
          "capturePayloadMaxMb": {
            "default": 2048,
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "capturePayloadRetentionDays": {
            "default": 7,
            "format": "uint32",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "configRevision": {
            "format": "int64",
            "type": "integer"
          },
          "connectionProfileId": {
            "type": [
              "string",
              "null"
            ]
          },
          "corsOrigins": true,
          "defaultVocabularyFileId": {
            "type": [
              "string",
              "null"
            ]
          },
          "enableAutoUpdateCheck": {
            "type": "boolean"
          },
          "enableSettlement": {
            "type": "boolean"
          },
          "enableTokenizerDownload": {
            "type": "boolean"
          },
          "enableTokenizerVocabs": {
            "type": "boolean"
          },
          "enableUsage": {
            "type": "boolean"
          },
          "hasTokenizerAuthToken": {
            "description": "The vocabulary source token is sealed like a credential secret; only\nits presence is reported.",
            "type": "boolean"
          },
          "instanceName": {
            "type": "string"
          },
          "maxAttempts": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "maxDatabaseSizeMb": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "maxMultipartParts": {
            "default": 64,
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "maxRequestBodyBytes": {
            "default": 52428800,
            "format": "int64",
            "type": "integer"
          },
          "maxResponseBodyBytes": {
            "default": 268435456,
            "format": "int64",
            "type": "integer"
          },
          "maxStreamEventBytes": {
            "default": 33554432,
            "format": "int64",
            "type": "integer"
          },
          "maxUploadBodyBytes": {
            "default": 536870912,
            "format": "int64",
            "type": "integer"
          },
          "maxWsFrameBytes": {
            "default": 33554432,
            "format": "int64",
            "type": "integer"
          },
          "oauthClientAllowlist": true,
          "portalRecentRequestsEnabled": {
            "type": "boolean"
          },
          "proxy": {
            "default": null
          },
          "quotaObservationRetentionDays": {
            "default": 90,
            "description": "Days of upstream quota observations to keep; None keeps them all.\nCycles are never pruned. Absent in an older export, which reads as\nthe 90-day default.",
            "format": "uint32",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "requestTimeoutMs": {
            "default": 1200000,
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "retentionDays": {
            "description": "Days of completed request captures to keep; None keeps them all.",
            "format": "uint32",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "streamIdleTimeoutMs": {
            "default": 300000,
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "trustedProxies": true,
          "updateChannel": {
            "type": [
              "string",
              "null"
            ]
          },
          "updateSource": {
            "type": [
              "string",
              "null"
            ]
          },
          "updateVerifySignature": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "usageRetentionDays": {
            "default": null,
            "description": "Days of usage records to keep; None keeps them all. Usage statistics\nand totals are computed from these. Absent in an older export, which\nreads as keeping everything.",
            "format": "uint32",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "instanceName",
          "corsOrigins",
          "trustedProxies",
          "maxAttempts",
          "enableSettlement",
          "enableUsage",
          "configRevision",
          "enableTokenizerVocabs",
          "enableTokenizerDownload",
          "hasTokenizerAuthToken",
          "enableAutoUpdateCheck",
          "portalRecentRequestsEnabled"
        ],
        "type": "object"
      },
      "Input_InstanceSettingsPatch": {
        "additionalProperties": false,
        "properties": {
          "allowedHeaders": {
            "default": null
          },
          "alwaysSecureCookie": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "capturePayloadMaxMb": {
            "default": null,
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "capturePayloadRetentionDays": {
            "default": null,
            "format": "uint32",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "connectionProfileId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "corsOrigins": {
            "default": null
          },
          "defaultVocabularyFileId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "enableAutoUpdateCheck": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "enableSettlement": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "enableTokenizerDownload": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "enableTokenizerVocabs": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "enableUsage": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "instanceName": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "maxAttempts": {
            "default": null,
            "format": "uint32",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "maxDatabaseSizeMb": {
            "default": null,
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "maxMultipartParts": {
            "default": null,
            "format": "uint32",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "maxRequestBodyBytes": {
            "default": null,
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "maxResponseBodyBytes": {
            "default": null,
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "maxStreamEventBytes": {
            "default": null,
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "maxUploadBodyBytes": {
            "default": null,
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "maxWsFrameBytes": {
            "default": null,
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "oauthClientAllowlist": {
            "default": null
          },
          "portalRecentRequestsEnabled": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "proxy": {
            "default": null
          },
          "quotaObservationRetentionDays": {
            "default": null,
            "description": "`null` keeps every observation.",
            "format": "uint32",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "requestTimeoutMs": {
            "default": null,
            "format": "uint32",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "retentionDays": {
            "default": null,
            "format": "uint32",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "streamIdleTimeoutMs": {
            "default": null,
            "format": "uint32",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "tokenizerAuthToken": {
            "default": null,
            "description": "Plaintext on the way in, sealed before it reaches the row. `null`\nremoves it and downloads anonymously again.",
            "type": [
              "string",
              "null"
            ]
          },
          "trustedProxies": {
            "default": null
          },
          "updateChannel": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "updateSource": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "updateVerifySignature": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "usageRetentionDays": {
            "default": null,
            "description": "`null` keeps every usage record.",
            "format": "uint32",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_InternalChatMessageMetadataPassthrough": {
        "additionalProperties": true,
        "properties": {
          "cell_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "content_item_kinds": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "create_time": {
            "type": [
              "number",
              "null"
            ]
          },
          "executed_tool_calls": {
            "items": {
              "$ref": "#/components/schemas/Input_ExecutedToolCall"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "tool_calls_complete": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "turn_id": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_InterruptMode": {
        "enum": [
          "discard_partial_items"
        ],
        "type": "string"
      },
      "Input_InterruptRequest": {
        "properties": {
          "mode": {
            "$ref": "#/components/schemas/Input_InterruptMode"
          },
          "response_id": {
            "type": "string"
          }
        },
        "required": [
          "response_id",
          "mode"
        ],
        "type": "object"
      },
      "Input_Interval": {
        "additionalProperties": true,
        "properties": {
          "endTime": {
            "type": [
              "string",
              "null"
            ]
          },
          "startTime": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_ItemReference": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": "string"
          },
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ItemReferenceType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id"
        ],
        "type": "object"
      },
      "Input_ItemReferenceType": {
        "enum": [
          "item_reference"
        ],
        "type": "string"
      },
      "Input_ItemStatus": {
        "enum": [
          "in_progress",
          "completed",
          "incomplete"
        ],
        "type": "string"
      },
      "Input_JsonObjectResponseFormat": {
        "additionalProperties": true,
        "properties": {
          "type": {
            "$ref": "#/components/schemas/Input_JsonObjectResponseType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_JsonObjectResponseType": {
        "enum": [
          "json_object"
        ],
        "type": "string"
      },
      "Input_JsonOutputFormat": {
        "additionalProperties": true,
        "properties": {
          "schema": true,
          "type": {
            "$ref": "#/components/schemas/Input_JsonOutputFormatType"
          }
        },
        "required": [
          "type",
          "schema"
        ],
        "type": "object"
      },
      "Input_JsonOutputFormatType": {
        "enum": [
          "json_schema"
        ],
        "type": "string"
      },
      "Input_JsonSchema": {
        "additionalProperties": true,
        "properties": {
          "$anchor": {
            "type": [
              "string",
              "null"
            ]
          },
          "$comment": {
            "type": [
              "string",
              "null"
            ]
          },
          "$defs": true,
          "$dynamicAnchor": {
            "type": [
              "string",
              "null"
            ]
          },
          "$dynamicRef": {
            "type": [
              "string",
              "null"
            ]
          },
          "$id": {
            "type": [
              "string",
              "null"
            ]
          },
          "$ref": {
            "type": [
              "string",
              "null"
            ]
          },
          "$schema": {
            "type": [
              "string",
              "null"
            ]
          },
          "additionalProperties": true,
          "allOf": {
            "items": true,
            "type": [
              "array",
              "null"
            ]
          },
          "anyOf": {
            "items": true,
            "type": [
              "array",
              "null"
            ]
          },
          "const": true,
          "default": true,
          "definitions": true,
          "dependencies": true,
          "dependentRequired": true,
          "dependentSchemas": true,
          "deprecated": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "else": true,
          "enum": {
            "items": true,
            "type": [
              "array",
              "null"
            ]
          },
          "examples": {
            "items": true,
            "type": [
              "array",
              "null"
            ]
          },
          "if": true,
          "maxProperties": {
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "minProperties": {
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "not": true,
          "oneOf": {
            "items": true,
            "type": [
              "array",
              "null"
            ]
          },
          "patternProperties": true,
          "properties": true,
          "propertyNames": true,
          "readOnly": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "required": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "then": true,
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_JsonSchemaType"
          },
          "unevaluatedProperties": true,
          "writeOnly": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_JsonSchemaFormat": {
        "additionalProperties": true,
        "properties": {
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "schema": {
            "additionalProperties": true,
            "type": [
              "object",
              "null"
            ]
          },
          "strict": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "Input_JsonSchemaResponseFormat": {
        "additionalProperties": true,
        "properties": {
          "json_schema": {
            "$ref": "#/components/schemas/Input_JsonSchemaFormat"
          },
          "type": {
            "$ref": "#/components/schemas/Input_JsonSchemaResponseType"
          }
        },
        "required": [
          "type",
          "json_schema"
        ],
        "type": "object"
      },
      "Input_JsonSchemaResponseType": {
        "enum": [
          "json_schema"
        ],
        "type": "string"
      },
      "Input_JsonSchemaType": {
        "enum": [
          "object"
        ],
        "type": "string"
      },
      "Input_KeypressAction": {
        "additionalProperties": true,
        "properties": {
          "keys": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "keys"
        ],
        "type": "object"
      },
      "Input_Language": {
        "enum": [
          "LANGUAGE_UNSPECIFIED",
          "PYTHON"
        ],
        "type": "string"
      },
      "Input_LanguageAuto": {
        "additionalProperties": true,
        "type": "object"
      },
      "Input_LanguageHints": {
        "additionalProperties": true,
        "properties": {
          "languageCodes": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_LatLng": {
        "additionalProperties": true,
        "properties": {
          "latitude": {
            "format": "double",
            "type": "number"
          },
          "longitude": {
            "format": "double",
            "type": "number"
          }
        },
        "required": [
          "latitude",
          "longitude"
        ],
        "type": "object"
      },
      "Input_LegacyFunction": {
        "additionalProperties": true,
        "properties": {
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "parameters": {
            "additionalProperties": true,
            "type": [
              "object",
              "null"
            ]
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "Input_LegacyFunctionChoice": {
        "additionalProperties": true,
        "properties": {
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "Input_LiveActivityEnd": {
        "additionalProperties": true,
        "type": "object"
      },
      "Input_LiveActivityStart": {
        "additionalProperties": true,
        "type": "object"
      },
      "Input_LiveAllowedClientEvents": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        ]
      },
      "Input_LiveAllowedServerEvents": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "$ref": "#/components/schemas/Input_LiveServerEventSelector"
            },
            "type": "array"
          }
        ]
      },
      "Input_LiveAudio": {
        "additionalProperties": true,
        "properties": {
          "input": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_LiveAudioInput"
              },
              {
                "type": "null"
              }
            ]
          },
          "output": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_LiveAudioOutput"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_LiveAudioFormat": {
        "additionalProperties": true,
        "properties": {
          "rate": {
            "format": "uint32",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_LiveAudioInput": {
        "additionalProperties": true,
        "properties": {
          "format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_LiveAudioFormat"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_LiveAudioOutput": {
        "additionalProperties": true,
        "properties": {
          "format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_LiveAudioFormat"
              },
              {
                "type": "null"
              }
            ]
          },
          "voice": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_LiveVoice"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_LiveBlob": {
        "additionalProperties": true,
        "properties": {
          "data": {
            "type": [
              "string",
              "null"
            ]
          },
          "displayName": {
            "type": [
              "string",
              "null"
            ]
          },
          "mimeType": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_LiveClientConfig": {
        "additionalProperties": true,
        "properties": {
          "data_channel": {
            "$ref": "#/components/schemas/Input_LiveDataChannelConfig"
          }
        },
        "required": [
          "data_channel"
        ],
        "type": "object"
      },
      "Input_LiveClientEvent": {
        "additionalProperties": true,
        "properties": {
          "event_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "session": true,
          "type": {
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_LiveClientMessage": {
        "additionalProperties": true,
        "properties": {
          "clientContent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_BidiGenerateContentClientContent"
              },
              {
                "type": "null"
              }
            ]
          },
          "realtimeInput": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_BidiGenerateContentRealtimeInput"
              },
              {
                "type": "null"
              }
            ]
          },
          "setup": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_BidiGenerateContentSetup"
              },
              {
                "type": "null"
              }
            ]
          },
          "toolResponse": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_BidiGenerateContentToolResponse"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_LiveContent": {
        "additionalProperties": true,
        "properties": {
          "parts": {
            "items": {
              "$ref": "#/components/schemas/Input_LivePart"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "role": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_LiveCreateTransport": {
        "oneOf": [
          {
            "additionalProperties": true,
            "properties": {
              "sdp": {
                "type": "string"
              },
              "type": {
                "const": "webrtc",
                "type": "string"
              }
            },
            "required": [
              "type",
              "sdp"
            ],
            "type": "object"
          },
          {
            "additionalProperties": true,
            "properties": {
              "destination": {
                "type": "string"
              },
              "trunk": {
                "$ref": "#/components/schemas/Input_LiveSipTrunk"
              },
              "type": {
                "const": "sip",
                "type": "string"
              }
            },
            "required": [
              "type",
              "destination",
              "trunk"
            ],
            "type": "object"
          }
        ]
      },
      "Input_LiveDataChannelConfig": {
        "additionalProperties": true,
        "properties": {
          "allowed_client_events": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_LiveAllowedClientEvents"
              },
              {
                "type": "null"
              }
            ]
          },
          "allowed_server_events": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_LiveAllowedServerEvents"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_LiveDecisionTrigger": {
        "additionalProperties": true,
        "properties": {
          "decisions": {
            "$ref": "#/components/schemas/Input_LiveTriggerQuestions"
          },
          "event_type": {
            "$ref": "#/components/schemas/Input_LiveTriggerEvent"
          },
          "type": {
            "$ref": "#/components/schemas/Input_LiveTriggerType"
          }
        },
        "required": [
          "type",
          "event_type",
          "decisions"
        ],
        "type": "object"
      },
      "Input_LiveDecisionsConfig": {
        "additionalProperties": true,
        "properties": {
          "model": {
            "type": "string"
          },
          "questions": {
            "items": {
              "$ref": "#/components/schemas/Input_DecisionQuestion"
            },
            "type": "array"
          }
        },
        "required": [
          "model",
          "questions"
        ],
        "type": "object"
      },
      "Input_LiveDelegation": {
        "oneOf": [
          {
            "additionalProperties": true,
            "properties": {
              "type": {
                "const": "client",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "additionalProperties": true,
            "properties": {
              "responses": {
                "$ref": "#/components/schemas/Input_LiveResponsesConfig"
              },
              "type": {
                "const": "responses",
                "type": "string"
              }
            },
            "required": [
              "type",
              "responses"
            ],
            "type": "object"
          },
          {
            "additionalProperties": true,
            "properties": {
              "decisions": {
                "$ref": "#/components/schemas/Input_LiveDecisionsConfig"
              },
              "type": {
                "const": "decisions",
                "type": "string"
              }
            },
            "required": [
              "type",
              "decisions"
            ],
            "type": "object"
          }
        ]
      },
      "Input_LiveDelegation2": {
        "additionalProperties": true,
        "properties": {
          "ack_filler": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_LiveGenerationConfig": {
        "additionalProperties": true,
        "properties": {
          "_responseJsonSchema": true,
          "audioTranscriptionConfig": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_AudioTranscriptionConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "candidateCount": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "enableAffectiveDialog": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "enableEnhancedCivicAnswers": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "frequencyPenalty": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "imageConfig": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ImageConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "logprobs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "maxOutputTokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "mediaResolution": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_GenerationMediaResolution"
              },
              {
                "type": "null"
              }
            ]
          },
          "presencePenalty": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "responseFormat": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ResponseFormatConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "responseJsonSchema": true,
          "responseLogprobs": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "responseMimeType": {
            "type": [
              "string",
              "null"
            ]
          },
          "responseModalities": {
            "items": {
              "$ref": "#/components/schemas/Input_Modality"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "responseSchema": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Schema"
              },
              {
                "type": "null"
              }
            ]
          },
          "seed": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "speechConfig": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_LiveSpeechConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "stopSequences": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "temperature": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "thinkingConfig": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ThinkingConfig2"
              },
              {
                "type": "null"
              }
            ]
          },
          "topK": {
            "type": [
              "number",
              "null"
            ]
          },
          "topP": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "translationConfig": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_TranslationConfig"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_LiveInitialMessage": {
        "additionalProperties": true,
        "properties": {
          "content": {
            "items": {
              "$ref": "#/components/schemas/Input_LiveInitialText"
            },
            "type": "array"
          },
          "role": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "role",
          "content"
        ],
        "type": "object"
      },
      "Input_LiveInitialText": {
        "additionalProperties": true,
        "properties": {
          "text": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "text"
        ],
        "type": "object"
      },
      "Input_LiveInt64": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "format": "int64",
            "type": "integer"
          }
        ],
        "description": "ProtoJSON int64 fields allow decimal strings and numeric JSON inputs."
      },
      "Input_LiveMultiSpeakerVoiceConfig": {
        "additionalProperties": true,
        "properties": {
          "speakerVoiceConfigs": {
            "items": {
              "$ref": "#/components/schemas/Input_LiveSpeakerVoiceConfig"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_LivePart": {
        "additionalProperties": true,
        "properties": {
          "audioTranscription": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_BidiGenerateContentTranscription"
              },
              {
                "type": "null"
              }
            ]
          },
          "codeExecutionResult": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CodeExecutionResult2"
              },
              {
                "type": "null"
              }
            ]
          },
          "executableCode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ExecutableCode"
              },
              {
                "type": "null"
              }
            ]
          },
          "fileData": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_FileData"
              },
              {
                "type": "null"
              }
            ]
          },
          "functionCall": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_FunctionCall2"
              },
              {
                "type": "null"
              }
            ]
          },
          "functionResponse": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_FunctionResponse"
              },
              {
                "type": "null"
              }
            ]
          },
          "inlineData": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_LiveBlob"
              },
              {
                "type": "null"
              }
            ]
          },
          "mediaProcessing": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_MediaProcessing"
              },
              {
                "type": "null"
              }
            ]
          },
          "mediaResolution": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_MediaResolution"
              },
              {
                "type": "null"
              }
            ]
          },
          "partMetadata": {
            "additionalProperties": true,
            "type": [
              "object",
              "null"
            ]
          },
          "speechMetadata": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_SpeechMetadata"
              },
              {
                "type": "null"
              }
            ]
          },
          "text": {
            "type": [
              "string",
              "null"
            ]
          },
          "thought": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "thoughtSignature": {
            "type": [
              "string",
              "null"
            ]
          },
          "toolCall": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolCall"
              },
              {
                "type": "null"
              }
            ]
          },
          "toolResponse": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolResponse"
              },
              {
                "type": "null"
              }
            ]
          },
          "videoMetadata": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_VideoMetadata"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_LivePrebuiltVoiceConfig": {
        "additionalProperties": true,
        "properties": {
          "voiceName": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_LiveResponsesConfig": {
        "additionalProperties": true,
        "properties": {
          "instructions": {
            "type": [
              "string",
              "null"
            ]
          },
          "max_output_tokens": {
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "model": {
            "type": "string"
          },
          "parallel_tool_calls": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "reasoning": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ReasoningConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "service_tier": {
            "type": [
              "string",
              "null"
            ]
          },
          "text": true,
          "tool_choice": true,
          "tools": {
            "items": {
              "$ref": "#/components/schemas/Input_Tool"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "model"
        ],
        "type": "object"
      },
      "Input_LiveServerEventSelector": {
        "additionalProperties": true,
        "properties": {
          "response_event": true,
          "type": {
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_LiveSessionConfig": {
        "additionalProperties": true,
        "properties": {
          "audio": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_LiveAudio"
              },
              {
                "type": "null"
              }
            ]
          },
          "client": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_LiveClientConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "delegation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_LiveDelegation"
              },
              {
                "type": "null"
              }
            ]
          },
          "initial_items": {
            "items": true,
            "type": [
              "array",
              "null"
            ]
          },
          "instructions": {
            "type": [
              "string",
              "null"
            ]
          },
          "model": {
            "type": "string"
          },
          "triggers": {
            "items": {
              "$ref": "#/components/schemas/Input_LiveDecisionTrigger"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "model"
        ],
        "type": "object"
      },
      "Input_LiveSessionCreateRequest": {
        "additionalProperties": true,
        "description": "Frameless WebRTC setup at `POST /v1/live`. Unlike Realtime, this session\nhas no required `type: realtime`. Source: samples/codex/codex-rs/codex-api/\nsrc/endpoint/realtime_websocket/methods_frameless_bidi.rs::session_json.",
        "properties": {
          "audio": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeAudioConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "delegation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_LiveDelegation2"
              },
              {
                "type": "null"
              }
            ]
          },
          "initial_items": {
            "items": {
              "$ref": "#/components/schemas/Input_LiveInitialMessage"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "instructions": {
            "type": [
              "string",
              "null"
            ]
          },
          "model": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_LiveSipDigest": {
        "additionalProperties": true,
        "properties": {
          "password": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "username": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "username",
          "password"
        ],
        "type": "object"
      },
      "Input_LiveSipTrunk": {
        "additionalProperties": true,
        "properties": {
          "auth": {
            "$ref": "#/components/schemas/Input_LiveSipDigest"
          },
          "caller_number": {
            "type": "string"
          },
          "provider_url": {
            "type": "string"
          }
        },
        "required": [
          "provider_url",
          "caller_number",
          "auth"
        ],
        "type": "object"
      },
      "Input_LiveSpeakerVoiceConfig": {
        "additionalProperties": true,
        "properties": {
          "speaker": {
            "type": [
              "string",
              "null"
            ]
          },
          "voiceConfig": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_LiveVoiceConfig"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_LiveSpeechConfig": {
        "additionalProperties": true,
        "properties": {
          "languageCode": {
            "type": [
              "string",
              "null"
            ]
          },
          "multiSpeakerVoiceConfig": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_LiveMultiSpeakerVoiceConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "voiceConfig": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_LiveVoiceConfig"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_LiveTriggerEvent": {
        "enum": [
          "session.input_transcript.delta",
          "session.output_transcript.delta"
        ],
        "type": "string"
      },
      "Input_LiveTriggerQuestions": {
        "additionalProperties": true,
        "properties": {
          "questions": {
            "items": {
              "$ref": "#/components/schemas/Input_DecisionQuestion"
            },
            "type": "array"
          }
        },
        "required": [
          "questions"
        ],
        "type": "object"
      },
      "Input_LiveTriggerType": {
        "enum": [
          "decisions"
        ],
        "type": "string"
      },
      "Input_LiveVoice": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "$ref": "#/components/schemas/Input_CustomVoice3"
          }
        ]
      },
      "Input_LiveVoiceConfig": {
        "additionalProperties": true,
        "properties": {
          "prebuiltVoiceConfig": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_LivePrebuiltVoiceConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "replicatedVoiceConfig": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ReplicatedVoiceConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "voice": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_LocalShellAction": {
        "additionalProperties": true,
        "properties": {
          "command": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "env": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "timeout_ms": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_LocalShellActionType"
          },
          "user": {
            "type": [
              "string",
              "null"
            ]
          },
          "working_directory": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "command",
          "env",
          "type"
        ],
        "type": "object"
      },
      "Input_LocalShellAction2": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Input_LocalShellExecAction",
            "properties": {
              "type": {
                "const": "exec",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Input_LocalShellActionType": {
        "enum": [
          "exec"
        ],
        "type": "string"
      },
      "Input_LocalShellCall": {
        "additionalProperties": true,
        "properties": {
          "action": {
            "$ref": "#/components/schemas/Input_LocalShellAction"
          },
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "call_id": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/Input_ItemStatus"
          },
          "type": {
            "$ref": "#/components/schemas/Input_LocalShellCallType"
          }
        },
        "required": [
          "type",
          "id",
          "call_id",
          "action",
          "status"
        ],
        "type": "object"
      },
      "Input_LocalShellCallOutput": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": "string"
          },
          "output": {
            "type": "string"
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ItemStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_LocalShellCallOutputType"
          }
        },
        "required": [
          "type",
          "id",
          "output"
        ],
        "type": "object"
      },
      "Input_LocalShellCallOutputType": {
        "enum": [
          "local_shell_call_output"
        ],
        "type": "string"
      },
      "Input_LocalShellCallType": {
        "enum": [
          "local_shell_call"
        ],
        "type": "string"
      },
      "Input_LocalShellExecAction": {
        "additionalProperties": true,
        "properties": {
          "command": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "env": {
            "additionalProperties": {
              "type": "string"
            },
            "type": [
              "object",
              "null"
            ]
          },
          "timeout_ms": {
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "user": {
            "type": [
              "string",
              "null"
            ]
          },
          "working_directory": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "command",
          "env",
          "timeout_ms",
          "user",
          "working_directory"
        ],
        "type": "object"
      },
      "Input_LocalShellStatus": {
        "enum": [
          "completed",
          "in_progress",
          "incomplete"
        ],
        "type": "string"
      },
      "Input_LocalSkill": {
        "additionalProperties": true,
        "properties": {
          "description": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "path": {
            "type": "string"
          }
        },
        "required": [
          "description",
          "name",
          "path"
        ],
        "type": "object"
      },
      "Input_LocationType": {
        "enum": [
          "approximate"
        ],
        "type": "string"
      },
      "Input_LoggingSettingsDto": {
        "properties": {
          "disableLogRedaction": {
            "type": "boolean"
          },
          "enableDownstreamLog": {
            "type": "boolean"
          },
          "enableDownstreamLogBody": {
            "type": "boolean"
          },
          "enableTracing": {
            "type": "boolean"
          },
          "enableUpstreamLog": {
            "type": "boolean"
          },
          "enableUpstreamLogBody": {
            "type": "boolean"
          },
          "logFormat": {
            "type": "string"
          },
          "logLevel": {
            "type": "string"
          },
          "queryParameterBlacklist": true,
          "requestHeaderBlacklist": true,
          "responseHeaderBlacklist": true
        },
        "required": [
          "enableDownstreamLog",
          "enableDownstreamLogBody",
          "enableUpstreamLog",
          "enableUpstreamLogBody",
          "disableLogRedaction",
          "enableTracing",
          "logLevel",
          "logFormat",
          "requestHeaderBlacklist",
          "responseHeaderBlacklist",
          "queryParameterBlacklist"
        ],
        "type": "object"
      },
      "Input_LoggingSettingsPatch": {
        "properties": {
          "disableLogRedaction": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "enableDownstreamLog": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "enableDownstreamLogBody": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "enableTracing": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "enableUpstreamLog": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "enableUpstreamLogBody": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "logFormat": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "logLevel": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "queryParameterBlacklist": {
            "default": null
          },
          "requestHeaderBlacklist": {
            "default": null
          },
          "responseHeaderBlacklist": {
            "default": null
          }
        },
        "type": "object"
      },
      "Input_LoginBody": {
        "properties": {
          "name": {
            "type": "string"
          },
          "password": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "password"
        ],
        "type": "object"
      },
      "Input_MaxPrice": {
        "additionalProperties": true,
        "properties": {
          "audio": {
            "type": [
              "string",
              "null"
            ]
          },
          "completion": {
            "type": [
              "string",
              "null"
            ]
          },
          "image": {
            "type": [
              "string",
              "null"
            ]
          },
          "prompt": {
            "type": [
              "string",
              "null"
            ]
          },
          "request": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_McpAllowedTools": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "$ref": "#/components/schemas/Input_McpToolFilter"
          }
        ]
      },
      "Input_McpApproval": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_McpApprovalSetting"
          },
          {
            "$ref": "#/components/schemas/Input_McpToolApprovalFilter"
          }
        ]
      },
      "Input_McpApprovalRequest": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "arguments": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "server_label": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_McpApprovalRequestType"
          }
        },
        "required": [
          "type",
          "id",
          "arguments",
          "name",
          "server_label"
        ],
        "type": "object"
      },
      "Input_McpApprovalRequestType": {
        "enum": [
          "mcp_approval_request"
        ],
        "type": "string"
      },
      "Input_McpApprovalResponse": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "approval_request_id": {
            "type": "string"
          },
          "approve": {
            "type": "boolean"
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_McpApprovalResponseType"
          }
        },
        "required": [
          "type",
          "approval_request_id",
          "approve"
        ],
        "type": "object"
      },
      "Input_McpApprovalResponseType": {
        "enum": [
          "mcp_approval_response"
        ],
        "type": "string"
      },
      "Input_McpApprovalSetting": {
        "enum": [
          "always",
          "never"
        ],
        "type": "string"
      },
      "Input_McpCall": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "approval_request_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "arguments": {
            "type": "string"
          },
          "error": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_McpToolCallError"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "output": {
            "type": [
              "string",
              "null"
            ]
          },
          "server_label": {
            "type": "string"
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_McpCallStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_McpCallType"
          }
        },
        "required": [
          "type",
          "id",
          "arguments",
          "name",
          "server_label"
        ],
        "type": "object"
      },
      "Input_McpCallStatus": {
        "enum": [
          "in_progress",
          "completed",
          "incomplete",
          "calling",
          "failed"
        ],
        "type": "string"
      },
      "Input_McpCallType": {
        "enum": [
          "mcp_call"
        ],
        "type": "string"
      },
      "Input_McpListTools": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "error": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "server_label": {
            "type": "string"
          },
          "tools": {
            "items": {
              "$ref": "#/components/schemas/Input_McpToolDefinition"
            },
            "type": "array"
          },
          "type": {
            "$ref": "#/components/schemas/Input_McpListToolsType"
          }
        },
        "required": [
          "type",
          "id",
          "server_label",
          "tools"
        ],
        "type": "object"
      },
      "Input_McpListToolsType": {
        "enum": [
          "mcp_list_tools"
        ],
        "type": "string"
      },
      "Input_McpListedTool": {
        "additionalProperties": true,
        "properties": {
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "input_schema": {
            "$ref": "#/components/schemas/Input_JsonSchema"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "input_schema"
        ],
        "type": "object"
      },
      "Input_McpResultContent": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "$ref": "#/components/schemas/Input_TextBlock"
            },
            "type": "array"
          }
        ]
      },
      "Input_McpServer": {
        "additionalProperties": true,
        "properties": {
          "name": {
            "type": "string"
          },
          "streamableHttpTransport": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_StreamableHttpTransport"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "Input_McpServerType": {
        "enum": [
          "url"
        ],
        "type": "string"
      },
      "Input_McpServerUrlDefinition": {
        "additionalProperties": true,
        "properties": {
          "authorization_token": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "tool_configuration": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_McpToolConfiguration"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_McpServerType"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "type",
          "url"
        ],
        "type": "object"
      },
      "Input_McpTool": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Input_AllowedCaller"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "allowed_tools": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_McpAllowedTools"
              },
              {
                "type": "null"
              }
            ]
          },
          "authorization": {
            "type": [
              "string",
              "null"
            ]
          },
          "connector_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ConnectorId"
              },
              {
                "type": "null"
              }
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "headers": {
            "additionalProperties": {
              "type": "string"
            },
            "type": [
              "object",
              "null"
            ]
          },
          "require_approval": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_McpApproval"
              },
              {
                "type": "null"
              }
            ]
          },
          "server_description": {
            "type": [
              "string",
              "null"
            ]
          },
          "server_label": {
            "type": "string"
          },
          "server_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "tunnel_id": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "server_label"
        ],
        "type": "object"
      },
      "Input_McpToolApprovalFilter": {
        "additionalProperties": true,
        "properties": {
          "always": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_McpToolFilter"
              },
              {
                "type": "null"
              }
            ]
          },
          "never": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_McpToolFilter"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_McpToolCallError": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_McpToolCallErrorDetails"
          },
          {
            "description": "Earlier Responses references represented MCP errors as strings.",
            "type": "string"
          }
        ]
      },
      "Input_McpToolCallErrorDetails": {
        "oneOf": [
          {
            "additionalProperties": true,
            "properties": {
              "code": {
                "format": "int64",
                "type": "integer"
              },
              "message": {
                "type": "string"
              },
              "type": {
                "const": "mcp_protocol_error",
                "type": "string"
              }
            },
            "required": [
              "type",
              "code",
              "message"
            ],
            "type": "object"
          },
          {
            "additionalProperties": true,
            "properties": {
              "content": true,
              "type": {
                "const": "mcp_tool_execution_error",
                "type": "string"
              }
            },
            "required": [
              "type",
              "content"
            ],
            "type": "object"
          },
          {
            "additionalProperties": true,
            "properties": {
              "code": {
                "format": "int64",
                "type": "integer"
              },
              "message": {
                "type": "string"
              },
              "type": {
                "const": "http_error",
                "type": "string"
              }
            },
            "required": [
              "type",
              "code",
              "message"
            ],
            "type": "object"
          }
        ]
      },
      "Input_McpToolConfig": {
        "additionalProperties": true,
        "properties": {
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "enabled": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_McpToolConfiguration": {
        "additionalProperties": true,
        "properties": {
          "allowed_tools": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "enabled": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_McpToolDefaultConfig": {
        "additionalProperties": true,
        "properties": {
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "enabled": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_McpToolDefinition": {
        "additionalProperties": true,
        "properties": {
          "annotations": true,
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "input_schema": true,
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "input_schema"
        ],
        "type": "object"
      },
      "Input_McpToolFilter": {
        "additionalProperties": true,
        "properties": {
          "read_only": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "tool_names": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_McpToolListingBlock": {
        "additionalProperties": true,
        "properties": {
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "mcp_server_name": {
            "type": "string"
          },
          "tools": {
            "items": {
              "$ref": "#/components/schemas/Input_McpListedTool"
            },
            "type": "array"
          },
          "type": {
            "$ref": "#/components/schemas/Input_McpToolListingType"
          }
        },
        "required": [
          "type",
          "mcp_server_name",
          "tools"
        ],
        "type": "object"
      },
      "Input_McpToolListingType": {
        "enum": [
          "mcp_tool_listing"
        ],
        "type": "string"
      },
      "Input_McpToolReference": {
        "additionalProperties": true,
        "properties": {
          "name": {
            "type": "string"
          },
          "server_name": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_McpToolReferenceType"
          }
        },
        "required": [
          "name",
          "server_name",
          "type"
        ],
        "type": "object"
      },
      "Input_McpToolReferenceType": {
        "enum": [
          "mcp_tool_reference"
        ],
        "type": "string"
      },
      "Input_McpToolResultBlock": {
        "additionalProperties": true,
        "properties": {
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_McpResultContent"
              },
              {
                "type": "null"
              }
            ]
          },
          "is_error": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "tool_use_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_McpToolResultType"
          }
        },
        "required": [
          "type",
          "tool_use_id"
        ],
        "type": "object"
      },
      "Input_McpToolResultType": {
        "enum": [
          "mcp_tool_result"
        ],
        "type": "string"
      },
      "Input_McpToolUseBlock": {
        "additionalProperties": true,
        "properties": {
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": "string"
          },
          "input": true,
          "name": {
            "type": "string"
          },
          "server_name": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_McpToolUseType"
          }
        },
        "required": [
          "type",
          "id",
          "input",
          "name",
          "server_name"
        ],
        "type": "object"
      },
      "Input_McpToolUseType": {
        "enum": [
          "mcp_tool_use"
        ],
        "type": "string"
      },
      "Input_McpToolset": {
        "additionalProperties": true,
        "properties": {
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "configs": {
            "additionalProperties": {
              "$ref": "#/components/schemas/Input_McpToolConfig"
            },
            "type": [
              "object",
              "null"
            ]
          },
          "default_config": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_McpToolDefaultConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "mcp_server_name": {
            "type": "string"
          },
          "tools": {
            "items": {
              "$ref": "#/components/schemas/Input_McpListedTool"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_McpToolsetType"
          }
        },
        "required": [
          "mcp_server_name",
          "type"
        ],
        "type": "object"
      },
      "Input_McpToolsetReference": {
        "additionalProperties": true,
        "properties": {
          "server_name": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_McpToolsetReferenceType"
          }
        },
        "required": [
          "server_name",
          "type"
        ],
        "type": "object"
      },
      "Input_McpToolsetReferenceType": {
        "enum": [
          "mcp_toolset_reference"
        ],
        "type": "string"
      },
      "Input_McpToolsetType": {
        "enum": [
          "mcp_toolset"
        ],
        "type": "string"
      },
      "Input_MediaProcessing": {
        "enum": [
          "MEDIA_PROCESSING_UNSPECIFIED",
          "STATIC",
          "AGENTIC"
        ],
        "type": "string"
      },
      "Input_MediaResolution": {
        "additionalProperties": true,
        "properties": {
          "level": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_MediaResolutionLevel"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_MediaResolutionLevel": {
        "enum": [
          "MEDIA_RESOLUTION_UNSPECIFIED",
          "MEDIA_RESOLUTION_LOW",
          "MEDIA_RESOLUTION_MEDIUM",
          "MEDIA_RESOLUTION_HIGH",
          "MEDIA_RESOLUTION_ULTRA_HIGH"
        ],
        "type": "string"
      },
      "Input_MemberPatch": {
        "description": "The only thing a membership has to change. Moving a member to another\norganization is a remove and an add, not a patch: the pair *is* the key.",
        "properties": {
          "role": {
            "type": "string"
          }
        },
        "required": [
          "role"
        ],
        "type": "object"
      },
      "Input_MemberWrite": {
        "properties": {
          "role": {
            "default": null,
            "description": "`member` or `admin`; absent means `member`.",
            "type": [
              "string",
              "null"
            ]
          },
          "userId": {
            "type": "string"
          }
        },
        "required": [
          "userId"
        ],
        "type": "object"
      },
      "Input_MemoryLimit": {
        "enum": [
          "1g",
          "4g",
          "16g",
          "64g"
        ],
        "type": "string"
      },
      "Input_MemorySummarizeRequestBody": {
        "additionalProperties": true,
        "properties": {
          "model": {
            "type": "string"
          },
          "reasoning": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Reasoning"
              },
              {
                "type": "null"
              }
            ]
          },
          "traces": {
            "items": {
              "$ref": "#/components/schemas/Input_RawMemory"
            },
            "type": "array"
          }
        },
        "required": [
          "model",
          "traces"
        ],
        "type": "object"
      },
      "Input_MemoryTool20250818": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Input_AllowedCaller2"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "input_examples": {
            "items": true,
            "type": [
              "array",
              "null"
            ]
          },
          "name": {
            "$ref": "#/components/schemas/Input_MemoryTool20250818Name"
          },
          "strict": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_MemoryTool20250818Type"
          }
        },
        "required": [
          "name",
          "type"
        ],
        "type": "object"
      },
      "Input_MemoryTool20250818Name": {
        "enum": [
          "memory"
        ],
        "type": "string"
      },
      "Input_MemoryTool20250818Type": {
        "enum": [
          "memory_20250818"
        ],
        "type": "string"
      },
      "Input_Message": {
        "additionalProperties": true,
        "properties": {
          "clear_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_SystemMessageClearAt"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "$ref": "#/components/schemas/Input_MessageContent2",
            "description": "Required for user and assistant messages; system messages may omit it."
          },
          "output_config": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_SystemMessageOutputConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "role": {
            "$ref": "#/components/schemas/Input_Role"
          }
        },
        "required": [
          "role"
        ],
        "type": "object"
      },
      "Input_MessageContent": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "$ref": "#/components/schemas/Input_InputContent"
            },
            "type": "array"
          }
        ]
      },
      "Input_MessageContent2": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "$ref": "#/components/schemas/Input_ContentBlock"
            },
            "type": "array"
          }
        ]
      },
      "Input_MessagePhase": {
        "enum": [
          "commentary",
          "final_answer"
        ],
        "type": "string"
      },
      "Input_MessagePhase2": {
        "enum": [
          "commentary",
          "final_answer"
        ],
        "type": "string"
      },
      "Input_MessageRole": {
        "enum": [
          "user",
          "system",
          "developer",
          "assistant"
        ],
        "type": "string"
      },
      "Input_MessageToolCall": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_ChatToolCall"
          },
          {
            "$ref": "#/components/schemas/Input_CustomToolCall2"
          }
        ]
      },
      "Input_MessageType": {
        "enum": [
          "message"
        ],
        "type": "string"
      },
      "Input_Metadata": {
        "additionalProperties": true,
        "properties": {
          "user_id": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_MidConversationContent": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_TextBlock"
          },
          {
            "$ref": "#/components/schemas/Input_ToolAdditionBlock"
          },
          {
            "$ref": "#/components/schemas/Input_ToolRemovalBlock"
          }
        ]
      },
      "Input_MidConversationSystemBlock": {
        "additionalProperties": true,
        "properties": {
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/Input_MidConversationContent"
            },
            "type": "array"
          },
          "type": {
            "$ref": "#/components/schemas/Input_MidConversationSystemType"
          }
        },
        "required": [
          "type",
          "content"
        ],
        "type": "object"
      },
      "Input_MidConversationSystemType": {
        "enum": [
          "mid_conv_system"
        ],
        "type": "string"
      },
      "Input_Modality": {
        "enum": [
          "MODALITY_UNSPECIFIED",
          "TEXT",
          "IMAGE",
          "VIDEO",
          "AUDIO",
          "DOCUMENT"
        ],
        "type": "string"
      },
      "Input_Modality2": {
        "enum": [
          "text",
          "audio"
        ],
        "type": "string"
      },
      "Input_Model": {
        "properties": {
          "model": {
            "type": "string"
          }
        },
        "required": [
          "model"
        ],
        "type": "object"
      },
      "Input_ModelDto": {
        "properties": {
          "id": {
            "type": "string"
          },
          "metadata": true,
          "name": {
            "type": "string"
          },
          "priceRules": {
            "description": "Saved, enabled rules matching this model, in billing precedence order.",
            "items": {
              "$ref": "#/components/schemas/Input_PriceRuleDto"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "providers": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Input_CatalogProviderDto"
            },
            "type": "array"
          },
          "vocabularyFileId": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "metadata"
        ],
        "type": "object"
      },
      "Input_ModelPatch": {
        "properties": {
          "metadata": {
            "default": null
          },
          "name": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "vocabularyFileId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_ModelTest": {
        "description": "A real generation against one provider. It spends a real credential and\nwrites a real usage row; there is no dry run.",
        "properties": {
          "credentialId": {
            "default": null,
            "description": "The credential to spend. None lets the provider's usual selection\nchoose, which is what a test of \"does this provider work\" wants.",
            "type": [
              "string",
              "null"
            ]
          },
          "model": {
            "description": "The upstream model name, as the provider's catalog spells it.",
            "type": "string"
          },
          "providerId": {
            "type": "string"
          }
        },
        "required": [
          "providerId",
          "model"
        ],
        "type": "object"
      },
      "Input_ModelWrite": {
        "properties": {
          "id": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "metadata": {
            "default": null
          },
          "name": {
            "type": "string"
          },
          "vocabularyFileId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "Input_Moderation": {
        "enum": [
          "auto",
          "low"
        ],
        "type": "string"
      },
      "Input_Moderation2": {
        "additionalProperties": true,
        "properties": {
          "model": {
            "type": "string"
          },
          "policy": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ModerationPolicy2"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "model"
        ],
        "type": "object"
      },
      "Input_ModerationContent": {
        "oneOf": [
          {
            "additionalProperties": true,
            "properties": {
              "text": {
                "type": "string"
              },
              "type": {
                "const": "text",
                "type": "string"
              }
            },
            "required": [
              "type",
              "text"
            ],
            "type": "object"
          },
          {
            "additionalProperties": true,
            "properties": {
              "image_url": {
                "$ref": "#/components/schemas/Input_ModerationImageUrl"
              },
              "type": {
                "const": "image_url",
                "type": "string"
              }
            },
            "required": [
              "type",
              "image_url"
            ],
            "type": "object"
          }
        ]
      },
      "Input_ModerationImageUrl": {
        "additionalProperties": true,
        "properties": {
          "url": {
            "type": "string"
          }
        },
        "required": [
          "url"
        ],
        "type": "object"
      },
      "Input_ModerationInput": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "items": {
              "$ref": "#/components/schemas/Input_ModerationContent"
            },
            "type": "array"
          }
        ]
      },
      "Input_ModerationMode": {
        "enum": [
          "score",
          "block"
        ],
        "type": "string"
      },
      "Input_ModerationMode2": {
        "additionalProperties": true,
        "properties": {
          "mode": {
            "$ref": "#/components/schemas/Input_ModerationModeType"
          }
        },
        "required": [
          "mode"
        ],
        "type": "object"
      },
      "Input_ModerationModeType": {
        "enum": [
          "score",
          "block"
        ],
        "type": "string"
      },
      "Input_ModerationPolicy": {
        "additionalProperties": true,
        "properties": {
          "input": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ModerationPolicyMode"
              },
              {
                "type": "null"
              }
            ]
          },
          "output": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ModerationPolicyMode"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_ModerationPolicy2": {
        "additionalProperties": true,
        "properties": {
          "input": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ModerationMode2"
              },
              {
                "type": "null"
              }
            ]
          },
          "output": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ModerationMode2"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_ModerationPolicyMode": {
        "additionalProperties": true,
        "properties": {
          "mode": {
            "$ref": "#/components/schemas/Input_ModerationMode"
          }
        },
        "required": [
          "mode"
        ],
        "type": "object"
      },
      "Input_MoveAction": {
        "additionalProperties": true,
        "properties": {
          "keys": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "x": {
            "format": "int64",
            "type": "integer"
          },
          "y": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "x",
          "y"
        ],
        "type": "object"
      },
      "Input_MultiAgentCall": {
        "additionalProperties": true,
        "properties": {
          "action": {
            "$ref": "#/components/schemas/Input_Action"
          },
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "arguments": {
            "type": "string"
          },
          "call_id": {
            "type": "string"
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_MultiAgentCallType"
          }
        },
        "required": [
          "type",
          "action",
          "arguments",
          "call_id"
        ],
        "type": "object"
      },
      "Input_MultiAgentCallOutput": {
        "additionalProperties": true,
        "properties": {
          "action": {
            "$ref": "#/components/schemas/Input_Action"
          },
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "call_id": {
            "type": "string"
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "output": {
            "items": {
              "$ref": "#/components/schemas/Input_ReplayOutputText"
            },
            "type": "array"
          },
          "type": {
            "$ref": "#/components/schemas/Input_MultiAgentCallOutputType"
          }
        },
        "required": [
          "type",
          "action",
          "call_id",
          "output"
        ],
        "type": "object"
      },
      "Input_MultiAgentCallOutputType": {
        "enum": [
          "multi_agent_call_output"
        ],
        "type": "string"
      },
      "Input_MultiAgentCallType": {
        "enum": [
          "multi_agent_call"
        ],
        "type": "string"
      },
      "Input_MultiAgentConfig": {
        "additionalProperties": true,
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "max_concurrent_subagents": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "enabled"
        ],
        "type": "object"
      },
      "Input_MultiSpeakerVoiceConfig": {
        "additionalProperties": true,
        "properties": {
          "speakerVoiceConfigs": {
            "items": {
              "$ref": "#/components/schemas/Input_SpeakerVoiceConfig"
            },
            "type": "array"
          }
        },
        "required": [
          "speakerVoiceConfigs"
        ],
        "type": "object"
      },
      "Input_MultipartImageQuality": {
        "enum": [
          "standard",
          "low",
          "medium",
          "high",
          "xhigh",
          "max",
          "auto"
        ],
        "type": "string"
      },
      "Input_NamedCustom": {
        "additionalProperties": true,
        "properties": {
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "Input_NamedCustomChoice": {
        "additionalProperties": true,
        "properties": {
          "custom": {
            "$ref": "#/components/schemas/Input_NamedCustom"
          },
          "type": {
            "$ref": "#/components/schemas/Input_NamedCustomChoiceType"
          }
        },
        "required": [
          "type",
          "custom"
        ],
        "type": "object"
      },
      "Input_NamedCustomChoiceType": {
        "enum": [
          "custom"
        ],
        "type": "string"
      },
      "Input_NamedFunction": {
        "additionalProperties": true,
        "properties": {
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "Input_NamedFunctionChoice": {
        "additionalProperties": true,
        "properties": {
          "function": {
            "$ref": "#/components/schemas/Input_NamedFunction"
          },
          "type": {
            "$ref": "#/components/schemas/Input_NamedFunctionChoiceType"
          }
        },
        "required": [
          "type",
          "function"
        ],
        "type": "object"
      },
      "Input_NamedFunctionChoiceType": {
        "enum": [
          "function"
        ],
        "type": "string"
      },
      "Input_NamespaceCustomTool": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Input_AllowedCaller"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "async": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CustomToolFormat"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "Input_NamespaceFunctionTool": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Input_AllowedCaller"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "async": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "output_schema": {
            "additionalProperties": true,
            "type": [
              "object",
              "null"
            ]
          },
          "parameters": true,
          "strict": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "Input_NamespaceTool": {
        "additionalProperties": true,
        "properties": {
          "description": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "tools": {
            "items": {
              "$ref": "#/components/schemas/Input_NamespaceToolDefinition"
            },
            "type": "array"
          }
        },
        "required": [
          "description",
          "name",
          "tools"
        ],
        "type": "object"
      },
      "Input_NamespaceToolDefinition": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Input_NamespaceFunctionTool",
            "properties": {
              "type": {
                "const": "function",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_NamespaceCustomTool",
            "properties": {
              "type": {
                "const": "custom",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Input_NativeCreateVideoMultipartForm": {
        "properties": {
          "input_reference": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_BinaryPart"
              },
              {
                "type": "null"
              }
            ]
          },
          "model": {
            "type": [
              "string",
              "null"
            ]
          },
          "prompt": {
            "type": "string"
          },
          "seconds": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_NativeVideoSeconds"
              },
              {
                "type": "null"
              }
            ]
          },
          "size": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_NativeVideoSize"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "prompt"
        ],
        "type": "object"
      },
      "Input_NativeCreateVideoRequestBody": {
        "additionalProperties": true,
        "properties": {
          "input_reference": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_NativeInputReference"
              },
              {
                "type": "null"
              }
            ]
          },
          "model": {
            "type": [
              "string",
              "null"
            ]
          },
          "prompt": {
            "type": "string"
          },
          "seconds": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_NativeVideoSeconds"
              },
              {
                "type": "null"
              }
            ]
          },
          "size": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_NativeVideoSize"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "prompt"
        ],
        "type": "object"
      },
      "Input_NativeFileReference": {
        "additionalProperties": true,
        "properties": {
          "file_id": {
            "type": "string"
          }
        },
        "required": [
          "file_id"
        ],
        "type": "object"
      },
      "Input_NativeInputReference": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_NativeFileReference"
          },
          {
            "$ref": "#/components/schemas/Input_NativeUrlReference"
          }
        ]
      },
      "Input_NativeUrlReference": {
        "additionalProperties": true,
        "properties": {
          "image_url": {
            "type": "string"
          }
        },
        "required": [
          "image_url"
        ],
        "type": "object"
      },
      "Input_NativeVideoDownloadVariant": {
        "enum": [
          "video",
          "thumbnail",
          "spritesheet"
        ],
        "type": "string"
      },
      "Input_NativeVideoListOrder": {
        "enum": [
          "asc",
          "desc"
        ],
        "type": "string"
      },
      "Input_NativeVideoSeconds": {
        "enum": [
          "4",
          "8",
          "12"
        ],
        "type": "string"
      },
      "Input_NativeVideoSize": {
        "enum": [
          "720x1280",
          "1280x720",
          "1024x1792",
          "1792x1024"
        ],
        "type": "string"
      },
      "Input_NetworkAllowlist": {
        "additionalProperties": true,
        "properties": {
          "allowed_domains": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "domain_secrets": {
            "items": {
              "$ref": "#/components/schemas/Input_DomainSecret"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_NetworkAllowlistType"
          }
        },
        "required": [
          "allowed_domains",
          "type"
        ],
        "type": "object"
      },
      "Input_NetworkAllowlistType": {
        "enum": [
          "allowlist"
        ],
        "type": "string"
      },
      "Input_NetworkDisabled": {
        "additionalProperties": true,
        "properties": {
          "type": {
            "$ref": "#/components/schemas/Input_NetworkDisabledType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_NetworkDisabledType": {
        "enum": [
          "disabled"
        ],
        "type": "string"
      },
      "Input_NoiseReductionType": {
        "description": "Source: `openai/types/realtime/noise_reduction_type.py`, `NoiseReductionType`.",
        "enum": [
          "near_field",
          "far_field"
        ],
        "type": "string"
      },
      "Input_OAuthClientPatch": {
        "properties": {
          "enabled": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "name": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "redirectUris": {
            "default": null,
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_OAuthClientWrite": {
        "properties": {
          "enabled": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "id": {
            "description": "Required, unlike every other family: the id *is* the `client_id` a\nthird-party binary was built with, so it cannot be generated here.",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "redirectUris": {
            "default": [],
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "id",
          "name"
        ],
        "type": "object"
      },
      "Input_OpenOperation": {
        "additionalProperties": true,
        "properties": {
          "lineno": {
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "ref_id": {
            "type": "string"
          }
        },
        "required": [
          "ref_id"
        ],
        "type": "object"
      },
      "Input_OperationEndpointDto": {
        "description": "A complete method URL for one `(operation, dialect, transport)` of one\nprovider. It replaces the URL the channel would build, not just its host.",
        "properties": {
          "dialect": {
            "description": "A `gproxy_protocol::Dialect` id, e.g. `openai`.",
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "operation": {
            "type": "string"
          },
          "providerId": {
            "type": "string"
          },
          "transport": {
            "description": "`http` or `websocket`.",
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "providerId",
          "operation",
          "dialect",
          "transport",
          "url",
          "enabled"
        ],
        "type": "object"
      },
      "Input_OperationEndpointPatch": {
        "properties": {
          "dialect": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "enabled": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "operation": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "transport": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "url": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_OperationEndpointWrite": {
        "properties": {
          "dialect": {
            "type": "string"
          },
          "enabled": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "id": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "operation": {
            "type": "string"
          },
          "providerId": {
            "type": "string"
          },
          "transport": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "providerId",
          "operation",
          "dialect",
          "url"
        ],
        "type": "object"
      },
      "Input_OperationRuleDto": {
        "properties": {
          "action": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "operation": {
            "description": "A `gproxy_protocol::Operation` id, e.g. `generate_content`.",
            "type": "string"
          },
          "providerId": {
            "type": "string"
          },
          "target": {
            "description": "Action-specific target, e.g. the destination `OperationKey`."
          }
        },
        "required": [
          "id",
          "providerId",
          "operation",
          "action"
        ],
        "type": "object"
      },
      "Input_OperationRulePatch": {
        "properties": {
          "action": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "operation": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "target": {
            "default": null
          }
        },
        "type": "object"
      },
      "Input_OperationRuleWrite": {
        "properties": {
          "action": {
            "type": "string"
          },
          "id": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "operation": {
            "type": "string"
          },
          "providerId": {
            "type": "string"
          },
          "target": {
            "default": null
          }
        },
        "required": [
          "providerId",
          "operation",
          "action"
        ],
        "type": "object"
      },
      "Input_OrganizationPatch": {
        "properties": {
          "name": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "oauthClientAllowlist": {
            "default": null,
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_OrganizationWrite": {
        "properties": {
          "id": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "oauthClientAllowlist": {
            "default": null,
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "Input_Outcome": {
        "enum": [
          "OUTCOME_UNSPECIFIED",
          "OUTCOME_OK",
          "OUTCOME_FAILED",
          "OUTCOME_DEADLINE_EXCEEDED"
        ],
        "type": "string"
      },
      "Input_OutputAnnotation": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_FileCitation"
          },
          {
            "$ref": "#/components/schemas/Input_UrlCitation"
          },
          {
            "$ref": "#/components/schemas/Input_ContainerFileCitation"
          },
          {
            "$ref": "#/components/schemas/Input_FilePath"
          }
        ]
      },
      "Input_OutputAudioBufferClearEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/output_audio_buffer_clear_event.py`, `OutputAudioBufferClearEvent`.",
        "properties": {
          "event_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_OutputAudioBufferClearEventType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_OutputAudioBufferClearEventType": {
        "enum": [
          "output_audio_buffer.clear"
        ],
        "type": "string"
      },
      "Input_OutputConfig": {
        "additionalProperties": true,
        "properties": {
          "effort": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Effort"
              },
              {
                "type": "null"
              }
            ]
          },
          "format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_JsonOutputFormat"
              },
              {
                "type": "null"
              }
            ]
          },
          "task_budget": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_TokenTaskBudget"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_OutputContent": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_ResponseOutputText"
          },
          {
            "$ref": "#/components/schemas/Input_ResponseOutputRefusal"
          }
        ]
      },
      "Input_OutputLogprob": {
        "additionalProperties": true,
        "properties": {
          "bytes": {
            "items": {
              "format": "int64",
              "type": "integer"
            },
            "type": "array"
          },
          "logprob": {
            "type": "number"
          },
          "token": {
            "type": "string"
          },
          "top_logprobs": {
            "items": {
              "$ref": "#/components/schemas/Input_TopLogprob"
            },
            "type": "array"
          }
        },
        "required": [
          "token",
          "bytes",
          "logprob",
          "top_logprobs"
        ],
        "type": "object"
      },
      "Input_OutputMessageRole": {
        "enum": [
          "assistant"
        ],
        "type": "string"
      },
      "Input_OutputMessageStatus": {
        "enum": [
          "in_progress",
          "completed",
          "incomplete"
        ],
        "type": "string"
      },
      "Input_PageCitation": {
        "additionalProperties": true,
        "properties": {
          "cited_text": {
            "type": "string"
          },
          "document_index": {
            "format": "int64",
            "type": "integer"
          },
          "document_title": {
            "type": "string"
          },
          "end_page_number": {
            "format": "int64",
            "type": "integer"
          },
          "start_page_number": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "cited_text",
          "document_index",
          "document_title",
          "end_page_number",
          "start_page_number"
        ],
        "type": "object"
      },
      "Input_ParseFailed": {
        "enum": [
          "parse_failed"
        ],
        "type": "string"
      },
      "Input_Part": {
        "additionalProperties": true,
        "properties": {
          "audioTranscription": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_AudioTranscription"
              },
              {
                "type": "null"
              }
            ]
          },
          "codeExecutionResult": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CodeExecutionResult2"
              },
              {
                "type": "null"
              }
            ]
          },
          "executableCode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ExecutableCode"
              },
              {
                "type": "null"
              }
            ]
          },
          "fileData": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_FileData"
              },
              {
                "type": "null"
              }
            ]
          },
          "functionCall": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_FunctionCall2"
              },
              {
                "type": "null"
              }
            ]
          },
          "functionResponse": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_FunctionResponse"
              },
              {
                "type": "null"
              }
            ]
          },
          "inlineData": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Blob"
              },
              {
                "type": "null"
              }
            ]
          },
          "mediaProcessing": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_MediaProcessing"
              },
              {
                "type": "null"
              }
            ]
          },
          "mediaResolution": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_MediaResolution"
              },
              {
                "type": "null"
              }
            ]
          },
          "partMetadata": {
            "additionalProperties": true,
            "type": [
              "object",
              "null"
            ]
          },
          "speechMetadata": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_SpeechMetadata"
              },
              {
                "type": "null"
              }
            ]
          },
          "text": {
            "type": [
              "string",
              "null"
            ]
          },
          "thought": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "thoughtSignature": {
            "type": [
              "string",
              "null"
            ]
          },
          "toolCall": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolCall"
              },
              {
                "type": "null"
              }
            ]
          },
          "toolResponse": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolResponse"
              },
              {
                "type": "null"
              }
            ]
          },
          "videoMetadata": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_VideoMetadata"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_PasswordBody": {
        "properties": {
          "password": {
            "type": "string"
          }
        },
        "required": [
          "password"
        ],
        "type": "object"
      },
      "Input_PdfBase64Source": {
        "additionalProperties": true,
        "properties": {
          "data": {
            "type": "string"
          },
          "media_type": {
            "$ref": "#/components/schemas/Input_PdfMediaType"
          }
        },
        "required": [
          "data",
          "media_type"
        ],
        "type": "object"
      },
      "Input_PdfMediaType": {
        "enum": [
          "application/pdf"
        ],
        "type": "string"
      },
      "Input_PendingSafetyCheck": {
        "additionalProperties": true,
        "properties": {
          "code": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "message": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id"
        ],
        "type": "object"
      },
      "Input_PercentileCutoffs": {
        "additionalProperties": true,
        "properties": {
          "p50": {
            "type": [
              "number",
              "null"
            ]
          },
          "p75": {
            "type": [
              "number",
              "null"
            ]
          },
          "p90": {
            "type": [
              "number",
              "null"
            ]
          },
          "p99": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_PermissionPatch": {
        "properties": {
          "action": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "apiKeyId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "modelPattern": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "operation": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "priority": {
            "default": null,
            "format": "int32",
            "type": [
              "integer",
              "null"
            ]
          },
          "providerId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "userId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_PermissionWrite": {
        "properties": {
          "action": {
            "type": "string"
          },
          "apiKeyId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "modelPattern": {
            "default": null,
            "description": "Absent means `*`.",
            "type": [
              "string",
              "null"
            ]
          },
          "operation": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "priority": {
            "default": null,
            "format": "int32",
            "type": [
              "integer",
              "null"
            ]
          },
          "providerId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "userId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "action"
        ],
        "type": "object"
      },
      "Input_PlainTextSource": {
        "additionalProperties": true,
        "properties": {
          "data": {
            "type": "string"
          },
          "media_type": {
            "$ref": "#/components/schemas/Input_TextMediaType"
          }
        },
        "required": [
          "data",
          "media_type"
        ],
        "type": "object"
      },
      "Input_Poll": {
        "properties": {
          "loginSessionId": {
            "type": "string"
          }
        },
        "required": [
          "loginSessionId"
        ],
        "type": "object"
      },
      "Input_PortalKeyCreate": {
        "description": "What a portal user may choose when minting a key.\n\nThere is no `userId`: the key is the caller's. The two binding fields are\npresent because a user who belongs to a team wants a key scoped to it, and\nthey are validated by the same rules the admin family applies — the\norganization and the team must exist, and **the caller must be a member of\nthem**.",
        "properties": {
          "expiresAtMs": {
            "default": null,
            "description": "Absent mints a key that never expires.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "organizationId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "retainSecret": {
            "default": null,
            "description": "Keep a sealed copy so the key can be revealed later. False by default:\na key the instance cannot reproduce is a key a database leak does not\nhand over.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "teamId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "Input_PortalPasswordChange": {
        "description": "A portal password change.\n\n`current` is required when the account has a password and refused when it\ndoes not: an OAuth-only account has nothing to prove, and asking it for a\npassword it never set would be unanswerable.",
        "properties": {
          "current": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "new": {
            "type": "string"
          }
        },
        "required": [
          "new"
        ],
        "type": "object"
      },
      "Input_PrebuiltVoiceConfig": {
        "additionalProperties": true,
        "properties": {
          "voiceName": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_Prediction": {
        "additionalProperties": true,
        "properties": {
          "content": {
            "$ref": "#/components/schemas/Input_StringOrTextParts"
          },
          "type": {
            "$ref": "#/components/schemas/Input_PredictionType"
          }
        },
        "required": [
          "type",
          "content"
        ],
        "type": "object"
      },
      "Input_PredictionType": {
        "enum": [
          "content"
        ],
        "type": "string"
      },
      "Input_PreferredCutoff": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "$ref": "#/components/schemas/Input_PercentileCutoffs"
          }
        ]
      },
      "Input_PreviewUserLocation": {
        "additionalProperties": true,
        "properties": {
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "country": {
            "type": [
              "string",
              "null"
            ]
          },
          "region": {
            "type": [
              "string",
              "null"
            ]
          },
          "timezone": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_UserLocationType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_PriceRateDto": {
        "description": "One billable quantity's price. `value` buys `unit_quantity` units, so a\nper-million token price is `unit_quantity = 1000000`.",
        "properties": {
          "conditions": {
            "description": "None is the fallback rate; otherwise a nonempty object of dimensions."
          },
          "id": {
            "type": "string"
          },
          "metric": {
            "description": "A `gproxy_store::entity::pricing::metric` key, or a custom one.",
            "type": "string"
          },
          "priceRuleId": {
            "type": "string"
          },
          "priority": {
            "format": "int32",
            "type": "integer"
          },
          "unit": {
            "description": "`token`, `count`, `second` or `character`.",
            "type": "string"
          },
          "unitQuantity": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "priceRuleId",
          "metric",
          "unit",
          "unitQuantity",
          "value",
          "priority"
        ],
        "type": "object"
      },
      "Input_PriceRatePatch": {
        "properties": {
          "conditions": {
            "default": null
          },
          "metric": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "priority": {
            "default": null,
            "format": "int32",
            "type": [
              "integer",
              "null"
            ]
          },
          "unit": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "unitQuantity": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "value": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_PriceRateWrite": {
        "properties": {
          "conditions": {
            "default": null
          },
          "id": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "metric": {
            "type": "string"
          },
          "priceRuleId": {
            "type": "string"
          },
          "priority": {
            "default": null,
            "format": "int32",
            "type": [
              "integer",
              "null"
            ]
          },
          "unit": {
            "type": "string"
          },
          "unitQuantity": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "priceRuleId",
          "metric",
          "unit",
          "unitQuantity",
          "value"
        ],
        "type": "object"
      },
      "Input_PriceRuleDto": {
        "properties": {
          "currency": {
            "description": "ISO 4217, three letters.",
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "modelPattern": {
            "description": "A `*`/`?` glob over the upstream model name.",
            "type": "string"
          },
          "operation": {
            "description": "None covers every operation of the matched model.",
            "type": [
              "string",
              "null"
            ]
          },
          "priority": {
            "format": "int32",
            "type": "integer"
          },
          "providerId": {
            "description": "None prices every provider; a provider rule wins over a global one.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "modelPattern",
          "priority",
          "currency",
          "enabled"
        ],
        "type": "object"
      },
      "Input_PriceRulePatch": {
        "properties": {
          "currency": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "enabled": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "modelPattern": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "operation": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "priority": {
            "default": null,
            "format": "int32",
            "type": [
              "integer",
              "null"
            ]
          },
          "providerId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_PriceRuleWrite": {
        "properties": {
          "currency": {
            "type": "string"
          },
          "enabled": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "id": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "modelPattern": {
            "type": "string"
          },
          "operation": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "priority": {
            "default": null,
            "format": "int32",
            "type": [
              "integer",
              "null"
            ]
          },
          "providerId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "modelPattern",
          "currency"
        ],
        "type": "object"
      },
      "Input_PriceTierDto": {
        "description": "A context or service-tier override inside one rule. Every per-million\nprice is optional: None inherits, zero is explicitly free.",
        "properties": {
          "audioInputPerMillion": {
            "type": [
              "string",
              "null"
            ]
          },
          "audioOutputPerMillion": {
            "type": [
              "string",
              "null"
            ]
          },
          "cacheCreationPerMillion": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Input_CacheCreationPriceDto"
            },
            "type": "array"
          },
          "cacheReadPerMillion": {
            "type": [
              "string",
              "null"
            ]
          },
          "cachedAudioInputPerMillion": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "imageInputPerMillion": {
            "type": [
              "string",
              "null"
            ]
          },
          "imageOutputPerMillion": {
            "type": [
              "string",
              "null"
            ]
          },
          "inputPerMillion": {
            "type": [
              "string",
              "null"
            ]
          },
          "minPromptTokens": {
            "format": "int64",
            "type": "integer"
          },
          "multiplier": {
            "type": [
              "string",
              "null"
            ]
          },
          "outputPerMillion": {
            "type": [
              "string",
              "null"
            ]
          },
          "priceRuleId": {
            "type": "string"
          },
          "priority": {
            "format": "int32",
            "type": "integer"
          },
          "reasoningPerMillion": {
            "type": [
              "string",
              "null"
            ]
          },
          "serviceTier": {
            "description": "None is a context tier; otherwise `standard`, `priority`, `flex`, … .",
            "type": [
              "string",
              "null"
            ]
          },
          "videoInputPerMillion": {
            "type": [
              "string",
              "null"
            ]
          },
          "videoPerMillion": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "priceRuleId",
          "minPromptTokens",
          "priority"
        ],
        "type": "object"
      },
      "Input_PriceTierPatch": {
        "properties": {
          "audioInputPerMillion": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "audioOutputPerMillion": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "cacheCreationPerMillion": {
            "default": null,
            "items": {
              "$ref": "#/components/schemas/Input_CacheCreationPriceDto"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "cacheReadPerMillion": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "cachedAudioInputPerMillion": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "imageInputPerMillion": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "imageOutputPerMillion": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "inputPerMillion": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "minPromptTokens": {
            "default": null,
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "multiplier": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "outputPerMillion": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "priority": {
            "default": null,
            "format": "int32",
            "type": [
              "integer",
              "null"
            ]
          },
          "reasoningPerMillion": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "serviceTier": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "videoInputPerMillion": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "videoPerMillion": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_PriceTierWrite": {
        "properties": {
          "audioInputPerMillion": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "audioOutputPerMillion": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "cacheCreationPerMillion": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Input_CacheCreationPriceDto"
            },
            "type": "array"
          },
          "cacheReadPerMillion": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "cachedAudioInputPerMillion": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "imageInputPerMillion": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "imageOutputPerMillion": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "inputPerMillion": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "minPromptTokens": {
            "default": null,
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "multiplier": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "outputPerMillion": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "priceRuleId": {
            "type": "string"
          },
          "priority": {
            "default": null,
            "format": "int32",
            "type": [
              "integer",
              "null"
            ]
          },
          "reasoningPerMillion": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "serviceTier": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "videoInputPerMillion": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "videoPerMillion": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "priceRuleId"
        ],
        "type": "object"
      },
      "Input_ProactivityConfig": {
        "additionalProperties": true,
        "properties": {
          "proactiveAudio": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_Program": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "call_id": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "fingerprint": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ProgramType"
          }
        },
        "required": [
          "type",
          "id",
          "call_id",
          "code",
          "fingerprint"
        ],
        "type": "object"
      },
      "Input_ProgramCaller": {
        "additionalProperties": true,
        "properties": {
          "caller_id": {
            "type": "string"
          }
        },
        "required": [
          "caller_id"
        ],
        "type": "object"
      },
      "Input_ProgramOutput": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "call_id": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "result": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/Input_ProgramOutputStatus"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ProgramOutputType"
          }
        },
        "required": [
          "type",
          "id",
          "call_id",
          "result",
          "status"
        ],
        "type": "object"
      },
      "Input_ProgramOutputStatus": {
        "enum": [
          "completed",
          "incomplete"
        ],
        "type": "string"
      },
      "Input_ProgramOutputType": {
        "enum": [
          "program_output"
        ],
        "type": "string"
      },
      "Input_ProgramType": {
        "enum": [
          "program"
        ],
        "type": "string"
      },
      "Input_PromptCacheBreakpoint": {
        "additionalProperties": true,
        "properties": {
          "mode": {
            "$ref": "#/components/schemas/Input_PromptCacheMode"
          },
          "ttl": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_PromptCacheBreakpointTtl"
              },
              {
                "type": "null"
              }
            ],
            "description": "Minimum lifetime of this breakpoint; omitted inherits the request TTL.\nOpenAI OpenAPI: PromptCacheBreakpointParam (2026-10-21)."
          }
        },
        "required": [
          "mode"
        ],
        "type": "object"
      },
      "Input_PromptCacheBreakpoint2": {
        "additionalProperties": true,
        "properties": {
          "mode": {
            "$ref": "#/components/schemas/Input_PromptCacheMode2"
          },
          "ttl": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_PromptCacheBreakpointTtl2"
              },
              {
                "type": "null"
              }
            ],
            "description": "Minimum lifetime of this breakpoint; omitted inherits the request TTL.\nOpenAI OpenAPI: PromptCacheBreakpointParam (2026-10-21)."
          }
        },
        "required": [
          "mode"
        ],
        "type": "object"
      },
      "Input_PromptCacheBreakpointTtl": {
        "description": "Explicit cache-breakpoint lifetimes from OpenAI's PromptCacheBreakpointParam.\nSeparate from the request-wide PromptCacheTTLEnum and legacy retention policy.",
        "enum": [
          "30m",
          "12h"
        ],
        "type": "string"
      },
      "Input_PromptCacheBreakpointTtl2": {
        "description": "Explicit cache-breakpoint lifetimes from OpenAI's PromptCacheBreakpointParam.\nSeparate from the request-wide PromptCacheTTLEnum and legacy retention policy.",
        "enum": [
          "30m",
          "12h"
        ],
        "type": "string"
      },
      "Input_PromptCacheMode": {
        "enum": [
          "explicit"
        ],
        "type": "string"
      },
      "Input_PromptCacheMode2": {
        "enum": [
          "explicit"
        ],
        "type": "string"
      },
      "Input_PromptCacheOptionMode": {
        "enum": [
          "implicit",
          "explicit"
        ],
        "type": "string"
      },
      "Input_PromptCacheOptions": {
        "additionalProperties": true,
        "properties": {
          "comparison_response_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "mode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_PromptCachingMode"
              },
              {
                "type": "null"
              }
            ]
          },
          "prewarm": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "ttl": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_PromptCacheTtl"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_PromptCacheOptions2": {
        "additionalProperties": true,
        "properties": {
          "mode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_PromptCacheOptionMode"
              },
              {
                "type": "null"
              }
            ]
          },
          "ttl": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_PromptCacheTtl2"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_PromptCacheRetention": {
        "enum": [
          "in_memory",
          "24h"
        ],
        "type": "string"
      },
      "Input_PromptCacheRetention2": {
        "enum": [
          "in_memory",
          "24h"
        ],
        "type": "string"
      },
      "Input_PromptCacheTtl": {
        "description": "Request-wide lifetimes from upstream_docs/openai/docs/Prompt caching.md.\nThe 2026-10-20 release predates the reference's request-level TTL enum update.",
        "enum": [
          "30m",
          "12h"
        ],
        "type": "string"
      },
      "Input_PromptCacheTtl2": {
        "enum": [
          "30m"
        ],
        "type": "string"
      },
      "Input_PromptCachingMode": {
        "enum": [
          "implicit",
          "explicit"
        ],
        "type": "string"
      },
      "Input_PromptVariableValue": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "$ref": "#/components/schemas/Input_ResponseInputText"
          },
          {
            "$ref": "#/components/schemas/Input_ResponseInputImage"
          },
          {
            "$ref": "#/components/schemas/Input_ResponseInputFile"
          }
        ],
        "description": "Prompt variables are a closed union, not arbitrary JSON (source line 4419)."
      },
      "Input_PromptVoiceType": {
        "enum": [
          "prompt"
        ],
        "type": "string"
      },
      "Input_ProviderDto": {
        "properties": {
          "baseUrl": {
            "type": [
              "string",
              "null"
            ]
          },
          "channel": {
            "description": "The channel implementation this provider speaks through; must be one\nof `Gproxy::channels()`.",
            "type": "string"
          },
          "config": {
            "description": "Channel-specific configuration; always a JSON object."
          },
          "connectionProfileId": {
            "type": [
              "string",
              "null"
            ]
          },
          "createdAtMs": {
            "format": "int64",
            "type": "integer"
          },
          "displayName": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "enabled": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "description": "Invocation URL prefix.",
            "type": "string"
          },
          "proxy": {
            "default": null
          }
        },
        "required": [
          "id",
          "name",
          "channel",
          "config",
          "enabled",
          "createdAtMs"
        ],
        "type": "object"
      },
      "Input_ProviderModelDto": {
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "hasPrice": {
            "description": "A saved enabled provider or global price rule matches; populated by reads.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "metadata": true,
          "modelId": {
            "type": [
              "string",
              "null"
            ]
          },
          "priceRules": {
            "description": "Saved, enabled rules matching this model, in billing precedence order.",
            "items": {
              "$ref": "#/components/schemas/Input_PriceRuleDto"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "providerId": {
            "type": "string"
          },
          "upstreamName": {
            "description": "The name this provider's upstream answers to, not the public one.",
            "type": "string"
          }
        },
        "required": [
          "id",
          "providerId",
          "upstreamName",
          "metadata",
          "enabled"
        ],
        "type": "object"
      },
      "Input_ProviderModelPatch": {
        "properties": {
          "enabled": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "metadata": {
            "default": null
          },
          "modelId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "providerId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "upstreamName": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_ProviderModelWrite": {
        "properties": {
          "enabled": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "id": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "metadata": {
            "default": null
          },
          "modelId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "providerId": {
            "type": "string"
          },
          "upstreamName": {
            "type": "string"
          }
        },
        "required": [
          "providerId",
          "upstreamName"
        ],
        "type": "object"
      },
      "Input_ProviderPartition": {
        "enum": [
          "model",
          "none"
        ],
        "type": "string"
      },
      "Input_ProviderPatch": {
        "additionalProperties": false,
        "properties": {
          "baseUrl": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "config": {
            "default": null
          },
          "connectionProfileId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "displayName": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "enabled": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "name": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "proxy": {
            "default": null
          }
        },
        "type": "object"
      },
      "Input_ProviderPreferences": {
        "additionalProperties": true,
        "properties": {
          "allow_fallbacks": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "data_collection": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_DataCollection"
              },
              {
                "type": "null"
              }
            ]
          },
          "enforce_distillable_text": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "ignore": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "max_price": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_MaxPrice"
              },
              {
                "type": "null"
              }
            ]
          },
          "only": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "order": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "preferred_max_latency": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_PreferredCutoff"
              },
              {
                "type": "null"
              }
            ]
          },
          "preferred_min_throughput": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_PreferredCutoff"
              },
              {
                "type": "null"
              }
            ]
          },
          "quantizations": {
            "items": {
              "$ref": "#/components/schemas/Input_Quantization"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "require_parameters": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "sort": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ProviderSort"
              },
              {
                "type": "null"
              }
            ]
          },
          "zdr": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_ProviderRuleSetDto": {
        "description": "A rule set attached to a provider, in attachment order.",
        "properties": {
          "createdAtMs": {
            "format": "int64",
            "type": "integer"
          },
          "enabled": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "providerId": {
            "type": "string"
          },
          "ruleSetId": {
            "type": "string"
          },
          "sortOrder": {
            "format": "int64",
            "type": "integer"
          },
          "updatedAtMs": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "providerId",
          "ruleSetId",
          "sortOrder",
          "enabled",
          "createdAtMs",
          "updatedAtMs"
        ],
        "type": "object"
      },
      "Input_ProviderRuleSetPatch": {
        "properties": {
          "enabled": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "sortOrder": {
            "default": null,
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_ProviderRuleSetWrite": {
        "properties": {
          "enabled": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "id": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "providerId": {
            "type": "string"
          },
          "ruleSetId": {
            "type": "string"
          },
          "sortOrder": {
            "default": null,
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "providerId",
          "ruleSetId"
        ],
        "type": "object"
      },
      "Input_ProviderSort": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_ProviderSortBy"
          },
          {
            "$ref": "#/components/schemas/Input_ProviderSortConfig"
          }
        ]
      },
      "Input_ProviderSortBy": {
        "enum": [
          "price",
          "throughput",
          "latency",
          "exacto"
        ],
        "type": "string"
      },
      "Input_ProviderSortConfig": {
        "additionalProperties": true,
        "properties": {
          "by": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ProviderSortBy"
              },
              {
                "type": "null"
              }
            ]
          },
          "partition": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ProviderPartition"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_ProviderWrite": {
        "properties": {
          "baseUrl": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "channel": {
            "type": "string"
          },
          "config": {
            "default": null
          },
          "connectionProfileId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "displayName": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "enabled": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "id": {
            "default": null,
            "description": "Supplied ids let a host import its own; blank or absent mints one.",
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "proxy": {
            "default": null
          }
        },
        "required": [
          "name",
          "channel"
        ],
        "type": "object"
      },
      "Input_Quantization": {
        "enum": [
          "int4",
          "int8",
          "fp4",
          "mxfp4",
          "nvfp4",
          "fp6",
          "fp8",
          "mxfp8",
          "fp16",
          "bf16",
          "fp32",
          "unknown"
        ],
        "type": "string"
      },
      "Input_QuotaDto": {
        "description": "One configured budget or operator limit. `owner_kind` is a free string:\n`user`, `api_key`, `team`, `org` and `pool` are caller budgets the host\nnames per request, while `credential` and `provider` are operator limits on\nupstream accounts. Both live in one table because both are windows over a\nmetric.",
        "properties": {
          "anchorAtMs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "enabled": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "limitValue": {
            "type": "string"
          },
          "metric": {
            "description": "`cost` for a budget; `requests` or `cost` for a limit.",
            "type": "string"
          },
          "modelPattern": {
            "description": "A `*`/`?` glob over the upstream model name; absent covers everything.",
            "type": [
              "string",
              "null"
            ]
          },
          "ownerId": {
            "type": "string"
          },
          "ownerKind": {
            "type": "string"
          },
          "period": {
            "description": "`5h`, `1d`, `7d`, `1m`, `total`, or anything with `period_seconds`.",
            "type": "string"
          },
          "periodSeconds": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "unit": {
            "description": "`USD` for cost, `count` for requests.",
            "type": "string"
          },
          "windowKey": {
            "description": "Stable key within the owner, e.g. `primary`.",
            "type": "string"
          }
        },
        "required": [
          "id",
          "ownerKind",
          "ownerId",
          "windowKey",
          "metric",
          "unit",
          "limitValue",
          "period",
          "enabled"
        ],
        "type": "object"
      },
      "Input_QuotaPatch": {
        "properties": {
          "anchorAtMs": {
            "default": null,
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "enabled": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "limitValue": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "metric": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "modelPattern": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "ownerId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "ownerKind": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "period": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "periodSeconds": {
            "default": null,
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "unit": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "windowKey": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_QuotaResetWrite": {
        "properties": {
          "grantId": {
            "type": [
              "string",
              "null"
            ]
          },
          "program": {
            "type": [
              "string",
              "null"
            ]
          },
          "requestId": {
            "description": "Reuse after an uncertain reply to avoid consuming another grant.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_QuotaWrite": {
        "properties": {
          "anchorAtMs": {
            "default": null,
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "enabled": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "id": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "limitValue": {
            "type": "string"
          },
          "metric": {
            "type": "string"
          },
          "modelPattern": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "ownerId": {
            "type": "string"
          },
          "ownerKind": {
            "type": "string"
          },
          "period": {
            "type": "string"
          },
          "periodSeconds": {
            "default": null,
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "unit": {
            "type": "string"
          },
          "windowKey": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "ownerKind",
          "ownerId",
          "metric",
          "unit",
          "limitValue",
          "period"
        ],
        "type": "object"
      },
      "Input_Ranker": {
        "enum": [
          "auto",
          "default-2024-11-15"
        ],
        "type": "string"
      },
      "Input_RankingOptions": {
        "additionalProperties": true,
        "properties": {
          "hybrid_search": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_HybridSearch"
              },
              {
                "type": "null"
              }
            ]
          },
          "ranker": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Ranker"
              },
              {
                "type": "null"
              }
            ]
          },
          "score_threshold": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_RateLimitPatch": {
        "properties": {
          "apiKeyId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "enabled": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "limitValue": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "metric": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "modelPattern": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "periodSeconds": {
            "default": null,
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "userId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_RateLimitWrite": {
        "properties": {
          "apiKeyId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "enabled": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "id": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "limitValue": {
            "type": "string"
          },
          "metric": {
            "type": "string"
          },
          "modelPattern": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "periodSeconds": {
            "format": "int64",
            "type": "integer"
          },
          "userId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "metric",
          "limitValue",
          "periodSeconds"
        ],
        "type": "object"
      },
      "Input_RawMemory": {
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "string"
          },
          "items": {
            "items": true,
            "type": "array"
          },
          "metadata": {
            "$ref": "#/components/schemas/Input_RawMemoryMetadata"
          }
        },
        "required": [
          "id",
          "metadata",
          "items"
        ],
        "type": "object"
      },
      "Input_RawMemoryMetadata": {
        "additionalProperties": true,
        "properties": {
          "source_path": {
            "type": "string"
          }
        },
        "required": [
          "source_path"
        ],
        "type": "object"
      },
      "Input_RealtimeAudioConfig": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_audio_config.py`, `RealtimeAudioConfig`.",
        "properties": {
          "input": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeAudioConfigInput"
              },
              {
                "type": "null"
              }
            ]
          },
          "output": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeAudioConfigOutput"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_RealtimeAudioConfigInput": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_audio_config_input.py`, `RealtimeAudioConfigInput`.",
        "properties": {
          "format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeAudioFormats"
              },
              {
                "type": "null"
              }
            ]
          },
          "noise_reduction": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeAudioConfigInputNoiseReduction"
              },
              {
                "type": "null"
              }
            ]
          },
          "transcription": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_AudioTranscription2"
              },
              {
                "type": "null"
              }
            ]
          },
          "turn_detection": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeAudioInputTurnDetection"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_RealtimeAudioConfigInputNoiseReduction": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_audio_config_input.py`, `NoiseReduction`.",
        "properties": {
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_NoiseReductionType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_RealtimeAudioConfigOutput": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_audio_config_output.py`, `RealtimeAudioConfigOutput`.",
        "properties": {
          "format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeAudioFormats"
              },
              {
                "type": "null"
              }
            ]
          },
          "speed": {
            "type": [
              "number",
              "null"
            ]
          },
          "voice": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeAudioConfigOutputVoice"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_RealtimeAudioConfigOutputVoice": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "$ref": "#/components/schemas/Input_RealtimeAudioConfigOutputVoiceID"
          }
        ],
        "description": "Source: `openai/types/realtime/realtime_audio_config_output.py`, `Voice`."
      },
      "Input_RealtimeAudioConfigOutputVoiceID": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_audio_config_output.py`, `VoiceID`.",
        "properties": {
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "type": "object"
      },
      "Input_RealtimeAudioFormats": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_RealtimeAudioFormatsAudioPCM"
          },
          {
            "$ref": "#/components/schemas/Input_RealtimeAudioFormatsAudioPCMU"
          },
          {
            "$ref": "#/components/schemas/Input_RealtimeAudioFormatsAudioPCMA"
          }
        ],
        "description": "Source: `openai/types/realtime/realtime_audio_formats.py`, `RealtimeAudioFormats`."
      },
      "Input_RealtimeAudioFormatsAudioPCM": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_audio_formats.py`, `AudioPCM`.",
        "properties": {
          "rate": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeAudioFormatsAudioPCMRate"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeAudioFormatsAudioPCMType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_RealtimeAudioFormatsAudioPCMA": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_audio_formats.py`, `AudioPCMA`.",
        "properties": {
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeAudioFormatsAudioPCMAType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_RealtimeAudioFormatsAudioPCMAType": {
        "enum": [
          "audio/pcma"
        ],
        "type": "string"
      },
      "Input_RealtimeAudioFormatsAudioPCMRate": {
        "description": "A numeric literal validated through scalar conversion; object routing remains derived.",
        "format": "int64",
        "type": "integer"
      },
      "Input_RealtimeAudioFormatsAudioPCMType": {
        "enum": [
          "audio/pcm"
        ],
        "type": "string"
      },
      "Input_RealtimeAudioFormatsAudioPCMU": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_audio_formats.py`, `AudioPCMU`.",
        "properties": {
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeAudioFormatsAudioPCMUType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_RealtimeAudioFormatsAudioPCMUType": {
        "enum": [
          "audio/pcmu"
        ],
        "type": "string"
      },
      "Input_RealtimeAudioInputTurnDetection": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_RealtimeAudioInputTurnDetectionServerVad"
          },
          {
            "$ref": "#/components/schemas/Input_RealtimeAudioInputTurnDetectionSemanticVad"
          },
          {
            "type": "null"
          }
        ],
        "description": "Source: `openai/types/realtime/realtime_audio_input_turn_detection.py`, `RealtimeAudioInputTurnDetection`."
      },
      "Input_RealtimeAudioInputTurnDetectionSemanticVad": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_audio_input_turn_detection.py`, `SemanticVad`.",
        "properties": {
          "create_response": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "eagerness": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeAudioInputTurnDetectionSemanticVadEagerness"
              },
              {
                "type": "null"
              }
            ]
          },
          "interrupt_response": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_RealtimeAudioInputTurnDetectionSemanticVadType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_RealtimeAudioInputTurnDetectionSemanticVadEagerness": {
        "enum": [
          "low",
          "medium",
          "high",
          "auto"
        ],
        "type": "string"
      },
      "Input_RealtimeAudioInputTurnDetectionSemanticVadType": {
        "enum": [
          "semantic_vad"
        ],
        "type": "string"
      },
      "Input_RealtimeAudioInputTurnDetectionServerVad": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_audio_input_turn_detection.py`, `ServerVad`.",
        "properties": {
          "create_response": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "idle_timeout_ms": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "interrupt_response": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "prefix_padding_ms": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "silence_duration_ms": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "threshold": {
            "type": [
              "number",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_RealtimeAudioInputTurnDetectionServerVadType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_RealtimeAudioInputTurnDetectionServerVadType": {
        "enum": [
          "server_vad"
        ],
        "type": "string"
      },
      "Input_RealtimeClientEvent": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_ConversationItemCreateEvent"
          },
          {
            "$ref": "#/components/schemas/Input_ConversationItemDeleteEvent"
          },
          {
            "$ref": "#/components/schemas/Input_ConversationItemRetrieveEvent"
          },
          {
            "$ref": "#/components/schemas/Input_ConversationItemTruncateEvent"
          },
          {
            "$ref": "#/components/schemas/Input_InputAudioBufferAppendEvent"
          },
          {
            "$ref": "#/components/schemas/Input_InputAudioBufferClearEvent"
          },
          {
            "$ref": "#/components/schemas/Input_OutputAudioBufferClearEvent"
          },
          {
            "$ref": "#/components/schemas/Input_InputAudioBufferCommitEvent"
          },
          {
            "$ref": "#/components/schemas/Input_ResponseCancelEvent"
          },
          {
            "$ref": "#/components/schemas/Input_ResponseCreateEvent"
          },
          {
            "$ref": "#/components/schemas/Input_SessionUpdateEvent"
          }
        ],
        "description": "Source: `openai/types/realtime/realtime_client_event.py`, `RealtimeClientEvent`."
      },
      "Input_RealtimeConversationItemAssistantMessage": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_conversation_item_assistant_message.py`, `RealtimeConversationItemAssistantMessage`.",
        "properties": {
          "content": {
            "items": {
              "$ref": "#/components/schemas/Input_RealtimeConversationItemAssistantMessageContent"
            },
            "type": "array"
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "object": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeConversationItemAssistantMessageObject"
              },
              {
                "type": "null"
              }
            ]
          },
          "role": {
            "$ref": "#/components/schemas/Input_RealtimeConversationItemAssistantMessageRole"
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeConversationItemAssistantMessageStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_RealtimeConversationItemAssistantMessageType"
          }
        },
        "required": [
          "content",
          "role",
          "type"
        ],
        "type": "object"
      },
      "Input_RealtimeConversationItemAssistantMessageContent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_conversation_item_assistant_message.py`, `Content`.",
        "properties": {
          "audio": {
            "type": [
              "string",
              "null"
            ]
          },
          "text": {
            "type": [
              "string",
              "null"
            ]
          },
          "transcript": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeConversationItemAssistantMessageContentType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_RealtimeConversationItemAssistantMessageContentType": {
        "enum": [
          "output_text",
          "output_audio"
        ],
        "type": "string"
      },
      "Input_RealtimeConversationItemAssistantMessageObject": {
        "enum": [
          "realtime.item"
        ],
        "type": "string"
      },
      "Input_RealtimeConversationItemAssistantMessageRole": {
        "enum": [
          "assistant"
        ],
        "type": "string"
      },
      "Input_RealtimeConversationItemAssistantMessageStatus": {
        "enum": [
          "completed",
          "incomplete",
          "in_progress"
        ],
        "type": "string"
      },
      "Input_RealtimeConversationItemAssistantMessageType": {
        "enum": [
          "message"
        ],
        "type": "string"
      },
      "Input_RealtimeConversationItemFunctionCall": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_conversation_item_function_call.py`, `RealtimeConversationItemFunctionCall`.",
        "properties": {
          "arguments": {
            "type": "string"
          },
          "call_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "object": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeConversationItemFunctionCallObject"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeConversationItemFunctionCallStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_RealtimeConversationItemFunctionCallType"
          }
        },
        "required": [
          "arguments",
          "name",
          "type"
        ],
        "type": "object"
      },
      "Input_RealtimeConversationItemFunctionCallObject": {
        "enum": [
          "realtime.item"
        ],
        "type": "string"
      },
      "Input_RealtimeConversationItemFunctionCallOutput": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_conversation_item_function_call_output.py`, `RealtimeConversationItemFunctionCallOutput`.",
        "properties": {
          "call_id": {
            "type": "string"
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "object": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeConversationItemFunctionCallOutputObject"
              },
              {
                "type": "null"
              }
            ]
          },
          "output": {
            "type": "string"
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeConversationItemFunctionCallOutputStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_RealtimeConversationItemFunctionCallOutputType"
          }
        },
        "required": [
          "call_id",
          "output",
          "type"
        ],
        "type": "object"
      },
      "Input_RealtimeConversationItemFunctionCallOutputObject": {
        "enum": [
          "realtime.item"
        ],
        "type": "string"
      },
      "Input_RealtimeConversationItemFunctionCallOutputStatus": {
        "enum": [
          "completed",
          "incomplete",
          "in_progress"
        ],
        "type": "string"
      },
      "Input_RealtimeConversationItemFunctionCallOutputType": {
        "enum": [
          "function_call_output"
        ],
        "type": "string"
      },
      "Input_RealtimeConversationItemFunctionCallStatus": {
        "enum": [
          "completed",
          "incomplete",
          "in_progress"
        ],
        "type": "string"
      },
      "Input_RealtimeConversationItemFunctionCallType": {
        "enum": [
          "function_call"
        ],
        "type": "string"
      },
      "Input_RealtimeConversationItemSystemMessage": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_conversation_item_system_message.py`, `RealtimeConversationItemSystemMessage`.",
        "properties": {
          "content": {
            "items": {
              "$ref": "#/components/schemas/Input_RealtimeConversationItemSystemMessageContent"
            },
            "type": "array"
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "object": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeConversationItemSystemMessageObject"
              },
              {
                "type": "null"
              }
            ]
          },
          "role": {
            "$ref": "#/components/schemas/Input_RealtimeConversationItemSystemMessageRole"
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeConversationItemSystemMessageStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_RealtimeConversationItemSystemMessageType"
          }
        },
        "required": [
          "content",
          "role",
          "type"
        ],
        "type": "object"
      },
      "Input_RealtimeConversationItemSystemMessageContent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_conversation_item_system_message.py`, `Content`.",
        "properties": {
          "text": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeConversationItemSystemMessageContentType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_RealtimeConversationItemSystemMessageContentType": {
        "enum": [
          "input_text"
        ],
        "type": "string"
      },
      "Input_RealtimeConversationItemSystemMessageObject": {
        "enum": [
          "realtime.item"
        ],
        "type": "string"
      },
      "Input_RealtimeConversationItemSystemMessageRole": {
        "enum": [
          "system"
        ],
        "type": "string"
      },
      "Input_RealtimeConversationItemSystemMessageStatus": {
        "enum": [
          "completed",
          "incomplete",
          "in_progress"
        ],
        "type": "string"
      },
      "Input_RealtimeConversationItemSystemMessageType": {
        "enum": [
          "message"
        ],
        "type": "string"
      },
      "Input_RealtimeConversationItemUserMessage": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_conversation_item_user_message.py`, `RealtimeConversationItemUserMessage`.",
        "properties": {
          "content": {
            "items": {
              "$ref": "#/components/schemas/Input_RealtimeConversationItemUserMessageContent"
            },
            "type": "array"
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "object": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeConversationItemUserMessageObject"
              },
              {
                "type": "null"
              }
            ]
          },
          "role": {
            "$ref": "#/components/schemas/Input_RealtimeConversationItemUserMessageRole"
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeConversationItemUserMessageStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_RealtimeConversationItemUserMessageType"
          }
        },
        "required": [
          "content",
          "role",
          "type"
        ],
        "type": "object"
      },
      "Input_RealtimeConversationItemUserMessageContent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_conversation_item_user_message.py`, `Content`.",
        "properties": {
          "audio": {
            "type": [
              "string",
              "null"
            ]
          },
          "detail": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeConversationItemUserMessageContentDetail"
              },
              {
                "type": "null"
              }
            ]
          },
          "image_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "text": {
            "type": [
              "string",
              "null"
            ]
          },
          "transcript": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeConversationItemUserMessageContentType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_RealtimeConversationItemUserMessageContentDetail": {
        "enum": [
          "auto",
          "low",
          "high"
        ],
        "type": "string"
      },
      "Input_RealtimeConversationItemUserMessageContentType": {
        "enum": [
          "input_text",
          "input_audio",
          "input_image"
        ],
        "type": "string"
      },
      "Input_RealtimeConversationItemUserMessageObject": {
        "enum": [
          "realtime.item"
        ],
        "type": "string"
      },
      "Input_RealtimeConversationItemUserMessageRole": {
        "enum": [
          "user"
        ],
        "type": "string"
      },
      "Input_RealtimeConversationItemUserMessageStatus": {
        "enum": [
          "completed",
          "incomplete",
          "in_progress"
        ],
        "type": "string"
      },
      "Input_RealtimeConversationItemUserMessageType": {
        "enum": [
          "message"
        ],
        "type": "string"
      },
      "Input_RealtimeFunctionTool": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_function_tool.py`, `RealtimeFunctionTool`.",
        "properties": {
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "parameters": true,
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeFunctionToolType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_RealtimeFunctionToolType": {
        "enum": [
          "function"
        ],
        "type": "string"
      },
      "Input_RealtimeInputConfig": {
        "additionalProperties": true,
        "properties": {
          "activityHandling": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ActivityHandling"
              },
              {
                "type": "null"
              }
            ]
          },
          "automaticActivityDetection": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_AutomaticActivityDetection"
              },
              {
                "type": "null"
              }
            ]
          },
          "interimTranscriptTimestampEnabled": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "turnCoverage": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_TurnCoverage"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_RealtimeMcpApprovalRequest": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_mcp_approval_request.py`, `RealtimeMcpApprovalRequest`.",
        "properties": {
          "arguments": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "server_label": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_RealtimeMcpApprovalRequestType"
          }
        },
        "required": [
          "id",
          "arguments",
          "name",
          "server_label",
          "type"
        ],
        "type": "object"
      },
      "Input_RealtimeMcpApprovalRequestType": {
        "enum": [
          "mcp_approval_request"
        ],
        "type": "string"
      },
      "Input_RealtimeMcpApprovalResponse": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_mcp_approval_response.py`, `RealtimeMcpApprovalResponse`.",
        "properties": {
          "approval_request_id": {
            "type": "string"
          },
          "approve": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_RealtimeMcpApprovalResponseType"
          }
        },
        "required": [
          "id",
          "approval_request_id",
          "approve",
          "type"
        ],
        "type": "object"
      },
      "Input_RealtimeMcpApprovalResponseType": {
        "enum": [
          "mcp_approval_response"
        ],
        "type": "string"
      },
      "Input_RealtimeMcpListTools": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_mcp_list_tools.py`, `RealtimeMcpListTools`.",
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "server_label": {
            "type": "string"
          },
          "tools": {
            "items": {
              "$ref": "#/components/schemas/Input_RealtimeMcpListToolsTool"
            },
            "type": "array"
          },
          "type": {
            "$ref": "#/components/schemas/Input_RealtimeMcpListToolsType"
          }
        },
        "required": [
          "server_label",
          "tools",
          "type"
        ],
        "type": "object"
      },
      "Input_RealtimeMcpListToolsTool": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_mcp_list_tools.py`, `Tool`.",
        "properties": {
          "annotations": true,
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "input_schema": true,
          "name": {
            "type": "string"
          }
        },
        "required": [
          "input_schema",
          "name"
        ],
        "type": "object"
      },
      "Input_RealtimeMcpListToolsType": {
        "enum": [
          "mcp_list_tools"
        ],
        "type": "string"
      },
      "Input_RealtimeMcpProtocolError": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_mcp_protocol_error.py`, `RealtimeMcpProtocolError`.",
        "properties": {
          "code": {
            "format": "int64",
            "type": "integer"
          },
          "message": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_RealtimeMcpProtocolErrorType"
          }
        },
        "required": [
          "code",
          "message",
          "type"
        ],
        "type": "object"
      },
      "Input_RealtimeMcpProtocolErrorType": {
        "enum": [
          "protocol_error"
        ],
        "type": "string"
      },
      "Input_RealtimeMcpToolCall": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_mcp_tool_call.py`, `RealtimeMcpToolCall`.",
        "properties": {
          "approval_request_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "arguments": {
            "type": "string"
          },
          "error": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeMcpToolCallError"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "output": {
            "type": [
              "string",
              "null"
            ]
          },
          "server_label": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_RealtimeMcpToolCallType"
          }
        },
        "required": [
          "id",
          "arguments",
          "name",
          "server_label",
          "type"
        ],
        "type": "object"
      },
      "Input_RealtimeMcpToolCallError": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_RealtimeMcpProtocolError"
          },
          {
            "$ref": "#/components/schemas/Input_RealtimeMcpToolExecutionError"
          },
          {
            "$ref": "#/components/schemas/Input_RealtimeMcphttpError"
          },
          {
            "type": "null"
          }
        ],
        "description": "Source: `openai/types/realtime/realtime_mcp_tool_call.py`, `Error`."
      },
      "Input_RealtimeMcpToolCallType": {
        "enum": [
          "mcp_call"
        ],
        "type": "string"
      },
      "Input_RealtimeMcpToolExecutionError": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_mcp_tool_execution_error.py`, `RealtimeMcpToolExecutionError`.",
        "properties": {
          "message": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_RealtimeMcpToolExecutionErrorType"
          }
        },
        "required": [
          "message",
          "type"
        ],
        "type": "object"
      },
      "Input_RealtimeMcpToolExecutionErrorType": {
        "enum": [
          "tool_execution_error"
        ],
        "type": "string"
      },
      "Input_RealtimeMcphttpError": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_mcphttp_error.py`, `RealtimeMcphttpError`.",
        "properties": {
          "code": {
            "format": "int64",
            "type": "integer"
          },
          "message": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_RealtimeMcphttpErrorType"
          }
        },
        "required": [
          "code",
          "message",
          "type"
        ],
        "type": "object"
      },
      "Input_RealtimeMcphttpErrorType": {
        "enum": [
          "http_error"
        ],
        "type": "string"
      },
      "Input_RealtimeReasoning": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_reasoning.py`, `RealtimeReasoning`.",
        "properties": {
          "effort": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeReasoningEffort"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_RealtimeReasoningEffort": {
        "description": "Source: `openai/types/realtime/realtime_reasoning_effort.py`, `RealtimeReasoningEffort`.",
        "enum": [
          "minimal",
          "low",
          "medium",
          "high",
          "xhigh"
        ],
        "type": "string"
      },
      "Input_RealtimeResponseCreateAudioOutput": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_response_create_audio_output.py`, `RealtimeResponseCreateAudioOutput`.",
        "properties": {
          "output": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeResponseCreateAudioOutputOutput"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_RealtimeResponseCreateAudioOutputOutput": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_response_create_audio_output.py`, `Output`.",
        "properties": {
          "format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeAudioFormats"
              },
              {
                "type": "null"
              }
            ]
          },
          "voice": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeResponseCreateAudioOutputOutputVoice"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_RealtimeResponseCreateAudioOutputOutputVoice": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "$ref": "#/components/schemas/Input_RealtimeResponseCreateAudioOutputOutputVoiceID"
          }
        ],
        "description": "Source: `openai/types/realtime/realtime_response_create_audio_output.py`, `OutputVoice`."
      },
      "Input_RealtimeResponseCreateAudioOutputOutputVoiceID": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_response_create_audio_output.py`, `OutputVoiceID`.",
        "properties": {
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "type": "object"
      },
      "Input_RealtimeResponseCreateMcpTool": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_response_create_mcp_tool.py`, `RealtimeResponseCreateMcpTool`.",
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Input_RealtimeResponseCreateMcpToolAllowedCallersItem"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "allowed_tools": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeResponseCreateMcpToolAllowedTools"
              },
              {
                "type": "null"
              }
            ]
          },
          "authorization": {
            "type": [
              "string",
              "null"
            ]
          },
          "connector_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeResponseCreateMcpToolConnectorId"
              },
              {
                "type": "null"
              }
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "headers": {
            "additionalProperties": {
              "type": "string"
            },
            "type": [
              "object",
              "null"
            ]
          },
          "require_approval": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeResponseCreateMcpToolRequireApproval"
              },
              {
                "type": "null"
              }
            ]
          },
          "server_description": {
            "type": [
              "string",
              "null"
            ]
          },
          "server_label": {
            "type": "string"
          },
          "server_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "tunnel_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_RealtimeResponseCreateMcpToolType"
          }
        },
        "required": [
          "server_label",
          "type"
        ],
        "type": "object"
      },
      "Input_RealtimeResponseCreateMcpToolAllowedCallersItem": {
        "enum": [
          "direct",
          "programmatic"
        ],
        "type": "string"
      },
      "Input_RealtimeResponseCreateMcpToolAllowedTools": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "$ref": "#/components/schemas/Input_RealtimeResponseCreateMcpToolAllowedToolsMcpToolFilter"
          },
          {
            "type": "null"
          }
        ],
        "description": "Source: `openai/types/realtime/realtime_response_create_mcp_tool.py`, `AllowedTools`."
      },
      "Input_RealtimeResponseCreateMcpToolAllowedToolsMcpToolFilter": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_response_create_mcp_tool.py`, `AllowedToolsMcpToolFilter`.",
        "properties": {
          "read_only": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "tool_names": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_RealtimeResponseCreateMcpToolConnectorId": {
        "enum": [
          "connector_dropbox",
          "connector_gmail",
          "connector_googlecalendar",
          "connector_googledrive",
          "connector_microsoftteams",
          "connector_outlookcalendar",
          "connector_outlookemail",
          "connector_sharepoint"
        ],
        "type": "string"
      },
      "Input_RealtimeResponseCreateMcpToolRequireApproval": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_RealtimeResponseCreateMcpToolRequireApprovalMcpToolApprovalFilter"
          },
          {
            "$ref": "#/components/schemas/Input_RealtimeResponseCreateMcpToolRequireApprovalVariant2"
          },
          {
            "type": "null"
          }
        ],
        "description": "Source: `openai/types/realtime/realtime_response_create_mcp_tool.py`, `RequireApproval`."
      },
      "Input_RealtimeResponseCreateMcpToolRequireApprovalMcpToolApprovalFilter": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_response_create_mcp_tool.py`, `RequireApprovalMcpToolApprovalFilter`.",
        "properties": {
          "always": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeResponseCreateMcpToolRequireApprovalMcpToolApprovalFilterAlways"
              },
              {
                "type": "null"
              }
            ]
          },
          "never": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeResponseCreateMcpToolRequireApprovalMcpToolApprovalFilterNever"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_RealtimeResponseCreateMcpToolRequireApprovalMcpToolApprovalFilterAlways": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_response_create_mcp_tool.py`, `RequireApprovalMcpToolApprovalFilterAlways`.",
        "properties": {
          "read_only": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "tool_names": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_RealtimeResponseCreateMcpToolRequireApprovalMcpToolApprovalFilterNever": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_response_create_mcp_tool.py`, `RequireApprovalMcpToolApprovalFilterNever`.",
        "properties": {
          "read_only": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "tool_names": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_RealtimeResponseCreateMcpToolRequireApprovalVariant2": {
        "enum": [
          "always",
          "never"
        ],
        "type": "string"
      },
      "Input_RealtimeResponseCreateMcpToolType": {
        "enum": [
          "mcp"
        ],
        "type": "string"
      },
      "Input_RealtimeResponseCreateParams": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_response_create_params.py`, `RealtimeResponseCreateParams`.",
        "properties": {
          "audio": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeResponseCreateAudioOutput"
              },
              {
                "type": "null"
              }
            ]
          },
          "conversation": {
            "type": [
              "string",
              "null"
            ]
          },
          "input": {
            "items": {
              "$ref": "#/components/schemas/Input_ConversationItem"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "instructions": {
            "type": [
              "string",
              "null"
            ]
          },
          "max_output_tokens": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeResponseCreateParamsMaxOutputTokens"
              },
              {
                "type": "null"
              }
            ]
          },
          "metadata": {
            "additionalProperties": {
              "type": "string"
            },
            "type": [
              "object",
              "null"
            ]
          },
          "output_modalities": {
            "items": {
              "$ref": "#/components/schemas/Input_RealtimeResponseCreateParamsOutputModalitiesItem"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "parallel_tool_calls": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "prompt": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ResponsePrompt2"
              },
              {
                "type": "null"
              }
            ]
          },
          "reasoning": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeReasoning"
              },
              {
                "type": "null"
              }
            ]
          },
          "tool_choice": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeResponseCreateParamsToolChoice"
              },
              {
                "type": "null"
              }
            ]
          },
          "tools": {
            "items": {
              "$ref": "#/components/schemas/Input_RealtimeResponseCreateParamsTool"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_RealtimeResponseCreateParamsMaxOutputTokens": {
        "anyOf": [
          {
            "format": "int64",
            "type": "integer"
          },
          {
            "$ref": "#/components/schemas/Input_RealtimeResponseCreateParamsMaxOutputTokensVariant2"
          }
        ]
      },
      "Input_RealtimeResponseCreateParamsMaxOutputTokensVariant2": {
        "enum": [
          "inf"
        ],
        "type": "string"
      },
      "Input_RealtimeResponseCreateParamsOutputModalitiesItem": {
        "enum": [
          "text",
          "audio"
        ],
        "type": "string"
      },
      "Input_RealtimeResponseCreateParamsTool": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_RealtimeFunctionTool"
          },
          {
            "$ref": "#/components/schemas/Input_RealtimeResponseCreateMcpTool"
          }
        ],
        "description": "Source: `openai/types/realtime/realtime_response_create_params.py`, `Tool`."
      },
      "Input_RealtimeResponseCreateParamsToolChoice": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_ToolChoiceOptions"
          },
          {
            "$ref": "#/components/schemas/Input_ToolChoiceFunction2"
          },
          {
            "$ref": "#/components/schemas/Input_ToolChoiceMcp2"
          }
        ],
        "description": "Source: `openai/types/realtime/realtime_response_create_params.py`, `ToolChoice`."
      },
      "Input_RealtimeSessionCreateRequest": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_session_create_request.py`, `RealtimeSessionCreateRequest`.",
        "properties": {
          "audio": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeAudioConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "include": {
            "items": {
              "$ref": "#/components/schemas/Input_RealtimeSessionCreateRequestIncludeItem"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "instructions": {
            "type": [
              "string",
              "null"
            ]
          },
          "max_output_tokens": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeSessionCreateRequestMaxOutputTokens"
              },
              {
                "type": "null"
              }
            ]
          },
          "model": {
            "type": [
              "string",
              "null"
            ]
          },
          "output_modalities": {
            "items": {
              "$ref": "#/components/schemas/Input_RealtimeSessionCreateRequestOutputModalitiesItem"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "parallel_tool_calls": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "prompt": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ResponsePrompt2"
              },
              {
                "type": "null"
              }
            ]
          },
          "reasoning": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeReasoning"
              },
              {
                "type": "null"
              }
            ]
          },
          "tool_choice": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeToolChoiceConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "tools": {
            "items": {
              "$ref": "#/components/schemas/Input_RealtimeToolsConfigUnion"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "tracing": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeTracingConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "truncation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeTruncation"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_RealtimeSessionCreateRequestType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_RealtimeSessionCreateRequestIncludeItem": {
        "enum": [
          "item.input_audio_transcription.logprobs"
        ],
        "type": "string"
      },
      "Input_RealtimeSessionCreateRequestMaxOutputTokens": {
        "anyOf": [
          {
            "format": "int64",
            "type": "integer"
          },
          {
            "$ref": "#/components/schemas/Input_RealtimeSessionCreateRequestMaxOutputTokensVariant2"
          }
        ]
      },
      "Input_RealtimeSessionCreateRequestMaxOutputTokensVariant2": {
        "enum": [
          "inf"
        ],
        "type": "string"
      },
      "Input_RealtimeSessionCreateRequestOutputModalitiesItem": {
        "enum": [
          "text",
          "audio"
        ],
        "type": "string"
      },
      "Input_RealtimeSessionCreateRequestType": {
        "enum": [
          "realtime"
        ],
        "type": "string"
      },
      "Input_RealtimeToolChoiceConfig": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_ToolChoiceOptions"
          },
          {
            "$ref": "#/components/schemas/Input_ToolChoiceFunction2"
          },
          {
            "$ref": "#/components/schemas/Input_ToolChoiceMcp2"
          }
        ],
        "description": "Source: `openai/types/realtime/realtime_tool_choice_config.py`, `RealtimeToolChoiceConfig`."
      },
      "Input_RealtimeToolsConfigUnion": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_RealtimeFunctionTool"
          },
          {
            "$ref": "#/components/schemas/Input_RealtimeToolsConfigUnionMcp"
          }
        ],
        "description": "Source: `openai/types/realtime/realtime_tools_config_union.py`, `RealtimeToolsConfigUnion`."
      },
      "Input_RealtimeToolsConfigUnionMcp": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_tools_config_union.py`, `Mcp`.",
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Input_RealtimeToolsConfigUnionMcpAllowedCallersItem"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "allowed_tools": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeToolsConfigUnionMcpAllowedTools"
              },
              {
                "type": "null"
              }
            ]
          },
          "authorization": {
            "type": [
              "string",
              "null"
            ]
          },
          "connector_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeToolsConfigUnionMcpConnectorId"
              },
              {
                "type": "null"
              }
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "headers": {
            "additionalProperties": {
              "type": "string"
            },
            "type": [
              "object",
              "null"
            ]
          },
          "require_approval": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeToolsConfigUnionMcpRequireApproval"
              },
              {
                "type": "null"
              }
            ]
          },
          "server_description": {
            "type": [
              "string",
              "null"
            ]
          },
          "server_label": {
            "type": "string"
          },
          "server_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "tunnel_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_RealtimeToolsConfigUnionMcpType"
          }
        },
        "required": [
          "server_label",
          "type"
        ],
        "type": "object"
      },
      "Input_RealtimeToolsConfigUnionMcpAllowedCallersItem": {
        "enum": [
          "direct",
          "programmatic"
        ],
        "type": "string"
      },
      "Input_RealtimeToolsConfigUnionMcpAllowedTools": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "$ref": "#/components/schemas/Input_RealtimeToolsConfigUnionMcpAllowedToolsMcpToolFilter"
          },
          {
            "type": "null"
          }
        ],
        "description": "Source: `openai/types/realtime/realtime_tools_config_union.py`, `McpAllowedTools`."
      },
      "Input_RealtimeToolsConfigUnionMcpAllowedToolsMcpToolFilter": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_tools_config_union.py`, `McpAllowedToolsMcpToolFilter`.",
        "properties": {
          "read_only": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "tool_names": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_RealtimeToolsConfigUnionMcpConnectorId": {
        "enum": [
          "connector_dropbox",
          "connector_gmail",
          "connector_googlecalendar",
          "connector_googledrive",
          "connector_microsoftteams",
          "connector_outlookcalendar",
          "connector_outlookemail",
          "connector_sharepoint"
        ],
        "type": "string"
      },
      "Input_RealtimeToolsConfigUnionMcpRequireApproval": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_RealtimeToolsConfigUnionMcpRequireApprovalMcpToolApprovalFilter"
          },
          {
            "$ref": "#/components/schemas/Input_RealtimeToolsConfigUnionMcpRequireApprovalVariant2"
          },
          {
            "type": "null"
          }
        ],
        "description": "Source: `openai/types/realtime/realtime_tools_config_union.py`, `McpRequireApproval`."
      },
      "Input_RealtimeToolsConfigUnionMcpRequireApprovalMcpToolApprovalFilter": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_tools_config_union.py`, `McpRequireApprovalMcpToolApprovalFilter`.",
        "properties": {
          "always": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeToolsConfigUnionMcpRequireApprovalMcpToolApprovalFilterAlways"
              },
              {
                "type": "null"
              }
            ]
          },
          "never": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeToolsConfigUnionMcpRequireApprovalMcpToolApprovalFilterNever"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_RealtimeToolsConfigUnionMcpRequireApprovalMcpToolApprovalFilterAlways": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_tools_config_union.py`, `McpRequireApprovalMcpToolApprovalFilterAlways`.",
        "properties": {
          "read_only": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "tool_names": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_RealtimeToolsConfigUnionMcpRequireApprovalMcpToolApprovalFilterNever": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_tools_config_union.py`, `McpRequireApprovalMcpToolApprovalFilterNever`.",
        "properties": {
          "read_only": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "tool_names": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_RealtimeToolsConfigUnionMcpRequireApprovalVariant2": {
        "enum": [
          "always",
          "never"
        ],
        "type": "string"
      },
      "Input_RealtimeToolsConfigUnionMcpType": {
        "enum": [
          "mcp"
        ],
        "type": "string"
      },
      "Input_RealtimeTracingConfig": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_RealtimeTracingConfigVariant1"
          },
          {
            "$ref": "#/components/schemas/Input_RealtimeTracingConfigTracingConfiguration"
          },
          {
            "type": "null"
          }
        ],
        "description": "Source: `openai/types/realtime/realtime_tracing_config.py`, `RealtimeTracingConfig`."
      },
      "Input_RealtimeTracingConfigTracingConfiguration": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_tracing_config.py`, `TracingConfiguration`.",
        "properties": {
          "group_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "metadata": true,
          "workflow_name": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_RealtimeTracingConfigVariant1": {
        "enum": [
          "auto"
        ],
        "type": "string"
      },
      "Input_RealtimeTranscriptionSessionAudio": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_transcription_session_audio.py`, `RealtimeTranscriptionSessionAudio`.",
        "properties": {
          "input": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeTranscriptionSessionAudioInput"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_RealtimeTranscriptionSessionAudioInput": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_transcription_session_audio_input.py`, `RealtimeTranscriptionSessionAudioInput`.",
        "properties": {
          "format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeAudioFormats"
              },
              {
                "type": "null"
              }
            ]
          },
          "noise_reduction": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeTranscriptionSessionAudioInputNoiseReduction"
              },
              {
                "type": "null"
              }
            ]
          },
          "transcription": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_AudioTranscription2"
              },
              {
                "type": "null"
              }
            ]
          },
          "turn_detection": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeTranscriptionSessionAudioInputTurnDetection"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_RealtimeTranscriptionSessionAudioInputNoiseReduction": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_transcription_session_audio_input.py`, `NoiseReduction`.",
        "properties": {
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_NoiseReductionType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_RealtimeTranscriptionSessionAudioInputTurnDetection": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_RealtimeTranscriptionSessionAudioInputTurnDetectionServerVad"
          },
          {
            "$ref": "#/components/schemas/Input_RealtimeTranscriptionSessionAudioInputTurnDetectionSemanticVad"
          },
          {
            "type": "null"
          }
        ],
        "description": "Source: `openai/types/realtime/realtime_transcription_session_audio_input_turn_detection.py`, `RealtimeTranscriptionSessionAudioInputTurnDetection`."
      },
      "Input_RealtimeTranscriptionSessionAudioInputTurnDetectionSemanticVad": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_transcription_session_audio_input_turn_detection.py`, `SemanticVad`.",
        "properties": {
          "create_response": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "eagerness": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeTranscriptionSessionAudioInputTurnDetectionSemanticVadEagerness"
              },
              {
                "type": "null"
              }
            ]
          },
          "interrupt_response": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_RealtimeTranscriptionSessionAudioInputTurnDetectionSemanticVadType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_RealtimeTranscriptionSessionAudioInputTurnDetectionSemanticVadEagerness": {
        "enum": [
          "low",
          "medium",
          "high",
          "auto"
        ],
        "type": "string"
      },
      "Input_RealtimeTranscriptionSessionAudioInputTurnDetectionSemanticVadType": {
        "enum": [
          "semantic_vad"
        ],
        "type": "string"
      },
      "Input_RealtimeTranscriptionSessionAudioInputTurnDetectionServerVad": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_transcription_session_audio_input_turn_detection.py`, `ServerVad`.",
        "properties": {
          "create_response": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "idle_timeout_ms": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "interrupt_response": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "prefix_padding_ms": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "silence_duration_ms": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "threshold": {
            "type": [
              "number",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_RealtimeTranscriptionSessionAudioInputTurnDetectionServerVadType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_RealtimeTranscriptionSessionAudioInputTurnDetectionServerVadType": {
        "enum": [
          "server_vad"
        ],
        "type": "string"
      },
      "Input_RealtimeTranscriptionSessionCreateRequest": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_transcription_session_create_request.py`, `RealtimeTranscriptionSessionCreateRequest`.",
        "properties": {
          "audio": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeTranscriptionSessionAudio"
              },
              {
                "type": "null"
              }
            ]
          },
          "include": {
            "items": {
              "$ref": "#/components/schemas/Input_RealtimeTranscriptionSessionCreateRequestIncludeItem"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_RealtimeTranscriptionSessionCreateRequestType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_RealtimeTranscriptionSessionCreateRequestIncludeItem": {
        "enum": [
          "item.input_audio_transcription.logprobs"
        ],
        "type": "string"
      },
      "Input_RealtimeTranscriptionSessionCreateRequestType": {
        "enum": [
          "transcription"
        ],
        "type": "string"
      },
      "Input_RealtimeTruncation": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_RealtimeTruncationVariant1"
          },
          {
            "$ref": "#/components/schemas/Input_RealtimeTruncationRetentionRatio"
          }
        ],
        "description": "Source: `openai/types/realtime/realtime_truncation.py`, `RealtimeTruncation`."
      },
      "Input_RealtimeTruncationRetentionRatio": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_truncation_retention_ratio.py`, `RealtimeTruncationRetentionRatio`.",
        "properties": {
          "retention_ratio": {
            "type": "number"
          },
          "token_limits": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeTruncationRetentionRatioTokenLimits"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_RealtimeTruncationRetentionRatioType"
          }
        },
        "required": [
          "retention_ratio",
          "type"
        ],
        "type": "object"
      },
      "Input_RealtimeTruncationRetentionRatioTokenLimits": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_truncation_retention_ratio.py`, `TokenLimits`.",
        "properties": {
          "post_instructions": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_RealtimeTruncationRetentionRatioType": {
        "enum": [
          "retention_ratio"
        ],
        "type": "string"
      },
      "Input_RealtimeTruncationVariant1": {
        "enum": [
          "auto",
          "disabled"
        ],
        "type": "string"
      },
      "Input_Reasoning": {
        "additionalProperties": true,
        "properties": {
          "context": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ReasoningContext2"
              },
              {
                "type": "null"
              }
            ]
          },
          "effort": {
            "type": [
              "string",
              "null"
            ]
          },
          "summary": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ReasoningSummary2"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_ReasoningConfig": {
        "additionalProperties": true,
        "properties": {
          "context": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ReasoningContext"
              },
              {
                "type": "null"
              }
            ]
          },
          "effort": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ReasoningEffort"
              },
              {
                "type": "null"
              }
            ]
          },
          "generate_summary": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ReasoningSummary"
              },
              {
                "type": "null"
              }
            ]
          },
          "mode": {
            "type": [
              "string",
              "null"
            ]
          },
          "summary": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ReasoningSummary"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_ReasoningContent": {
        "additionalProperties": true,
        "properties": {
          "text": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ReasoningTextType"
          }
        },
        "required": [
          "type",
          "text"
        ],
        "type": "object"
      },
      "Input_ReasoningContext": {
        "enum": [
          "auto",
          "current_turn",
          "all_turns"
        ],
        "type": "string"
      },
      "Input_ReasoningContext2": {
        "enum": [
          "auto",
          "current_turn",
          "all_turns"
        ],
        "type": "string"
      },
      "Input_ReasoningDetail": {
        "additionalProperties": true,
        "description": "Payload fields are optional because streaming detail fragments may carry\nonly a signature or identity. Encrypted data is never interpreted as text.",
        "properties": {
          "data": {
            "type": [
              "string",
              "null"
            ]
          },
          "format": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "index": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "signature": {
            "type": [
              "string",
              "null"
            ]
          },
          "summary": {
            "type": [
              "string",
              "null"
            ]
          },
          "text": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_ReasoningDetailKind"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_ReasoningDetailKind": {
        "enum": [
          "reasoning.text",
          "reasoning.summary",
          "reasoning.encrypted"
        ],
        "type": "string"
      },
      "Input_ReasoningEffort": {
        "anyOf": [
          {
            "enum": [
              "none",
              "minimal",
              "low",
              "medium",
              "high",
              "xhigh",
              "max"
            ],
            "type": "string"
          },
          {
            "description": "Codex custom effort is serialized as an unsigned JSON integer.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        ]
      },
      "Input_ReasoningEffort2": {
        "enum": [
          "none",
          "minimal",
          "low",
          "medium",
          "high",
          "xhigh",
          "max"
        ],
        "type": "string"
      },
      "Input_ReasoningItem": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/Input_ReasoningContent"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "encrypted_content": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ReasoningStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "summary": {
            "items": {
              "$ref": "#/components/schemas/Input_SummaryText"
            },
            "type": "array"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ReasoningItemType"
          }
        },
        "required": [
          "type",
          "id",
          "summary"
        ],
        "type": "object"
      },
      "Input_ReasoningItemContent": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Input_ReasoningItemContentReasoningText",
            "properties": {
              "type": {
                "const": "reasoning_text",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ReasoningItemContentText",
            "properties": {
              "type": {
                "const": "text",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Input_ReasoningItemContentReasoningText": {
        "additionalProperties": true,
        "properties": {
          "text": {
            "type": "string"
          }
        },
        "required": [
          "text"
        ],
        "type": "object"
      },
      "Input_ReasoningItemContentText": {
        "additionalProperties": true,
        "properties": {
          "text": {
            "type": "string"
          }
        },
        "required": [
          "text"
        ],
        "type": "object"
      },
      "Input_ReasoningItemReasoningSummary": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Input_ReasoningItemReasoningSummarySummaryText",
            "properties": {
              "type": {
                "const": "summary_text",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Input_ReasoningItemReasoningSummarySummaryText": {
        "additionalProperties": true,
        "properties": {
          "text": {
            "type": "string"
          }
        },
        "required": [
          "text"
        ],
        "type": "object"
      },
      "Input_ReasoningItemType": {
        "enum": [
          "reasoning"
        ],
        "type": "string"
      },
      "Input_ReasoningStatus": {
        "enum": [
          "in_progress",
          "completed",
          "incomplete"
        ],
        "type": "string"
      },
      "Input_ReasoningSummary": {
        "enum": [
          "auto",
          "concise",
          "detailed"
        ],
        "type": "string"
      },
      "Input_ReasoningSummary2": {
        "enum": [
          "auto",
          "concise",
          "detailed",
          "none"
        ],
        "type": "string"
      },
      "Input_ReasoningTextType": {
        "enum": [
          "reasoning_text"
        ],
        "type": "string"
      },
      "Input_RedactedThinkingBlock": {
        "additionalProperties": true,
        "properties": {
          "data": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_RedactedThinkingBlockType"
          }
        },
        "required": [
          "type",
          "data"
        ],
        "type": "object"
      },
      "Input_RedactedThinkingBlockType": {
        "enum": [
          "redacted_thinking"
        ],
        "type": "string"
      },
      "Input_RefusalPart": {
        "additionalProperties": true,
        "properties": {
          "refusal": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_RefusalType"
          }
        },
        "required": [
          "type",
          "refusal"
        ],
        "type": "object"
      },
      "Input_RefusalType": {
        "enum": [
          "refusal"
        ],
        "type": "string"
      },
      "Input_ReplayOutputText": {
        "additionalProperties": true,
        "properties": {
          "annotations": {
            "items": {
              "$ref": "#/components/schemas/Input_OutputAnnotation"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "logprobs": {
            "items": {
              "$ref": "#/components/schemas/Input_OutputLogprob"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "text": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ResponseOutputTextType"
          }
        },
        "required": [
          "type",
          "text"
        ],
        "type": "object"
      },
      "Input_ReplicatedVoiceConfig": {
        "additionalProperties": true,
        "properties": {
          "consentAudio": {
            "type": [
              "string",
              "null"
            ]
          },
          "mimeType": {
            "type": [
              "string",
              "null"
            ]
          },
          "voiceConsentSignature": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_VoiceConsentSignature"
              },
              {
                "type": "null"
              }
            ]
          },
          "voiceSampleAudio": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_RequestMessage": {
        "description": "WS-only controls from the current official WebSocket mode guide.\nThey never enter the HTTP generation request body.",
        "oneOf": [
          {
            "$ref": "#/components/schemas/Input_InjectRequest",
            "properties": {
              "type": {
                "const": "response.inject",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_GenerateContentRequestBody",
            "properties": {
              "type": {
                "const": "response.create",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_SteerRequest",
            "properties": {
              "type": {
                "const": "response.steer",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_InterruptRequest",
            "properties": {
              "type": {
                "const": "response.interrupt",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "generate": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "stream_id": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_RerankDocument": {
        "additionalProperties": true,
        "properties": {
          "image": {
            "type": [
              "string",
              "null"
            ]
          },
          "text": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_RerankDocumentInput": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "$ref": "#/components/schemas/Input_RerankDocument"
          }
        ]
      },
      "Input_RerankRequestBody": {
        "additionalProperties": true,
        "properties": {
          "documents": {
            "items": {
              "$ref": "#/components/schemas/Input_RerankDocumentInput"
            },
            "type": "array"
          },
          "model": {
            "type": "string"
          },
          "provider": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ProviderPreferences"
              },
              {
                "type": "null"
              }
            ]
          },
          "query": {
            "type": "string"
          },
          "top_n": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "model",
          "query",
          "documents"
        ],
        "type": "object"
      },
      "Input_ResponseCancelEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/response_cancel_event.py`, `ResponseCancelEvent`.",
        "properties": {
          "event_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "response_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_ResponseCancelEventType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_ResponseCancelEventType": {
        "enum": [
          "response.cancel"
        ],
        "type": "string"
      },
      "Input_ResponseConversationParam": {
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "type": "object"
      },
      "Input_ResponseCreateEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/response_create_event.py`, `ResponseCreateEvent`.",
        "properties": {
          "event_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "response": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RealtimeResponseCreateParams"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_ResponseCreateEventType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_ResponseCreateEventType": {
        "enum": [
          "response.create"
        ],
        "type": "string"
      },
      "Input_ResponseFormat": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_TextResponseFormat2"
          },
          {
            "$ref": "#/components/schemas/Input_JsonSchemaResponseFormat"
          },
          {
            "$ref": "#/components/schemas/Input_JsonObjectResponseFormat"
          }
        ]
      },
      "Input_ResponseFormatConfig": {
        "additionalProperties": true,
        "properties": {
          "audio": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_AudioResponseFormat"
              },
              {
                "type": "null"
              }
            ]
          },
          "image": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ImageResponseFormat"
              },
              {
                "type": "null"
              }
            ]
          },
          "text": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_TextResponseFormat"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_ResponseIncludable": {
        "enum": [
          "web_search_call.action.sources",
          "code_interpreter_call.outputs",
          "computer_call_output.output.image_url",
          "file_search_call.results",
          "message.input_image.image_url",
          "message.output_text.logprobs",
          "reasoning.encrypted_content"
        ],
        "type": "string"
      },
      "Input_ResponseInclusion": {
        "enum": [
          "full",
          "excluded"
        ],
        "type": "string"
      },
      "Input_ResponseInputFile": {
        "additionalProperties": true,
        "properties": {
          "detail": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_FileDetail"
              },
              {
                "type": "null"
              }
            ]
          },
          "file_data": {
            "type": [
              "string",
              "null"
            ]
          },
          "file_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "file_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "filename": {
            "type": [
              "string",
              "null"
            ]
          },
          "prompt_cache_breakpoint": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_PromptCacheBreakpoint"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_ResponseInputFileType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_ResponseInputFile2": {
        "additionalProperties": true,
        "description": "Source: `openai/types/responses/response_input_file.py`, `ResponseInputFile`.",
        "properties": {
          "detail": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ResponseInputFileDetail"
              },
              {
                "type": "null"
              }
            ]
          },
          "file_data": {
            "type": [
              "string",
              "null"
            ]
          },
          "file_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "file_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "filename": {
            "type": [
              "string",
              "null"
            ]
          },
          "prompt_cache_breakpoint": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ResponseInputFilePromptCacheBreakpoint"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_ResponseInputFileType2"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_ResponseInputFileDetail": {
        "enum": [
          "auto",
          "low",
          "high"
        ],
        "type": "string"
      },
      "Input_ResponseInputFilePromptCacheBreakpoint": {
        "additionalProperties": true,
        "description": "Source: `openai/types/responses/response_input_file.py`, `PromptCacheBreakpoint`.",
        "properties": {
          "mode": {
            "$ref": "#/components/schemas/Input_ResponseInputFilePromptCacheBreakpointMode"
          }
        },
        "required": [
          "mode"
        ],
        "type": "object"
      },
      "Input_ResponseInputFilePromptCacheBreakpointMode": {
        "enum": [
          "explicit"
        ],
        "type": "string"
      },
      "Input_ResponseInputFileType": {
        "enum": [
          "input_file"
        ],
        "type": "string"
      },
      "Input_ResponseInputFileType2": {
        "enum": [
          "input_file"
        ],
        "type": "string"
      },
      "Input_ResponseInputImage": {
        "additionalProperties": true,
        "properties": {
          "detail": {
            "$ref": "#/components/schemas/Input_ImageDetail"
          },
          "file_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "image_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "prompt_cache_breakpoint": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_PromptCacheBreakpoint"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_ResponseInputImageType"
          }
        },
        "required": [
          "type",
          "detail"
        ],
        "type": "object"
      },
      "Input_ResponseInputImage2": {
        "additionalProperties": true,
        "description": "Source: `openai/types/responses/response_input_image.py`, `ResponseInputImage`.",
        "properties": {
          "detail": {
            "$ref": "#/components/schemas/Input_ImageDetail4"
          },
          "file_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "image_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "prompt_cache_breakpoint": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ResponseInputImagePromptCacheBreakpoint"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_ResponseInputImageType2"
          }
        },
        "required": [
          "detail",
          "type"
        ],
        "type": "object"
      },
      "Input_ResponseInputImagePromptCacheBreakpoint": {
        "additionalProperties": true,
        "description": "Source: `openai/types/responses/response_input_image.py`, `PromptCacheBreakpoint`.",
        "properties": {
          "mode": {
            "$ref": "#/components/schemas/Input_ResponseInputImagePromptCacheBreakpointMode"
          }
        },
        "required": [
          "mode"
        ],
        "type": "object"
      },
      "Input_ResponseInputImagePromptCacheBreakpointMode": {
        "enum": [
          "explicit"
        ],
        "type": "string"
      },
      "Input_ResponseInputImageType": {
        "enum": [
          "input_image"
        ],
        "type": "string"
      },
      "Input_ResponseInputImageType2": {
        "enum": [
          "input_image"
        ],
        "type": "string"
      },
      "Input_ResponseInputText": {
        "additionalProperties": true,
        "properties": {
          "prompt_cache_breakpoint": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_PromptCacheBreakpoint"
              },
              {
                "type": "null"
              }
            ]
          },
          "text": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ResponseInputTextType"
          }
        },
        "required": [
          "type",
          "text"
        ],
        "type": "object"
      },
      "Input_ResponseInputText2": {
        "additionalProperties": true,
        "description": "Source: `openai/types/responses/response_input_text.py`, `ResponseInputText`.",
        "properties": {
          "prompt_cache_breakpoint": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ResponseInputTextPromptCacheBreakpoint"
              },
              {
                "type": "null"
              }
            ]
          },
          "text": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ResponseInputTextType2"
          }
        },
        "required": [
          "text",
          "type"
        ],
        "type": "object"
      },
      "Input_ResponseInputTextPromptCacheBreakpoint": {
        "additionalProperties": true,
        "description": "Source: `openai/types/responses/response_input_text.py`, `PromptCacheBreakpoint`.",
        "properties": {
          "mode": {
            "$ref": "#/components/schemas/Input_ResponseInputTextPromptCacheBreakpointMode"
          }
        },
        "required": [
          "mode"
        ],
        "type": "object"
      },
      "Input_ResponseInputTextPromptCacheBreakpointMode": {
        "enum": [
          "explicit"
        ],
        "type": "string"
      },
      "Input_ResponseInputTextType": {
        "enum": [
          "input_text"
        ],
        "type": "string"
      },
      "Input_ResponseInputTextType2": {
        "enum": [
          "input_text"
        ],
        "type": "string"
      },
      "Input_ResponseItemOther": {
        "additionalProperties": true,
        "type": "object"
      },
      "Input_ResponseModeration": {
        "additionalProperties": true,
        "properties": {
          "model": {
            "type": "string"
          },
          "policy": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ModerationPolicy"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "model"
        ],
        "type": "object"
      },
      "Input_ResponseOutputMessage": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/Input_OutputContent"
            },
            "type": "array"
          },
          "id": {
            "type": "string"
          },
          "phase": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_MessagePhase"
              },
              {
                "type": "null"
              }
            ]
          },
          "role": {
            "$ref": "#/components/schemas/Input_OutputMessageRole"
          },
          "status": {
            "$ref": "#/components/schemas/Input_OutputMessageStatus"
          },
          "type": {
            "$ref": "#/components/schemas/Input_MessageType"
          }
        },
        "required": [
          "id",
          "content",
          "role",
          "status",
          "type"
        ],
        "type": "object"
      },
      "Input_ResponseOutputRefusal": {
        "additionalProperties": true,
        "properties": {
          "refusal": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ResponseOutputRefusalType"
          }
        },
        "required": [
          "type",
          "refusal"
        ],
        "type": "object"
      },
      "Input_ResponseOutputRefusalType": {
        "enum": [
          "refusal"
        ],
        "type": "string"
      },
      "Input_ResponseOutputText": {
        "additionalProperties": true,
        "properties": {
          "annotations": {
            "items": {
              "$ref": "#/components/schemas/Input_OutputAnnotation"
            },
            "type": "array"
          },
          "logprobs": {
            "items": {
              "$ref": "#/components/schemas/Input_OutputLogprob"
            },
            "type": "array"
          },
          "text": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ResponseOutputTextType"
          }
        },
        "required": [
          "type",
          "text",
          "annotations",
          "logprobs"
        ],
        "type": "object"
      },
      "Input_ResponseOutputTextType": {
        "enum": [
          "output_text"
        ],
        "type": "string"
      },
      "Input_ResponsePrompt": {
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "string"
          },
          "variables": {
            "additionalProperties": {
              "$ref": "#/components/schemas/Input_PromptVariableValue"
            },
            "type": [
              "object",
              "null"
            ]
          },
          "version": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id"
        ],
        "type": "object"
      },
      "Input_ResponsePrompt2": {
        "additionalProperties": true,
        "description": "Source: `openai/types/responses/response_prompt.py`, `ResponsePrompt`.",
        "properties": {
          "id": {
            "type": "string"
          },
          "variables": {
            "additionalProperties": {
              "$ref": "#/components/schemas/Input_ResponsePromptVariables"
            },
            "type": [
              "object",
              "null"
            ]
          },
          "version": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id"
        ],
        "type": "object"
      },
      "Input_ResponsePromptVariables": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "$ref": "#/components/schemas/Input_ResponseInputText2"
          },
          {
            "$ref": "#/components/schemas/Input_ResponseInputImage2"
          },
          {
            "$ref": "#/components/schemas/Input_ResponseInputFile2"
          }
        ],
        "description": "Source: `openai/types/responses/response_prompt.py`, `Variables`."
      },
      "Input_RetrievalConfig": {
        "additionalProperties": true,
        "properties": {
          "languageCode": {
            "type": [
              "string",
              "null"
            ]
          },
          "latLng": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_LatLng"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_RetrievalMode": {
        "enum": [
          "MODE_UNSPECIFIED",
          "MODE_DYNAMIC"
        ],
        "type": "string"
      },
      "Input_RevokeRequest": {
        "description": "RFC 7009 §2.1.",
        "properties": {
          "client_id": {
            "default": null,
            "description": "When present, the token must belong to this client. A public client has\nno secret to prove with, so this cannot authorize a revocation — it can\nonly refuse one, which is the direction that matters.",
            "type": [
              "string",
              "null"
            ]
          },
          "token": {
            "default": "",
            "type": "string"
          },
          "token_type_hint": {
            "default": null,
            "description": "`access_token` or `refresh_token`. A hint only: RFC 7009 §2.1 requires\nthe server to search the other kind anyway, so this is not used to\nnarrow anything.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_RewriteRuleDto": {
        "description": "One ordered replacement. Every write compiles the rule with core's own\ncompiler first, so a rule that would be skipped at assembly is refused\nhere instead of silently doing nothing.",
        "properties": {
          "action": {
            "default": "replace",
            "type": "string"
          },
          "createdAtMs": {
            "format": "int64",
            "type": "integer"
          },
          "enabled": {
            "type": "boolean"
          },
          "filterBody": {
            "default": null
          },
          "filterEventPattern": {
            "type": [
              "string",
              "null"
            ]
          },
          "filterHeader": {
            "default": null
          },
          "filterHeaderPattern": {
            "type": [
              "string",
              "null"
            ]
          },
          "filterModelPattern": {
            "type": [
              "string",
              "null"
            ]
          },
          "filterOperationKeys": {
            "description": "JSON array of `{\"operation\": …, \"dialect\": …}`."
          },
          "id": {
            "type": "string"
          },
          "paths": {
            "description": "JSON array of dot paths; body target only."
          },
          "pattern": {
            "type": "string"
          },
          "phase": {
            "description": "`request`, `response` or `both`.",
            "type": "string"
          },
          "replacement": {
            "type": "string"
          },
          "ruleSetId": {
            "type": "string"
          },
          "sortOrder": {
            "format": "int64",
            "type": "integer"
          },
          "target": {
            "description": "`body`, `header` or `query`.",
            "type": "string"
          },
          "targetName": {
            "type": [
              "string",
              "null"
            ]
          },
          "updatedAtMs": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "ruleSetId",
          "phase",
          "target",
          "pattern",
          "replacement",
          "sortOrder",
          "enabled",
          "createdAtMs",
          "updatedAtMs"
        ],
        "type": "object"
      },
      "Input_RewriteRulePatch": {
        "properties": {
          "action": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "enabled": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "filterBody": {
            "default": null
          },
          "filterEventPattern": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "filterHeader": {
            "default": null
          },
          "filterHeaderPattern": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "filterModelPattern": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "filterOperationKeys": {
            "default": null
          },
          "paths": {
            "default": null
          },
          "pattern": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "phase": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "replacement": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "sortOrder": {
            "default": null,
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "target": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "targetName": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_RewriteRuleWrite": {
        "properties": {
          "action": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "enabled": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "filterBody": {
            "default": null
          },
          "filterEventPattern": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "filterHeader": {
            "default": null
          },
          "filterHeaderPattern": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "filterModelPattern": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "filterOperationKeys": {
            "default": null
          },
          "id": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "paths": {
            "default": null
          },
          "pattern": {
            "type": "string"
          },
          "phase": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "replacement": {
            "type": "string"
          },
          "ruleSetId": {
            "default": null,
            "description": "Ignored by `replace_rules`, which owns the set it is replacing.",
            "type": [
              "string",
              "null"
            ]
          },
          "sortOrder": {
            "default": null,
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "target": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "targetName": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "pattern",
          "replacement"
        ],
        "type": "object"
      },
      "Input_Role": {
        "enum": [
          "user",
          "assistant",
          "system"
        ],
        "type": "string"
      },
      "Input_RouteDto": {
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "maxAttempts": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "name": {
            "description": "The exact model name clients send in requests.",
            "type": "string"
          },
          "sessionAffinity": {
            "default": false,
            "type": "boolean"
          },
          "strategy": {
            "description": "`round_robin`, `weighted` or `failover`.",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "strategy",
          "maxAttempts",
          "enabled"
        ],
        "type": "object"
      },
      "Input_RouteMemberDto": {
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "providerId": {
            "type": "string"
          },
          "routeId": {
            "type": "string"
          },
          "tier": {
            "description": "Lower tiers are preferred; later tiers are the fallback.",
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "upstreamModel": {
            "description": "The upstream model this member sends, not a catalog reference.",
            "type": "string"
          },
          "weight": {
            "description": "Positive relative weight within a tier.",
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "id",
          "routeId",
          "providerId",
          "upstreamModel",
          "tier",
          "weight",
          "enabled"
        ],
        "type": "object"
      },
      "Input_RouteMemberPatch": {
        "properties": {
          "enabled": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "providerId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "routeId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "tier": {
            "default": null,
            "format": "uint32",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "upstreamModel": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "weight": {
            "default": null,
            "format": "uint32",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_RouteMemberWrite": {
        "properties": {
          "enabled": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "id": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "providerId": {
            "type": "string"
          },
          "routeId": {
            "type": "string"
          },
          "tier": {
            "default": null,
            "format": "uint32",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "upstreamModel": {
            "type": "string"
          },
          "weight": {
            "default": null,
            "format": "uint32",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "routeId",
          "providerId",
          "upstreamModel"
        ],
        "type": "object"
      },
      "Input_RoutePatch": {
        "properties": {
          "enabled": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "maxAttempts": {
            "default": null,
            "format": "uint32",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "name": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "sessionAffinity": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "strategy": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_RouteWrite": {
        "properties": {
          "enabled": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "id": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "maxAttempts": {
            "default": null,
            "format": "uint32",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "name": {
            "description": "The exact model name clients send in requests.",
            "type": "string"
          },
          "sessionAffinity": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "strategy": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "Input_RoutingMappingWrite": {
        "additionalProperties": false,
        "properties": {
          "implementation": {
            "type": "string"
          },
          "target": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RoutingTargetDto"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "implementation"
        ],
        "type": "object"
      },
      "Input_RoutingTargetDto": {
        "description": "One exact operation/protocol key accepted by a conversion driver.",
        "properties": {
          "dialect": {
            "type": "string"
          },
          "operation": {
            "type": "string"
          }
        },
        "required": [
          "operation",
          "dialect"
        ],
        "type": "object"
      },
      "Input_RuleSetDto": {
        "properties": {
          "createdAtMs": {
            "format": "int64",
            "type": "integer"
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "enabled": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "providerCount": {
            "description": "Number of provider attachments, populated by list/get.",
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "updatedAtMs": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "name",
          "enabled",
          "createdAtMs",
          "updatedAtMs"
        ],
        "type": "object"
      },
      "Input_RuleSetPatch": {
        "properties": {
          "description": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "enabled": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "name": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_RuleSetWrite": {
        "properties": {
          "description": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "enabled": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "id": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "Input_SafetySetting": {
        "additionalProperties": true,
        "properties": {
          "category": {
            "$ref": "#/components/schemas/Input_HarmCategory"
          },
          "threshold": {
            "$ref": "#/components/schemas/Input_HarmBlockThreshold"
          }
        },
        "required": [
          "category",
          "threshold"
        ],
        "type": "object"
      },
      "Input_Scheduling": {
        "enum": [
          "SCHEDULING_UNSPECIFIED",
          "SILENT",
          "WHEN_IDLE",
          "INTERRUPT"
        ],
        "type": "string"
      },
      "Input_Schema": {
        "additionalProperties": true,
        "properties": {
          "anyOf": {
            "items": {
              "$ref": "#/components/schemas/Input_Schema"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "default": true,
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "enum": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "example": true,
          "format": {
            "type": [
              "string",
              "null"
            ]
          },
          "items": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Schema"
              },
              {
                "type": "null"
              }
            ]
          },
          "maxItems": {
            "type": [
              "string",
              "null"
            ]
          },
          "maxLength": {
            "type": [
              "string",
              "null"
            ]
          },
          "maxProperties": {
            "type": [
              "string",
              "null"
            ]
          },
          "maximum": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "minItems": {
            "type": [
              "string",
              "null"
            ]
          },
          "minLength": {
            "type": [
              "string",
              "null"
            ]
          },
          "minProperties": {
            "type": [
              "string",
              "null"
            ]
          },
          "minimum": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "nullable": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "pattern": {
            "type": [
              "string",
              "null"
            ]
          },
          "properties": {
            "additionalProperties": {
              "$ref": "#/components/schemas/Input_Schema"
            },
            "type": [
              "object",
              "null"
            ]
          },
          "propertyOrdering": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "required": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_SchemaType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_SchemaType": {
        "enum": [
          "TYPE_UNSPECIFIED",
          "STRING",
          "NUMBER",
          "INTEGER",
          "BOOLEAN",
          "ARRAY",
          "OBJECT",
          "NULL"
        ],
        "type": "string"
      },
      "Input_ScreenshotAction": {
        "additionalProperties": true,
        "type": "object"
      },
      "Input_ScreenshotOperation": {
        "additionalProperties": true,
        "properties": {
          "pageno": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "ref_id": {
            "type": "string"
          }
        },
        "required": [
          "ref_id",
          "pageno"
        ],
        "type": "object"
      },
      "Input_ScrollAction": {
        "additionalProperties": true,
        "properties": {
          "keys": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "scroll_x": {
            "format": "int64",
            "type": "integer"
          },
          "scroll_y": {
            "format": "int64",
            "type": "integer"
          },
          "x": {
            "format": "int64",
            "type": "integer"
          },
          "y": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "scroll_x",
          "scroll_y",
          "x",
          "y"
        ],
        "type": "object"
      },
      "Input_SealedSecretDto": {
        "description": "A sealed secret as it travels: the envelope's own codec, and its bytes in\nstandard base64. Nothing here is plaintext, and nothing here can be opened\nwithout the key the source sealed it with.",
        "properties": {
          "bytes": {
            "type": "string"
          },
          "codec": {
            "description": "`plaintext`, `aes-gcm`, or `unknown` for an envelope this build does\nnot recognize. Carried so an importer can refuse early rather than\nafter decrypting nothing.",
            "type": "string"
          }
        },
        "required": [
          "codec",
          "bytes"
        ],
        "type": "object"
      },
      "Input_SearchCitation": {
        "additionalProperties": true,
        "properties": {
          "cited_text": {
            "type": "string"
          },
          "end_block_index": {
            "format": "int64",
            "type": "integer"
          },
          "search_result_index": {
            "format": "int64",
            "type": "integer"
          },
          "source": {
            "type": "string"
          },
          "start_block_index": {
            "format": "int64",
            "type": "integer"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "cited_text",
          "end_block_index",
          "search_result_index",
          "source",
          "start_block_index",
          "title"
        ],
        "type": "object"
      },
      "Input_SearchCommands": {
        "additionalProperties": true,
        "properties": {
          "click": {
            "items": {
              "$ref": "#/components/schemas/Input_ClickOperation"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "finance": {
            "items": {
              "$ref": "#/components/schemas/Input_FinanceOperation"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "find": {
            "items": {
              "$ref": "#/components/schemas/Input_FindOperation"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "image_query": {
            "items": {
              "$ref": "#/components/schemas/Input_SearchQuery"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "open": {
            "items": {
              "$ref": "#/components/schemas/Input_OpenOperation"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "response_length": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_SearchResponseLength"
              },
              {
                "type": "null"
              }
            ]
          },
          "screenshot": {
            "items": {
              "$ref": "#/components/schemas/Input_ScreenshotOperation"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "search_query": {
            "items": {
              "$ref": "#/components/schemas/Input_SearchQuery"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "sports": {
            "items": {
              "$ref": "#/components/schemas/Input_SportsOperation"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "time": {
            "items": {
              "$ref": "#/components/schemas/Input_TimeOperation"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "weather": {
            "items": {
              "$ref": "#/components/schemas/Input_WeatherOperation"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_SearchContentType": {
        "enum": [
          "text",
          "image"
        ],
        "type": "string"
      },
      "Input_SearchContextSize": {
        "enum": [
          "low",
          "medium",
          "high"
        ],
        "type": "string"
      },
      "Input_SearchContextSize2": {
        "enum": [
          "low",
          "medium",
          "high"
        ],
        "type": "string"
      },
      "Input_SearchContextSize3": {
        "enum": [
          "low",
          "medium",
          "high"
        ],
        "type": "string"
      },
      "Input_SearchFilters": {
        "additionalProperties": true,
        "properties": {
          "allowed_domains": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "blocked_domains": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_SearchImageSettings": {
        "additionalProperties": true,
        "properties": {
          "caption": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "max_results": {
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_SearchInput": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "$ref": "#/components/schemas/Input_ClientResponseItem"
            },
            "type": "array"
          }
        ]
      },
      "Input_SearchQuery": {
        "additionalProperties": true,
        "properties": {
          "domains": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "q": {
            "type": "string"
          },
          "recency": {
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "q"
        ],
        "type": "object"
      },
      "Input_SearchResponseLength": {
        "enum": [
          "short",
          "medium",
          "long"
        ],
        "type": "string"
      },
      "Input_SearchResultBlock": {
        "additionalProperties": true,
        "properties": {
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "citations": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CitationsConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/Input_TextBlock"
            },
            "type": "array"
          },
          "source": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_SearchResultBlockType"
          }
        },
        "required": [
          "type",
          "content",
          "source",
          "title"
        ],
        "type": "object"
      },
      "Input_SearchResultBlockType": {
        "enum": [
          "search_result"
        ],
        "type": "string"
      },
      "Input_SearchSettings": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Input_AllowedCaller3"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "external_web_access": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ExternalWebAccess"
              },
              {
                "type": "null"
              }
            ]
          },
          "filters": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_SearchFilters"
              },
              {
                "type": "null"
              }
            ]
          },
          "image_settings": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_SearchImageSettings"
              },
              {
                "type": "null"
              }
            ]
          },
          "search_context_size": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_SearchContextSize3"
              },
              {
                "type": "null"
              }
            ]
          },
          "user_location": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ApproximateLocation2"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_SearchTypes": {
        "additionalProperties": true,
        "properties": {
          "imageSearch": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ImageSearch"
              },
              {
                "type": "null"
              }
            ]
          },
          "webSearch": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_WebSearch"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_ServerCaller": {
        "additionalProperties": true,
        "properties": {
          "tool_id": {
            "type": "string"
          }
        },
        "required": [
          "tool_id"
        ],
        "type": "object"
      },
      "Input_ServerCaller20260120": {
        "additionalProperties": true,
        "properties": {
          "tool_id": {
            "type": "string"
          }
        },
        "required": [
          "tool_id"
        ],
        "type": "object"
      },
      "Input_ServerToolName": {
        "enum": [
          "advisor",
          "web_search",
          "web_fetch",
          "code_execution",
          "bash_code_execution",
          "text_editor_code_execution",
          "tool_search_tool_regex",
          "tool_search_tool_bm25"
        ],
        "type": "string"
      },
      "Input_ServerToolUseBlock": {
        "additionalProperties": true,
        "properties": {
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "caller": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Caller2"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": "string"
          },
          "input": true,
          "name": {
            "$ref": "#/components/schemas/Input_ServerToolName"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ServerToolUseBlockType"
          }
        },
        "required": [
          "type",
          "id",
          "input",
          "name"
        ],
        "type": "object"
      },
      "Input_ServerToolUseBlockType": {
        "enum": [
          "server_tool_use"
        ],
        "type": "string"
      },
      "Input_ServiceTier": {
        "enum": [
          "unspecified",
          "standard",
          "flex",
          "priority"
        ],
        "type": "string"
      },
      "Input_ServiceTier2": {
        "enum": [
          "auto",
          "default",
          "flex",
          "scale",
          "priority",
          "fast",
          "ultrafast"
        ],
        "type": "string"
      },
      "Input_ServiceTier3": {
        "enum": [
          "auto",
          "standard_only"
        ],
        "type": "string"
      },
      "Input_ServiceTier4": {
        "enum": [
          "auto",
          "default",
          "flex",
          "scale",
          "priority",
          "fast",
          "ultrafast"
        ],
        "type": "string"
      },
      "Input_ServiceTier5": {
        "enum": [
          "auto",
          "default",
          "fast",
          "flex",
          "priority"
        ],
        "type": "string"
      },
      "Input_SessionResumptionConfig": {
        "additionalProperties": true,
        "properties": {
          "handle": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_SessionUpdateEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/session_update_event.py`, `SessionUpdateEvent`.",
        "properties": {
          "event_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "session": {
            "$ref": "#/components/schemas/Input_SessionUpdateEventSession"
          },
          "type": {
            "$ref": "#/components/schemas/Input_SessionUpdateEventType"
          }
        },
        "required": [
          "session",
          "type"
        ],
        "type": "object"
      },
      "Input_SessionUpdateEventSession": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_RealtimeSessionCreateRequest"
          },
          {
            "$ref": "#/components/schemas/Input_RealtimeTranscriptionSessionCreateRequest"
          }
        ],
        "description": "Source: `openai/types/realtime/session_update_event.py`, `Session`."
      },
      "Input_SessionUpdateEventType": {
        "enum": [
          "session.update"
        ],
        "type": "string"
      },
      "Input_SettingsDto": {
        "properties": {
          "instance": {
            "$ref": "#/components/schemas/Input_InstanceSettingsDto"
          },
          "logging": {
            "$ref": "#/components/schemas/Input_LoggingSettingsDto"
          }
        },
        "required": [
          "instance",
          "logging"
        ],
        "type": "object"
      },
      "Input_SettingsPatch": {
        "description": "Both groups are optional, and so is every field inside them: a patch names\nonly what changes.",
        "properties": {
          "instance": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_InstanceSettingsPatch"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "logging": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_LoggingSettingsPatch"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "type": "object"
      },
      "Input_ShellAction": {
        "additionalProperties": true,
        "properties": {
          "commands": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "max_output_length": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "timeout_ms": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "commands"
        ],
        "type": "object"
      },
      "Input_ShellCall": {
        "additionalProperties": true,
        "properties": {
          "action": {
            "$ref": "#/components/schemas/Input_ShellAction"
          },
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "call_id": {
            "type": "string"
          },
          "caller": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Caller"
              },
              {
                "type": "null"
              }
            ]
          },
          "environment": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ShellCallEnvironment"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ItemStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_ShellCallType"
          }
        },
        "required": [
          "type",
          "call_id",
          "action"
        ],
        "type": "object"
      },
      "Input_ShellCallEnvironment": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_ShellLocalEnvironment"
          },
          {
            "$ref": "#/components/schemas/Input_ShellContainerReference"
          }
        ]
      },
      "Input_ShellCallOutput": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "call_id": {
            "type": "string"
          },
          "caller": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Caller"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "max_output_length": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "output": {
            "items": {
              "$ref": "#/components/schemas/Input_ShellOutputContent"
            },
            "type": "array"
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ItemStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_ShellCallOutputType"
          }
        },
        "required": [
          "type",
          "call_id",
          "output"
        ],
        "type": "object"
      },
      "Input_ShellCallOutputType": {
        "enum": [
          "shell_call_output"
        ],
        "type": "string"
      },
      "Input_ShellCallType": {
        "enum": [
          "shell_call"
        ],
        "type": "string"
      },
      "Input_ShellContainerAuto": {
        "additionalProperties": true,
        "properties": {
          "file_ids": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "memory_limit": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_MemoryLimit"
              },
              {
                "type": "null"
              }
            ]
          },
          "network_policy": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ContainerNetworkPolicy"
              },
              {
                "type": "null"
              }
            ]
          },
          "skills": {
            "items": {
              "$ref": "#/components/schemas/Input_ShellSkill"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_ShellContainerAutoType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_ShellContainerAutoType": {
        "enum": [
          "container_auto"
        ],
        "type": "string"
      },
      "Input_ShellContainerReference": {
        "additionalProperties": true,
        "properties": {
          "container_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ShellReferenceType"
          }
        },
        "required": [
          "type",
          "container_id"
        ],
        "type": "object"
      },
      "Input_ShellEnvironment": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_ShellContainerAuto"
          },
          {
            "$ref": "#/components/schemas/Input_ShellLocalEnvironment"
          },
          {
            "$ref": "#/components/schemas/Input_ShellContainerReference"
          }
        ]
      },
      "Input_ShellExit": {
        "additionalProperties": true,
        "properties": {
          "exit_code": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "exit_code"
        ],
        "type": "object"
      },
      "Input_ShellLocalEnvironment": {
        "additionalProperties": true,
        "properties": {
          "skills": {
            "items": {
              "$ref": "#/components/schemas/Input_LocalSkill"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_ShellLocalType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_ShellLocalType": {
        "enum": [
          "local"
        ],
        "type": "string"
      },
      "Input_ShellOutputContent": {
        "additionalProperties": true,
        "properties": {
          "outcome": {
            "$ref": "#/components/schemas/Input_ShellOutputOutcome"
          },
          "stderr": {
            "type": "string"
          },
          "stdout": {
            "type": "string"
          }
        },
        "required": [
          "stdout",
          "stderr",
          "outcome"
        ],
        "type": "object"
      },
      "Input_ShellOutputOutcome": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Input_ShellTimeout",
            "properties": {
              "type": {
                "const": "timeout",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ShellExit",
            "properties": {
              "type": {
                "const": "exit",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Input_ShellReferenceType": {
        "enum": [
          "container_reference"
        ],
        "type": "string"
      },
      "Input_ShellSkill": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_SkillReference"
          },
          {
            "$ref": "#/components/schemas/Input_InlineSkill"
          }
        ]
      },
      "Input_ShellTimeout": {
        "additionalProperties": true,
        "type": "object"
      },
      "Input_ShellTool": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Input_AllowedCaller"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "environment": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ShellEnvironment"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_SkillParam": {
        "additionalProperties": true,
        "properties": {
          "skill_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_SkillType"
          },
          "version": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "skill_id",
          "type"
        ],
        "type": "object"
      },
      "Input_SkillReference": {
        "additionalProperties": true,
        "properties": {
          "skill_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_SkillReferenceType"
          },
          "version": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "skill_id",
          "type"
        ],
        "type": "object"
      },
      "Input_SkillReferenceType": {
        "enum": [
          "skill_reference"
        ],
        "type": "string"
      },
      "Input_SkillType": {
        "enum": [
          "anthropic",
          "custom"
        ],
        "type": "string"
      },
      "Input_SlidingWindow": {
        "additionalProperties": true,
        "properties": {
          "targetTokens": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_LiveInt64"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_SpeakerVoiceConfig": {
        "additionalProperties": true,
        "properties": {
          "speaker": {
            "type": "string"
          },
          "voiceConfig": {
            "$ref": "#/components/schemas/Input_VoiceConfig"
          }
        },
        "required": [
          "speaker",
          "voiceConfig"
        ],
        "type": "object"
      },
      "Input_SpeechConfig": {
        "additionalProperties": true,
        "properties": {
          "languageCode": {
            "type": [
              "string",
              "null"
            ]
          },
          "multiSpeakerVoiceConfig": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_MultiSpeakerVoiceConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "voiceConfig": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_VoiceConfig"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_SpeechMetadata": {
        "additionalProperties": true,
        "properties": {
          "speaker": {
            "type": [
              "string",
              "null"
            ]
          },
          "style": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_SpeechStreamFormat": {
        "enum": [
          "sse",
          "audio"
        ],
        "type": "string"
      },
      "Input_SpeechVoice": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "$ref": "#/components/schemas/Input_CustomVoice2"
          }
        ]
      },
      "Input_Speed": {
        "enum": [
          "standard",
          "fast"
        ],
        "type": "string"
      },
      "Input_SportsFunction": {
        "enum": [
          "schedule",
          "standings"
        ],
        "type": "string"
      },
      "Input_SportsLeague": {
        "enum": [
          "nba",
          "wnba",
          "nfl",
          "nhl",
          "mlb",
          "epl",
          "ncaamb",
          "ncaawb",
          "ipl"
        ],
        "type": "string"
      },
      "Input_SportsOperation": {
        "additionalProperties": true,
        "properties": {
          "date_from": {
            "type": [
              "string",
              "null"
            ]
          },
          "date_to": {
            "type": [
              "string",
              "null"
            ]
          },
          "fn": {
            "$ref": "#/components/schemas/Input_SportsFunction"
          },
          "league": {
            "$ref": "#/components/schemas/Input_SportsLeague"
          },
          "locale": {
            "type": [
              "string",
              "null"
            ]
          },
          "num_games": {
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "opponent": {
            "type": [
              "string",
              "null"
            ]
          },
          "team": {
            "type": [
              "string",
              "null"
            ]
          },
          "tool": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_SportsToolName"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "fn",
          "league"
        ],
        "type": "object"
      },
      "Input_SportsToolName": {
        "enum": [
          "sports"
        ],
        "type": "string"
      },
      "Input_StartSensitivity": {
        "enum": [
          "START_SENSITIVITY_UNSPECIFIED",
          "START_SENSITIVITY_HIGH",
          "START_SENSITIVITY_LOW"
        ],
        "type": "string"
      },
      "Input_Status": {
        "additionalProperties": true,
        "properties": {
          "code": {
            "format": "int32",
            "type": [
              "integer",
              "null"
            ]
          },
          "details": {
            "items": {
              "$ref": "#/components/schemas/Input_StatusDetail"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "message": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_StatusBody": {
        "properties": {
          "reason": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "$ref": "#/components/schemas/Input_CredentialStatus"
          }
        },
        "required": [
          "status"
        ],
        "type": "object"
      },
      "Input_StatusDetail": {
        "additionalProperties": true,
        "description": "google.rpc.Status.details is a list of protobuf Any objects. Discovery\nexplicitly permits arbitrary payload properties; @type identifies their schema.",
        "properties": {
          "@type": {
            "type": "string"
          }
        },
        "required": [
          "@type"
        ],
        "type": "object"
      },
      "Input_SteerInput": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "$ref": "#/components/schemas/Input_SteerMessage"
            },
            "type": "array"
          }
        ]
      },
      "Input_SteerMessage": {
        "additionalProperties": true,
        "properties": {
          "content": {
            "$ref": "#/components/schemas/Input_MessageContent"
          },
          "role": {
            "$ref": "#/components/schemas/Input_SteerRole"
          },
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_MessageType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "role",
          "content"
        ],
        "type": "object"
      },
      "Input_SteerRequest": {
        "additionalProperties": true,
        "properties": {
          "input": {
            "$ref": "#/components/schemas/Input_SteerInput"
          },
          "previous_response_id": {
            "type": "string"
          }
        },
        "required": [
          "previous_response_id",
          "input"
        ],
        "type": "object"
      },
      "Input_SteerRole": {
        "enum": [
          "user"
        ],
        "type": "string"
      },
      "Input_Stop": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        ]
      },
      "Input_StreamOptions": {
        "additionalProperties": true,
        "properties": {
          "include_obfuscation": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_StreamOptions2": {
        "additionalProperties": true,
        "properties": {
          "include_obfuscation": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "include_usage": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_StreamableHttpTransport": {
        "additionalProperties": true,
        "properties": {
          "headers": {
            "additionalProperties": {
              "type": "string"
            },
            "type": [
              "object",
              "null"
            ]
          },
          "sseReadTimeout": {
            "type": [
              "string",
              "null"
            ]
          },
          "terminateOnClose": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "timeout": {
            "type": [
              "string",
              "null"
            ]
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "url"
        ],
        "type": "object"
      },
      "Input_StringOrTextParts": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "$ref": "#/components/schemas/Input_TextPart"
            },
            "type": "array"
          }
        ]
      },
      "Input_SummaryText": {
        "additionalProperties": true,
        "properties": {
          "text": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_SummaryTextType"
          }
        },
        "required": [
          "type",
          "text"
        ],
        "type": "object"
      },
      "Input_SummaryTextType": {
        "enum": [
          "summary_text"
        ],
        "type": "string"
      },
      "Input_SystemMessage": {
        "additionalProperties": true,
        "properties": {
          "content": {
            "$ref": "#/components/schemas/Input_StringOrTextParts"
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "role": {
            "$ref": "#/components/schemas/Input_SystemRole"
          }
        },
        "required": [
          "role",
          "content"
        ],
        "type": "object"
      },
      "Input_SystemMessageClearAt": {
        "enum": [
          "next_user_message",
          "never"
        ],
        "type": "string"
      },
      "Input_SystemMessageOutputConfig": {
        "additionalProperties": true,
        "properties": {
          "effort": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Effort"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_SystemPrompt": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "$ref": "#/components/schemas/Input_TextBlock"
            },
            "type": "array"
          }
        ]
      },
      "Input_SystemRole": {
        "enum": [
          "system"
        ],
        "type": "string"
      },
      "Input_TeamPatch": {
        "properties": {
          "name": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "oauthClientAllowlist": {
            "default": null,
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_TeamWrite": {
        "properties": {
          "id": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "oauthClientAllowlist": {
            "default": null,
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "organizationId": {
            "type": "string"
          }
        },
        "required": [
          "organizationId",
          "name"
        ],
        "type": "object"
      },
      "Input_TextBlock": {
        "additionalProperties": true,
        "properties": {
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "citations": {
            "items": {
              "$ref": "#/components/schemas/Input_TextCitation"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "text": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_TextBlockType"
          }
        },
        "required": [
          "type",
          "text"
        ],
        "type": "object"
      },
      "Input_TextBlockType": {
        "enum": [
          "text"
        ],
        "type": "string"
      },
      "Input_TextCitation": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Input_CharCitation",
            "properties": {
              "type": {
                "const": "char_location",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_PageCitation",
            "properties": {
              "type": {
                "const": "page_location",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ContentBlockCitation",
            "properties": {
              "type": {
                "const": "content_block_location",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_WebCitation",
            "properties": {
              "type": {
                "const": "web_search_result_location",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_SearchCitation",
            "properties": {
              "type": {
                "const": "search_result_location",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Input_TextConfig": {
        "additionalProperties": true,
        "properties": {
          "format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_TextFormat"
              },
              {
                "type": "null"
              }
            ]
          },
          "verbosity": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_TextVerbosity"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_TextEditorCodeExecutionToolResultBlock": {
        "additionalProperties": true,
        "properties": {
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "$ref": "#/components/schemas/Input_TextEditorResultContent"
          },
          "tool_use_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_TextEditorCodeExecutionToolResultType"
          }
        },
        "required": [
          "type",
          "content",
          "tool_use_id"
        ],
        "type": "object"
      },
      "Input_TextEditorCodeExecutionToolResultType": {
        "enum": [
          "text_editor_code_execution_tool_result"
        ],
        "type": "string"
      },
      "Input_TextEditorCreateResult": {
        "additionalProperties": true,
        "properties": {
          "is_file_update": {
            "type": "boolean"
          },
          "type": {
            "$ref": "#/components/schemas/Input_TextEditorCreateResultType"
          }
        },
        "required": [
          "type",
          "is_file_update"
        ],
        "type": "object"
      },
      "Input_TextEditorCreateResultType": {
        "enum": [
          "text_editor_code_execution_create_result"
        ],
        "type": "string"
      },
      "Input_TextEditorError": {
        "additionalProperties": true,
        "properties": {
          "error_code": {
            "$ref": "#/components/schemas/Input_TextEditorErrorCode"
          },
          "error_message": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_TextEditorErrorType"
          }
        },
        "required": [
          "type",
          "error_code"
        ],
        "type": "object"
      },
      "Input_TextEditorErrorCode": {
        "enum": [
          "invalid_tool_input",
          "unavailable",
          "too_many_requests",
          "execution_time_exceeded",
          "file_not_found"
        ],
        "type": "string"
      },
      "Input_TextEditorErrorType": {
        "enum": [
          "text_editor_code_execution_tool_result_error"
        ],
        "type": "string"
      },
      "Input_TextEditorFileType": {
        "enum": [
          "text",
          "image",
          "pdf"
        ],
        "type": "string"
      },
      "Input_TextEditorReplaceResult": {
        "additionalProperties": true,
        "properties": {
          "lines": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "new_lines": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "new_start": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "old_lines": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "old_start": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_TextEditorReplaceResultType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_TextEditorReplaceResultType": {
        "enum": [
          "text_editor_code_execution_str_replace_result"
        ],
        "type": "string"
      },
      "Input_TextEditorResultContent": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_TextEditorError"
          },
          {
            "$ref": "#/components/schemas/Input_TextEditorViewResult"
          },
          {
            "$ref": "#/components/schemas/Input_TextEditorCreateResult"
          },
          {
            "$ref": "#/components/schemas/Input_TextEditorReplaceResult"
          }
        ]
      },
      "Input_TextEditorTool20241022": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Input_AllowedCaller2"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "input_examples": {
            "items": true,
            "type": [
              "array",
              "null"
            ]
          },
          "name": {
            "$ref": "#/components/schemas/Input_TextEditorTool20241022Name"
          },
          "strict": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_TextEditorTool20241022Type"
          }
        },
        "required": [
          "name",
          "type"
        ],
        "type": "object"
      },
      "Input_TextEditorTool20241022Name": {
        "enum": [
          "str_replace_editor"
        ],
        "type": "string"
      },
      "Input_TextEditorTool20241022Type": {
        "enum": [
          "text_editor_20241022"
        ],
        "type": "string"
      },
      "Input_TextEditorTool20250124": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Input_AllowedCaller2"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "input_examples": {
            "items": true,
            "type": [
              "array",
              "null"
            ]
          },
          "name": {
            "$ref": "#/components/schemas/Input_TextEditorTool20250124Name"
          },
          "strict": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_TextEditorTool20250124Type"
          }
        },
        "required": [
          "name",
          "type"
        ],
        "type": "object"
      },
      "Input_TextEditorTool20250124Name": {
        "enum": [
          "str_replace_editor"
        ],
        "type": "string"
      },
      "Input_TextEditorTool20250124Type": {
        "enum": [
          "text_editor_20250124"
        ],
        "type": "string"
      },
      "Input_TextEditorTool20250429": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Input_AllowedCaller2"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "input_examples": {
            "items": true,
            "type": [
              "array",
              "null"
            ]
          },
          "name": {
            "$ref": "#/components/schemas/Input_TextEditorTool20250429Name"
          },
          "strict": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_TextEditorTool20250429Type"
          }
        },
        "required": [
          "name",
          "type"
        ],
        "type": "object"
      },
      "Input_TextEditorTool20250429Name": {
        "enum": [
          "str_replace_based_edit_tool"
        ],
        "type": "string"
      },
      "Input_TextEditorTool20250429Type": {
        "enum": [
          "text_editor_20250429"
        ],
        "type": "string"
      },
      "Input_TextEditorTool20250728": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Input_AllowedCaller2"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "input_examples": {
            "items": true,
            "type": [
              "array",
              "null"
            ]
          },
          "max_characters": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "name": {
            "$ref": "#/components/schemas/Input_TextEditorTool20250728Name"
          },
          "strict": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_TextEditorTool20250728Type"
          }
        },
        "required": [
          "name",
          "type"
        ],
        "type": "object"
      },
      "Input_TextEditorTool20250728Name": {
        "enum": [
          "str_replace_based_edit_tool"
        ],
        "type": "string"
      },
      "Input_TextEditorTool20250728Type": {
        "enum": [
          "text_editor_20250728"
        ],
        "type": "string"
      },
      "Input_TextEditorViewResult": {
        "additionalProperties": true,
        "properties": {
          "content": {
            "type": "string"
          },
          "file_type": {
            "$ref": "#/components/schemas/Input_TextEditorFileType"
          },
          "num_lines": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "start_line": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "total_lines": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_TextEditorViewResultType"
          }
        },
        "required": [
          "type",
          "content",
          "file_type"
        ],
        "type": "object"
      },
      "Input_TextEditorViewResultType": {
        "enum": [
          "text_editor_code_execution_view_result"
        ],
        "type": "string"
      },
      "Input_TextFormat": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Input_TextFormatText",
            "properties": {
              "type": {
                "const": "text",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_TextFormatJsonSchema",
            "properties": {
              "type": {
                "const": "json_schema",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_TextFormatJsonObject",
            "properties": {
              "type": {
                "const": "json_object",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Input_TextFormat2": {
        "additionalProperties": true,
        "properties": {
          "type": {
            "$ref": "#/components/schemas/Input_TextFormatType2"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_TextFormatJsonObject": {
        "additionalProperties": true,
        "type": "object"
      },
      "Input_TextFormatJsonSchema": {
        "additionalProperties": true,
        "properties": {
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "schema": {
            "additionalProperties": true,
            "type": "object"
          },
          "strict": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "required": [
          "name",
          "schema"
        ],
        "type": "object"
      },
      "Input_TextFormatText": {
        "additionalProperties": true,
        "type": "object"
      },
      "Input_TextFormatType": {
        "enum": [
          "text"
        ],
        "type": "string"
      },
      "Input_TextFormatType2": {
        "enum": [
          "text"
        ],
        "type": "string"
      },
      "Input_TextMediaType": {
        "enum": [
          "text/plain"
        ],
        "type": "string"
      },
      "Input_TextMimeType": {
        "enum": [
          "MIME_TYPE_UNSPECIFIED",
          "APPLICATION_JSON",
          "TEXT_PLAIN"
        ],
        "type": "string"
      },
      "Input_TextPart": {
        "additionalProperties": true,
        "properties": {
          "prompt_cache_breakpoint": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_PromptCacheBreakpoint2"
              },
              {
                "type": "null"
              }
            ]
          },
          "text": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_TextPartType"
          }
        },
        "required": [
          "type",
          "text"
        ],
        "type": "object"
      },
      "Input_TextPartType": {
        "enum": [
          "text"
        ],
        "type": "string"
      },
      "Input_TextResponseFormat": {
        "additionalProperties": true,
        "properties": {
          "mimeType": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_TextMimeType"
              },
              {
                "type": "null"
              }
            ]
          },
          "schema": true
        },
        "type": "object"
      },
      "Input_TextResponseFormat2": {
        "additionalProperties": true,
        "properties": {
          "type": {
            "$ref": "#/components/schemas/Input_TextResponseType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_TextResponseType": {
        "enum": [
          "text"
        ],
        "type": "string"
      },
      "Input_TextVerbosity": {
        "enum": [
          "low",
          "medium",
          "high"
        ],
        "type": "string"
      },
      "Input_ThinkingAdaptive": {
        "additionalProperties": true,
        "properties": {
          "block_binding": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ThinkingBlockBinding"
              },
              {
                "type": "null"
              }
            ]
          },
          "display": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ThinkingDisplay"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_ThinkingBlock": {
        "additionalProperties": true,
        "properties": {
          "signature": {
            "type": "string"
          },
          "thinking": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ThinkingBlockType"
          }
        },
        "required": [
          "type",
          "signature",
          "thinking"
        ],
        "type": "object"
      },
      "Input_ThinkingBlockBinding": {
        "additionalProperties": true,
        "properties": {
          "prefix_mismatch_behavior": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ThinkingPrefixMismatchBehavior"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_ThinkingBlockType": {
        "enum": [
          "thinking"
        ],
        "type": "string"
      },
      "Input_ThinkingConfig": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Input_ThinkingEnabled",
            "properties": {
              "type": {
                "const": "enabled",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ThinkingDisabled",
            "properties": {
              "type": {
                "const": "disabled",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ThinkingAdaptive",
            "properties": {
              "type": {
                "const": "adaptive",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "description": "No up-front thinking; progress updates between tool calls (Sonnet 5.5).",
            "properties": {
              "type": {
                "const": "between_tools",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Input_ThinkingConfig2": {
        "additionalProperties": true,
        "properties": {
          "includeThoughts": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "thinkingBudget": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "thinkingLevel": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ThinkingLevel"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_ThinkingDisabled": {
        "additionalProperties": true,
        "type": "object"
      },
      "Input_ThinkingDisplay": {
        "enum": [
          "summarized",
          "omitted",
          "updates"
        ],
        "type": "string"
      },
      "Input_ThinkingEnabled": {
        "additionalProperties": true,
        "properties": {
          "block_binding": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ThinkingBlockBinding"
              },
              {
                "type": "null"
              }
            ]
          },
          "budget_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "display": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ThinkingDisplay"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "budget_tokens"
        ],
        "type": "object"
      },
      "Input_ThinkingKeep": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_ThinkingTurns"
          },
          {
            "$ref": "#/components/schemas/Input_AllThinkingTurns"
          },
          {
            "$ref": "#/components/schemas/Input_AllStringThinkingTurns"
          }
        ]
      },
      "Input_ThinkingLevel": {
        "enum": [
          "THINKING_LEVEL_UNSPECIFIED",
          "MINIMAL",
          "LOW",
          "MEDIUM",
          "HIGH"
        ],
        "type": "string"
      },
      "Input_ThinkingPrefixMismatchBehavior": {
        "enum": [
          "error",
          "drop_block"
        ],
        "type": "string"
      },
      "Input_ThinkingTurns": {
        "additionalProperties": true,
        "properties": {
          "type": {
            "$ref": "#/components/schemas/Input_ThinkingTurnsType"
          },
          "value": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "type",
          "value"
        ],
        "type": "object"
      },
      "Input_ThinkingTurnsType": {
        "enum": [
          "thinking_turns"
        ],
        "type": "string"
      },
      "Input_TimeOperation": {
        "additionalProperties": true,
        "properties": {
          "utc_offset": {
            "type": "string"
          }
        },
        "required": [
          "utc_offset"
        ],
        "type": "object"
      },
      "Input_TokenBody": {
        "properties": {
          "token": {
            "default": null,
            "description": "`null` clears the token and downloads anonymously again.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_TokenRequest": {
        "description": "RFC 6749 §4.1.3 / §6 and RFC 8628 §3.4, in one shape.\n\nWhich fields must be present depends on `grant_type`, so all of them are\noptional here and the issuer names what is missing. That is deliberate: a\nclient that sends `code` with `grant_type=refresh_token` deserves\n`invalid_request: refresh_token is required`, not a parse error listing\nevery field of every grant type.",
        "properties": {
          "client_id": {
            "default": "",
            "description": "Required for every grant type. These are public clients — there is no\nclient secret to authenticate with — so this names the client and is\nchecked against the grant, never trusted on its own.",
            "type": "string"
          },
          "code": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "code_verifier": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "device_code": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "grant_type": {
            "default": "",
            "description": "`authorization_code`, `refresh_token` or [`DEVICE_GRANT_TYPE`].",
            "type": "string"
          },
          "redirect_uri": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "refresh_token": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_TokenTaskBudget": {
        "additionalProperties": true,
        "properties": {
          "remaining": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "total": {
            "format": "int64",
            "type": "integer"
          },
          "type": {
            "$ref": "#/components/schemas/Input_TokenTaskBudgetType"
          }
        },
        "required": [
          "total",
          "type"
        ],
        "type": "object"
      },
      "Input_TokenTaskBudgetType": {
        "enum": [
          "tokens"
        ],
        "type": "string"
      },
      "Input_TokenizerFetch": {
        "description": "What to fetch, and what to point at it.",
        "properties": {
          "filename": {
            "default": null,
            "description": "The file inside it; `tokenizer.json` when absent.",
            "type": [
              "string",
              "null"
            ]
          },
          "modelId": {
            "default": null,
            "description": "The catalog model whose `vocabulary_file_id` should point at the\nresult. Absent leaves every model alone.",
            "type": [
              "string",
              "null"
            ]
          },
          "repo": {
            "description": "A Hugging Face repository id, `owner/name`.",
            "type": "string"
          },
          "setAsDefault": {
            "default": false,
            "description": "Whether this also becomes the instance default, used by models that\nselect no vocabulary of their own.",
            "type": "boolean"
          }
        },
        "required": [
          "repo"
        ],
        "type": "object"
      },
      "Input_Tool": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Input_FunctionTool",
            "properties": {
              "type": {
                "const": "function",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_FileSearchTool",
            "properties": {
              "type": {
                "const": "file_search",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ComputerTool",
            "properties": {
              "type": {
                "const": "computer_use_preview",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ToolMarker",
            "properties": {
              "type": {
                "const": "computer",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_WebSearchPreviewTool",
            "properties": {
              "type": {
                "const": "web_search_preview",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_WebSearchPreviewTool",
            "properties": {
              "type": {
                "const": "web_search_preview_2025_03_11",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_WebSearchTool",
            "properties": {
              "type": {
                "const": "web_search",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_WebSearchTool",
            "properties": {
              "type": {
                "const": "web_search_2025_08_26",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_CodeInterpreterTool",
            "properties": {
              "type": {
                "const": "code_interpreter",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_CustomTool",
            "properties": {
              "type": {
                "const": "custom",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_NamespaceTool",
            "properties": {
              "type": {
                "const": "namespace",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ToolMarker",
            "properties": {
              "type": {
                "const": "local_shell",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ShellTool",
            "properties": {
              "type": {
                "const": "shell",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ImageGenerationTool",
            "properties": {
              "type": {
                "const": "image_generation",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_McpTool",
            "properties": {
              "type": {
                "const": "mcp",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ToolMarker",
            "properties": {
              "type": {
                "const": "programmatic_tool_calling",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ApplyPatchTool",
            "properties": {
              "type": {
                "const": "apply_patch",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ToolSearchTool",
            "properties": {
              "type": {
                "const": "tool_search",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Input_Tool2": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Input_AllowedCaller2"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "eager_input_streaming": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "input_examples": {
            "items": true,
            "type": [
              "array",
              "null"
            ]
          },
          "input_schema": {
            "$ref": "#/components/schemas/Input_JsonSchema"
          },
          "name": {
            "type": "string"
          },
          "strict": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "input_schema",
          "name"
        ],
        "type": "object"
      },
      "Input_Tool3": {
        "additionalProperties": true,
        "properties": {
          "codeExecution": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CodeExecution"
              },
              {
                "type": "null"
              }
            ]
          },
          "computerUse": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ComputerUse"
              },
              {
                "type": "null"
              }
            ]
          },
          "fileSearch": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_FileSearch"
              },
              {
                "type": "null"
              }
            ]
          },
          "functionDeclarations": {
            "items": {
              "$ref": "#/components/schemas/Input_FunctionDeclaration"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "googleMaps": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_GoogleMaps"
              },
              {
                "type": "null"
              }
            ]
          },
          "googleSearch": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_GoogleSearch"
              },
              {
                "type": "null"
              }
            ]
          },
          "googleSearchRetrieval": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_GoogleSearchRetrieval"
              },
              {
                "type": "null"
              }
            ]
          },
          "mcpServers": {
            "items": {
              "$ref": "#/components/schemas/Input_McpServer"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "urlContext": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_UrlContext"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_ToolAdditionBlock": {
        "additionalProperties": true,
        "properties": {
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "tool": {
            "$ref": "#/components/schemas/Input_ToolAdditionReference"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ToolAdditionType"
          }
        },
        "required": [
          "type",
          "tool"
        ],
        "type": "object"
      },
      "Input_ToolAdditionReference": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_ToolReference"
          },
          {
            "$ref": "#/components/schemas/Input_McpToolReference"
          },
          {
            "$ref": "#/components/schemas/Input_McpToolsetReference"
          },
          {
            "$ref": "#/components/schemas/Input_ToolDefinition"
          }
        ]
      },
      "Input_ToolAdditionType": {
        "enum": [
          "tool_addition"
        ],
        "type": "string"
      },
      "Input_ToolCall": {
        "additionalProperties": true,
        "properties": {
          "args": {
            "additionalProperties": true,
            "type": [
              "object",
              "null"
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "toolName": {
            "type": [
              "string",
              "null"
            ]
          },
          "toolType": {
            "$ref": "#/components/schemas/Input_ToolType2"
          }
        },
        "required": [
          "toolType"
        ],
        "type": "object"
      },
      "Input_ToolChangeReference": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_ToolReference"
          },
          {
            "$ref": "#/components/schemas/Input_McpToolReference"
          },
          {
            "$ref": "#/components/schemas/Input_McpToolsetReference"
          }
        ]
      },
      "Input_ToolChoice": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_ToolChoiceMode"
          },
          {
            "$ref": "#/components/schemas/Input_ToolChoiceAllowed"
          },
          {
            "$ref": "#/components/schemas/Input_ToolChoiceHosted"
          },
          {
            "$ref": "#/components/schemas/Input_ToolChoiceFunction"
          },
          {
            "$ref": "#/components/schemas/Input_ToolChoiceMcp"
          },
          {
            "$ref": "#/components/schemas/Input_ToolChoiceCustom"
          },
          {
            "$ref": "#/components/schemas/Input_ToolChoiceProgrammatic"
          },
          {
            "$ref": "#/components/schemas/Input_ToolChoiceApplyPatch"
          },
          {
            "$ref": "#/components/schemas/Input_ToolChoiceShell"
          }
        ]
      },
      "Input_ToolChoice2": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Input_ToolChoiceAuto",
            "properties": {
              "type": {
                "const": "auto",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ToolChoiceAny",
            "properties": {
              "type": {
                "const": "any",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ToolChoiceTool",
            "properties": {
              "type": {
                "const": "tool",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_ToolChoiceNone",
            "properties": {
              "type": {
                "const": "none",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Input_ToolChoice3": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_ToolChoiceMode2"
          },
          {
            "$ref": "#/components/schemas/Input_NamedFunctionChoice"
          },
          {
            "$ref": "#/components/schemas/Input_NamedCustomChoice"
          },
          {
            "$ref": "#/components/schemas/Input_AllowedToolChoice"
          }
        ]
      },
      "Input_ToolChoiceAllowed": {
        "additionalProperties": true,
        "properties": {
          "mode": {
            "$ref": "#/components/schemas/Input_AllowedToolChoiceMode"
          },
          "tools": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "type": "array"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ToolChoiceAllowedType"
          }
        },
        "required": [
          "type",
          "mode",
          "tools"
        ],
        "type": "object"
      },
      "Input_ToolChoiceAllowedType": {
        "enum": [
          "allowed_tools"
        ],
        "type": "string"
      },
      "Input_ToolChoiceAny": {
        "additionalProperties": true,
        "properties": {
          "disable_parallel_tool_use": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_ToolChoiceApplyPatch": {
        "additionalProperties": true,
        "properties": {
          "type": {
            "$ref": "#/components/schemas/Input_ToolChoiceApplyPatchType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_ToolChoiceApplyPatchType": {
        "enum": [
          "apply_patch"
        ],
        "type": "string"
      },
      "Input_ToolChoiceAuto": {
        "additionalProperties": true,
        "properties": {
          "disable_parallel_tool_use": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_ToolChoiceCustom": {
        "additionalProperties": true,
        "properties": {
          "name": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ToolChoiceCustomType"
          }
        },
        "required": [
          "type",
          "name"
        ],
        "type": "object"
      },
      "Input_ToolChoiceCustomType": {
        "enum": [
          "custom"
        ],
        "type": "string"
      },
      "Input_ToolChoiceFunction": {
        "additionalProperties": true,
        "properties": {
          "name": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ToolChoiceFunctionType"
          }
        },
        "required": [
          "type",
          "name"
        ],
        "type": "object"
      },
      "Input_ToolChoiceFunction2": {
        "additionalProperties": true,
        "description": "Source: `openai/types/responses/tool_choice_function.py`, `ToolChoiceFunction`.",
        "properties": {
          "name": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ToolChoiceFunctionType2"
          }
        },
        "required": [
          "name",
          "type"
        ],
        "type": "object"
      },
      "Input_ToolChoiceFunctionType": {
        "enum": [
          "function"
        ],
        "type": "string"
      },
      "Input_ToolChoiceFunctionType2": {
        "enum": [
          "function"
        ],
        "type": "string"
      },
      "Input_ToolChoiceHosted": {
        "additionalProperties": true,
        "properties": {
          "type": {
            "$ref": "#/components/schemas/Input_ToolChoiceHostedType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_ToolChoiceHostedType": {
        "enum": [
          "file_search",
          "web_search_preview",
          "computer",
          "computer_use_preview",
          "computer_use",
          "code_interpreter",
          "image_generation",
          "web_search_preview_2025_03_11"
        ],
        "type": "string"
      },
      "Input_ToolChoiceMcp": {
        "additionalProperties": true,
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "server_label": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ToolChoiceMcpType"
          }
        },
        "required": [
          "type",
          "server_label"
        ],
        "type": "object"
      },
      "Input_ToolChoiceMcp2": {
        "additionalProperties": true,
        "description": "Source: `openai/types/responses/tool_choice_mcp.py`, `ToolChoiceMcp`.",
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "server_label": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ToolChoiceMcpType2"
          }
        },
        "required": [
          "server_label",
          "type"
        ],
        "type": "object"
      },
      "Input_ToolChoiceMcpType": {
        "enum": [
          "mcp"
        ],
        "type": "string"
      },
      "Input_ToolChoiceMcpType2": {
        "enum": [
          "mcp"
        ],
        "type": "string"
      },
      "Input_ToolChoiceMode": {
        "enum": [
          "none",
          "auto",
          "required"
        ],
        "type": "string"
      },
      "Input_ToolChoiceMode2": {
        "enum": [
          "none",
          "auto",
          "required"
        ],
        "type": "string"
      },
      "Input_ToolChoiceNone": {
        "additionalProperties": true,
        "type": "object"
      },
      "Input_ToolChoiceOptions": {
        "description": "Source: `openai/types/responses/tool_choice_options.py`, `ToolChoiceOptions`.",
        "enum": [
          "none",
          "auto",
          "required"
        ],
        "type": "string"
      },
      "Input_ToolChoiceProgrammatic": {
        "additionalProperties": true,
        "properties": {
          "type": {
            "$ref": "#/components/schemas/Input_ToolChoiceProgrammaticType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_ToolChoiceProgrammaticType": {
        "enum": [
          "programmatic_tool_calling"
        ],
        "type": "string"
      },
      "Input_ToolChoiceShell": {
        "additionalProperties": true,
        "properties": {
          "type": {
            "$ref": "#/components/schemas/Input_ToolChoiceShellType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_ToolChoiceShellType": {
        "enum": [
          "shell"
        ],
        "type": "string"
      },
      "Input_ToolChoiceTool": {
        "additionalProperties": true,
        "properties": {
          "disable_parallel_tool_use": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "Input_ToolConfig": {
        "additionalProperties": true,
        "properties": {
          "functionCallingConfig": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_FunctionCallingConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "includeServerSideToolInvocations": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "retrievalConfig": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_RetrievalConfig"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_ToolDefinition": {
        "additionalProperties": true,
        "properties": {
          "definition": {
            "$ref": "#/components/schemas/Input_ToolUnion"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ToolDefinitionType"
          }
        },
        "required": [
          "type",
          "definition"
        ],
        "type": "object"
      },
      "Input_ToolDefinitionType": {
        "enum": [
          "tool_definition"
        ],
        "type": "string"
      },
      "Input_ToolExecution": {
        "enum": [
          "server",
          "client"
        ],
        "type": "string"
      },
      "Input_ToolMarker": {
        "additionalProperties": true,
        "type": "object"
      },
      "Input_ToolMessage": {
        "additionalProperties": true,
        "properties": {
          "content": {
            "$ref": "#/components/schemas/Input_StringOrTextParts"
          },
          "role": {
            "$ref": "#/components/schemas/Input_ToolRole"
          },
          "tool_call_id": {
            "type": "string"
          }
        },
        "required": [
          "role",
          "content",
          "tool_call_id"
        ],
        "type": "object"
      },
      "Input_ToolReference": {
        "additionalProperties": true,
        "properties": {
          "name": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ToolReferenceType"
          }
        },
        "required": [
          "name",
          "type"
        ],
        "type": "object"
      },
      "Input_ToolReferenceBlock": {
        "additionalProperties": true,
        "properties": {
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "tool_name": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ToolReferenceBlockType"
          }
        },
        "required": [
          "type",
          "tool_name"
        ],
        "type": "object"
      },
      "Input_ToolReferenceBlockType": {
        "enum": [
          "tool_reference"
        ],
        "type": "string"
      },
      "Input_ToolReferenceType": {
        "enum": [
          "tool_reference"
        ],
        "type": "string"
      },
      "Input_ToolRemovalBlock": {
        "additionalProperties": true,
        "properties": {
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "tool": {
            "$ref": "#/components/schemas/Input_ToolChangeReference"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ToolRemovalType"
          }
        },
        "required": [
          "type",
          "tool"
        ],
        "type": "object"
      },
      "Input_ToolRemovalType": {
        "enum": [
          "tool_removal"
        ],
        "type": "string"
      },
      "Input_ToolResponse": {
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "response": {
            "additionalProperties": true,
            "type": [
              "object",
              "null"
            ]
          },
          "toolType": {
            "$ref": "#/components/schemas/Input_ToolType2"
          }
        },
        "required": [
          "toolType"
        ],
        "type": "object"
      },
      "Input_ToolResultBlock": {
        "additionalProperties": true,
        "properties": {
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolResultContent"
              },
              {
                "type": "null"
              }
            ]
          },
          "is_error": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "tool_use_id": {
            "type": "string"
          },
          "toolset_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_ToolResultBlockType"
          }
        },
        "required": [
          "type",
          "tool_use_id"
        ],
        "type": "object"
      },
      "Input_ToolResultBlockType": {
        "enum": [
          "tool_result"
        ],
        "type": "string"
      },
      "Input_ToolResultContent": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "$ref": "#/components/schemas/Input_ToolResultContentBlock"
            },
            "type": "array"
          }
        ]
      },
      "Input_ToolResultContentBlock": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_BrowserStateBlock"
          },
          {
            "$ref": "#/components/schemas/Input_TextBlock"
          },
          {
            "$ref": "#/components/schemas/Input_ImageBlock"
          },
          {
            "$ref": "#/components/schemas/Input_SearchResultBlock"
          },
          {
            "$ref": "#/components/schemas/Input_DocumentBlock"
          },
          {
            "$ref": "#/components/schemas/Input_ToolReferenceBlock"
          }
        ]
      },
      "Input_ToolResultSource": {
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "id"
        ],
        "type": "object"
      },
      "Input_ToolResultSources": {
        "anyOf": [
          {
            "items": {
              "$ref": "#/components/schemas/Input_ToolResultSource"
            },
            "type": "array"
          },
          {
            "$ref": "#/components/schemas/Input_ParseFailed"
          }
        ]
      },
      "Input_ToolRole": {
        "enum": [
          "tool"
        ],
        "type": "string"
      },
      "Input_ToolSearchBm25Tool20251119": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Input_AllowedCaller2"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "name": {
            "$ref": "#/components/schemas/Input_ToolSearchBm25Tool20251119Name"
          },
          "strict": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_ToolSearchBm25Tool20251119Type"
          }
        },
        "required": [
          "name",
          "type"
        ],
        "type": "object"
      },
      "Input_ToolSearchBm25Tool20251119Name": {
        "enum": [
          "tool_search_tool_bm25"
        ],
        "type": "string"
      },
      "Input_ToolSearchBm25Tool20251119Type": {
        "enum": [
          "tool_search_tool_bm25_20251119",
          "tool_search_tool_bm25"
        ],
        "type": "string"
      },
      "Input_ToolSearchCall": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "arguments": true,
          "call_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "execution": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolExecution"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ItemStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_ToolSearchCallType"
          }
        },
        "required": [
          "type",
          "arguments"
        ],
        "type": "object"
      },
      "Input_ToolSearchCallType": {
        "enum": [
          "tool_search_call"
        ],
        "type": "string"
      },
      "Input_ToolSearchError": {
        "additionalProperties": true,
        "properties": {
          "error_code": {
            "$ref": "#/components/schemas/Input_ToolSearchErrorCode"
          },
          "error_message": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_ToolSearchErrorType"
          }
        },
        "required": [
          "type",
          "error_code"
        ],
        "type": "object"
      },
      "Input_ToolSearchErrorCode": {
        "enum": [
          "invalid_tool_input",
          "unavailable",
          "too_many_requests",
          "execution_time_exceeded"
        ],
        "type": "string"
      },
      "Input_ToolSearchErrorType": {
        "enum": [
          "tool_search_tool_result_error"
        ],
        "type": "string"
      },
      "Input_ToolSearchOutput": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "call_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "execution": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolExecution"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ItemStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "tools": {
            "items": {
              "$ref": "#/components/schemas/Input_Tool"
            },
            "type": "array"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ToolSearchOutputType"
          }
        },
        "required": [
          "type",
          "tools"
        ],
        "type": "object"
      },
      "Input_ToolSearchOutputType": {
        "enum": [
          "tool_search_output"
        ],
        "type": "string"
      },
      "Input_ToolSearchRegexTool20251119": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Input_AllowedCaller2"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "name": {
            "$ref": "#/components/schemas/Input_ToolSearchRegexTool20251119Name"
          },
          "strict": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_ToolSearchRegexTool20251119Type"
          }
        },
        "required": [
          "name",
          "type"
        ],
        "type": "object"
      },
      "Input_ToolSearchRegexTool20251119Name": {
        "enum": [
          "tool_search_tool_regex"
        ],
        "type": "string"
      },
      "Input_ToolSearchRegexTool20251119Type": {
        "enum": [
          "tool_search_tool_regex_20251119",
          "tool_search_tool_regex"
        ],
        "type": "string"
      },
      "Input_ToolSearchResultContent": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_ToolSearchError"
          },
          {
            "$ref": "#/components/schemas/Input_ToolSearchResults"
          }
        ]
      },
      "Input_ToolSearchResults": {
        "additionalProperties": true,
        "properties": {
          "tool_references": {
            "items": {
              "$ref": "#/components/schemas/Input_ToolReferenceBlock"
            },
            "type": "array"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ToolSearchResultsType"
          }
        },
        "required": [
          "type",
          "tool_references"
        ],
        "type": "object"
      },
      "Input_ToolSearchResultsType": {
        "enum": [
          "tool_search_tool_search_result"
        ],
        "type": "string"
      },
      "Input_ToolSearchTool": {
        "additionalProperties": true,
        "properties": {
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "execution": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ToolExecution"
              },
              {
                "type": "null"
              }
            ]
          },
          "parameters": true
        },
        "type": "object"
      },
      "Input_ToolSearchToolResultBlock": {
        "additionalProperties": true,
        "properties": {
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "$ref": "#/components/schemas/Input_ToolSearchResultContent"
          },
          "tool_use_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_ToolSearchToolResultType"
          }
        },
        "required": [
          "type",
          "content",
          "tool_use_id"
        ],
        "type": "object"
      },
      "Input_ToolSearchToolResultType": {
        "enum": [
          "tool_search_tool_result"
        ],
        "type": "string"
      },
      "Input_ToolType": {
        "enum": [
          "custom"
        ],
        "type": "string"
      },
      "Input_ToolType2": {
        "enum": [
          "TOOL_TYPE_UNSPECIFIED",
          "GOOGLE_SEARCH_WEB",
          "GOOGLE_SEARCH_IMAGE",
          "URL_CONTEXT",
          "GOOGLE_MAPS",
          "FILE_SEARCH"
        ],
        "type": "string"
      },
      "Input_ToolUnion": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_BrowserToolset20260801"
          },
          {
            "$ref": "#/components/schemas/Input_ComputerToolset20260801"
          },
          {
            "$ref": "#/components/schemas/Input_Tool2"
          },
          {
            "$ref": "#/components/schemas/Input_McpToolset"
          },
          {
            "$ref": "#/components/schemas/Input_BashTool20241022"
          },
          {
            "$ref": "#/components/schemas/Input_BashTool20250124"
          },
          {
            "$ref": "#/components/schemas/Input_CodeExecutionTool20250522"
          },
          {
            "$ref": "#/components/schemas/Input_CodeExecutionTool20250825"
          },
          {
            "$ref": "#/components/schemas/Input_CodeExecutionTool20260120"
          },
          {
            "$ref": "#/components/schemas/Input_CodeExecutionTool20260521"
          },
          {
            "$ref": "#/components/schemas/Input_ComputerTool20241022"
          },
          {
            "$ref": "#/components/schemas/Input_MemoryTool20250818"
          },
          {
            "$ref": "#/components/schemas/Input_ComputerTool20250124"
          },
          {
            "$ref": "#/components/schemas/Input_TextEditorTool20241022"
          },
          {
            "$ref": "#/components/schemas/Input_ComputerTool20251124"
          },
          {
            "$ref": "#/components/schemas/Input_TextEditorTool20250124"
          },
          {
            "$ref": "#/components/schemas/Input_TextEditorTool20250429"
          },
          {
            "$ref": "#/components/schemas/Input_TextEditorTool20250728"
          },
          {
            "$ref": "#/components/schemas/Input_WebSearchTool20250305"
          },
          {
            "$ref": "#/components/schemas/Input_WebFetchTool20250910"
          },
          {
            "$ref": "#/components/schemas/Input_WebSearchTool20260209"
          },
          {
            "$ref": "#/components/schemas/Input_WebFetchTool20260209"
          },
          {
            "$ref": "#/components/schemas/Input_WebFetchTool20260309"
          },
          {
            "$ref": "#/components/schemas/Input_WebSearchTool20260318"
          },
          {
            "$ref": "#/components/schemas/Input_WebFetchTool20260318"
          },
          {
            "$ref": "#/components/schemas/Input_AdvisorTool20260301"
          },
          {
            "$ref": "#/components/schemas/Input_ToolSearchBm25Tool20251119"
          },
          {
            "$ref": "#/components/schemas/Input_ToolSearchRegexTool20251119"
          }
        ]
      },
      "Input_ToolUseBlock": {
        "additionalProperties": true,
        "properties": {
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "caller": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Caller2"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": "string"
          },
          "input": true,
          "name": {
            "type": "string"
          },
          "toolset_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_ToolUseBlockType"
          }
        },
        "required": [
          "type",
          "id",
          "input",
          "name"
        ],
        "type": "object"
      },
      "Input_ToolUseBlockType": {
        "enum": [
          "tool_use"
        ],
        "type": "string"
      },
      "Input_ToolUsesKeep": {
        "additionalProperties": true,
        "properties": {
          "type": {
            "$ref": "#/components/schemas/Input_ToolUsesType"
          },
          "value": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "type",
          "value"
        ],
        "type": "object"
      },
      "Input_ToolUsesType": {
        "enum": [
          "tool_uses"
        ],
        "type": "string"
      },
      "Input_ToolsetMemberConfig": {
        "additionalProperties": true,
        "properties": {
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "enabled": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_TopLogprob": {
        "additionalProperties": true,
        "properties": {
          "bytes": {
            "items": {
              "format": "int64",
              "type": "integer"
            },
            "type": "array"
          },
          "logprob": {
            "type": "number"
          },
          "token": {
            "type": "string"
          }
        },
        "required": [
          "token",
          "bytes",
          "logprob"
        ],
        "type": "object"
      },
      "Input_TranscriptionInclude": {
        "enum": [
          "logprobs"
        ],
        "type": "string"
      },
      "Input_TranscriptionResponseFormat": {
        "enum": [
          "json",
          "text",
          "srt",
          "verbose_json",
          "vtt",
          "diarized_json"
        ],
        "type": "string"
      },
      "Input_TranscriptionTimestampGranularity": {
        "enum": [
          "word",
          "segment"
        ],
        "type": "string"
      },
      "Input_TranslationConfig": {
        "additionalProperties": true,
        "properties": {
          "echoTargetLanguage": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "targetLanguageCode": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_TranslationResponseFormat": {
        "enum": [
          "json",
          "text",
          "srt",
          "verbose_json",
          "vtt"
        ],
        "type": "string"
      },
      "Input_Truncation": {
        "enum": [
          "auto",
          "disabled"
        ],
        "type": "string"
      },
      "Input_TurnCoverage": {
        "enum": [
          "TURN_COVERAGE_UNSPECIFIED",
          "TURN_INCLUDES_ONLY_ACTIVITY",
          "TURN_INCLUDES_ALL_INPUT",
          "TURN_INCLUDES_AUDIO_ACTIVITY_AND_ALL_VIDEO"
        ],
        "type": "string"
      },
      "Input_TypeAction": {
        "additionalProperties": true,
        "properties": {
          "text": {
            "type": "string"
          }
        },
        "required": [
          "text"
        ],
        "type": "object"
      },
      "Input_UploadFileForm": {
        "properties": {
          "expires_after": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_FileExpiry"
              },
              {
                "type": "null"
              }
            ]
          },
          "file": {
            "$ref": "#/components/schemas/Input_BinaryPart"
          },
          "purpose": {
            "$ref": "#/components/schemas/Input_UploadFilePurpose"
          }
        },
        "required": [
          "file",
          "purpose"
        ],
        "type": "object"
      },
      "Input_UploadFileForm2": {
        "properties": {
          "expires_in_seconds": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "file": {
            "$ref": "#/components/schemas/Input_BinaryPart"
          }
        },
        "required": [
          "file"
        ],
        "type": "object"
      },
      "Input_UploadFileForm3": {
        "properties": {
          "file": {
            "$ref": "#/components/schemas/Input_BinaryPart"
          },
          "metadata": {
            "$ref": "#/components/schemas/Input_UploadFileMetadata"
          }
        },
        "required": [
          "file",
          "metadata"
        ],
        "type": "object"
      },
      "Input_UploadFileMetadata": {
        "additionalProperties": true,
        "properties": {
          "file": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_File"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_UploadFilePurpose": {
        "enum": [
          "assistants",
          "batch",
          "fine-tune",
          "vision",
          "user_data",
          "evals"
        ],
        "type": "string"
      },
      "Input_UrlCitation": {
        "additionalProperties": true,
        "properties": {
          "end_index": {
            "format": "int64",
            "type": "integer"
          },
          "start_index": {
            "format": "int64",
            "type": "integer"
          },
          "title": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_UrlCitationType"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "end_index",
          "start_index",
          "title",
          "url",
          "type"
        ],
        "type": "object"
      },
      "Input_UrlCitationType": {
        "enum": [
          "url_citation"
        ],
        "type": "string"
      },
      "Input_UrlContext": {
        "additionalProperties": true,
        "type": "object"
      },
      "Input_UrlSource": {
        "additionalProperties": true,
        "properties": {
          "url": {
            "type": "string"
          }
        },
        "required": [
          "url"
        ],
        "type": "object"
      },
      "Input_UsageGroupBy": {
        "description": "Which column the aggregate is cut by.",
        "oneOf": [
          {
            "enum": [
              "user",
              "apiKey",
              "operation"
            ],
            "type": "string"
          },
          {
            "const": "model",
            "description": "The upstream model name stored on the usage row.",
            "type": "string"
          },
          {
            "const": "provider",
            "description": "Group structured upstream usage by provider, with each provider's own quantities and cost.",
            "type": "string"
          },
          {
            "const": "credential",
            "description": "The same per-attempt cut as `Provider`, keyed by the credential that\nserved each attempt: what each upstream account actually spent.",
            "type": "string"
          }
        ]
      },
      "Input_UserContentPart": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_TextPart"
          },
          {
            "$ref": "#/components/schemas/Input_ImagePart"
          },
          {
            "$ref": "#/components/schemas/Input_InputAudioPart"
          },
          {
            "$ref": "#/components/schemas/Input_FilePart"
          }
        ]
      },
      "Input_UserContentParts": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "$ref": "#/components/schemas/Input_UserContentPart"
            },
            "type": "array"
          }
        ]
      },
      "Input_UserLocation": {
        "additionalProperties": true,
        "properties": {
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "country": {
            "type": [
              "string",
              "null"
            ]
          },
          "region": {
            "type": [
              "string",
              "null"
            ]
          },
          "timezone": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_UserLocationType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_UserLocation2": {
        "additionalProperties": true,
        "properties": {
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "country": {
            "type": [
              "string",
              "null"
            ]
          },
          "region": {
            "type": [
              "string",
              "null"
            ]
          },
          "timezone": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_UserLocationType2"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_UserLocation3": {
        "additionalProperties": true,
        "properties": {
          "approximate": {
            "$ref": "#/components/schemas/Input_ApproximateLocation"
          },
          "type": {
            "$ref": "#/components/schemas/Input_UserLocationType3"
          }
        },
        "required": [
          "type",
          "approximate"
        ],
        "type": "object"
      },
      "Input_UserLocationType": {
        "enum": [
          "approximate"
        ],
        "type": "string"
      },
      "Input_UserLocationType2": {
        "enum": [
          "approximate"
        ],
        "type": "string"
      },
      "Input_UserLocationType3": {
        "enum": [
          "approximate"
        ],
        "type": "string"
      },
      "Input_UserMessage": {
        "additionalProperties": true,
        "properties": {
          "content": {
            "$ref": "#/components/schemas/Input_UserContentParts"
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "role": {
            "$ref": "#/components/schemas/Input_UserRole"
          }
        },
        "required": [
          "role",
          "content"
        ],
        "type": "object"
      },
      "Input_UserPatch": {
        "properties": {
          "enabled": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "name": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "oauthClientAllowlist": {
            "default": null,
            "description": "Absent leaves the allowlist alone, `null` clears it back to inheriting,\na list replaces it. The password is deliberately not patchable here:\nchanging one revokes sessions, so it is its own operation.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "role": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_UserRole": {
        "enum": [
          "user"
        ],
        "type": "string"
      },
      "Input_UserWrite": {
        "properties": {
          "enabled": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "id": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "oauthClientAllowlist": {
            "default": null,
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "password": {
            "default": null,
            "description": "Optional: a user created without one cannot sign in until a password is\nset, which is what an API-key-only account is.",
            "type": [
              "string",
              "null"
            ]
          },
          "role": {
            "default": null,
            "description": "`admin` or `user`; absent means `user`.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "Input_VadConfig": {
        "additionalProperties": true,
        "properties": {
          "prefix_padding_ms": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "silence_duration_ms": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "threshold": {
            "type": [
              "number",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_VadType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_VadType": {
        "enum": [
          "server_vad"
        ],
        "type": "string"
      },
      "Input_Verbosity": {
        "enum": [
          "low",
          "medium",
          "high"
        ],
        "type": "string"
      },
      "Input_VideoFileMetadata": {
        "additionalProperties": true,
        "properties": {
          "videoDuration": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_VideoMetadata": {
        "additionalProperties": true,
        "properties": {
          "endOffset": {
            "type": [
              "string",
              "null"
            ]
          },
          "fps": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "startOffset": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_VoiceConfig": {
        "additionalProperties": true,
        "properties": {
          "prebuiltVoiceConfig": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_PrebuiltVoiceConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "voice": {
            "description": "Prebuilt speaker name, stored `voice_...` ID, or client-managed `voicekey_...`.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_VoiceConsentSignature": {
        "additionalProperties": true,
        "properties": {
          "signature": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_VoiceSource": {
        "enum": [
          "prompt",
          "audio_sample"
        ],
        "type": "string"
      },
      "Input_WaitAction": {
        "additionalProperties": true,
        "type": "object"
      },
      "Input_WeatherOperation": {
        "additionalProperties": true,
        "properties": {
          "duration": {
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "location": {
            "type": "string"
          },
          "start": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "location"
        ],
        "type": "object"
      },
      "Input_WebCitation": {
        "additionalProperties": true,
        "properties": {
          "cited_text": {
            "type": "string"
          },
          "encrypted_index": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "cited_text",
          "encrypted_index",
          "title",
          "url"
        ],
        "type": "object"
      },
      "Input_WebFetchError": {
        "additionalProperties": true,
        "properties": {
          "error_code": {
            "$ref": "#/components/schemas/Input_WebFetchErrorCode"
          },
          "type": {
            "$ref": "#/components/schemas/Input_WebFetchErrorType"
          }
        },
        "required": [
          "type",
          "error_code"
        ],
        "type": "object"
      },
      "Input_WebFetchErrorCode": {
        "enum": [
          "invalid_tool_input",
          "url_too_long",
          "url_not_allowed",
          "url_not_in_prior_context",
          "url_not_accessible",
          "unsupported_content_type",
          "too_many_requests",
          "max_uses_exceeded",
          "unavailable"
        ],
        "type": "string"
      },
      "Input_WebFetchErrorType": {
        "enum": [
          "web_fetch_tool_result_error"
        ],
        "type": "string"
      },
      "Input_WebFetchResult": {
        "additionalProperties": true,
        "properties": {
          "content": {
            "$ref": "#/components/schemas/Input_DocumentBlock"
          },
          "retrieved_at": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_WebFetchResultType"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "content",
          "url"
        ],
        "type": "object"
      },
      "Input_WebFetchResultContent": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Input_WebFetchError"
          },
          {
            "$ref": "#/components/schemas/Input_WebFetchResult"
          }
        ]
      },
      "Input_WebFetchResultType": {
        "enum": [
          "web_fetch_result"
        ],
        "type": "string"
      },
      "Input_WebFetchTool20250910": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Input_AllowedCaller2"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "allowed_domains": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "blocked_domains": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "citations": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CitationsConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "max_content_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "max_uses": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "name": {
            "$ref": "#/components/schemas/Input_WebFetchTool20250910Name"
          },
          "strict": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_WebFetchTool20250910Type"
          }
        },
        "required": [
          "name",
          "type"
        ],
        "type": "object"
      },
      "Input_WebFetchTool20250910Name": {
        "enum": [
          "web_fetch"
        ],
        "type": "string"
      },
      "Input_WebFetchTool20250910Type": {
        "enum": [
          "web_fetch_20250910"
        ],
        "type": "string"
      },
      "Input_WebFetchTool20260209": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Input_AllowedCaller2"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "allowed_domains": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "blocked_domains": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "citations": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CitationsConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "max_content_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "max_uses": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "name": {
            "$ref": "#/components/schemas/Input_WebFetchTool20260209Name"
          },
          "strict": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_WebFetchTool20260209Type"
          }
        },
        "required": [
          "name",
          "type"
        ],
        "type": "object"
      },
      "Input_WebFetchTool20260209Name": {
        "enum": [
          "web_fetch"
        ],
        "type": "string"
      },
      "Input_WebFetchTool20260209Type": {
        "enum": [
          "web_fetch_20260209"
        ],
        "type": "string"
      },
      "Input_WebFetchTool20260309": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Input_AllowedCaller2"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "allowed_domains": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "blocked_domains": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "citations": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CitationsConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "max_content_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "max_uses": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "name": {
            "$ref": "#/components/schemas/Input_WebFetchTool20260309Name"
          },
          "strict": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_WebFetchTool20260309Type"
          },
          "use_cache": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "required": [
          "name",
          "type"
        ],
        "type": "object"
      },
      "Input_WebFetchTool20260309Name": {
        "enum": [
          "web_fetch"
        ],
        "type": "string"
      },
      "Input_WebFetchTool20260309Type": {
        "enum": [
          "web_fetch_20260309"
        ],
        "type": "string"
      },
      "Input_WebFetchTool20260318": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Input_AllowedCaller2"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "allowed_domains": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "blocked_domains": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "citations": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CitationsConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "max_content_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "max_uses": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "name": {
            "$ref": "#/components/schemas/Input_WebFetchTool20260318Name"
          },
          "response_inclusion": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ResponseInclusion"
              },
              {
                "type": "null"
              }
            ]
          },
          "strict": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_WebFetchTool20260318Type"
          },
          "use_cache": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "required": [
          "name",
          "type"
        ],
        "type": "object"
      },
      "Input_WebFetchTool20260318Name": {
        "enum": [
          "web_fetch"
        ],
        "type": "string"
      },
      "Input_WebFetchTool20260318Type": {
        "enum": [
          "web_fetch_20260318"
        ],
        "type": "string"
      },
      "Input_WebFetchToolResultBlock": {
        "additionalProperties": true,
        "properties": {
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "caller": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Caller2"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "$ref": "#/components/schemas/Input_WebFetchResultContent"
          },
          "tool_use_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_WebFetchToolResultType"
          }
        },
        "required": [
          "type",
          "content",
          "tool_use_id"
        ],
        "type": "object"
      },
      "Input_WebFetchToolResultType": {
        "enum": [
          "web_fetch_tool_result"
        ],
        "type": "string"
      },
      "Input_WebSearch": {
        "additionalProperties": true,
        "type": "object"
      },
      "Input_WebSearchAction": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Input_WebSearchQuery",
            "properties": {
              "type": {
                "const": "search",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_WebSearchOpenPage",
            "properties": {
              "type": {
                "const": "open_page",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_WebSearchFindInPage",
            "properties": {
              "type": {
                "const": "find_in_page",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Input_WebSearchAction2": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Input_WebSearchActionSearch",
            "properties": {
              "type": {
                "const": "search",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_WebSearchActionOpenPage",
            "properties": {
              "type": {
                "const": "open_page",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_WebSearchActionFindInPage",
            "properties": {
              "type": {
                "const": "find_in_page",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Input_WebSearchActionOther",
            "properties": {
              "type": {
                "const": "other",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Input_WebSearchActionFindInPage": {
        "additionalProperties": true,
        "properties": {
          "pattern": {
            "type": [
              "string",
              "null"
            ]
          },
          "url": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_WebSearchActionOpenPage": {
        "additionalProperties": true,
        "properties": {
          "url": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_WebSearchActionOther": {
        "additionalProperties": true,
        "type": "object"
      },
      "Input_WebSearchActionSearch": {
        "additionalProperties": true,
        "properties": {
          "queries": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "query": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_WebSearchCall": {
        "additionalProperties": true,
        "properties": {
          "action": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_WebSearchAction"
              },
              {
                "type": "null"
              }
            ],
            "description": "The initial in-progress stream item precedes its search action."
          },
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/Input_WebSearchStatus"
          },
          "type": {
            "$ref": "#/components/schemas/Input_WebSearchCallType"
          }
        },
        "required": [
          "type",
          "id",
          "status"
        ],
        "type": "object"
      },
      "Input_WebSearchCallType": {
        "enum": [
          "web_search_call"
        ],
        "type": "string"
      },
      "Input_WebSearchError": {
        "additionalProperties": true,
        "properties": {
          "error_code": {
            "$ref": "#/components/schemas/Input_WebSearchErrorCode"
          },
          "type": {
            "$ref": "#/components/schemas/Input_WebSearchErrorType"
          }
        },
        "required": [
          "type",
          "error_code"
        ],
        "type": "object"
      },
      "Input_WebSearchErrorCode": {
        "enum": [
          "invalid_tool_input",
          "unavailable",
          "max_uses_exceeded",
          "too_many_requests",
          "query_too_long",
          "request_too_large"
        ],
        "type": "string"
      },
      "Input_WebSearchErrorType": {
        "enum": [
          "web_search_tool_result_error"
        ],
        "type": "string"
      },
      "Input_WebSearchFilters": {
        "additionalProperties": true,
        "properties": {
          "allowed_domains": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_WebSearchFindInPage": {
        "additionalProperties": true,
        "properties": {
          "pattern": {
            "type": "string"
          },
          "url": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "pattern"
        ],
        "type": "object"
      },
      "Input_WebSearchOpenPage": {
        "additionalProperties": true,
        "properties": {
          "url": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_WebSearchOptions": {
        "additionalProperties": true,
        "properties": {
          "search_context_size": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_SearchContextSize2"
              },
              {
                "type": "null"
              }
            ]
          },
          "user_location": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_UserLocation3"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_WebSearchPreviewTool": {
        "additionalProperties": true,
        "properties": {
          "search_content_types": {
            "items": {
              "$ref": "#/components/schemas/Input_SearchContentType"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "search_context_size": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_SearchContextSize"
              },
              {
                "type": "null"
              }
            ]
          },
          "user_location": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_PreviewUserLocation"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_WebSearchQuery": {
        "additionalProperties": true,
        "properties": {
          "queries": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "query": {
            "type": [
              "string",
              "null"
            ]
          },
          "sources": {
            "items": {
              "$ref": "#/components/schemas/Input_WebSearchSource"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_WebSearchRequestBody": {
        "additionalProperties": true,
        "properties": {
          "commands": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_SearchCommands"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": "string"
          },
          "input": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_SearchInput"
              },
              {
                "type": "null"
              }
            ]
          },
          "max_output_tokens": {
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "model": {
            "type": "string"
          },
          "reasoning": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Reasoning"
              },
              {
                "type": "null"
              }
            ]
          },
          "settings": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_SearchSettings"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "model"
        ],
        "type": "object"
      },
      "Input_WebSearchResult": {
        "additionalProperties": true,
        "properties": {
          "encrypted_content": {
            "type": "string"
          },
          "page_age": {
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_WebSearchResultType"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "encrypted_content",
          "title",
          "url"
        ],
        "type": "object"
      },
      "Input_WebSearchResultContent": {
        "anyOf": [
          {
            "items": {
              "$ref": "#/components/schemas/Input_WebSearchResult"
            },
            "type": "array"
          },
          {
            "$ref": "#/components/schemas/Input_WebSearchError"
          }
        ]
      },
      "Input_WebSearchResultType": {
        "enum": [
          "web_search_result"
        ],
        "type": "string"
      },
      "Input_WebSearchSource": {
        "additionalProperties": true,
        "properties": {
          "type": {
            "$ref": "#/components/schemas/Input_WebSearchSourceType"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "url"
        ],
        "type": "object"
      },
      "Input_WebSearchSourceType": {
        "enum": [
          "url"
        ],
        "type": "string"
      },
      "Input_WebSearchStatus": {
        "enum": [
          "in_progress",
          "searching",
          "completed",
          "failed",
          "incomplete"
        ],
        "type": "string"
      },
      "Input_WebSearchTool": {
        "additionalProperties": true,
        "properties": {
          "filters": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_WebSearchFilters"
              },
              {
                "type": "null"
              }
            ]
          },
          "search_context_size": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_SearchContextSize"
              },
              {
                "type": "null"
              }
            ]
          },
          "user_location": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_UserLocation"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Input_WebSearchTool20250305": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Input_AllowedCaller2"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "allowed_domains": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "blocked_domains": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "max_uses": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "name": {
            "$ref": "#/components/schemas/Input_WebSearchTool20250305Name"
          },
          "strict": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_WebSearchTool20250305Type"
          },
          "user_location": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_UserLocation2"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "name",
          "type"
        ],
        "type": "object"
      },
      "Input_WebSearchTool20250305Name": {
        "enum": [
          "web_search"
        ],
        "type": "string"
      },
      "Input_WebSearchTool20250305Type": {
        "enum": [
          "web_search_20250305"
        ],
        "type": "string"
      },
      "Input_WebSearchTool20260209": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Input_AllowedCaller2"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "allowed_domains": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "blocked_domains": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "max_uses": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "name": {
            "$ref": "#/components/schemas/Input_WebSearchTool20260209Name"
          },
          "strict": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_WebSearchTool20260209Type"
          },
          "user_location": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_UserLocation2"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "name",
          "type"
        ],
        "type": "object"
      },
      "Input_WebSearchTool20260209Name": {
        "enum": [
          "web_search"
        ],
        "type": "string"
      },
      "Input_WebSearchTool20260209Type": {
        "enum": [
          "web_search_20260209"
        ],
        "type": "string"
      },
      "Input_WebSearchTool20260318": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Input_AllowedCaller2"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "allowed_domains": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "blocked_domains": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "max_uses": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "name": {
            "$ref": "#/components/schemas/Input_WebSearchTool20260318Name"
          },
          "response_inclusion": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_ResponseInclusion"
              },
              {
                "type": "null"
              }
            ]
          },
          "strict": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Input_WebSearchTool20260318Type"
          },
          "user_location": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_UserLocation2"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "name",
          "type"
        ],
        "type": "object"
      },
      "Input_WebSearchTool20260318Name": {
        "enum": [
          "web_search"
        ],
        "type": "string"
      },
      "Input_WebSearchTool20260318Type": {
        "enum": [
          "web_search_20260318"
        ],
        "type": "string"
      },
      "Input_WebSearchToolResultBlock": {
        "additionalProperties": true,
        "properties": {
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "caller": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_Caller2"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "$ref": "#/components/schemas/Input_WebSearchResultContent"
          },
          "tool_use_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Input_WebSearchToolResultType"
          }
        },
        "required": [
          "type",
          "content",
          "tool_use_id"
        ],
        "type": "object"
      },
      "Input_WebSearchToolResultType": {
        "enum": [
          "web_search_tool_result"
        ],
        "type": "string"
      },
      "Input_WordInfo": {
        "additionalProperties": true,
        "properties": {
          "endOffset": {
            "type": [
              "string",
              "null"
            ]
          },
          "startOffset": {
            "type": [
              "string",
              "null"
            ]
          },
          "word": {
            "type": "string"
          }
        },
        "required": [
          "word"
        ],
        "type": "object"
      },
      "Input_WordInfo2": {
        "additionalProperties": true,
        "properties": {
          "endOffset": {
            "type": [
              "string",
              "null"
            ]
          },
          "startOffset": {
            "type": [
              "string",
              "null"
            ]
          },
          "word": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Input_ZipMediaType": {
        "enum": [
          "application/zip"
        ],
        "type": "string"
      },
      "Output_Action": {
        "enum": [
          "spawn_agent",
          "interrupt_agent",
          "list_agents",
          "send_message",
          "followup_task",
          "wait_agent"
        ],
        "type": "string"
      },
      "Output_AdditionalTools": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "role": {
            "$ref": "#/components/schemas/Output_AdditionalToolsRole"
          },
          "tools": {
            "items": {
              "$ref": "#/components/schemas/Output_Tool"
            },
            "type": "array"
          },
          "type": {
            "$ref": "#/components/schemas/Output_AdditionalToolsType"
          }
        },
        "required": [
          "type",
          "role",
          "tools"
        ],
        "type": "object"
      },
      "Output_AdditionalToolsRole": {
        "enum": [
          "developer"
        ],
        "type": "string"
      },
      "Output_AdditionalToolsType": {
        "enum": [
          "additional_tools"
        ],
        "type": "string"
      },
      "Output_AdminContextDto": {
        "description": "The whole answer.",
        "properties": {
          "callerKind": {
            "description": "`apiKey`, `oauthGrant` or `session`. A console only ever sees\n`session`; a script reading its own context sees which credential it\npresented.",
            "type": "string"
          },
          "scope": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_AdminScopeDto"
              },
              {
                "type": "null"
              }
            ],
            "description": "What this request is acting as. `null` means the caller administers\nseveral scopes and named none — every other route answers `400` until\none is named."
          },
          "scopeHeader": {
            "description": "The header a session names its scope with, so a console does not have\nto hard-code it.",
            "type": "string"
          },
          "scopes": {
            "description": "Every scope this caller may act as. One entry for an instance\nadministrator, one for an API key, one or more for a session.",
            "items": {
              "$ref": "#/components/schemas/Output_AdminScopeDto"
            },
            "type": "array"
          },
          "sections": {
            "description": "The sections `scope` reaches, in navigation order. Empty while `scope`\nis `null`.",
            "items": {
              "$ref": "#/components/schemas/Output_AdminSectionDto"
            },
            "type": "array"
          },
          "user": {
            "$ref": "#/components/schemas/Output_AdminContextUserDto"
          }
        },
        "required": [
          "user",
          "callerKind",
          "scopeHeader",
          "scope",
          "scopes",
          "sections"
        ],
        "type": "object"
      },
      "Output_AdminContextUserDto": {
        "properties": {
          "id": {
            "type": "string"
          },
          "instanceAdmin": {
            "type": "boolean"
          },
          "name": {
            "description": "The display name, when this revision's snapshot knows the user. A user\ncreated after the snapshot was taken is still a valid caller, so this\nis optional rather than a reason to fail.",
            "type": [
              "string",
              "null"
            ]
          },
          "role": {
            "description": "The instance-wide `users.role`. Organization and team roles are\nmemberships and appear as `scopes`, not here.",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "role",
          "instanceAdmin"
        ],
        "type": "object"
      },
      "Output_AdminScopeDto": {
        "description": "One scope the caller may act as.",
        "properties": {
          "current": {
            "type": "boolean"
          },
          "id": {
            "description": "The organization or team id. `null` for the instance scope.",
            "type": [
              "string",
              "null"
            ]
          },
          "kind": {
            "description": "`instance`, `organization` or `team`.",
            "type": "string"
          },
          "name": {
            "description": "Its display name, when the snapshot knows the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "organizationId": {
            "description": "For a team, its parent organization; for an organization, itself.",
            "type": [
              "string",
              "null"
            ]
          },
          "selector": {
            "description": "The exact value to send in the scope header to act as this.",
            "type": "string"
          }
        },
        "required": [
          "kind",
          "id",
          "name",
          "organizationId",
          "selector",
          "current"
        ],
        "type": "object"
      },
      "Output_AdminSectionDto": {
        "description": "One navigable family, as the console's navigation reads it.",
        "properties": {
          "capabilities": {
            "description": "`read`, `write`, or both.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "id": {
            "type": "string"
          },
          "path": {
            "description": "The collection path under `/admin/api`.",
            "type": "string"
          }
        },
        "required": [
          "id",
          "path",
          "capabilities"
        ],
        "type": "object"
      },
      "Output_AdvisorError": {
        "additionalProperties": true,
        "properties": {
          "error_code": {
            "$ref": "#/components/schemas/Output_AdvisorErrorCode"
          },
          "type": {
            "$ref": "#/components/schemas/Output_AdvisorErrorType"
          }
        },
        "required": [
          "type",
          "error_code"
        ],
        "type": "object"
      },
      "Output_AdvisorErrorCode": {
        "enum": [
          "max_uses_exceeded",
          "prompt_too_long",
          "too_many_requests",
          "overloaded",
          "unavailable",
          "execution_time_exceeded",
          "model_not_found"
        ],
        "type": "string"
      },
      "Output_AdvisorErrorType": {
        "enum": [
          "advisor_tool_result_error"
        ],
        "type": "string"
      },
      "Output_AdvisorMessageIterationUsage": {
        "additionalProperties": true,
        "properties": {
          "cache_creation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_CacheCreation"
              },
              {
                "type": "null"
              }
            ]
          },
          "cache_creation_input_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "cache_read_input_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "input_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "model": {
            "type": "string"
          },
          "output_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "type": {
            "$ref": "#/components/schemas/Output_AdvisorMessageIterationUsageType"
          }
        },
        "required": [
          "type",
          "cache_creation_input_tokens",
          "cache_read_input_tokens",
          "input_tokens",
          "model",
          "output_tokens"
        ],
        "type": "object"
      },
      "Output_AdvisorMessageIterationUsageType": {
        "enum": [
          "advisor_message"
        ],
        "type": "string"
      },
      "Output_Agent": {
        "additionalProperties": true,
        "properties": {
          "agent_name": {
            "type": "string"
          }
        },
        "required": [
          "agent_name"
        ],
        "type": "object"
      },
      "Output_AgentContent": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_ResponseInputText"
          },
          {
            "$ref": "#/components/schemas/Output_ReplayOutputText"
          },
          {
            "$ref": "#/components/schemas/Output_AgentText"
          },
          {
            "$ref": "#/components/schemas/Output_SummaryText"
          },
          {
            "$ref": "#/components/schemas/Output_ReasoningContent"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseOutputRefusal"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseInputImage"
          },
          {
            "$ref": "#/components/schemas/Output_ComputerScreenshot"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseInputFile"
          },
          {
            "$ref": "#/components/schemas/Output_EncryptedContent"
          }
        ]
      },
      "Output_AgentMessage": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "author": {
            "type": "string"
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/Output_AgentContent"
            },
            "type": "array"
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "recipient": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_AgentMessageType"
          }
        },
        "required": [
          "type",
          "author",
          "recipient",
          "content"
        ],
        "type": "object"
      },
      "Output_AgentMessageType": {
        "enum": [
          "agent_message"
        ],
        "type": "string"
      },
      "Output_AgentText": {
        "additionalProperties": true,
        "properties": {
          "text": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_AgentTextType"
          }
        },
        "required": [
          "type",
          "text"
        ],
        "type": "object"
      },
      "Output_AgentTextType": {
        "enum": [
          "text"
        ],
        "type": "string"
      },
      "Output_AllowedCaller": {
        "enum": [
          "direct",
          "programmatic"
        ],
        "type": "string"
      },
      "Output_AllowedToolChoiceMode": {
        "enum": [
          "auto",
          "required"
        ],
        "type": "string"
      },
      "Output_Annotation": {
        "additionalProperties": true,
        "properties": {
          "type": {
            "$ref": "#/components/schemas/Output_AnnotationType"
          },
          "url_citation": {
            "$ref": "#/components/schemas/Output_UrlCitation2"
          }
        },
        "required": [
          "type",
          "url_citation"
        ],
        "type": "object"
      },
      "Output_AnnotationType": {
        "enum": [
          "url_citation"
        ],
        "type": "string"
      },
      "Output_Announcement": {
        "description": "One notice from the publisher's feed, already known to apply to this build.",
        "properties": {
          "affects": {
            "description": "The semver range the notice applies to, when it is not for everyone.",
            "type": [
              "string",
              "null"
            ]
          },
          "content": {
            "additionalProperties": {
              "$ref": "#/components/schemas/Output_AnnouncementContent"
            },
            "description": "Keyed by BCP 47 tag. `en` is always present; a console falls back to it.",
            "type": "object"
          },
          "expires_at": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "Stable across edits of the same notice, so a console can remember which\nones a reader has dismissed.",
            "type": "string"
          },
          "published_at": {
            "description": "RFC 3339, as published.",
            "type": "string"
          },
          "severity": {
            "$ref": "#/components/schemas/Output_AnnouncementSeverity"
          }
        },
        "required": [
          "id",
          "severity",
          "published_at",
          "content"
        ],
        "type": "object"
      },
      "Output_AnnouncementContent": {
        "description": "A notice in one language. The body is a small Markdown subset — headings,\nblockquotes, bullets, bold and code — which is all the publisher's checker\nadmits and all a console has to render.",
        "properties": {
          "body": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "title",
          "body"
        ],
        "type": "object"
      },
      "Output_AnnouncementSeverity": {
        "enum": [
          "info",
          "warning",
          "critical"
        ],
        "type": "string"
      },
      "Output_ApiKeyCreated": {
        "description": "A minted or rotated key. `token` is the only time the plaintext exists in\na response; a caller that loses it rotates the key, it is not recoverable\nunless the row was created with `retainSecret`.",
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "expiresAtMs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "hasSecret": {
            "description": "Whether the instance retained a sealed copy of the key text, i.e.\nwhether `reveal` can answer. The bytes themselves have no field.",
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "kind": {
            "description": "`user` or `oauth`. An `oauth` key is a grant's internal key and is not\na bearer credential; it is listed so an operator can see it, never\ncreated or revealed through this family.",
            "type": "string"
          },
          "management": {
            "description": "Whether the key may manage; see `api_keys.management`.",
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "organizationId": {
            "type": [
              "string",
              "null"
            ]
          },
          "prefix": {
            "description": "The first eight characters of the key body, for recognising a key in a\nlist. Not a secret and not enough of one to be useful.",
            "type": "string"
          },
          "teamId": {
            "type": [
              "string",
              "null"
            ]
          },
          "token": {
            "type": "string"
          },
          "userId": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "userId",
          "name",
          "prefix",
          "kind",
          "organizationId",
          "teamId",
          "expiresAtMs",
          "enabled",
          "management",
          "hasSecret",
          "token"
        ],
        "type": "object"
      },
      "Output_ApiKeyDto": {
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "expiresAtMs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "hasSecret": {
            "description": "Whether the instance retained a sealed copy of the key text, i.e.\nwhether `reveal` can answer. The bytes themselves have no field.",
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "kind": {
            "description": "`user` or `oauth`. An `oauth` key is a grant's internal key and is not\na bearer credential; it is listed so an operator can see it, never\ncreated or revealed through this family.",
            "type": "string"
          },
          "management": {
            "description": "Whether the key may manage; see `api_keys.management`.",
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "organizationId": {
            "type": [
              "string",
              "null"
            ]
          },
          "prefix": {
            "description": "The first eight characters of the key body, for recognising a key in a\nlist. Not a secret and not enough of one to be useful.",
            "type": "string"
          },
          "teamId": {
            "type": [
              "string",
              "null"
            ]
          },
          "userId": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "userId",
          "name",
          "prefix",
          "kind",
          "organizationId",
          "teamId",
          "expiresAtMs",
          "enabled",
          "management",
          "hasSecret"
        ],
        "type": "object"
      },
      "Output_ApiKeySecretDto": {
        "description": "The answer to `reveal`, for a key whose secret the instance was asked to\nretain. Separate from [`ApiKeyDto`] so a plaintext can never ride along\nwith an ordinary read.",
        "properties": {
          "id": {
            "type": "string"
          },
          "token": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "token"
        ],
        "type": "object"
      },
      "Output_AppliedUpdate": {
        "description": "The answer to an apply or a rollback.",
        "properties": {
          "changed": {
            "description": "Whether anything was actually replaced. `false` means the instance was\nalready on that version and nothing was written.",
            "type": "boolean"
          },
          "restart": {
            "description": "What is about to happen to the process.",
            "type": "string"
          },
          "version": {
            "description": "The version now on disk.\n\n`None` after a **rollback**: the executable that was put back carries\nits own version and nothing on disk records what it was. Reporting the\ncalling process's version instead would be a guess that is wrong in\nexactly the common case — a console pressing rollback is talking to the\nbinary that was installed.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "version",
          "changed",
          "restart"
        ],
        "type": "object"
      },
      "Output_ApplyDefaultPricesReportDto": {
        "properties": {
          "created": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "skipped": {
            "description": "Rules already present that `overwrite: false` left alone.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "unmatched": {
            "description": "Names no catalog entry covers.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "updated": {
            "description": "Rules `overwrite` replaced, rates and tiers included.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "created",
          "updated",
          "skipped",
          "unmatched"
        ],
        "type": "object"
      },
      "Output_ApplyPatchCall": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "call_id": {
            "type": "string"
          },
          "caller": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Caller"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "operation": {
            "$ref": "#/components/schemas/Output_ApplyPatchOperation"
          },
          "status": {
            "$ref": "#/components/schemas/Output_ApplyPatchStatus"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ApplyPatchCallType"
          }
        },
        "required": [
          "type",
          "call_id",
          "operation",
          "status"
        ],
        "type": "object"
      },
      "Output_ApplyPatchCallOutput": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "call_id": {
            "type": "string"
          },
          "caller": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Caller"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "output": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "$ref": "#/components/schemas/Output_ApplyPatchOutputStatus"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ApplyPatchCallOutputType"
          }
        },
        "required": [
          "type",
          "call_id",
          "status"
        ],
        "type": "object"
      },
      "Output_ApplyPatchCallOutputType": {
        "enum": [
          "apply_patch_call_output"
        ],
        "type": "string"
      },
      "Output_ApplyPatchCallType": {
        "enum": [
          "apply_patch_call"
        ],
        "type": "string"
      },
      "Output_ApplyPatchCreate": {
        "additionalProperties": true,
        "properties": {
          "diff": {
            "type": "string"
          },
          "path": {
            "type": "string"
          }
        },
        "required": [
          "path",
          "diff"
        ],
        "type": "object"
      },
      "Output_ApplyPatchDelete": {
        "additionalProperties": true,
        "properties": {
          "path": {
            "type": "string"
          }
        },
        "required": [
          "path"
        ],
        "type": "object"
      },
      "Output_ApplyPatchOperation": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Output_ApplyPatchCreate",
            "properties": {
              "type": {
                "const": "create_file",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ApplyPatchDelete",
            "properties": {
              "type": {
                "const": "delete_file",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ApplyPatchUpdate",
            "properties": {
              "type": {
                "const": "update_file",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Output_ApplyPatchOutputStatus": {
        "enum": [
          "completed",
          "failed"
        ],
        "type": "string"
      },
      "Output_ApplyPatchStatus": {
        "enum": [
          "in_progress",
          "completed"
        ],
        "type": "string"
      },
      "Output_ApplyPatchTool": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Output_AllowedCaller"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_ApplyPatchToolType": {
        "enum": [
          "freeform"
        ],
        "type": "string"
      },
      "Output_ApplyPatchUpdate": {
        "additionalProperties": true,
        "properties": {
          "diff": {
            "type": "string"
          },
          "path": {
            "type": "string"
          }
        },
        "required": [
          "path",
          "diff"
        ],
        "type": "object"
      },
      "Output_ApprovalMessages": {
        "additionalProperties": true,
        "properties": {
          "never": {
            "type": [
              "string",
              "null"
            ]
          },
          "on_request": {
            "type": [
              "string",
              "null"
            ]
          },
          "on_request_auto_review": {
            "type": [
              "string",
              "null"
            ]
          },
          "unless_trusted": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_AsyncClassifierMode": {
        "enum": [
          "snapshot",
          "conversation"
        ],
        "type": "string"
      },
      "Output_AttributionSourceId": {
        "additionalProperties": true,
        "properties": {
          "groundingPassage": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_GroundingPassageId"
              },
              {
                "type": "null"
              }
            ]
          },
          "semanticRetrieverChunk": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_SemanticRetrieverChunk"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_AudioDelta": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "delta": {
            "type": "string"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sequence_number",
          "delta"
        ],
        "type": "object"
      },
      "Output_AudioDone": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sequence_number"
        ],
        "type": "object"
      },
      "Output_AudioTranscriptDelta": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "delta": {
            "type": "string"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sequence_number",
          "delta"
        ],
        "type": "object"
      },
      "Output_AudioTranscriptDone": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sequence_number"
        ],
        "type": "object"
      },
      "Output_AudioTranscription": {
        "additionalProperties": true,
        "properties": {
          "speakerLabel": {
            "type": [
              "string",
              "null"
            ]
          },
          "text": {
            "type": "string"
          },
          "words": {
            "items": {
              "$ref": "#/components/schemas/Output_WordInfo"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "text"
        ],
        "type": "object"
      },
      "Output_AudioTranscription2": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/audio_transcription.py`, `AudioTranscription`.",
        "properties": {
          "delay": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_AudioTranscriptionDelay"
              },
              {
                "type": "null"
              }
            ]
          },
          "keywords": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "language": {
            "type": [
              "string",
              "null"
            ]
          },
          "languages": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "model": {
            "type": [
              "string",
              "null"
            ]
          },
          "prompt": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_AudioTranscriptionDelay": {
        "enum": [
          "minimal",
          "low",
          "medium",
          "high",
          "xhigh"
        ],
        "type": "string"
      },
      "Output_AuditEventDto": {
        "properties": {
          "action": {
            "description": "The operation's name, e.g. `users.create`.",
            "type": "string"
          },
          "actorApiKeyId": {
            "type": [
              "string",
              "null"
            ]
          },
          "actorUserId": {
            "type": [
              "string",
              "null"
            ]
          },
          "createdAtMs": {
            "format": "int64",
            "type": "integer"
          },
          "detail": {
            "description": "The redacted request summary the operation wrote. Never a secret: see\n[`AuditEntry::redacted`](crate::audit::AuditEntry::redacted)."
          },
          "entityId": {
            "type": [
              "string",
              "null"
            ]
          },
          "entityKind": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "outcome": {
            "description": "`ok` or `error`. A rejected operation is audited too.",
            "type": "string"
          },
          "sourceIp": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "actorUserId",
          "actorApiKeyId",
          "sourceIp",
          "action",
          "entityKind",
          "entityId",
          "outcome",
          "detail",
          "createdAtMs"
        ],
        "type": "object"
      },
      "Output_AuthCodeStarted": {
        "properties": {
          "authorizeUrl": {
            "description": "Where to send the person's browser.",
            "type": "string"
          },
          "loginSessionId": {
            "description": "Names the pending session in every later step. It is not a secret, but\nwhoever holds it can complete this login.",
            "type": "string"
          },
          "redirectUri": {
            "description": "The redirect the channel actually asked for, which is what the callback\nwill arrive at.",
            "type": "string"
          }
        },
        "required": [
          "loginSessionId",
          "authorizeUrl",
          "redirectUri"
        ],
        "type": "object"
      },
      "Output_AuthorizationDenied": {
        "description": "A refused authorization, as RFC 6749 §4.1.2.1's error redirect.\n\nThe refusal goes to the client's registered redirect URI rather than to the\nbrowser as an error page, because the client is what has to learn the\noutcome — and it only ever goes there once the redirect URI has been proven\nregistered. A request whose `client_id` or `redirect_uri` is itself invalid\nis refused before any of this exists, so a forged redirect target cannot be\nused to bounce an error (and a `state`) to an attacker.",
        "properties": {
          "error": {
            "description": "Usually `access_denied`.",
            "type": "string"
          },
          "error_description": {
            "type": "string"
          },
          "redirect_uri": {
            "type": "string"
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "redirect_uri",
          "state",
          "error",
          "error_description"
        ],
        "type": "object"
      },
      "Output_AuthorizationIssued": {
        "description": "An approved authorization. `code` is plaintext and exists only here.",
        "properties": {
          "code": {
            "type": "string"
          },
          "redirect_uri": {
            "type": "string"
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "code",
          "redirect_uri",
          "state"
        ],
        "type": "object"
      },
      "Output_AuthorizationServerMetadata": {
        "description": "RFC 8414 §2, restricted to what this issuer actually implements.\n\nv3 never served this document, so every client had its endpoints compiled\nin. Publishing it is what lets a client discover the mount it was pointed\nat instead of assuming one.",
        "properties": {
          "authorization_endpoint": {
            "type": "string"
          },
          "code_challenge_methods_supported": {
            "description": "`[\"S256\"]`. `plain` is deliberately absent.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "device_authorization_endpoint": {
            "description": "RFC 8628 §4.",
            "type": "string"
          },
          "grant_types_supported": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "issuer": {
            "description": "The issuer identifier: exactly the mount this document was fetched\nfrom, with no trailing slash (RFC 8414 §2).",
            "type": "string"
          },
          "response_types_supported": {
            "description": "`[\"code\"]`.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "revocation_endpoint": {
            "description": "RFC 7009 §2.",
            "type": "string"
          },
          "revocation_endpoint_auth_methods_supported": {
            "description": "`[\"none\"]` as well, for the revocation endpoint.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "token_endpoint": {
            "type": "string"
          },
          "token_endpoint_auth_methods_supported": {
            "description": "`[\"none\"]`: every registered client is public and this registry issues\nno client secrets.",
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "issuer",
          "authorization_endpoint",
          "token_endpoint",
          "device_authorization_endpoint",
          "revocation_endpoint",
          "response_types_supported",
          "grant_types_supported",
          "code_challenge_methods_supported",
          "token_endpoint_auth_methods_supported",
          "revocation_endpoint_auth_methods_supported"
        ],
        "type": "object"
      },
      "Output_AuthorizeDetails": {
        "description": "What a consent screen renders, once the request has been found valid.\n\nReturned by [`Issuer::authorize_details`](crate::operations::issuer::Issuer::authorize_details),\nwhich validates everything an approval would validate. A screen built from\nthis can therefore show the user a decision that will actually be honoured\nrather than one that fails after they take it.",
        "properties": {
          "client_id": {
            "type": "string"
          },
          "client_name": {
            "description": "`oauth_clients.name`, which is what the user recognises. The id is a\nstring a binary was compiled with and means nothing to them.",
            "type": "string"
          },
          "redirect_uri": {
            "description": "The exact registered redirect URI the code would be delivered to.",
            "type": "string"
          },
          "scopes": {
            "description": "The requested scopes, already split on whitespace and deduplicated.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          },
          "user_id": {
            "description": "The user a consent would bind the grant to.",
            "type": "string"
          }
        },
        "required": [
          "client_id",
          "client_name",
          "scopes",
          "redirect_uri",
          "state",
          "user_id"
        ],
        "type": "object"
      },
      "Output_AuthorizeOutcome": {
        "description": "The result of a consent decision: in both directions, a redirect back to\nthe client.",
        "oneOf": [
          {
            "$ref": "#/components/schemas/Output_AuthorizationIssued",
            "properties": {
              "outcome": {
                "const": "issued",
                "type": "string"
              }
            },
            "required": [
              "outcome"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_AuthorizationDenied",
            "properties": {
              "outcome": {
                "const": "denied",
                "type": "string"
              }
            },
            "required": [
              "outcome"
            ],
            "type": "object"
          }
        ]
      },
      "Output_AutoContainerType": {
        "enum": [
          "auto"
        ],
        "type": "string"
      },
      "Output_AutoReviewMessages": {
        "additionalProperties": true,
        "properties": {
          "node_repl_policy": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_template": {
            "type": [
              "string",
              "null"
            ]
          },
          "rejection_instructions": {
            "type": [
              "string",
              "null"
            ]
          },
          "timeout_instructions": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_Base64SourceType": {
        "enum": [
          "base64"
        ],
        "type": "string"
      },
      "Output_BashCodeExecutionError": {
        "additionalProperties": true,
        "properties": {
          "error_code": {
            "$ref": "#/components/schemas/Output_BashCodeExecutionErrorCode"
          },
          "type": {
            "$ref": "#/components/schemas/Output_BashCodeExecutionErrorType"
          }
        },
        "required": [
          "type",
          "error_code"
        ],
        "type": "object"
      },
      "Output_BashCodeExecutionErrorCode": {
        "enum": [
          "invalid_tool_input",
          "unavailable",
          "too_many_requests",
          "execution_time_exceeded",
          "output_file_too_large"
        ],
        "type": "string"
      },
      "Output_BashCodeExecutionErrorType": {
        "enum": [
          "bash_code_execution_tool_result_error"
        ],
        "type": "string"
      },
      "Output_BashCodeExecutionOutput": {
        "additionalProperties": true,
        "properties": {
          "file_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_BashCodeExecutionOutputType"
          }
        },
        "required": [
          "type",
          "file_id"
        ],
        "type": "object"
      },
      "Output_BashCodeExecutionOutputType": {
        "enum": [
          "bash_code_execution_output"
        ],
        "type": "string"
      },
      "Output_BashCodeExecutionResult": {
        "additionalProperties": true,
        "properties": {
          "content": {
            "items": {
              "$ref": "#/components/schemas/Output_BashCodeExecutionOutput"
            },
            "type": "array"
          },
          "return_code": {
            "format": "int64",
            "type": "integer"
          },
          "stderr": {
            "type": "string"
          },
          "stdout": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_BashCodeExecutionResultType"
          }
        },
        "required": [
          "type",
          "content",
          "return_code",
          "stderr",
          "stdout"
        ],
        "type": "object"
      },
      "Output_BashCodeExecutionResultContent": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_BashCodeExecutionError"
          },
          {
            "$ref": "#/components/schemas/Output_BashCodeExecutionResult"
          }
        ]
      },
      "Output_BashCodeExecutionResultType": {
        "enum": [
          "bash_code_execution_result"
        ],
        "type": "string"
      },
      "Output_BatchEmbedContentsResponseBody": {
        "additionalProperties": true,
        "properties": {
          "embeddings": {
            "items": {
              "$ref": "#/components/schemas/Output_ContentEmbedding"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "usageMetadata": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_EmbeddingUsageMetadata"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_BidiGenerateContentServerContent": {
        "additionalProperties": true,
        "properties": {
          "generationComplete": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "groundingMetadata": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_GroundingMetadata"
              },
              {
                "type": "null"
              }
            ]
          },
          "inputTranscription": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_BidiGenerateContentTranscription"
              },
              {
                "type": "null"
              }
            ]
          },
          "interactionStatus": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_InteractionStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "interimInputTranscription": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_BidiGenerateContentTranscription"
              },
              {
                "type": "null"
              }
            ]
          },
          "interrupted": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "modelTurn": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_LiveContent"
              },
              {
                "type": "null"
              }
            ]
          },
          "outputTranscription": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_BidiGenerateContentTranscription"
              },
              {
                "type": "null"
              }
            ]
          },
          "speechState": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_SpeechState"
              },
              {
                "type": "null"
              }
            ]
          },
          "turnComplete": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "turnCompleteReason": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_TurnCompleteReason"
              },
              {
                "type": "null"
              }
            ]
          },
          "urlContextMetadata": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_UrlContextMetadata"
              },
              {
                "type": "null"
              }
            ]
          },
          "waitingForInput": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_BidiGenerateContentSetupComplete": {
        "additionalProperties": true,
        "properties": {
          "sessionId": {
            "type": [
              "string",
              "null"
            ]
          },
          "voiceConsentSignature": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_VoiceConsentSignature"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_BidiGenerateContentToolCall": {
        "additionalProperties": true,
        "properties": {
          "functionCalls": {
            "items": {
              "$ref": "#/components/schemas/Output_FunctionCall2"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_BidiGenerateContentToolCallCancellation": {
        "additionalProperties": true,
        "properties": {
          "ids": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_BidiGenerateContentTranscription": {
        "additionalProperties": true,
        "properties": {
          "finished": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "languageCode": {
            "type": [
              "string",
              "null"
            ]
          },
          "speakerLabel": {
            "type": [
              "string",
              "null"
            ]
          },
          "text": {
            "type": [
              "string",
              "null"
            ]
          },
          "words": {
            "items": {
              "$ref": "#/components/schemas/Output_WordInfo2"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_Blob": {
        "additionalProperties": true,
        "properties": {
          "data": {
            "type": "string"
          },
          "displayName": {
            "type": [
              "string",
              "null"
            ]
          },
          "mimeType": {
            "type": "string"
          }
        },
        "required": [
          "mimeType",
          "data"
        ],
        "type": "object"
      },
      "Output_BlockReason": {
        "enum": [
          "BLOCK_REASON_UNSPECIFIED",
          "SAFETY",
          "OTHER",
          "BLOCKLIST",
          "PROHIBITED_CONTENT",
          "IMAGE_SAFETY"
        ],
        "type": "string"
      },
      "Output_BudgetStatusDto": {
        "description": "A caller budget's current window.",
        "properties": {
          "endsAtMs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "limit": {
            "type": "string"
          },
          "modelPattern": {
            "type": [
              "string",
              "null"
            ]
          },
          "ownerId": {
            "type": "string"
          },
          "ownerKind": {
            "type": "string"
          },
          "period": {
            "type": "string"
          },
          "quotaId": {
            "type": "string"
          },
          "resetsAtMs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "startsAtMs": {
            "format": "int64",
            "type": "integer"
          },
          "unit": {
            "type": "string"
          },
          "used": {
            "type": "string"
          },
          "windowId": {
            "type": "string"
          },
          "windowKey": {
            "type": "string"
          }
        },
        "required": [
          "quotaId",
          "ownerKind",
          "ownerId",
          "windowKey",
          "period",
          "modelPattern",
          "unit",
          "limit",
          "used",
          "windowId",
          "startsAtMs",
          "endsAtMs",
          "resetsAtMs"
        ],
        "type": "object"
      },
      "Output_CacheControl": {
        "additionalProperties": true,
        "properties": {
          "ttl": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_CacheTtl"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_CacheControlType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_CacheControlType": {
        "enum": [
          "ephemeral"
        ],
        "type": "string"
      },
      "Output_CacheCreation": {
        "additionalProperties": true,
        "properties": {
          "ephemeral_1h_input_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "ephemeral_5m_input_tokens": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "ephemeral_1h_input_tokens",
          "ephemeral_5m_input_tokens"
        ],
        "type": "object"
      },
      "Output_CacheCreationDto": {
        "description": "Reported cache writes for one retention duration. None means unknown TTL.",
        "properties": {
          "tokens": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "ttlSeconds": {
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "tokens",
          "ttlSeconds"
        ],
        "type": "object"
      },
      "Output_CacheCreationPriceDto": {
        "description": "A cache-write price per million tokens. No TTL is the fallback price.",
        "properties": {
          "price": {
            "type": "string"
          },
          "ttlSeconds": {
            "default": null,
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "ttlSeconds",
          "price"
        ],
        "type": "object"
      },
      "Output_CacheMiss": {
        "additionalProperties": true,
        "properties": {
          "cache_missed_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "comparison_reusable_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "reason": {
            "$ref": "#/components/schemas/Output_CacheMissReason"
          }
        },
        "required": [
          "cache_missed_tokens",
          "reason"
        ],
        "type": "object"
      },
      "Output_CacheMissMessagesChanged": {
        "additionalProperties": true,
        "properties": {
          "cache_missed_input_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "type": {
            "$ref": "#/components/schemas/Output_CacheMissMessagesChangedType"
          }
        },
        "required": [
          "type",
          "cache_missed_input_tokens"
        ],
        "type": "object"
      },
      "Output_CacheMissMessagesChangedType": {
        "enum": [
          "messages_changed"
        ],
        "type": "string"
      },
      "Output_CacheMissModelChanged": {
        "additionalProperties": true,
        "properties": {
          "cache_missed_input_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "type": {
            "$ref": "#/components/schemas/Output_CacheMissModelChangedType"
          }
        },
        "required": [
          "type",
          "cache_missed_input_tokens"
        ],
        "type": "object"
      },
      "Output_CacheMissModelChangedType": {
        "enum": [
          "model_changed"
        ],
        "type": "string"
      },
      "Output_CacheMissPreviousMessageNotFound": {
        "additionalProperties": true,
        "properties": {
          "type": {
            "$ref": "#/components/schemas/Output_CacheMissPreviousMessageNotFoundType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_CacheMissPreviousMessageNotFoundType": {
        "enum": [
          "previous_message_not_found"
        ],
        "type": "string"
      },
      "Output_CacheMissReason": {
        "enum": [
          "model_changed",
          "prompt_cache_key_changed",
          "service_tier_changed",
          "tools_changed",
          "text_format_changed",
          "reasoning_effort_changed",
          "verbosity_changed",
          "context_compacted",
          "input_changed"
        ],
        "type": "string"
      },
      "Output_CacheMissReason2": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_CacheMissModelChanged"
          },
          {
            "$ref": "#/components/schemas/Output_CacheMissSystemChanged"
          },
          {
            "$ref": "#/components/schemas/Output_CacheMissToolsChanged"
          },
          {
            "$ref": "#/components/schemas/Output_CacheMissMessagesChanged"
          },
          {
            "$ref": "#/components/schemas/Output_CacheMissPreviousMessageNotFound"
          },
          {
            "$ref": "#/components/schemas/Output_CacheMissUnavailable"
          }
        ]
      },
      "Output_CacheMissSystemChanged": {
        "additionalProperties": true,
        "properties": {
          "cache_missed_input_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "type": {
            "$ref": "#/components/schemas/Output_CacheMissSystemChangedType"
          }
        },
        "required": [
          "type",
          "cache_missed_input_tokens"
        ],
        "type": "object"
      },
      "Output_CacheMissSystemChangedType": {
        "enum": [
          "system_changed"
        ],
        "type": "string"
      },
      "Output_CacheMissToolsChanged": {
        "additionalProperties": true,
        "properties": {
          "cache_missed_input_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "type": {
            "$ref": "#/components/schemas/Output_CacheMissToolsChangedType"
          }
        },
        "required": [
          "type",
          "cache_missed_input_tokens"
        ],
        "type": "object"
      },
      "Output_CacheMissToolsChangedType": {
        "enum": [
          "tools_changed"
        ],
        "type": "string"
      },
      "Output_CacheMissUnavailable": {
        "additionalProperties": true,
        "properties": {
          "type": {
            "$ref": "#/components/schemas/Output_CacheMissUnavailableType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_CacheMissUnavailableType": {
        "enum": [
          "unavailable"
        ],
        "type": "string"
      },
      "Output_CacheTtl": {
        "enum": [
          "5m",
          "1h"
        ],
        "type": "string"
      },
      "Output_CacheWriteTokensDetails": {
        "additionalProperties": true,
        "description": "Non-overlapping write counts by lifetime; their sum is `cache_write_tokens`.\nSource: upstream_docs/openai/docs/Prompt caching.md, Monitor cache performance.",
        "properties": {
          "ttl_12h_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "ttl_30m_tokens": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "ttl_30m_tokens",
          "ttl_12h_tokens"
        ],
        "type": "object"
      },
      "Output_Caller": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Output_DirectCaller",
            "properties": {
              "type": {
                "const": "direct",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ProgramCaller",
            "properties": {
              "type": {
                "const": "program",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Output_Caller2": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Output_DirectCaller2",
            "properties": {
              "type": {
                "const": "direct",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ServerCaller",
            "properties": {
              "type": {
                "const": "code_execution_20250825",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ServerCaller20260120",
            "properties": {
              "type": {
                "const": "code_execution_20260120",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Output_Candidate": {
        "additionalProperties": true,
        "properties": {
          "avgLogprobs": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "citationMetadata": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_CitationMetadata"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Content"
              },
              {
                "type": "null"
              }
            ]
          },
          "continuationToken": {
            "type": [
              "string",
              "null"
            ]
          },
          "finishMessage": {
            "type": [
              "string",
              "null"
            ]
          },
          "finishReason": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_FinishReason"
              },
              {
                "type": "null"
              }
            ]
          },
          "groundingAttributions": {
            "items": {
              "$ref": "#/components/schemas/Output_GroundingAttribution"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "groundingMetadata": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_GroundingMetadata"
              },
              {
                "type": "null"
              }
            ]
          },
          "index": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "logprobsResult": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_LogprobsResult"
              },
              {
                "type": "null"
              }
            ]
          },
          "safetyRatings": {
            "items": {
              "$ref": "#/components/schemas/Output_SafetyRating"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "tokenCount": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "urlContextMetadata": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_UrlContextMetadata"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_CapabilitySupport": {
        "additionalProperties": true,
        "properties": {
          "supported": {
            "type": "boolean"
          }
        },
        "required": [
          "supported"
        ],
        "type": "object"
      },
      "Output_CaptureDetailDto": {
        "description": "One physical capture, readable even when the downstream log is disabled.",
        "properties": {
          "events": {
            "items": {
              "$ref": "#/components/schemas/Output_CaptureEventDto"
            },
            "type": "array"
          },
          "eventsTruncated": {
            "type": "boolean"
          },
          "record": {
            "$ref": "#/components/schemas/Output_CaptureRecordDto"
          }
        },
        "required": [
          "record",
          "events",
          "eventsTruncated"
        ],
        "type": "object"
      },
      "Output_CaptureEventDto": {
        "description": "One stream chunk or websocket message.",
        "properties": {
          "captureId": {
            "type": "string"
          },
          "direction": {
            "description": "`request` (client to gateway, gateway to provider) or `response`.",
            "type": "string"
          },
          "kind": {
            "description": "`bytes`, `ws_text`, `ws_binary`, `ws_ping`, `ws_pong` or `ws_close`.",
            "type": "string"
          },
          "observedAtMs": {
            "format": "int64",
            "type": "integer"
          },
          "payload": {
            "$ref": "#/components/schemas/Output_LogBodyDto"
          },
          "sequence": {
            "description": "Monotonic across both directions of the exchange or connection.",
            "format": "int64",
            "type": "integer"
          },
          "turnId": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "captureId",
          "sequence",
          "turnId",
          "direction",
          "kind",
          "payload",
          "observedAtMs"
        ],
        "type": "object"
      },
      "Output_CaptureRecordDto": {
        "description": "One captured exchange in full, downstream or upstream.",
        "properties": {
          "agentAssignmentId": {
            "type": [
              "string",
              "null"
            ]
          },
          "apiKeyId": {
            "type": [
              "string",
              "null"
            ]
          },
          "attemptId": {
            "type": [
              "string",
              "null"
            ]
          },
          "attemptOrdinal": {
            "format": "int32",
            "type": [
              "integer",
              "null"
            ]
          },
          "clientIp": {
            "type": [
              "string",
              "null"
            ]
          },
          "credentialId": {
            "type": [
              "string",
              "null"
            ]
          },
          "endedAtMs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "error": {
            "type": [
              "string",
              "null"
            ]
          },
          "firstResponseAtMs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "initiatorRequestId": {
            "description": "Initiating request for provenance; actual associations are many-to-many.",
            "type": [
              "string",
              "null"
            ]
          },
          "kind": {
            "description": "`http`, `ws_connection` or `ws_turn`.",
            "type": "string"
          },
          "metrics": {
            "description": "Upstream-native usage for this one exchange, when the channel reported\nany. Billed usage is on the usage record, not here."
          },
          "model": {
            "type": [
              "string",
              "null"
            ]
          },
          "operation": {
            "type": [
              "string",
              "null"
            ]
          },
          "providerId": {
            "type": [
              "string",
              "null"
            ]
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "requestBody": {
            "$ref": "#/components/schemas/Output_LogBodyDto"
          },
          "requestFraming": {
            "description": "`buffered`, `bytes`, `sse`, `ndjson`, `json_array` or `websocket`.\nHTTP bodies are reconstructed regardless of transport framing;\nWebSocket messages retain their boundaries in the events.",
            "type": "string"
          },
          "requestHeaders": {
            "description": "`[[name, value], …]`, repeated headers preserved."
          },
          "requestMethod": {
            "type": [
              "string",
              "null"
            ]
          },
          "requestQuery": {
            "type": [
              "string",
              "null"
            ]
          },
          "requestUrl": {
            "type": [
              "string",
              "null"
            ]
          },
          "responseBody": {
            "$ref": "#/components/schemas/Output_LogBodyDto"
          },
          "responseFraming": {
            "type": "string"
          },
          "responseHeaders": true,
          "responseStatus": {
            "format": "int32",
            "type": [
              "integer",
              "null"
            ]
          },
          "sessionId": {
            "type": [
              "string",
              "null"
            ]
          },
          "side": {
            "description": "`downstream` or `upstream`.",
            "type": "string"
          },
          "startedAtMs": {
            "format": "int64",
            "type": "integer"
          },
          "state": {
            "type": "string"
          },
          "streamKey": {
            "type": [
              "string",
              "null"
            ]
          },
          "userId": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "initiatorRequestId",
          "attemptId",
          "attemptOrdinal",
          "side",
          "kind",
          "sessionId",
          "streamKey",
          "userId",
          "apiKeyId",
          "providerId",
          "credentialId",
          "agentAssignmentId",
          "model",
          "operation",
          "requestMethod",
          "requestUrl",
          "requestQuery",
          "requestHeaders",
          "requestBody",
          "requestFraming",
          "responseStatus",
          "responseHeaders",
          "responseBody",
          "responseFraming",
          "clientIp",
          "metrics",
          "state",
          "error",
          "reason",
          "startedAtMs",
          "firstResponseAtMs",
          "endedAtMs"
        ],
        "type": "object"
      },
      "Output_CatalogProviderDto": {
        "properties": {
          "displayName": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "displayName"
        ],
        "type": "object"
      },
      "Output_ChannelCapabilities": {
        "description": "Optional abilities beyond protocol operations. All false is a legitimate\nchannel: an API-key upstream needs none of them.",
        "properties": {
          "paidUsage": {
            "description": "`QuotaModel::allows_paid_usage` reads the credential metadata flag\n`allow_paid_usage`, so the console offers the switch. Not derivable\neither: the method has a default, and overriding it is invisible here.",
            "type": "boolean"
          },
          "quotaQuery": {
            "description": "`QuotaQuery`: the upstream can be asked about the account's balance.",
            "type": "boolean"
          },
          "quotaReset": {
            "description": "`QuotaReset`: a spent window can be reopened against the upstream.",
            "type": "boolean"
          },
          "refresh": {
            "description": "`CredentialRefresh`: the credential can be renewed without a person.",
            "type": "boolean"
          },
          "services": {
            "description": "`ChannelServices`: non-protocol endpoints of the upstream's own client.",
            "type": "boolean"
          },
          "websocket": {
            "description": "The channel serves at least one operation over a WebSocket. Not\nderivable from an accessor; a channel that overrides a socket operation\ndeclares it.",
            "type": "boolean"
          }
        },
        "required": [
          "refresh",
          "quotaQuery",
          "quotaReset",
          "services",
          "websocket",
          "paidUsage"
        ],
        "type": "object"
      },
      "Output_ChannelDescriptor": {
        "description": "A channel as the management layer sees it.",
        "properties": {
          "capabilities": {
            "$ref": "#/components/schemas/Output_ChannelCapabilities"
          },
          "configKeys": {
            "items": {
              "$ref": "#/components/schemas/Output_ConfigKey"
            },
            "type": "array"
          },
          "credentialKinds": {
            "description": "Stored credential types accepted on manual creation, distinct from login flows.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "displayName": {
            "type": "string"
          },
          "id": {
            "description": "Matches `BaseChannel::id` and the provider's `channel` column.",
            "type": "string"
          },
          "loginModes": {
            "description": "Empty means no login flow is offered for this channel.",
            "items": {
              "$ref": "#/components/schemas/Output_LoginMode"
            },
            "type": "array"
          }
        },
        "required": [
          "id",
          "displayName",
          "loginModes",
          "credentialKinds",
          "capabilities",
          "configKeys"
        ],
        "type": "object"
      },
      "Output_ChatCompletionChunk": {
        "additionalProperties": true,
        "properties": {
          "choices": {
            "items": {
              "$ref": "#/components/schemas/Output_StreamChoice"
            },
            "type": "array"
          },
          "created": {
            "format": "int64",
            "type": "integer"
          },
          "id": {
            "type": "string"
          },
          "model": {
            "type": "string"
          },
          "moderation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ModerationResponse"
              },
              {
                "type": "null"
              }
            ]
          },
          "obfuscation": {
            "type": [
              "string",
              "null"
            ]
          },
          "object": {
            "$ref": "#/components/schemas/Output_ChunkObject"
          },
          "service_tier": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ResponseServiceTier2"
              },
              {
                "type": "null"
              }
            ]
          },
          "system_fingerprint": {
            "type": [
              "string",
              "null"
            ]
          },
          "usage": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ChunkUsage"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "choices",
          "created",
          "model",
          "object"
        ],
        "type": "object"
      },
      "Output_ChatToolCall": {
        "additionalProperties": true,
        "properties": {
          "function": {
            "$ref": "#/components/schemas/Output_FunctionCall3"
          },
          "id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ChatToolCallType"
          }
        },
        "required": [
          "id",
          "function",
          "type"
        ],
        "type": "object"
      },
      "Output_ChatToolCallType": {
        "enum": [
          "function"
        ],
        "type": "string"
      },
      "Output_Choice": {
        "additionalProperties": true,
        "properties": {
          "finish_reason": {
            "$ref": "#/components/schemas/Output_FinishReason2"
          },
          "index": {
            "format": "int64",
            "type": "integer"
          },
          "logprobs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Logprobs"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "message": {
            "$ref": "#/components/schemas/Output_ResponseMessage"
          }
        },
        "required": [
          "finish_reason",
          "index",
          "logprobs",
          "message"
        ],
        "type": "object"
      },
      "Output_ChunkCompletionTokensDetails": {
        "additionalProperties": true,
        "properties": {
          "accepted_prediction_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "audio_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "reasoning_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "rejected_prediction_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "text_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_ChunkLogprobs": {
        "additionalProperties": true,
        "properties": {
          "content": {
            "items": {
              "$ref": "#/components/schemas/Output_ChunkTokenLogprob"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "refusal": {
            "items": {
              "$ref": "#/components/schemas/Output_ChunkTokenLogprob"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_ChunkObject": {
        "enum": [
          "chat.completion.chunk"
        ],
        "type": "string"
      },
      "Output_ChunkPromptTokensDetails": {
        "additionalProperties": true,
        "properties": {
          "audio_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "cache_write_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "cached_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "image_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "text_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_ChunkTokenLogprob": {
        "additionalProperties": true,
        "properties": {
          "bytes": {
            "items": {
              "format": "int64",
              "type": "integer"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "logprob": {
            "format": "double",
            "type": "number"
          },
          "token": {
            "type": "string"
          },
          "top_logprobs": {
            "items": {
              "$ref": "#/components/schemas/Output_ChunkTopLogprob"
            },
            "type": "array"
          }
        },
        "required": [
          "token",
          "logprob",
          "top_logprobs"
        ],
        "type": "object"
      },
      "Output_ChunkTopLogprob": {
        "additionalProperties": true,
        "properties": {
          "bytes": {
            "items": {
              "format": "int64",
              "type": "integer"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "logprob": {
            "format": "double",
            "type": "number"
          },
          "token": {
            "type": "string"
          }
        },
        "required": [
          "token",
          "logprob"
        ],
        "type": "object"
      },
      "Output_ChunkUsage": {
        "additionalProperties": true,
        "properties": {
          "completion_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "completion_tokens_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ChunkCompletionTokensDetails"
              },
              {
                "type": "null"
              }
            ]
          },
          "prompt_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "prompt_tokens_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ChunkPromptTokensDetails"
              },
              {
                "type": "null"
              }
            ]
          },
          "total_tokens": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "completion_tokens",
          "prompt_tokens",
          "total_tokens"
        ],
        "type": "object"
      },
      "Output_CitationMetadata": {
        "additionalProperties": true,
        "properties": {
          "citationSources": {
            "items": {
              "$ref": "#/components/schemas/Output_CitationSource"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_CitationSource": {
        "additionalProperties": true,
        "properties": {
          "endIndex": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "license": {
            "type": [
              "string",
              "null"
            ]
          },
          "startIndex": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "uri": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_CitationsDelta": {
        "additionalProperties": true,
        "properties": {
          "citation": {
            "$ref": "#/components/schemas/Output_ResponseTextCitation"
          }
        },
        "required": [
          "citation"
        ],
        "type": "object"
      },
      "Output_ClearedThinking": {
        "additionalProperties": true,
        "properties": {
          "cleared_input_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "cleared_thinking_turns": {
            "format": "int64",
            "type": "integer"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ClearedThinkingType"
          }
        },
        "required": [
          "type",
          "cleared_input_tokens",
          "cleared_thinking_turns"
        ],
        "type": "object"
      },
      "Output_ClearedThinkingType": {
        "enum": [
          "clear_thinking_20251015"
        ],
        "type": "string"
      },
      "Output_ClearedTools": {
        "additionalProperties": true,
        "properties": {
          "cleared_input_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "cleared_tool_uses": {
            "format": "int64",
            "type": "integer"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ClearedToolsType"
          }
        },
        "required": [
          "type",
          "cleared_input_tokens",
          "cleared_tool_uses"
        ],
        "type": "object"
      },
      "Output_ClearedToolsType": {
        "enum": [
          "clear_tool_uses_20250919"
        ],
        "type": "string"
      },
      "Output_ClickAction": {
        "additionalProperties": true,
        "properties": {
          "button": {
            "$ref": "#/components/schemas/Output_ClickButton"
          },
          "keys": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "x": {
            "format": "int64",
            "type": "integer"
          },
          "y": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "button",
          "x",
          "y"
        ],
        "type": "object"
      },
      "Output_ClickButton": {
        "enum": [
          "left",
          "right",
          "wheel",
          "back",
          "forward"
        ],
        "type": "string"
      },
      "Output_ClientSecretResponseSession": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_RealtimeSessionCreateResponse"
          },
          {
            "$ref": "#/components/schemas/Output_RealtimeTranscriptionSessionCreateResponse"
          }
        ]
      },
      "Output_ClientVersion": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "format": "uint32",
              "minimum": 0,
              "type": "integer"
            },
            "maxItems": 3,
            "minItems": 3,
            "type": "array"
          }
        ]
      },
      "Output_CodeExecutionError": {
        "additionalProperties": true,
        "properties": {
          "error_code": {
            "$ref": "#/components/schemas/Output_CodeExecutionErrorCode"
          },
          "type": {
            "$ref": "#/components/schemas/Output_CodeExecutionErrorType"
          }
        },
        "required": [
          "type",
          "error_code"
        ],
        "type": "object"
      },
      "Output_CodeExecutionErrorCode": {
        "enum": [
          "invalid_tool_input",
          "unavailable",
          "too_many_requests",
          "execution_time_exceeded"
        ],
        "type": "string"
      },
      "Output_CodeExecutionErrorType": {
        "enum": [
          "code_execution_tool_result_error"
        ],
        "type": "string"
      },
      "Output_CodeExecutionOutput": {
        "additionalProperties": true,
        "properties": {
          "file_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_CodeExecutionOutputType"
          }
        },
        "required": [
          "type",
          "file_id"
        ],
        "type": "object"
      },
      "Output_CodeExecutionOutputType": {
        "enum": [
          "code_execution_output"
        ],
        "type": "string"
      },
      "Output_CodeExecutionResult": {
        "additionalProperties": true,
        "properties": {
          "content": {
            "items": {
              "$ref": "#/components/schemas/Output_CodeExecutionOutput"
            },
            "type": "array"
          },
          "return_code": {
            "format": "int64",
            "type": "integer"
          },
          "stderr": {
            "type": "string"
          },
          "stdout": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_CodeExecutionResultType"
          }
        },
        "required": [
          "type",
          "content",
          "return_code",
          "stderr",
          "stdout"
        ],
        "type": "object"
      },
      "Output_CodeExecutionResult2": {
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "outcome": {
            "$ref": "#/components/schemas/Output_Outcome"
          },
          "output": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "outcome"
        ],
        "type": "object"
      },
      "Output_CodeExecutionResultContent": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_CodeExecutionError"
          },
          {
            "$ref": "#/components/schemas/Output_CodeExecutionResult"
          },
          {
            "$ref": "#/components/schemas/Output_EncryptedCodeExecutionResult"
          }
        ]
      },
      "Output_CodeExecutionResultType": {
        "enum": [
          "code_execution_result"
        ],
        "type": "string"
      },
      "Output_CodeImage": {
        "additionalProperties": true,
        "properties": {
          "url": {
            "type": "string"
          }
        },
        "required": [
          "url"
        ],
        "type": "object"
      },
      "Output_CodeInterpreterAuto": {
        "additionalProperties": true,
        "properties": {
          "file_ids": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "memory_limit": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_MemoryLimit"
              },
              {
                "type": "null"
              }
            ]
          },
          "network_policy": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ContainerNetworkPolicy"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_AutoContainerType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_CodeInterpreterCall": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "code": {
            "type": [
              "string",
              "null"
            ]
          },
          "container_id": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "outputs": {
            "items": {
              "$ref": "#/components/schemas/Output_CodeInterpreterOutput"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "status": {
            "$ref": "#/components/schemas/Output_CodeInterpreterStatus"
          },
          "type": {
            "$ref": "#/components/schemas/Output_CodeInterpreterCallType"
          }
        },
        "required": [
          "type",
          "id",
          "code",
          "container_id",
          "outputs",
          "status"
        ],
        "type": "object"
      },
      "Output_CodeInterpreterCallType": {
        "enum": [
          "code_interpreter_call"
        ],
        "type": "string"
      },
      "Output_CodeInterpreterCodeDelta": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "delta": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sequence_number",
          "item_id",
          "output_index",
          "delta"
        ],
        "type": "object"
      },
      "Output_CodeInterpreterCodeDone": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "code": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sequence_number",
          "item_id",
          "output_index",
          "code"
        ],
        "type": "object"
      },
      "Output_CodeInterpreterContainer": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "$ref": "#/components/schemas/Output_CodeInterpreterAuto"
          }
        ]
      },
      "Output_CodeInterpreterEvent": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "item_id": {
            "type": "string"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sequence_number",
          "item_id",
          "output_index"
        ],
        "type": "object"
      },
      "Output_CodeInterpreterOutput": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Output_CodeLogs",
            "properties": {
              "type": {
                "const": "logs",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_CodeImage",
            "properties": {
              "type": {
                "const": "image",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Output_CodeInterpreterStatus": {
        "enum": [
          "in_progress",
          "completed",
          "incomplete",
          "interpreting",
          "failed"
        ],
        "type": "string"
      },
      "Output_CodeInterpreterTool": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Output_AllowedCaller"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "container": {
            "$ref": "#/components/schemas/Output_CodeInterpreterContainer"
          }
        },
        "required": [
          "container"
        ],
        "type": "object"
      },
      "Output_CodeLogs": {
        "additionalProperties": true,
        "properties": {
          "logs": {
            "type": "string"
          }
        },
        "required": [
          "logs"
        ],
        "type": "object"
      },
      "Output_CodeModeToolMessages": {
        "additionalProperties": true,
        "properties": {
          "deferred_nested_tools_guidance": {
            "type": [
              "string",
              "null"
            ]
          },
          "exec": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ToolMessage"
              },
              {
                "type": "null"
              }
            ]
          },
          "mcp_typescript_preamble": {
            "type": [
              "string",
              "null"
            ]
          },
          "wait": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ToolMessage"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_CollaborationModeMessages": {
        "additionalProperties": true,
        "properties": {
          "default": {
            "type": [
              "string",
              "null"
            ]
          },
          "plan": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_CompactObject": {
        "enum": [
          "response.compaction"
        ],
        "type": "string"
      },
      "Output_CompactResponseBody": {
        "additionalProperties": true,
        "properties": {
          "created_at": {
            "format": "int64",
            "type": "integer"
          },
          "id": {
            "type": "string"
          },
          "object": {
            "$ref": "#/components/schemas/Output_CompactObject"
          },
          "output": {
            "items": {
              "$ref": "#/components/schemas/Output_ResponseOutputItem"
            },
            "type": "array"
          },
          "usage": {
            "$ref": "#/components/schemas/Output_ResponseUsage"
          }
        },
        "required": [
          "usage",
          "id",
          "created_at",
          "object",
          "output"
        ],
        "type": "object"
      },
      "Output_Compaction": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "encrypted_content": {
            "type": "string"
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_CompactionType"
          }
        },
        "required": [
          "type",
          "encrypted_content"
        ],
        "type": "object"
      },
      "Output_CompactionCapability": {
        "additionalProperties": true,
        "properties": {
          "summarize": {
            "$ref": "#/components/schemas/Output_CapabilitySupport"
          },
          "supported": {
            "type": "boolean"
          }
        },
        "required": [
          "supported",
          "summarize"
        ],
        "type": "object"
      },
      "Output_CompactionDelta": {
        "additionalProperties": true,
        "properties": {
          "content": {
            "type": [
              "string",
              "null"
            ]
          },
          "encrypted_content": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_CompactionIterationUsage": {
        "additionalProperties": true,
        "properties": {
          "cache_creation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_CacheCreation"
              },
              {
                "type": "null"
              }
            ]
          },
          "cache_creation_input_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "cache_read_input_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "input_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "output_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "type": {
            "$ref": "#/components/schemas/Output_CompactionIterationUsageType"
          }
        },
        "required": [
          "type",
          "cache_creation_input_tokens",
          "cache_read_input_tokens",
          "input_tokens",
          "output_tokens"
        ],
        "type": "object"
      },
      "Output_CompactionIterationUsageType": {
        "enum": [
          "compaction"
        ],
        "type": "string"
      },
      "Output_CompactionTrigger": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_CompactionTriggerType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_CompactionTriggerType": {
        "enum": [
          "compaction_trigger"
        ],
        "type": "string"
      },
      "Output_CompactionType": {
        "enum": [
          "compaction"
        ],
        "type": "string"
      },
      "Output_ComparisonFilter": {
        "additionalProperties": true,
        "properties": {
          "key": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ComparisonFilterType"
          },
          "value": {
            "$ref": "#/components/schemas/Output_FilterValue"
          }
        },
        "required": [
          "key",
          "value",
          "type"
        ],
        "type": "object"
      },
      "Output_ComparisonFilterType": {
        "enum": [
          "eq",
          "ne",
          "gt",
          "gte",
          "lt",
          "lte",
          "in",
          "nin"
        ],
        "type": "string"
      },
      "Output_CompletionObject": {
        "enum": [
          "chat.completion"
        ],
        "type": "string"
      },
      "Output_CompletionTokensDetails": {
        "additionalProperties": true,
        "properties": {
          "accepted_prediction_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "audio_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "reasoning_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "rejected_prediction_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "text_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_CompoundFilter": {
        "additionalProperties": true,
        "properties": {
          "filters": {
            "items": {
              "$ref": "#/components/schemas/Output_FileSearchFilter"
            },
            "type": "array"
          },
          "type": {
            "$ref": "#/components/schemas/Output_CompoundFilterType"
          }
        },
        "required": [
          "filters",
          "type"
        ],
        "type": "object"
      },
      "Output_CompoundFilterType": {
        "enum": [
          "and",
          "or"
        ],
        "type": "string"
      },
      "Output_ComputerAction": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Output_ClickAction",
            "properties": {
              "type": {
                "const": "click",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_DoubleClickAction",
            "properties": {
              "type": {
                "const": "double_click",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_DragAction",
            "properties": {
              "type": {
                "const": "drag",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_KeypressAction",
            "properties": {
              "type": {
                "const": "keypress",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_MoveAction",
            "properties": {
              "type": {
                "const": "move",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ScreenshotAction",
            "properties": {
              "type": {
                "const": "screenshot",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ScrollAction",
            "properties": {
              "type": {
                "const": "scroll",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_TypeAction",
            "properties": {
              "type": {
                "const": "type",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_WaitAction",
            "properties": {
              "type": {
                "const": "wait",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Output_ComputerCall": {
        "additionalProperties": true,
        "properties": {
          "action": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ComputerAction"
              },
              {
                "type": "null"
              }
            ]
          },
          "actions": {
            "items": {
              "$ref": "#/components/schemas/Output_ComputerAction"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "call_id": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "pending_safety_checks": {
            "items": {
              "$ref": "#/components/schemas/Output_PendingSafetyCheck"
            },
            "type": "array"
          },
          "status": {
            "$ref": "#/components/schemas/Output_ItemStatus"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ComputerCallType"
          }
        },
        "required": [
          "type",
          "id",
          "call_id",
          "pending_safety_checks",
          "status"
        ],
        "type": "object"
      },
      "Output_ComputerCallOutput": {
        "additionalProperties": true,
        "properties": {
          "acknowledged_safety_checks": {
            "items": {
              "$ref": "#/components/schemas/Output_PendingSafetyCheck"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "call_id": {
            "type": "string"
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "output": {
            "$ref": "#/components/schemas/Output_ComputerScreenshot"
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ItemStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_ComputerCallOutputType"
          }
        },
        "required": [
          "type",
          "call_id",
          "output"
        ],
        "type": "object"
      },
      "Output_ComputerCallOutputType": {
        "enum": [
          "computer_call_output"
        ],
        "type": "string"
      },
      "Output_ComputerCallType": {
        "enum": [
          "computer_call"
        ],
        "type": "string"
      },
      "Output_ComputerEnvironment": {
        "enum": [
          "windows",
          "mac",
          "linux",
          "ubuntu",
          "browser"
        ],
        "type": "string"
      },
      "Output_ComputerScreenshot": {
        "additionalProperties": true,
        "properties": {
          "file_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "image_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_ComputerScreenshotType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_ComputerScreenshotType": {
        "enum": [
          "computer_screenshot"
        ],
        "type": "string"
      },
      "Output_ComputerTool": {
        "additionalProperties": true,
        "properties": {
          "display_height": {
            "format": "int64",
            "type": "integer"
          },
          "display_width": {
            "format": "int64",
            "type": "integer"
          },
          "environment": {
            "$ref": "#/components/schemas/Output_ComputerEnvironment"
          }
        },
        "required": [
          "display_height",
          "display_width",
          "environment"
        ],
        "type": "object"
      },
      "Output_ConfigKey": {
        "description": "One entry of a provider's configuration. Unless noted, the name is a key of\nthe provider's `config` JSON; `base_url` is the provider's own column.",
        "properties": {
          "description": {
            "type": "string"
          },
          "kind": {
            "$ref": "#/components/schemas/Output_ConfigKeyKind"
          },
          "name": {
            "type": "string"
          },
          "placeholder": {
            "description": "Display-only default or URL template; never written into config by the UI.",
            "type": [
              "string",
              "null"
            ]
          },
          "required": {
            "description": "The provider cannot serve a request without it. Everything else has a\nchannel default.",
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "kind",
          "required",
          "description",
          "placeholder"
        ],
        "type": "object"
      },
      "Output_ConfigKeyKind": {
        "description": "How a configuration value is written, for form rendering and validation.",
        "oneOf": [
          {
            "enum": [
              "string",
              "bool",
              "integer"
            ],
            "type": "string"
          },
          {
            "const": "json",
            "description": "Any other JSON shape: an array, or an object that is not headers.",
            "type": "string"
          },
          {
            "const": "header_list",
            "description": "HTTP header names, or header name/value pairs.",
            "type": "string"
          }
        ]
      },
      "Output_ConfigShellToolType": {
        "enum": [
          "unified_exec",
          "disabled"
        ],
        "type": "string"
      },
      "Output_ConfigurationDataDto": {
        "description": "Every exported table, in the order a fresh instance may replay them: a row\nnever appears before the row it points at. Each field defaults to empty, so\na document written by a build that knew fewer tables still imports.",
        "properties": {
          "connectionProfiles": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Output_ConnectionProfileDto"
            },
            "type": "array"
          },
          "credentials": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Output_ExportCredentialDto"
            },
            "type": "array"
          },
          "models": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Output_ModelDto"
            },
            "type": "array"
          },
          "operationEndpoints": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Output_OperationEndpointDto"
            },
            "type": "array"
          },
          "operationRules": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Output_OperationRuleDto"
            },
            "type": "array"
          },
          "priceRates": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Output_PriceRateDto"
            },
            "type": "array"
          },
          "priceRules": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Output_PriceRuleDto"
            },
            "type": "array"
          },
          "priceTiers": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Output_PriceTierDto"
            },
            "type": "array"
          },
          "providerModels": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Output_ProviderModelDto"
            },
            "type": "array"
          },
          "providerRewriteRuleSets": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Output_ProviderRuleSetDto"
            },
            "type": "array"
          },
          "providers": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Output_ProviderDto"
            },
            "type": "array"
          },
          "quotas": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Output_QuotaDto"
            },
            "type": "array"
          },
          "rewriteRuleSets": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Output_RuleSetDto"
            },
            "type": "array"
          },
          "rewriteRules": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Output_RewriteRuleDto"
            },
            "type": "array"
          },
          "routeMembers": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Output_RouteMemberDto"
            },
            "type": "array"
          },
          "routes": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Output_RouteDto"
            },
            "type": "array"
          },
          "settings": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_SettingsDto"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The single settings row. `config_revision` travels but is never\nimported: the destination's revision is its own counter."
          }
        },
        "required": [
          "connectionProfiles",
          "providers",
          "credentials",
          "models",
          "providerModels",
          "routes",
          "routeMembers",
          "operationRules",
          "operationEndpoints",
          "rewriteRuleSets",
          "rewriteRules",
          "providerRewriteRuleSets",
          "quotas",
          "priceRules",
          "priceRates",
          "priceTiers",
          "settings"
        ],
        "type": "object"
      },
      "Output_ConfigurationExportDto": {
        "description": "One instance's configuration as a document.",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/Output_ConfigurationDataDto"
          },
          "exportedAtMs": {
            "format": "int64",
            "type": "integer"
          },
          "formatVersion": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "secrets": {
            "description": "The sealing codecs the exported blobs actually use, sorted and without\nduplicates; empty when the secrets were omitted. An importer reads it\nbefore it starts, to decide whether it needs a source master key at all.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "secretsOmitted": {
            "description": "True when the export was taken without secrets: every credential's\n`secret` is null.",
            "type": "boolean"
          }
        },
        "required": [
          "formatVersion",
          "exportedAtMs",
          "secretsOmitted",
          "secrets",
          "data"
        ],
        "type": "object"
      },
      "Output_ConfigurationReasoning": {
        "additionalProperties": true,
        "properties": {
          "effort": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ReasoningEffort"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_ConfigurationUpdate": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "reasoning": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ConfigurationReasoning"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_ConfigurationUpdateType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_ConfigurationUpdateType": {
        "enum": [
          "configuration_update"
        ],
        "type": "string"
      },
      "Output_ConfirmationPolicies": {
        "additionalProperties": true,
        "properties": {
          "browser_use": {
            "type": [
              "string",
              "null"
            ]
          },
          "computer_use": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_ConnectionProfileDto": {
        "additionalProperties": false,
        "description": "A reusable HTTP transport configuration, independent of outbound proxy selection.",
        "properties": {
          "backend": {
            "description": "`reqwest`, `wreq` or `reqwest_native`.",
            "type": "string"
          },
          "brotli": {
            "type": "boolean"
          },
          "connectTimeoutMs": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "createdAtMs": {
            "format": "int64",
            "type": "integer"
          },
          "deflate": {
            "type": "boolean"
          },
          "emulation": {
            "description": "A `gproxy-client` emulation object, or null. wreq applies the full identity; other clients apply supported custom fields."
          },
          "gzip": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "poolIdleTimeoutMs": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "poolMaxIdlePerHost": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "redirectMaxHops": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "retry": {
            "description": "`never` or `default`.",
            "type": "string"
          },
          "zstd": {
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "name",
          "backend",
          "emulation",
          "gzip",
          "brotli",
          "deflate",
          "zstd",
          "redirectMaxHops",
          "retry",
          "connectTimeoutMs",
          "poolIdleTimeoutMs",
          "poolMaxIdlePerHost",
          "createdAtMs"
        ],
        "type": "object"
      },
      "Output_ConnectivityProbeDto": {
        "properties": {
          "colo": {
            "type": [
              "string",
              "null"
            ]
          },
          "ip": {
            "type": "string"
          },
          "latencyMs": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "location": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "ip",
          "location",
          "colo",
          "latencyMs"
        ],
        "type": "object"
      },
      "Output_ConnectivityResultDto": {
        "description": "What the edge looks like from here. `ip` and `colo` come from Cloudflare's\ntrace endpoint, so `ip` is the address the upstream would see — which is\nthe whole point of testing a proxy.",
        "properties": {
          "colo": {
            "description": "The Cloudflare edge that answered, e.g. `NRT`.",
            "type": [
              "string",
              "null"
            ]
          },
          "error": {
            "description": "Set exactly when `ok` is false.",
            "type": [
              "string",
              "null"
            ]
          },
          "ip": {
            "type": [
              "string",
              "null"
            ]
          },
          "ipv4": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ConnectivityProbeDto"
              },
              {
                "type": "null"
              }
            ]
          },
          "ipv4Error": {
            "type": [
              "string",
              "null"
            ]
          },
          "ipv6": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ConnectivityProbeDto"
              },
              {
                "type": "null"
              }
            ]
          },
          "ipv6Error": {
            "type": [
              "string",
              "null"
            ]
          },
          "latencyMs": {
            "description": "Measured across the whole exchange, including the body read, and\nreported for a failure too.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "ok": {
            "type": "boolean"
          },
          "proxySource": {
            "type": "string"
          }
        },
        "required": [
          "ipv4",
          "ipv6",
          "ipv4Error",
          "ipv6Error",
          "proxySource",
          "ok",
          "latencyMs",
          "ip",
          "colo",
          "error"
        ],
        "type": "object"
      },
      "Output_ConnectorId": {
        "enum": [
          "connector_dropbox",
          "connector_gmail",
          "connector_googlecalendar",
          "connector_googledrive",
          "connector_microsoftteams",
          "connector_outlookcalendar",
          "connector_outlookemail",
          "connector_sharepoint"
        ],
        "type": "string"
      },
      "Output_ContainerFileCitation": {
        "additionalProperties": true,
        "properties": {
          "container_id": {
            "type": "string"
          },
          "end_index": {
            "format": "int64",
            "type": "integer"
          },
          "file_id": {
            "type": "string"
          },
          "filename": {
            "type": "string"
          },
          "start_index": {
            "format": "int64",
            "type": "integer"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ContainerFileCitationType"
          }
        },
        "required": [
          "container_id",
          "end_index",
          "file_id",
          "filename",
          "start_index",
          "type"
        ],
        "type": "object"
      },
      "Output_ContainerFileCitationType": {
        "enum": [
          "container_file_citation"
        ],
        "type": "string"
      },
      "Output_ContainerNetworkPolicy": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_NetworkDisabled"
          },
          {
            "$ref": "#/components/schemas/Output_NetworkAllowlist"
          }
        ]
      },
      "Output_Content": {
        "additionalProperties": true,
        "properties": {
          "parts": {
            "items": {
              "$ref": "#/components/schemas/Output_Part"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "role": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_ContentBlockDelta": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Output_TextDelta",
            "properties": {
              "type": {
                "const": "text_delta",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_InputJsonDelta",
            "properties": {
              "type": {
                "const": "input_json_delta",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ThinkingDelta",
            "properties": {
              "type": {
                "const": "thinking_delta",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_SignatureDelta",
            "properties": {
              "type": {
                "const": "signature_delta",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_CitationsDelta",
            "properties": {
              "type": {
                "const": "citations_delta",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_CompactionDelta",
            "properties": {
              "type": {
                "const": "compaction_delta",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Output_ContentBlockDeltaEvent": {
        "additionalProperties": true,
        "properties": {
          "delta": {
            "$ref": "#/components/schemas/Output_ContentBlockDelta"
          },
          "index": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "index",
          "delta"
        ],
        "type": "object"
      },
      "Output_ContentBlockStartEvent": {
        "additionalProperties": true,
        "properties": {
          "content_block": {
            "$ref": "#/components/schemas/Output_ResponseContentBlock"
          },
          "index": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "index",
          "content_block"
        ],
        "type": "object"
      },
      "Output_ContentBlockStopEvent": {
        "additionalProperties": true,
        "properties": {
          "index": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "index"
        ],
        "type": "object"
      },
      "Output_ContentEmbedding": {
        "additionalProperties": true,
        "properties": {
          "shape": {
            "items": {
              "format": "int64",
              "type": "integer"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "values": {
            "items": {
              "type": "number"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_ContentPartEvent": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "content_index": {
            "format": "int64",
            "type": "integer"
          },
          "item_id": {
            "type": "string"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "part": {
            "$ref": "#/components/schemas/Output_OutputContentPart"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sequence_number",
          "item_id",
          "output_index",
          "content_index",
          "part"
        ],
        "type": "object"
      },
      "Output_ContextEditResponse": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_ClearedTools"
          },
          {
            "$ref": "#/components/schemas/Output_ClearedThinking"
          }
        ]
      },
      "Output_ContextManagementCapability": {
        "additionalProperties": true,
        "properties": {
          "clear_thinking_20251015": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_CapabilitySupport"
              },
              {
                "type": "null"
              }
            ]
          },
          "clear_tool_uses_20250919": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_CapabilitySupport"
              },
              {
                "type": "null"
              }
            ]
          },
          "compact_20260112": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_CapabilitySupport"
              },
              {
                "type": "null"
              }
            ]
          },
          "supported": {
            "type": "boolean"
          }
        },
        "required": [
          "clear_thinking_20251015",
          "clear_tool_uses_20250919",
          "compact_20260112",
          "supported"
        ],
        "type": "object"
      },
      "Output_ContextManagementResponse": {
        "additionalProperties": true,
        "properties": {
          "applied_edits": {
            "items": {
              "$ref": "#/components/schemas/Output_ContextEditResponse"
            },
            "type": "array"
          }
        },
        "required": [
          "applied_edits"
        ],
        "type": "object"
      },
      "Output_ConversationCreatedEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/conversation_created_event.py`, `ConversationCreatedEvent`.",
        "properties": {
          "conversation": {
            "$ref": "#/components/schemas/Output_ConversationCreatedEventConversation"
          },
          "event_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ConversationCreatedEventType"
          }
        },
        "required": [
          "conversation",
          "event_id",
          "type"
        ],
        "type": "object"
      },
      "Output_ConversationCreatedEventConversation": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/conversation_created_event.py`, `Conversation`.",
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "object": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ConversationCreatedEventConversationObject"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_ConversationCreatedEventConversationObject": {
        "enum": [
          "realtime.conversation"
        ],
        "type": "string"
      },
      "Output_ConversationCreatedEventType": {
        "enum": [
          "conversation.created"
        ],
        "type": "string"
      },
      "Output_ConversationItem": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_RealtimeConversationItemSystemMessage"
          },
          {
            "$ref": "#/components/schemas/Output_RealtimeConversationItemUserMessage"
          },
          {
            "$ref": "#/components/schemas/Output_RealtimeConversationItemAssistantMessage"
          },
          {
            "$ref": "#/components/schemas/Output_RealtimeConversationItemFunctionCall"
          },
          {
            "$ref": "#/components/schemas/Output_RealtimeConversationItemFunctionCallOutput"
          },
          {
            "$ref": "#/components/schemas/Output_RealtimeMcpApprovalResponse"
          },
          {
            "$ref": "#/components/schemas/Output_RealtimeMcpListTools"
          },
          {
            "$ref": "#/components/schemas/Output_RealtimeMcpToolCall"
          },
          {
            "$ref": "#/components/schemas/Output_RealtimeMcpApprovalRequest"
          }
        ],
        "description": "Source: `openai/types/realtime/conversation_item.py`, `ConversationItem`."
      },
      "Output_ConversationItemAdded": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/conversation_item_added.py`, `ConversationItemAdded`.",
        "properties": {
          "event_id": {
            "type": "string"
          },
          "item": {
            "$ref": "#/components/schemas/Output_ConversationItem"
          },
          "previous_item_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_ConversationItemAddedType"
          }
        },
        "required": [
          "event_id",
          "item",
          "type"
        ],
        "type": "object"
      },
      "Output_ConversationItemAddedType": {
        "enum": [
          "conversation.item.added"
        ],
        "type": "string"
      },
      "Output_ConversationItemCreatedEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/conversation_item_created_event.py`, `ConversationItemCreatedEvent`.",
        "properties": {
          "event_id": {
            "type": "string"
          },
          "item": {
            "$ref": "#/components/schemas/Output_ConversationItem"
          },
          "previous_item_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_ConversationItemCreatedEventType"
          }
        },
        "required": [
          "event_id",
          "item",
          "type"
        ],
        "type": "object"
      },
      "Output_ConversationItemCreatedEventType": {
        "enum": [
          "conversation.item.created"
        ],
        "type": "string"
      },
      "Output_ConversationItemDeletedEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/conversation_item_deleted_event.py`, `ConversationItemDeletedEvent`.",
        "properties": {
          "event_id": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ConversationItemDeletedEventType"
          }
        },
        "required": [
          "event_id",
          "item_id",
          "type"
        ],
        "type": "object"
      },
      "Output_ConversationItemDeletedEventType": {
        "enum": [
          "conversation.item.deleted"
        ],
        "type": "string"
      },
      "Output_ConversationItemDone": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/conversation_item_done.py`, `ConversationItemDone`.",
        "properties": {
          "event_id": {
            "type": "string"
          },
          "item": {
            "$ref": "#/components/schemas/Output_ConversationItem"
          },
          "previous_item_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_ConversationItemDoneType"
          }
        },
        "required": [
          "event_id",
          "item",
          "type"
        ],
        "type": "object"
      },
      "Output_ConversationItemDoneType": {
        "enum": [
          "conversation.item.done"
        ],
        "type": "string"
      },
      "Output_ConversationItemInputAudioTranscriptionCompletedEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/conversation_item_input_audio_transcription_completed_event.py`, `ConversationItemInputAudioTranscriptionCompletedEvent`.",
        "properties": {
          "content_index": {
            "format": "int64",
            "type": "integer"
          },
          "event_id": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "languages": {
            "items": {
              "$ref": "#/components/schemas/Output_TranscriptionLanguage2"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "logprobs": {
            "items": {
              "$ref": "#/components/schemas/Output_LogProbProperties"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "transcript": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ConversationItemInputAudioTranscriptionCompletedEventType"
          },
          "usage": {
            "$ref": "#/components/schemas/Output_ConversationItemInputAudioTranscriptionCompletedEventUsage"
          }
        },
        "required": [
          "content_index",
          "event_id",
          "item_id",
          "transcript",
          "type",
          "usage"
        ],
        "type": "object"
      },
      "Output_ConversationItemInputAudioTranscriptionCompletedEventType": {
        "enum": [
          "conversation.item.input_audio_transcription.completed"
        ],
        "type": "string"
      },
      "Output_ConversationItemInputAudioTranscriptionCompletedEventUsage": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_ConversationItemInputAudioTranscriptionCompletedEventUsageTranscriptTextUsageTokens"
          },
          {
            "$ref": "#/components/schemas/Output_ConversationItemInputAudioTranscriptionCompletedEventUsageTranscriptTextUsageDuration"
          }
        ],
        "description": "Source: `openai/types/realtime/conversation_item_input_audio_transcription_completed_event.py`, `Usage`."
      },
      "Output_ConversationItemInputAudioTranscriptionCompletedEventUsageTranscriptTextUsageDuration": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/conversation_item_input_audio_transcription_completed_event.py`, `UsageTranscriptTextUsageDuration`.",
        "properties": {
          "seconds": {
            "type": "number"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ConversationItemInputAudioTranscriptionCompletedEventUsageTranscriptTextUsageDurationType"
          }
        },
        "required": [
          "seconds",
          "type"
        ],
        "type": "object"
      },
      "Output_ConversationItemInputAudioTranscriptionCompletedEventUsageTranscriptTextUsageDurationType": {
        "enum": [
          "duration"
        ],
        "type": "string"
      },
      "Output_ConversationItemInputAudioTranscriptionCompletedEventUsageTranscriptTextUsageTokens": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/conversation_item_input_audio_transcription_completed_event.py`, `UsageTranscriptTextUsageTokens`.",
        "properties": {
          "input_token_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ConversationItemInputAudioTranscriptionCompletedEventUsageTranscriptTextUsageTokensInputTokenDetails"
              },
              {
                "type": "null"
              }
            ]
          },
          "input_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "output_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "total_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ConversationItemInputAudioTranscriptionCompletedEventUsageTranscriptTextUsageTokensType"
          }
        },
        "required": [
          "input_tokens",
          "output_tokens",
          "total_tokens",
          "type"
        ],
        "type": "object"
      },
      "Output_ConversationItemInputAudioTranscriptionCompletedEventUsageTranscriptTextUsageTokensInputTokenDetails": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/conversation_item_input_audio_transcription_completed_event.py`, `UsageTranscriptTextUsageTokensInputTokenDetails`.",
        "properties": {
          "audio_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "text_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_ConversationItemInputAudioTranscriptionCompletedEventUsageTranscriptTextUsageTokensType": {
        "enum": [
          "tokens"
        ],
        "type": "string"
      },
      "Output_ConversationItemInputAudioTranscriptionDeltaEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/conversation_item_input_audio_transcription_delta_event.py`, `ConversationItemInputAudioTranscriptionDeltaEvent`.",
        "properties": {
          "content_index": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "delta": {
            "type": [
              "string",
              "null"
            ]
          },
          "event_id": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "logprobs": {
            "items": {
              "$ref": "#/components/schemas/Output_LogProbProperties"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_ConversationItemInputAudioTranscriptionDeltaEventType"
          }
        },
        "required": [
          "event_id",
          "item_id",
          "type"
        ],
        "type": "object"
      },
      "Output_ConversationItemInputAudioTranscriptionDeltaEventType": {
        "enum": [
          "conversation.item.input_audio_transcription.delta"
        ],
        "type": "string"
      },
      "Output_ConversationItemInputAudioTranscriptionFailedEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/conversation_item_input_audio_transcription_failed_event.py`, `ConversationItemInputAudioTranscriptionFailedEvent`.",
        "properties": {
          "content_index": {
            "format": "int64",
            "type": "integer"
          },
          "error": {
            "$ref": "#/components/schemas/Output_ConversationItemInputAudioTranscriptionFailedEventError"
          },
          "event_id": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ConversationItemInputAudioTranscriptionFailedEventType"
          }
        },
        "required": [
          "content_index",
          "error",
          "event_id",
          "item_id",
          "type"
        ],
        "type": "object"
      },
      "Output_ConversationItemInputAudioTranscriptionFailedEventError": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/conversation_item_input_audio_transcription_failed_event.py`, `Error`.",
        "properties": {
          "code": {
            "type": [
              "string",
              "null"
            ]
          },
          "message": {
            "type": [
              "string",
              "null"
            ]
          },
          "param": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_ConversationItemInputAudioTranscriptionFailedEventType": {
        "enum": [
          "conversation.item.input_audio_transcription.failed"
        ],
        "type": "string"
      },
      "Output_ConversationItemInputAudioTranscriptionSegment": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/conversation_item_input_audio_transcription_segment.py`, `ConversationItemInputAudioTranscriptionSegment`.",
        "properties": {
          "content_index": {
            "format": "int64",
            "type": "integer"
          },
          "end": {
            "type": "number"
          },
          "event_id": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "speaker": {
            "type": "string"
          },
          "start": {
            "type": "number"
          },
          "text": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ConversationItemInputAudioTranscriptionSegmentType"
          }
        },
        "required": [
          "id",
          "content_index",
          "end",
          "event_id",
          "item_id",
          "speaker",
          "start",
          "text",
          "type"
        ],
        "type": "object"
      },
      "Output_ConversationItemInputAudioTranscriptionSegmentType": {
        "enum": [
          "conversation.item.input_audio_transcription.segment"
        ],
        "type": "string"
      },
      "Output_ConversationItemRetrieved": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_server_event.py`, `ConversationItemRetrieved`.",
        "properties": {
          "event_id": {
            "type": "string"
          },
          "item": {
            "$ref": "#/components/schemas/Output_ConversationItem"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ConversationItemRetrievedType"
          }
        },
        "required": [
          "event_id",
          "item",
          "type"
        ],
        "type": "object"
      },
      "Output_ConversationItemRetrievedType": {
        "enum": [
          "conversation.item.retrieved"
        ],
        "type": "string"
      },
      "Output_ConversationItemTruncatedEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/conversation_item_truncated_event.py`, `ConversationItemTruncatedEvent`.",
        "properties": {
          "audio_end_ms": {
            "format": "int64",
            "type": "integer"
          },
          "content_index": {
            "format": "int64",
            "type": "integer"
          },
          "event_id": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ConversationItemTruncatedEventType"
          }
        },
        "required": [
          "audio_end_ms",
          "content_index",
          "event_id",
          "item_id",
          "type"
        ],
        "type": "object"
      },
      "Output_ConversationItemTruncatedEventType": {
        "enum": [
          "conversation.item.truncated"
        ],
        "type": "string"
      },
      "Output_ConversationObject": {
        "enum": [
          "conversation"
        ],
        "type": "string"
      },
      "Output_ConversationResponseBody": {
        "additionalProperties": true,
        "properties": {
          "created_at": {
            "format": "int64",
            "type": "integer"
          },
          "id": {
            "type": "string"
          },
          "metadata": true,
          "object": {
            "$ref": "#/components/schemas/Output_ConversationObject"
          }
        },
        "required": [
          "id",
          "created_at",
          "metadata",
          "object"
        ],
        "type": "object"
      },
      "Output_Coordinate": {
        "additionalProperties": true,
        "properties": {
          "x": {
            "format": "int64",
            "type": "integer"
          },
          "y": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "x",
          "y"
        ],
        "type": "object"
      },
      "Output_CountTokensContextManagementResponse": {
        "additionalProperties": true,
        "properties": {
          "original_input_tokens": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "original_input_tokens"
        ],
        "type": "object"
      },
      "Output_CountTokensObject": {
        "enum": [
          "response.input_tokens"
        ],
        "type": "string"
      },
      "Output_CountTokensResponseBody": {
        "additionalProperties": true,
        "properties": {
          "input_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "object": {
            "$ref": "#/components/schemas/Output_CountTokensObject"
          }
        },
        "required": [
          "input_tokens",
          "object"
        ],
        "type": "object"
      },
      "Output_CountTokensResponseBody2": {
        "additionalProperties": true,
        "properties": {
          "context_management": {
            "$ref": "#/components/schemas/Output_CountTokensContextManagementResponse"
          },
          "input_tokens": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "context_management",
          "input_tokens"
        ],
        "type": "object"
      },
      "Output_CountTokensResponseBody3": {
        "additionalProperties": true,
        "properties": {
          "cacheTokensDetails": {
            "items": {
              "$ref": "#/components/schemas/Output_ModalityTokenCount"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "cachedContentTokenCount": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "promptTokensDetails": {
            "items": {
              "$ref": "#/components/schemas/Output_ModalityTokenCount"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "totalTokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_CreateDecisionResponseBody": {
        "additionalProperties": true,
        "properties": {
          "answers": {
            "items": {
              "$ref": "#/components/schemas/Output_DecisionAnswer"
            },
            "type": "array"
          },
          "model": {
            "type": "string"
          },
          "usage": {
            "$ref": "#/components/schemas/Output_ResponseUsage"
          }
        },
        "required": [
          "model",
          "answers",
          "usage"
        ],
        "type": "object"
      },
      "Output_CreateEmbeddingResponseBody": {
        "additionalProperties": true,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/Output_OpenAiEmbedding"
            },
            "type": "array"
          },
          "model": {
            "type": "string"
          },
          "object": {
            "$ref": "#/components/schemas/Output_EmbeddingListObject"
          },
          "usage": {
            "$ref": "#/components/schemas/Output_EmbeddingUsage"
          }
        },
        "required": [
          "data",
          "model",
          "object",
          "usage"
        ],
        "type": "object"
      },
      "Output_CreateLiveSessionResponseBody": {
        "additionalProperties": true,
        "properties": {
          "session": {
            "$ref": "#/components/schemas/Output_LiveSessionId"
          },
          "transport": {
            "$ref": "#/components/schemas/Output_LiveResponseTransport"
          }
        },
        "required": [
          "session",
          "transport"
        ],
        "type": "object"
      },
      "Output_CreateModerationResponseBody": {
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "string"
          },
          "model": {
            "type": "string"
          },
          "results": {
            "items": {
              "$ref": "#/components/schemas/Output_ModerationResult2"
            },
            "type": "array"
          }
        },
        "required": [
          "id",
          "model",
          "results"
        ],
        "type": "object"
      },
      "Output_CreateRealtimeClientSecretResponseBody": {
        "additionalProperties": true,
        "properties": {
          "expires_at": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "session": {
            "$ref": "#/components/schemas/Output_ClientSecretResponseSession"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "value",
          "expires_at",
          "session"
        ],
        "type": "object"
      },
      "Output_CredentialBlockDto": {
        "properties": {
          "credentialId": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "observedAtMs": {
            "format": "int64",
            "type": "integer"
          },
          "operation": {
            "type": [
              "string",
              "null"
            ]
          },
          "scope": true,
          "source": true,
          "untilMs": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "credentialId",
          "scope",
          "operation",
          "untilMs",
          "source",
          "observedAtMs"
        ],
        "type": "object"
      },
      "Output_CredentialCreated": {
        "description": "A login that produced a credential row. The secret is already sealed in the\ndatabase; nothing about it travels back.",
        "properties": {
          "credentialId": {
            "type": "string"
          }
        },
        "required": [
          "credentialId"
        ],
        "type": "object"
      },
      "Output_CredentialCycleDto": {
        "description": "One period of one upstream window on a credential, with the USD this\ndeployment settled against it.",
        "properties": {
          "boundary": {
            "description": "`local` (derived here, a guess) or `observed` (reported upstream).",
            "type": "string"
          },
          "closedAtMs": {
            "description": "None while the cycle is open.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "costUsd": {
            "description": "USD settled against the cycle through this deployment. Final once\nclosed.",
            "type": "string"
          },
          "credentialId": {
            "type": "string"
          },
          "dimensionId": {
            "type": [
              "string",
              "null"
            ]
          },
          "endsAtMs": {
            "description": "None for a window that never ends.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "estimatedAllowanceUsd": {
            "description": "`sample.costUsd / sample.usedPercent * 100`: the USD the whole window\nwould hold at the rate this cycle has been spending, when the sample\nreports a positive percent. It only sees traffic through this\ndeployment, so use elsewhere on the same account reads it low.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "openedBy": {
            "description": "`first_use`, `rollover`, `server_reset` or `manual_reset`.",
            "type": "string"
          },
          "sample": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_CycleSampleDto"
              },
              {
                "type": "null"
              }
            ],
            "description": "The latest upstream reading on the cycle; for a closed cycle, the\nlast one before it closed."
          },
          "scope": true,
          "startsAtMs": {
            "format": "int64",
            "type": "integer"
          },
          "windowId": {
            "description": "The observed `QuotaEntry.id`, the declared dimension id before any\nobservation, or `month` for a credential that declares no window.",
            "type": "string"
          }
        },
        "required": [
          "id",
          "credentialId",
          "windowId",
          "dimensionId",
          "scope",
          "startsAtMs",
          "endsAtMs",
          "boundary",
          "openedBy",
          "closedAtMs",
          "costUsd",
          "sample",
          "estimatedAllowanceUsd"
        ],
        "type": "object"
      },
      "Output_CredentialDto": {
        "description": "A credential without its secret. Only presence and expiry timestamps are\nexposed; reading the material itself requires `Credentials::reveal_secret`.",
        "properties": {
          "authKind": {
            "type": "string"
          },
          "connectionProfileId": {
            "type": [
              "string",
              "null"
            ]
          },
          "enabled": {
            "type": "boolean"
          },
          "expiresAtMs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "hasSecret": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "label": {
            "type": [
              "string",
              "null"
            ]
          },
          "metadata": true,
          "organizationId": {
            "description": "Opaque to this crate: the application layer decides what owns what.",
            "type": [
              "string",
              "null"
            ]
          },
          "providerId": {
            "type": "string"
          },
          "proxy": {
            "default": null
          },
          "refreshExpiresAtMs": {
            "description": "Read-only refresh-token expiry, projected from the sealed secret on management reads.\nNone means no expiry was reported or the secret could not be read.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "status": {
            "description": "`active` or `dead`.",
            "type": "string"
          },
          "statusReason": {
            "type": [
              "string",
              "null"
            ]
          },
          "teamId": {
            "type": [
              "string",
              "null"
            ]
          },
          "userId": {
            "type": [
              "string",
              "null"
            ]
          },
          "version": {
            "description": "Bumped by every secret or lifecycle write; peers reload on a change.",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "providerId",
          "organizationId",
          "teamId",
          "userId",
          "label",
          "authKind",
          "hasSecret",
          "version",
          "connectionProfileId",
          "proxy",
          "metadata",
          "expiresAtMs",
          "refreshExpiresAtMs",
          "status",
          "statusReason",
          "enabled"
        ],
        "type": "object"
      },
      "Output_CredentialLimitStatusDto": {
        "description": "An operator limit's current window on one credential.",
        "properties": {
          "limit": {
            "type": "string"
          },
          "metric": {
            "type": "string"
          },
          "modelPattern": {
            "type": [
              "string",
              "null"
            ]
          },
          "ownerId": {
            "type": "string"
          },
          "ownerKind": {
            "type": "string"
          },
          "period": {
            "type": "string"
          },
          "quotaId": {
            "type": "string"
          },
          "unit": {
            "type": "string"
          },
          "used": {
            "type": "string"
          },
          "windowEndMs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "windowKey": {
            "type": "string"
          },
          "windowStartMs": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "quotaId",
          "ownerKind",
          "ownerId",
          "windowKey",
          "metric",
          "period",
          "modelPattern",
          "unit",
          "limit",
          "used",
          "windowStartMs",
          "windowEndMs"
        ],
        "type": "object"
      },
      "Output_CredentialOwnerOptionDto": {
        "properties": {
          "id": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "kind",
          "id",
          "name"
        ],
        "type": "object"
      },
      "Output_CredentialProviderDto": {
        "properties": {
          "capabilities": {
            "$ref": "#/components/schemas/Output_ChannelCapabilities"
          },
          "channel": {
            "type": "string"
          },
          "credentialKinds": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "displayName": {
            "type": [
              "string",
              "null"
            ]
          },
          "enabled": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "loginModes": {
            "items": {
              "$ref": "#/components/schemas/Output_LoginMode"
            },
            "type": "array"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "displayName",
          "channel",
          "enabled",
          "credentialKinds",
          "loginModes",
          "capabilities"
        ],
        "type": "object"
      },
      "Output_CredentialQuotaDto": {
        "description": "What this instance knows about one credential's upstream quota: its\ncycles — every open one and each window's most recent closed ones — and\nthe blocks currently keeping it out of selection.\n\nWindows overlap (a 5-hour and a weekly window both count the same\nrequest), so the cycles' costs are never meant to be summed across\nwindows. The raw readings behind the cycles are a separate, paged read.",
        "properties": {
          "blocks": {
            "description": "Only blocks that have not expired yet.",
            "items": {
              "$ref": "#/components/schemas/Output_CredentialBlockDto"
            },
            "type": "array"
          },
          "cycles": {
            "description": "Open cycles first, by window; then closed ones by window, newest\nfirst.",
            "items": {
              "$ref": "#/components/schemas/Output_CredentialCycleDto"
            },
            "type": "array"
          }
        },
        "required": [
          "cycles",
          "blocks"
        ],
        "type": "object"
      },
      "Output_CredentialSummaryDto": {
        "description": "What a refresh reports back: never secret material, only its identity.",
        "properties": {
          "credentialId": {
            "type": "string"
          },
          "expiresAtMs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "status": {
            "type": "string"
          },
          "statusReason": {
            "type": [
              "string",
              "null"
            ]
          },
          "version": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "credentialId",
          "version",
          "expiresAtMs",
          "status",
          "statusReason"
        ],
        "type": "object"
      },
      "Output_CustomCall": {
        "additionalProperties": true,
        "properties": {
          "input": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "input",
          "name"
        ],
        "type": "object"
      },
      "Output_CustomMetadata": {
        "additionalProperties": true,
        "properties": {
          "key": {
            "type": [
              "string",
              "null"
            ]
          },
          "numericValue": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "stringListValue": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_StringList"
              },
              {
                "type": "null"
              }
            ]
          },
          "stringValue": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_CustomOutput": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "$ref": "#/components/schemas/Output_InputContent"
            },
            "type": "array"
          }
        ]
      },
      "Output_CustomTextFormat": {
        "additionalProperties": true,
        "properties": {
          "type": {
            "$ref": "#/components/schemas/Output_TextFormatType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_CustomTool": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Output_AllowedCaller"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "async": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_CustomToolFormat"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "Output_CustomToolCall": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "async": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "call_id": {
            "type": "string"
          },
          "caller": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Caller"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "input": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "namespace": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_CustomToolCallType"
          }
        },
        "required": [
          "type",
          "call_id",
          "input",
          "name"
        ],
        "type": "object"
      },
      "Output_CustomToolCall2": {
        "additionalProperties": true,
        "properties": {
          "custom": {
            "$ref": "#/components/schemas/Output_CustomCall"
          },
          "id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_CustomToolCallType2"
          }
        },
        "required": [
          "id",
          "custom",
          "type"
        ],
        "type": "object"
      },
      "Output_CustomToolCallOutput": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "call_id": {
            "type": "string"
          },
          "caller": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Caller"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "output": {
            "$ref": "#/components/schemas/Output_CustomOutput"
          },
          "type": {
            "$ref": "#/components/schemas/Output_CustomToolCallOutputType"
          }
        },
        "required": [
          "type",
          "call_id",
          "output"
        ],
        "type": "object"
      },
      "Output_CustomToolCallOutputType": {
        "enum": [
          "custom_tool_call_output"
        ],
        "type": "string"
      },
      "Output_CustomToolCallType": {
        "enum": [
          "custom_tool_call"
        ],
        "type": "string"
      },
      "Output_CustomToolCallType2": {
        "enum": [
          "custom"
        ],
        "type": "string"
      },
      "Output_CustomToolFormat": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_CustomTextFormat"
          },
          {
            "$ref": "#/components/schemas/Output_GrammarFormat"
          }
        ]
      },
      "Output_CustomToolInputDelta": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "delta": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sequence_number",
          "item_id",
          "output_index",
          "delta"
        ],
        "type": "object"
      },
      "Output_CustomToolInputDone": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "input": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sequence_number",
          "item_id",
          "output_index",
          "input"
        ],
        "type": "object"
      },
      "Output_CustomVoice": {
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "type": "object"
      },
      "Output_CyberAccessProgram": {
        "enum": [
          "standard",
          "daybreak_blue",
          "daybreak_red"
        ],
        "type": "string"
      },
      "Output_CyberAccessProgram2": {
        "enum": [
          "standard",
          "daybreak_blue",
          "daybreak_red"
        ],
        "type": "string"
      },
      "Output_CycleSampleDto": {
        "description": "One upstream reading, kept on a cycle as a set taken at `atMs`.",
        "properties": {
          "atMs": {
            "format": "int64",
            "type": "integer"
          },
          "costUsd": {
            "description": "The cycle's `costUsd` when the reading was taken.",
            "type": [
              "string",
              "null"
            ]
          },
          "limit": {
            "type": [
              "string",
              "null"
            ]
          },
          "used": {
            "type": [
              "string",
              "null"
            ]
          },
          "usedPercent": {
            "description": "On the 0..100 scale.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "usedPercent",
          "used",
          "limit",
          "costUsd",
          "atMs"
        ],
        "type": "object"
      },
      "Output_DecisionAnswer": {
        "oneOf": [
          {
            "additionalProperties": true,
            "properties": {
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "probability": {
                "format": "double",
                "type": "number"
              },
              "type": {
                "const": "predicate",
                "type": "string"
              }
            },
            "required": [
              "type",
              "probability"
            ],
            "type": "object"
          },
          {
            "additionalProperties": true,
            "properties": {
              "choice": {
                "$ref": "#/components/schemas/Output_DecisionChoiceValue"
              },
              "confidence": {
                "format": "double",
                "type": "number"
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "probabilities": {
                "items": {
                  "$ref": "#/components/schemas/Output_DecisionChoiceProbability"
                },
                "type": "array"
              },
              "type": {
                "const": "choice",
                "type": "string"
              }
            },
            "required": [
              "type",
              "choice",
              "confidence",
              "probabilities"
            ],
            "type": "object"
          },
          {
            "additionalProperties": true,
            "properties": {
              "confidence": {
                "format": "double",
                "type": "number"
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "probabilities": {
                "items": {
                  "$ref": "#/components/schemas/Output_DecisionScoreProbability"
                },
                "type": "array"
              },
              "score": {
                "format": "double",
                "type": "number"
              },
              "type": {
                "const": "score",
                "type": "string"
              }
            },
            "required": [
              "type",
              "score",
              "confidence",
              "probabilities"
            ],
            "type": "object"
          },
          {
            "additionalProperties": true,
            "properties": {
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "type": {
                "const": "refusal",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Output_DecisionChoice": {
        "additionalProperties": true,
        "properties": {
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "value": {
            "$ref": "#/components/schemas/Output_DecisionChoiceValue"
          }
        },
        "required": [
          "value"
        ],
        "type": "object"
      },
      "Output_DecisionChoiceProbability": {
        "additionalProperties": true,
        "properties": {
          "probability": {
            "format": "double",
            "type": "number"
          },
          "value": {
            "$ref": "#/components/schemas/Output_DecisionChoiceValue"
          }
        },
        "required": [
          "value",
          "probability"
        ],
        "type": "object"
      },
      "Output_DecisionChoiceValue": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "boolean"
          }
        ]
      },
      "Output_DecisionQuestion": {
        "oneOf": [
          {
            "additionalProperties": true,
            "properties": {
              "instructions": {
                "type": "string"
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "type": {
                "const": "predicate",
                "type": "string"
              }
            },
            "required": [
              "type",
              "instructions"
            ],
            "type": "object"
          },
          {
            "additionalProperties": true,
            "properties": {
              "choices": {
                "items": {
                  "$ref": "#/components/schemas/Output_DecisionChoice"
                },
                "type": "array"
              },
              "instructions": {
                "type": "string"
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "type": {
                "const": "choice",
                "type": "string"
              }
            },
            "required": [
              "type",
              "instructions",
              "choices"
            ],
            "type": "object"
          },
          {
            "additionalProperties": true,
            "properties": {
              "instructions": {
                "type": "string"
              },
              "levels": {
                "items": {
                  "$ref": "#/components/schemas/Output_DecisionScoreLevel"
                },
                "type": "array"
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "type": {
                "const": "score",
                "type": "string"
              }
            },
            "required": [
              "type",
              "instructions",
              "levels"
            ],
            "type": "object"
          }
        ]
      },
      "Output_DecisionScoreLevel": {
        "additionalProperties": true,
        "properties": {
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "label": {
            "type": "string"
          }
        },
        "required": [
          "label"
        ],
        "type": "object"
      },
      "Output_DecisionScoreProbability": {
        "additionalProperties": true,
        "properties": {
          "label": {
            "type": "string"
          },
          "probability": {
            "format": "double",
            "type": "number"
          },
          "value": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "label",
          "value",
          "probability"
        ],
        "type": "object"
      },
      "Output_DefaultModelCatalogDto": {
        "description": "The bundled catalog, exactly as the asset spells it. Its numbers are\nchecked against its own rows at load: a truncated asset is a build problem\nand should be found once, not per lookup.",
        "properties": {
          "models": {
            "items": {
              "$ref": "#/components/schemas/Output_DefaultModelDto"
            },
            "type": "array"
          },
          "schemaVersion": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "source": {
            "$ref": "#/components/schemas/Output_DefaultModelCatalogSourceDto"
          }
        },
        "required": [
          "schemaVersion",
          "source",
          "models"
        ],
        "type": "object"
      },
      "Output_DefaultModelCatalogSourceDto": {
        "additionalProperties": true,
        "properties": {
          "catalog": {
            "type": "string"
          },
          "fetchedAt": {
            "type": "string"
          },
          "pricedModels": {
            "format": "uint",
            "minimum": 0,
            "type": "integer"
          },
          "totalModels": {
            "format": "uint",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "catalog",
          "fetchedAt",
          "totalModels",
          "pricedModels"
        ],
        "type": "object"
      },
      "Output_DefaultModelDto": {
        "additionalProperties": true,
        "description": "One catalog entry. `model_id` is the unqualified model name; the\nunmodelled keys — modalities, supported parameters, reasoning levels — stay\nin `metadata`, which is exactly the shape the `models.metadata` column\nholds.",
        "properties": {
          "contextWindow": {
            "default": null,
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "displayName": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "maxOutputTokens": {
            "default": null,
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "modelId": {
            "type": "string"
          },
          "pricing": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_DefaultModelPricingDto"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "required": [
          "modelId",
          "displayName",
          "contextWindow",
          "maxOutputTokens",
          "pricing"
        ],
        "type": "object"
      },
      "Output_DefaultModelPriceRateDto": {
        "properties": {
          "conditions": {
            "default": null
          },
          "metric": {
            "type": "string"
          },
          "price": {
            "description": "A decimal string: this is money and must not pass through a float.",
            "type": "string"
          },
          "priority": {
            "format": "int64",
            "type": "integer"
          },
          "unitSize": {
            "description": "`1000000` for the token metrics, `1` for counted ones.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "conditions",
          "metric",
          "unitSize",
          "price",
          "priority"
        ],
        "type": "object"
      },
      "Output_DefaultModelPricingDto": {
        "description": "The price book for one model: a glob, its rates, and the context or\nservice-tier overrides above them.",
        "properties": {
          "modelPattern": {
            "description": "A `*fragment*` glob. The longer the fragment, the more specific the\nrule, which is what `priority` encodes.",
            "type": "string"
          },
          "priority": {
            "format": "int64",
            "type": "integer"
          },
          "rates": {
            "items": {
              "$ref": "#/components/schemas/Output_DefaultModelPriceRateDto"
            },
            "type": "array"
          },
          "tiers": {
            "default": null,
            "items": {
              "$ref": "#/components/schemas/Output_DefaultModelTierDto"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "modelPattern",
          "priority",
          "rates",
          "tiers"
        ],
        "type": "object"
      },
      "Output_DefaultModelTierDto": {
        "description": "A long-context or service-tier override. Every price is optional and every\nabsent one inherits the rule's rates.",
        "properties": {
          "audioInputPrice": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "audioOutputPrice": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "cacheCreationPerMillion": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Output_CacheCreationPriceDto"
            },
            "type": "array"
          },
          "cacheReadPrice": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "cachedAudioInputPrice": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "imageOutputPrice": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "inputPrice": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "minPromptTokens": {
            "default": null,
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "multiplier": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "outputPrice": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "serviceTier": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "serviceTier",
          "minPromptTokens",
          "multiplier",
          "inputPrice",
          "outputPrice",
          "cacheReadPrice",
          "cacheCreationPerMillion",
          "imageOutputPrice",
          "audioInputPrice",
          "audioOutputPrice",
          "cachedAudioInputPrice"
        ],
        "type": "object"
      },
      "Output_DeleteFileResponseBody": {
        "additionalProperties": true,
        "properties": {
          "deleted": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "object": {
            "$ref": "#/components/schemas/Output_DeletedFileObject"
          }
        },
        "required": [
          "id",
          "object",
          "deleted"
        ],
        "type": "object"
      },
      "Output_DeleteFileResponseBody2": {
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "string"
          },
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_DeletedFileType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id"
        ],
        "type": "object"
      },
      "Output_DeleteFileResponseBody3": {
        "additionalProperties": true,
        "type": "object"
      },
      "Output_DeletedFileObject": {
        "enum": [
          "file"
        ],
        "type": "string"
      },
      "Output_DeletedFileType": {
        "enum": [
          "file_deleted"
        ],
        "type": "string"
      },
      "Output_Delta": {
        "additionalProperties": true,
        "properties": {
          "content": {
            "type": [
              "string",
              "null"
            ]
          },
          "function_call": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_DeltaFunctionCall"
              },
              {
                "type": "null"
              }
            ]
          },
          "reasoning": {
            "description": "Alternative compatible-provider spelling. Kept separately on the wire.",
            "type": [
              "string",
              "null"
            ]
          },
          "reasoning_content": {
            "description": "Plain-text reasoning returned by compatible providers (for example DeepSeek).",
            "type": [
              "string",
              "null"
            ]
          },
          "reasoning_details": {
            "items": {
              "$ref": "#/components/schemas/Output_ReasoningDetail"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "refusal": {
            "type": [
              "string",
              "null"
            ]
          },
          "role": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_DeltaRole"
              },
              {
                "type": "null"
              }
            ]
          },
          "tool_calls": {
            "items": {
              "$ref": "#/components/schemas/Output_DeltaToolCall"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_DeltaFunctionCall": {
        "additionalProperties": true,
        "properties": {
          "arguments": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_DeltaRole": {
        "enum": [
          "developer",
          "system",
          "user",
          "tool",
          "assistant"
        ],
        "type": "string"
      },
      "Output_DeltaToolCall": {
        "additionalProperties": true,
        "properties": {
          "function": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_DeltaFunctionCall"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "index": {
            "format": "int64",
            "type": "integer"
          },
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_DeltaToolCallType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "index"
        ],
        "type": "object"
      },
      "Output_DeltaToolCallType": {
        "enum": [
          "function"
        ],
        "type": "string"
      },
      "Output_DeviceCodeResponse": {
        "description": "RFC 8628 §3.2. `device_code` is plaintext and exists only here.",
        "properties": {
          "device_code": {
            "description": "The secret the device polls with.",
            "type": "string"
          },
          "expires_in": {
            "description": "Seconds.",
            "format": "int64",
            "type": "integer"
          },
          "interval": {
            "description": "The minimum seconds between polls.",
            "format": "int64",
            "type": "integer"
          },
          "user_code": {
            "description": "The short code the person types, in the grouped form they read off the\nscreen. Lookups normalize it, so any spelling with the right characters\nresolves.",
            "type": "string"
          },
          "verification_uri": {
            "type": "string"
          },
          "verification_uri_complete": {
            "description": "The same page with the code already filled in, for a device that can\nshow a QR code (RFC 8628 §3.3.1).",
            "type": "string"
          }
        },
        "required": [
          "device_code",
          "user_code",
          "verification_uri",
          "verification_uri_complete",
          "expires_in",
          "interval"
        ],
        "type": "object"
      },
      "Output_DeviceDecided": {
        "description": "The outcome of an approval-page decision or a cancellation.",
        "properties": {
          "approved": {
            "type": "boolean"
          },
          "user_code": {
            "type": "string"
          }
        },
        "required": [
          "user_code",
          "approved"
        ],
        "type": "object"
      },
      "Output_DeviceDetails": {
        "description": "What the approval page renders for a pending device authorization.",
        "properties": {
          "client_id": {
            "type": "string"
          },
          "client_name": {
            "type": "string"
          },
          "expires_at_ms": {
            "description": "Milliseconds, unlike the RFC fields above: this one is for a page this\nrepository renders, not for the device.",
            "format": "int64",
            "type": "integer"
          },
          "scopes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "user_code": {
            "description": "The normalized code, as stored.",
            "type": "string"
          }
        },
        "required": [
          "client_id",
          "client_name",
          "user_code",
          "scopes",
          "expires_at_ms"
        ],
        "type": "object"
      },
      "Output_DevicePollOutcome": {
        "description": "One polling step. The SDK never sleeps and never loops: the caller owns the\ncadence, and `interval_secs` is what it should honour.",
        "oneOf": [
          {
            "description": "Nobody has approved it yet. Poll again after `interval_secs`.",
            "properties": {
              "intervalSecs": {
                "format": "uint64",
                "minimum": 0,
                "type": "integer"
              },
              "status": {
                "const": "pending",
                "type": "string"
              }
            },
            "required": [
              "status",
              "intervalSecs"
            ],
            "type": "object"
          },
          {
            "properties": {
              "credentialId": {
                "type": "string"
              },
              "status": {
                "const": "ready",
                "type": "string"
              }
            },
            "required": [
              "status",
              "credentialId"
            ],
            "type": "object"
          },
          {
            "description": "The person refused. The session is gone; starting again is the only way\nforward.",
            "properties": {
              "status": {
                "const": "denied",
                "type": "string"
              }
            },
            "required": [
              "status"
            ],
            "type": "object"
          },
          {
            "description": "The user code outlived its window. The session is gone.",
            "properties": {
              "status": {
                "const": "expired",
                "type": "string"
              }
            },
            "required": [
              "status"
            ],
            "type": "object"
          }
        ]
      },
      "Output_DeviceStarted": {
        "properties": {
          "expiresAtMs": {
            "description": "When the upstream stops accepting this user code, if it said.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "intervalSecs": {
            "description": "How long to wait before the first poll, and between polls. The upstream\nmay raise it; a `Pending` answer always carries the current value.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "loginSessionId": {
            "type": "string"
          },
          "userCode": {
            "description": "What the person types on the other device.",
            "type": "string"
          },
          "verificationUri": {
            "type": "string"
          },
          "verificationUriComplete": {
            "description": "The same page with the code already filled in, where the upstream\noffers one.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "loginSessionId",
          "userCode",
          "verificationUri",
          "verificationUriComplete",
          "intervalSecs",
          "expiresAtMs"
        ],
        "type": "object"
      },
      "Output_DiagnosticOutcome": {
        "additionalProperties": true,
        "type": "object"
      },
      "Output_DiagnosticsResponse": {
        "additionalProperties": true,
        "properties": {
          "cache_miss_reason": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_CacheMissReason2"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_DirectCaller": {
        "additionalProperties": true,
        "type": "object"
      },
      "Output_DirectCaller2": {
        "additionalProperties": true,
        "type": "object"
      },
      "Output_DiscoveredModelDto": {
        "description": "One model an upstream says it offers.",
        "properties": {
          "hasDefaultPrice": {
            "description": "Whether the bundled catalog can price it without an operator writing a\nrule by hand.",
            "type": "boolean"
          },
          "hasPrice": {
            "description": "A saved provider or global rule matches this upstream model.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "known": {
            "description": "Whether this provider already has a `provider_models` row for it.",
            "type": "boolean"
          },
          "metadata": true,
          "upstreamName": {
            "type": "string"
          }
        },
        "required": [
          "upstreamName",
          "known",
          "hasDefaultPrice",
          "metadata"
        ],
        "type": "object"
      },
      "Output_DomainSecret": {
        "additionalProperties": true,
        "properties": {
          "domain": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "domain",
          "name",
          "value"
        ],
        "type": "object"
      },
      "Output_DoubleClickAction": {
        "additionalProperties": true,
        "properties": {
          "keys": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "x": {
            "format": "int64",
            "type": "integer"
          },
          "y": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "x",
          "y",
          "keys"
        ],
        "type": "object"
      },
      "Output_DragAction": {
        "additionalProperties": true,
        "properties": {
          "keys": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "path": {
            "items": {
              "$ref": "#/components/schemas/Output_Coordinate"
            },
            "type": "array"
          }
        },
        "required": [
          "path"
        ],
        "type": "object"
      },
      "Output_DurationUsageType": {
        "enum": [
          "duration"
        ],
        "type": "string"
      },
      "Output_EasyInputMessage": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "$ref": "#/components/schemas/Output_MessageContent"
          },
          "phase": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_MessagePhase"
              },
              {
                "type": "null"
              }
            ]
          },
          "role": {
            "$ref": "#/components/schemas/Output_MessageRole"
          },
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_MessageType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "content",
          "role"
        ],
        "type": "object"
      },
      "Output_EffortCapability": {
        "additionalProperties": true,
        "properties": {
          "high": {
            "$ref": "#/components/schemas/Output_CapabilitySupport"
          },
          "low": {
            "$ref": "#/components/schemas/Output_CapabilitySupport"
          },
          "max": {
            "$ref": "#/components/schemas/Output_CapabilitySupport"
          },
          "medium": {
            "$ref": "#/components/schemas/Output_CapabilitySupport"
          },
          "supported": {
            "type": "boolean"
          },
          "xhigh": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_CapabilitySupport"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "high",
          "low",
          "max",
          "medium",
          "supported",
          "xhigh"
        ],
        "type": "object"
      },
      "Output_EmbedContentResponseBody": {
        "additionalProperties": true,
        "properties": {
          "embedding": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ContentEmbedding"
              },
              {
                "type": "null"
              }
            ]
          },
          "usageMetadata": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_EmbeddingUsageMetadata"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_EmbeddingListObject": {
        "enum": [
          "list"
        ],
        "type": "string"
      },
      "Output_EmbeddingObject": {
        "enum": [
          "embedding"
        ],
        "type": "string"
      },
      "Output_EmbeddingUsage": {
        "additionalProperties": true,
        "properties": {
          "prompt_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "total_tokens": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "prompt_tokens",
          "total_tokens"
        ],
        "type": "object"
      },
      "Output_EmbeddingUsageMetadata": {
        "additionalProperties": true,
        "properties": {
          "promptTokenCount": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "promptTokenDetails": {
            "items": {
              "$ref": "#/components/schemas/Output_ModalityTokenCount"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_EmbeddingVector": {
        "anyOf": [
          {
            "items": {
              "type": "number"
            },
            "type": "array"
          },
          {
            "type": "string"
          }
        ]
      },
      "Output_EncryptedCodeExecutionResult": {
        "additionalProperties": true,
        "properties": {
          "content": {
            "items": {
              "$ref": "#/components/schemas/Output_CodeExecutionOutput"
            },
            "type": "array"
          },
          "encrypted_stdout": {
            "type": "string"
          },
          "return_code": {
            "format": "int64",
            "type": "integer"
          },
          "stderr": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_EncryptedCodeExecutionResultType"
          }
        },
        "required": [
          "type",
          "content",
          "encrypted_stdout",
          "return_code",
          "stderr"
        ],
        "type": "object"
      },
      "Output_EncryptedCodeExecutionResultType": {
        "enum": [
          "encrypted_code_execution_result"
        ],
        "type": "string"
      },
      "Output_EncryptedContent": {
        "additionalProperties": true,
        "properties": {
          "encrypted_content": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_EncryptedContentType"
          }
        },
        "required": [
          "type",
          "encrypted_content"
        ],
        "type": "object"
      },
      "Output_EncryptedContentType": {
        "enum": [
          "encrypted_content"
        ],
        "type": "string"
      },
      "Output_Envelope": {
        "properties": {
          "error": {
            "$ref": "#/components/schemas/Output_EnvelopeBody"
          }
        },
        "required": [
          "error"
        ],
        "type": "object"
      },
      "Output_EnvelopeBody": {
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "message"
        ],
        "type": "object"
      },
      "Output_ErrorDetail": {
        "properties": {
          "code": {
            "type": [
              "string",
              "null"
            ]
          },
          "message": {
            "type": "string"
          },
          "param": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "message"
        ],
        "type": "object"
      },
      "Output_ErrorEvent": {
        "additionalProperties": true,
        "properties": {
          "error": {
            "$ref": "#/components/schemas/Output_StreamError"
          },
          "request_id": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "error"
        ],
        "type": "object"
      },
      "Output_ErrorMessage": {
        "properties": {
          "error": {
            "$ref": "#/components/schemas/Output_ErrorDetail"
          },
          "status": {
            "format": "uint16",
            "maximum": 65535,
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "stream_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_ErrorMessageType"
          }
        },
        "required": [
          "type",
          "error"
        ],
        "type": "object"
      },
      "Output_ErrorMessageType": {
        "enum": [
          "error"
        ],
        "type": "string"
      },
      "Output_ExecutableCode": {
        "additionalProperties": true,
        "properties": {
          "code": {
            "type": "string"
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "language": {
            "$ref": "#/components/schemas/Output_Language"
          }
        },
        "required": [
          "language",
          "code"
        ],
        "type": "object"
      },
      "Output_ExportCredentialDto": {
        "description": "A credential row plus the sealed bytes behind it. The columns are flattened,\nso the object is a [`CredentialDto`] with one field added.",
        "properties": {
          "authKind": {
            "type": "string"
          },
          "connectionProfileId": {
            "type": [
              "string",
              "null"
            ]
          },
          "enabled": {
            "type": "boolean"
          },
          "expiresAtMs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "hasSecret": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "label": {
            "type": [
              "string",
              "null"
            ]
          },
          "metadata": true,
          "organizationId": {
            "description": "Opaque to this crate: the application layer decides what owns what.",
            "type": [
              "string",
              "null"
            ]
          },
          "providerId": {
            "type": "string"
          },
          "proxy": {
            "default": null
          },
          "refreshExpiresAtMs": {
            "description": "Read-only refresh-token expiry, projected from the sealed secret on management reads.\nNone means no expiry was reported or the secret could not be read.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "secret": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_SealedSecretDto"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The database column verbatim; null when the export omitted secrets."
          },
          "status": {
            "description": "`active` or `dead`.",
            "type": "string"
          },
          "statusReason": {
            "type": [
              "string",
              "null"
            ]
          },
          "teamId": {
            "type": [
              "string",
              "null"
            ]
          },
          "userId": {
            "type": [
              "string",
              "null"
            ]
          },
          "version": {
            "description": "Bumped by every secret or lifecycle write; peers reload on a change.",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "providerId",
          "organizationId",
          "teamId",
          "userId",
          "label",
          "authKind",
          "hasSecret",
          "version",
          "connectionProfileId",
          "proxy",
          "metadata",
          "expiresAtMs",
          "refreshExpiresAtMs",
          "status",
          "statusReason",
          "enabled",
          "secret"
        ],
        "type": "object"
      },
      "Output_FailedSteeringSubmission": {
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "input": {
            "$ref": "#/components/schemas/Output_SteerInput"
          },
          "previous_response_id": {
            "type": "string"
          }
        },
        "required": [
          "previous_response_id",
          "input"
        ],
        "type": "object"
      },
      "Output_FallbackCreditStatus": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_FallbackRedeemed"
          },
          {
            "$ref": "#/components/schemas/Output_FallbackNotApplied"
          }
        ]
      },
      "Output_FallbackCreditUsage": {
        "additionalProperties": true,
        "properties": {
          "status": {
            "$ref": "#/components/schemas/Output_FallbackCreditStatus"
          }
        },
        "required": [
          "status"
        ],
        "type": "object"
      },
      "Output_FallbackInfo": {
        "additionalProperties": true,
        "properties": {
          "model": {
            "type": "string"
          }
        },
        "required": [
          "model"
        ],
        "type": "object"
      },
      "Output_FallbackMessageIterationUsage": {
        "additionalProperties": true,
        "properties": {
          "cache_creation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_CacheCreation"
              },
              {
                "type": "null"
              }
            ]
          },
          "cache_creation_input_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "cache_read_input_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "input_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "model": {
            "type": "string"
          },
          "output_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "type": {
            "$ref": "#/components/schemas/Output_FallbackMessageIterationUsageType"
          }
        },
        "required": [
          "type",
          "cache_creation_input_tokens",
          "cache_read_input_tokens",
          "input_tokens",
          "model",
          "output_tokens"
        ],
        "type": "object"
      },
      "Output_FallbackMessageIterationUsageType": {
        "enum": [
          "fallback_message"
        ],
        "type": "string"
      },
      "Output_FallbackNotApplied": {
        "additionalProperties": true,
        "properties": {
          "reason": {
            "$ref": "#/components/schemas/Output_FallbackNotAppliedReason"
          },
          "remove_to_redeem": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_FallbackNotAppliedType"
          }
        },
        "required": [
          "type",
          "reason"
        ],
        "type": "object"
      },
      "Output_FallbackNotAppliedReason": {
        "enum": [
          "body_mismatch",
          "continuation_excluded",
          "continuation_only",
          "expired",
          "invalid_target_model",
          "not_enabled",
          "reprice_unavailable",
          "temporarily_unavailable",
          "variant_fields_present",
          "wrong_organization",
          "wrong_platform",
          "wrong_workspace"
        ],
        "type": "string"
      },
      "Output_FallbackNotAppliedType": {
        "enum": [
          "not_applied"
        ],
        "type": "string"
      },
      "Output_FallbackRedeemed": {
        "additionalProperties": true,
        "properties": {
          "type": {
            "$ref": "#/components/schemas/Output_FallbackRedeemedType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_FallbackRedeemedType": {
        "enum": [
          "redeemed"
        ],
        "type": "string"
      },
      "Output_FallbackRefusalTrigger": {
        "additionalProperties": true,
        "properties": {
          "category": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RefusalCategory"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_FallbackRefusalTriggerType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_FallbackRefusalTriggerType": {
        "enum": [
          "refusal"
        ],
        "type": "string"
      },
      "Output_File": {
        "additionalProperties": true,
        "properties": {
          "createTime": {
            "type": [
              "string",
              "null"
            ]
          },
          "displayName": {
            "type": [
              "string",
              "null"
            ]
          },
          "downloadUri": {
            "type": [
              "string",
              "null"
            ]
          },
          "error": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Status"
              },
              {
                "type": "null"
              }
            ]
          },
          "expirationTime": {
            "type": [
              "string",
              "null"
            ]
          },
          "mimeType": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "sha256Hash": {
            "type": [
              "string",
              "null"
            ]
          },
          "sizeBytes": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_FileSize"
              },
              {
                "type": "null"
              }
            ]
          },
          "source": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_FileSource"
              },
              {
                "type": "null"
              }
            ]
          },
          "state": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_FileState"
              },
              {
                "type": "null"
              }
            ]
          },
          "updateTime": {
            "type": [
              "string",
              "null"
            ]
          },
          "uri": {
            "type": [
              "string",
              "null"
            ]
          },
          "videoMetadata": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_VideoFileMetadata"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_FileAttributeValue": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "number"
          },
          {
            "type": "boolean"
          }
        ]
      },
      "Output_FileCitation": {
        "additionalProperties": true,
        "properties": {
          "file_id": {
            "type": "string"
          },
          "filename": {
            "type": "string"
          },
          "index": {
            "format": "int64",
            "type": "integer"
          },
          "type": {
            "$ref": "#/components/schemas/Output_FileCitationType"
          }
        },
        "required": [
          "file_id",
          "filename",
          "index",
          "type"
        ],
        "type": "object"
      },
      "Output_FileCitationType": {
        "enum": [
          "file_citation"
        ],
        "type": "string"
      },
      "Output_FileData": {
        "additionalProperties": true,
        "properties": {
          "displayName": {
            "type": [
              "string",
              "null"
            ]
          },
          "fileUri": {
            "type": "string"
          },
          "mimeType": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "fileUri"
        ],
        "type": "object"
      },
      "Output_FileDetail": {
        "enum": [
          "auto",
          "low",
          "high"
        ],
        "type": "string"
      },
      "Output_FileMetadata": {
        "additionalProperties": true,
        "properties": {
          "created_at": {
            "type": "string"
          },
          "downloadable": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "expires_at": {
            "type": [
              "string",
              "null"
            ]
          },
          "filename": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "mime_type": {
            "type": "string"
          },
          "scope": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_FileScope"
              },
              {
                "type": "null"
              }
            ]
          },
          "size_bytes": {
            "format": "int64",
            "type": "integer"
          },
          "type": {
            "$ref": "#/components/schemas/Output_FileType"
          }
        },
        "required": [
          "id",
          "created_at",
          "filename",
          "mime_type",
          "size_bytes",
          "type"
        ],
        "type": "object"
      },
      "Output_FileObject": {
        "additionalProperties": true,
        "properties": {
          "bytes": {
            "format": "int64",
            "type": "integer"
          },
          "created_at": {
            "format": "int64",
            "type": "integer"
          },
          "expires_at": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "filename": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "object": {
            "$ref": "#/components/schemas/Output_FileObjectType"
          },
          "purpose": {
            "$ref": "#/components/schemas/Output_FilePurpose"
          },
          "status": {
            "$ref": "#/components/schemas/Output_FileStatus"
          },
          "status_details": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "bytes",
          "created_at",
          "filename",
          "object",
          "purpose",
          "status"
        ],
        "type": "object"
      },
      "Output_FileObjectType": {
        "enum": [
          "file"
        ],
        "type": "string"
      },
      "Output_FilePath": {
        "additionalProperties": true,
        "properties": {
          "file_id": {
            "type": "string"
          },
          "index": {
            "format": "int64",
            "type": "integer"
          },
          "type": {
            "$ref": "#/components/schemas/Output_FilePathType"
          }
        },
        "required": [
          "file_id",
          "index",
          "type"
        ],
        "type": "object"
      },
      "Output_FilePathType": {
        "enum": [
          "file_path"
        ],
        "type": "string"
      },
      "Output_FilePurpose": {
        "enum": [
          "assistants",
          "batch",
          "fine-tune",
          "vision",
          "user_data",
          "assistants_output",
          "batch_output",
          "fine-tune-results"
        ],
        "type": "string"
      },
      "Output_FileScope": {
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_FileScopeType"
          }
        },
        "required": [
          "id",
          "type"
        ],
        "type": "object"
      },
      "Output_FileScopeType": {
        "enum": [
          "session"
        ],
        "type": "string"
      },
      "Output_FileSearchCall": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": "string"
          },
          "queries": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "results": {
            "items": {
              "$ref": "#/components/schemas/Output_FileSearchResult"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "status": {
            "$ref": "#/components/schemas/Output_FileSearchStatus"
          },
          "type": {
            "$ref": "#/components/schemas/Output_FileSearchCallType"
          }
        },
        "required": [
          "type",
          "id",
          "queries",
          "status"
        ],
        "type": "object"
      },
      "Output_FileSearchCallType": {
        "enum": [
          "file_search_call"
        ],
        "type": "string"
      },
      "Output_FileSearchFilter": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_ComparisonFilter"
          },
          {
            "$ref": "#/components/schemas/Output_CompoundFilter"
          }
        ]
      },
      "Output_FileSearchResult": {
        "additionalProperties": true,
        "properties": {
          "attributes": {
            "additionalProperties": {
              "$ref": "#/components/schemas/Output_FileAttributeValue"
            },
            "type": [
              "object",
              "null"
            ]
          },
          "file_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "filename": {
            "type": [
              "string",
              "null"
            ]
          },
          "score": {
            "type": [
              "number",
              "null"
            ]
          },
          "text": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_FileSearchStatus": {
        "enum": [
          "in_progress",
          "searching",
          "completed",
          "incomplete",
          "failed"
        ],
        "type": "string"
      },
      "Output_FileSearchTool": {
        "additionalProperties": true,
        "properties": {
          "filters": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_FileSearchFilter"
              },
              {
                "type": "null"
              }
            ]
          },
          "max_num_results": {
            "type": [
              "number",
              "null"
            ]
          },
          "ranking_options": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RankingOptions"
              },
              {
                "type": "null"
              }
            ]
          },
          "vector_store_ids": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "vector_store_ids"
        ],
        "type": "object"
      },
      "Output_FileSize": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "format": "int64",
            "type": "integer"
          }
        ],
        "description": "ProtoJSON int64 values encode as strings; parsers also accept JSON integers."
      },
      "Output_FileSource": {
        "enum": [
          "SOURCE_UNSPECIFIED",
          "UPLOADED",
          "GENERATED",
          "REGISTERED"
        ],
        "type": "string"
      },
      "Output_FileState": {
        "enum": [
          "STATE_UNSPECIFIED",
          "PROCESSING",
          "ACTIVE",
          "FAILED"
        ],
        "type": "string"
      },
      "Output_FileStatus": {
        "enum": [
          "uploaded",
          "processed",
          "error"
        ],
        "type": "string"
      },
      "Output_FileType": {
        "enum": [
          "file"
        ],
        "type": "string"
      },
      "Output_FilterArrayValue": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "number"
          }
        ]
      },
      "Output_FilterValue": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "number"
          },
          {
            "type": "boolean"
          },
          {
            "items": {
              "$ref": "#/components/schemas/Output_FilterArrayValue"
            },
            "type": "array"
          }
        ]
      },
      "Output_FinishReason": {
        "oneOf": [
          {
            "enum": [
              "FINISH_REASON_UNSPECIFIED",
              "STOP",
              "MAX_TOKENS",
              "SAFETY",
              "RECITATION",
              "LANGUAGE",
              "OTHER",
              "BLOCKLIST",
              "PROHIBITED_CONTENT",
              "SPII",
              "MALFORMED_FUNCTION_CALL",
              "IMAGE_SAFETY",
              "IMAGE_PROHIBITED_CONTENT",
              "IMAGE_OTHER",
              "NO_IMAGE",
              "IMAGE_RECITATION",
              "UNEXPECTED_TOOL_CALL",
              "TOO_MANY_TOOL_CALLS",
              "MISSING_THOUGHT_SIGNATURE",
              "MALFORMED_RESPONSE",
              "ESCALATION",
              "PUP_LIMITED_DISABLED"
            ],
            "type": "string"
          },
          {
            "const": "CONTINUATION",
            "description": "This hop ended, but generation requires another request with its token.",
            "type": "string"
          }
        ]
      },
      "Output_FinishReason2": {
        "enum": [
          "stop",
          "length",
          "tool_calls",
          "content_filter",
          "function_call"
        ],
        "type": "string"
      },
      "Output_FontStatus": {
        "properties": {
          "completed": {
            "format": "uint",
            "minimum": 0,
            "type": "integer"
          },
          "downloading": {
            "type": "boolean"
          },
          "installed": {
            "type": "boolean"
          },
          "total": {
            "format": "uint",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "installed",
          "downloading",
          "completed",
          "total"
        ],
        "type": "object"
      },
      "Output_FunctionCall": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "arguments": {
            "type": "string"
          },
          "async": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "call_id": {
            "type": "string"
          },
          "caller": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Caller"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "namespace": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ItemStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_FunctionCallType"
          }
        },
        "required": [
          "type",
          "arguments",
          "call_id",
          "name"
        ],
        "type": "object"
      },
      "Output_FunctionCall2": {
        "additionalProperties": true,
        "properties": {
          "args": {
            "additionalProperties": true,
            "type": [
              "object",
              "null"
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "Output_FunctionCall3": {
        "additionalProperties": true,
        "properties": {
          "arguments": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "arguments",
          "name"
        ],
        "type": "object"
      },
      "Output_FunctionCallArgumentsDelta": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "delta": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sequence_number",
          "item_id",
          "output_index",
          "delta"
        ],
        "type": "object"
      },
      "Output_FunctionCallArgumentsDone": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "arguments": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sequence_number",
          "item_id",
          "output_index",
          "name",
          "arguments"
        ],
        "type": "object"
      },
      "Output_FunctionCallOutput": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "call_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "caller": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Caller"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "namespace": {
            "type": [
              "string",
              "null"
            ]
          },
          "output": {
            "$ref": "#/components/schemas/Output_FunctionOutput"
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ItemStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_FunctionCallOutputType"
          }
        },
        "required": [
          "type",
          "output"
        ],
        "type": "object"
      },
      "Output_FunctionCallOutputType": {
        "enum": [
          "function_call_output"
        ],
        "type": "string"
      },
      "Output_FunctionCallType": {
        "enum": [
          "function_call"
        ],
        "type": "string"
      },
      "Output_FunctionOutput": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "$ref": "#/components/schemas/Output_FunctionOutputContent"
            },
            "type": "array"
          }
        ]
      },
      "Output_FunctionOutputContent": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_FunctionOutputText"
          },
          {
            "$ref": "#/components/schemas/Output_FunctionOutputImage"
          },
          {
            "$ref": "#/components/schemas/Output_FunctionOutputFile"
          }
        ]
      },
      "Output_FunctionOutputFile": {
        "additionalProperties": true,
        "properties": {
          "detail": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_FileDetail"
              },
              {
                "type": "null"
              }
            ]
          },
          "file_data": {
            "type": [
              "string",
              "null"
            ]
          },
          "file_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "file_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "filename": {
            "type": [
              "string",
              "null"
            ]
          },
          "prompt_cache_breakpoint": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_PromptCacheBreakpoint"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseInputFileType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_FunctionOutputImage": {
        "additionalProperties": true,
        "properties": {
          "detail": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ImageDetail"
              },
              {
                "type": "null"
              }
            ]
          },
          "file_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "image_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "prompt_cache_breakpoint": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_PromptCacheBreakpoint"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseInputImageType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_FunctionOutputText": {
        "additionalProperties": true,
        "properties": {
          "prompt_cache_breakpoint": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_PromptCacheBreakpoint"
              },
              {
                "type": "null"
              }
            ]
          },
          "text": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseInputTextType"
          }
        },
        "required": [
          "type",
          "text"
        ],
        "type": "object"
      },
      "Output_FunctionResponse": {
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "parts": {
            "items": {
              "$ref": "#/components/schemas/Output_FunctionResponsePart"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "response": {
            "additionalProperties": true,
            "type": "object"
          },
          "scheduling": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Scheduling"
              },
              {
                "type": "null"
              }
            ]
          },
          "willContinue": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "required": [
          "name",
          "response"
        ],
        "type": "object"
      },
      "Output_FunctionResponsePart": {
        "additionalProperties": true,
        "properties": {
          "inlineData": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Blob"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_FunctionTool": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Output_AllowedCaller"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "async": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "output_schema": {
            "additionalProperties": true,
            "type": [
              "object",
              "null"
            ]
          },
          "parameters": {
            "additionalProperties": true,
            "type": [
              "object",
              "null"
            ]
          },
          "strict": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "required": [
          "name",
          "parameters",
          "strict"
        ],
        "type": "object"
      },
      "Output_GenerateContentError": {
        "additionalProperties": true,
        "properties": {
          "code": {
            "format": "int64",
            "type": "integer"
          },
          "details": {
            "items": true,
            "type": [
              "array",
              "null"
            ]
          },
          "message": {
            "type": "string"
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "code",
          "message"
        ],
        "type": "object"
      },
      "Output_GenerateContentResponseBody": {
        "additionalProperties": true,
        "properties": {
          "access_programs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ResponseAccessPrograms"
              },
              {
                "type": "null"
              }
            ],
            "description": "Newer API responses report this even when null; older responses omit it."
          },
          "background": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "completed_at": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "conversation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ResponseConversationParam"
              },
              {
                "type": "null"
              }
            ]
          },
          "created_at": {
            "format": "int64",
            "type": "integer"
          },
          "error": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ResponseError"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": "string"
          },
          "incomplete_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ResponseIncompleteDetails"
              },
              {
                "type": "null"
              }
            ]
          },
          "instructions": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Input"
              },
              {
                "type": "null"
              }
            ]
          },
          "max_output_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "max_tool_calls": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "metadata": {
            "additionalProperties": {
              "type": "string"
            },
            "type": [
              "object",
              "null"
            ]
          },
          "model": {
            "type": "string"
          },
          "moderation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ResponseModerationReport"
              },
              {
                "type": "null"
              }
            ]
          },
          "object": {
            "$ref": "#/components/schemas/Output_ResponseObject"
          },
          "output": {
            "items": {
              "$ref": "#/components/schemas/Output_ResponseOutputItem"
            },
            "type": "array"
          },
          "output_text": {
            "type": [
              "string",
              "null"
            ]
          },
          "parallel_tool_calls": {
            "type": "boolean"
          },
          "previous_response_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "prompt": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ResponsePrompt"
              },
              {
                "type": "null"
              }
            ]
          },
          "prompt_cache_diagnostics": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_PromptCacheDiagnostics"
              },
              {
                "type": "null"
              }
            ]
          },
          "prompt_cache_key": {
            "type": [
              "string",
              "null"
            ]
          },
          "prompt_cache_options": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ResponsePromptCacheOptions"
              },
              {
                "type": "null"
              }
            ]
          },
          "prompt_cache_retention": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_PromptCacheRetention"
              },
              {
                "type": "null"
              }
            ]
          },
          "reasoning": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ReasoningConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "safety_identifier": {
            "type": [
              "string",
              "null"
            ]
          },
          "service_tier": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ServiceTier"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ResponseStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "temperature": {
            "type": [
              "number",
              "null"
            ]
          },
          "text": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_TextConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "tool_choice": {
            "$ref": "#/components/schemas/Output_ToolChoice"
          },
          "tools": {
            "items": {
              "$ref": "#/components/schemas/Output_Tool"
            },
            "type": "array"
          },
          "top_logprobs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "top_p": {
            "type": [
              "number",
              "null"
            ]
          },
          "truncation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_GenerateTruncation"
              },
              {
                "type": "null"
              }
            ]
          },
          "usage": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ResponseUsage"
              },
              {
                "type": "null"
              }
            ]
          },
          "user": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "created_at",
          "error",
          "incomplete_details",
          "instructions",
          "metadata",
          "model",
          "object",
          "output",
          "parallel_tool_calls",
          "temperature",
          "tool_choice",
          "tools",
          "top_p"
        ],
        "type": "object"
      },
      "Output_GenerateContentResponseBody2": {
        "additionalProperties": true,
        "properties": {
          "container": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ResponseContainer"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/Output_ResponseContentBlock"
            },
            "type": "array"
          },
          "context_management": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ContextManagementResponse"
              },
              {
                "type": "null"
              }
            ]
          },
          "diagnostics": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_DiagnosticsResponse"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": "string"
          },
          "input_transformations": {
            "items": {
              "$ref": "#/components/schemas/Output_InputTransformation"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "model": {
            "type": "string"
          },
          "role": {
            "$ref": "#/components/schemas/Output_ResponseRole"
          },
          "stop_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RefusalStopDetails"
              },
              {
                "type": "null"
              }
            ]
          },
          "stop_reason": {
            "$ref": "#/components/schemas/Output_StopReason"
          },
          "stop_sequence": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_GenerateContentResponseBodyType"
          },
          "usage": {
            "$ref": "#/components/schemas/Output_Usage"
          }
        },
        "required": [
          "type",
          "id",
          "content",
          "model",
          "role",
          "stop_reason",
          "usage"
        ],
        "type": "object"
      },
      "Output_GenerateContentResponseBody3": {
        "additionalProperties": true,
        "properties": {
          "candidates": {
            "items": {
              "$ref": "#/components/schemas/Output_Candidate"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "error": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_GenerateContentError"
              },
              {
                "type": "null"
              }
            ],
            "description": "A Google API error can arrive as a record inside a successful HTTP stream."
          },
          "modelStatus": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ModelStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "modelVersion": {
            "type": [
              "string",
              "null"
            ]
          },
          "promptFeedback": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_PromptFeedback"
              },
              {
                "type": "null"
              }
            ]
          },
          "responseId": {
            "type": [
              "string",
              "null"
            ]
          },
          "usageMetadata": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_UsageMetadata"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_GenerateContentResponseBody4": {
        "additionalProperties": true,
        "properties": {
          "choices": {
            "items": {
              "$ref": "#/components/schemas/Output_Choice"
            },
            "type": "array"
          },
          "created": {
            "format": "int64",
            "type": "integer"
          },
          "id": {
            "type": "string"
          },
          "model": {
            "type": "string"
          },
          "moderation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ModerationResponse"
              },
              {
                "type": "null"
              }
            ]
          },
          "object": {
            "$ref": "#/components/schemas/Output_CompletionObject"
          },
          "service_tier": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ResponseServiceTier2"
              },
              {
                "type": "null"
              }
            ]
          },
          "system_fingerprint": {
            "type": [
              "string",
              "null"
            ]
          },
          "usage": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Usage2"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "choices",
          "created",
          "model",
          "object"
        ],
        "type": "object"
      },
      "Output_GenerateContentResponseBodyType": {
        "enum": [
          "message"
        ],
        "type": "string"
      },
      "Output_GenerateTruncation": {
        "enum": [
          "auto",
          "disabled"
        ],
        "type": "string"
      },
      "Output_GeneratedImage": {
        "additionalProperties": true,
        "properties": {
          "b64_json": {
            "type": [
              "string",
              "null"
            ]
          },
          "revised_prompt": {
            "type": [
              "string",
              "null"
            ]
          },
          "url": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_GoAway": {
        "additionalProperties": true,
        "properties": {
          "timeLeft": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_GrammarFormat": {
        "additionalProperties": true,
        "properties": {
          "definition": {
            "type": "string"
          },
          "syntax": {
            "$ref": "#/components/schemas/Output_GrammarSyntax"
          },
          "type": {
            "$ref": "#/components/schemas/Output_GrammarFormatType"
          }
        },
        "required": [
          "definition",
          "syntax",
          "type"
        ],
        "type": "object"
      },
      "Output_GrammarFormatType": {
        "enum": [
          "grammar"
        ],
        "type": "string"
      },
      "Output_GrammarSyntax": {
        "enum": [
          "lark",
          "regex"
        ],
        "type": "string"
      },
      "Output_GroundingAttribution": {
        "additionalProperties": true,
        "properties": {
          "content": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Content"
              },
              {
                "type": "null"
              }
            ]
          },
          "sourceId": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_AttributionSourceId"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_GroundingChunk": {
        "additionalProperties": true,
        "properties": {
          "image": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Image"
              },
              {
                "type": "null"
              }
            ]
          },
          "maps": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Maps"
              },
              {
                "type": "null"
              }
            ]
          },
          "retrievedContext": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RetrievedContext"
              },
              {
                "type": "null"
              }
            ]
          },
          "web": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Web"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_GroundingMetadata": {
        "additionalProperties": true,
        "properties": {
          "googleMapsWidgetContextToken": {
            "type": [
              "string",
              "null"
            ]
          },
          "groundingChunks": {
            "items": {
              "$ref": "#/components/schemas/Output_GroundingChunk"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "groundingSupports": {
            "items": {
              "$ref": "#/components/schemas/Output_GroundingSupport"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "imageSearchQueries": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "retrievalMetadata": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RetrievalMetadata"
              },
              {
                "type": "null"
              }
            ]
          },
          "searchEntryPoint": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_SearchEntryPoint"
              },
              {
                "type": "null"
              }
            ]
          },
          "webSearchQueries": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_GroundingPassageId": {
        "additionalProperties": true,
        "properties": {
          "partIndex": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "passageId": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_GroundingSupport": {
        "additionalProperties": true,
        "properties": {
          "confidenceScores": {
            "items": {
              "format": "double",
              "type": "number"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "groundingChunkIndices": {
            "items": {
              "format": "int64",
              "type": "integer"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "renderedParts": {
            "items": {
              "format": "int64",
              "type": "integer"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "segment": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Segment"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_GuardianModelPolicy": {
        "additionalProperties": true,
        "properties": {
          "computer_use": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_GuardianReviewMode"
              },
              {
                "type": "null"
              }
            ]
          },
          "file_changes": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_GuardianReviewMode"
              },
              {
                "type": "null"
              }
            ]
          },
          "initial_cua_call": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "mcp": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_GuardianReviewMode"
              },
              {
                "type": "null"
              }
            ]
          },
          "network": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_GuardianReviewMode"
              },
              {
                "type": "null"
              }
            ]
          },
          "other_tools": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_GuardianReviewMode"
              },
              {
                "type": "null"
              }
            ]
          },
          "permissions": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_GuardianReviewMode"
              },
              {
                "type": "null"
              }
            ]
          },
          "sandboxed_exec_commands": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "shell": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_GuardianReviewMode"
              },
              {
                "type": "null"
              }
            ]
          },
          "unscored_action": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_GuardianUnscoredAction"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_GuardianReviewMode": {
        "anyOf": [
          {
            "enum": [
              "disabled",
              "synchronous",
              "adaptive"
            ],
            "type": "string"
          },
          {
            "type": "string"
          }
        ]
      },
      "Output_GuardianUnscoredAction": {
        "anyOf": [
          {
            "enum": [
              "ignore",
              "age_score",
              "invalidate_score"
            ],
            "type": "string"
          },
          {
            "type": "string"
          }
        ]
      },
      "Output_GuardianV2ModelConfig": {
        "additionalProperties": true,
        "properties": {
          "async_classifier_conversation_token_limit": {
            "format": "uint",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "async_classifier_mode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_AsyncClassifierMode"
              },
              {
                "type": "null"
              }
            ]
          },
          "classifier_instructions": {
            "type": [
              "string",
              "null"
            ]
          },
          "max_action_tokens": {
            "format": "uint",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "max_classifier_instruction_tokens": {
            "format": "uint",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "max_parent_compaction_tokens": {
            "format": "uint",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "max_tool_call_lag": {
            "format": "uint",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "reasoning_effort": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ModelReasoningEffort"
              },
              {
                "type": "null"
              }
            ]
          },
          "reuse_parent_compaction": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "review_threshold_basis_points": {
            "format": "uint16",
            "maximum": 65535,
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "transcript": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_GuardianV2TranscriptModelConfig"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_GuardianV2TranscriptModelConfig": {
        "additionalProperties": true,
        "properties": {
          "include_images": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "max_message_entry_tokens": {
            "format": "uint",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "max_message_transcript_tokens": {
            "format": "uint",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "max_recent_non_user_entries": {
            "format": "uint",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "max_tool_entry_tokens": {
            "format": "uint",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "max_tool_transcript_tokens": {
            "format": "uint",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "sources": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_HarmCategory": {
        "enum": [
          "HARM_CATEGORY_UNSPECIFIED",
          "HARM_CATEGORY_HARASSMENT",
          "HARM_CATEGORY_HATE_SPEECH",
          "HARM_CATEGORY_SEXUALLY_EXPLICIT",
          "HARM_CATEGORY_DANGEROUS_CONTENT",
          "HARM_CATEGORY_CIVIC_INTEGRITY",
          "HARM_CATEGORY_DEROGATORY",
          "HARM_CATEGORY_TOXICITY",
          "HARM_CATEGORY_VIOLENCE",
          "HARM_CATEGORY_SEXUAL",
          "HARM_CATEGORY_MEDICAL",
          "HARM_CATEGORY_DANGEROUS",
          "HARM_CATEGORY_JAILBREAK"
        ],
        "type": "string"
      },
      "Output_HarmProbability": {
        "enum": [
          "HARM_PROBABILITY_UNSPECIFIED",
          "NEGLIGIBLE",
          "LOW",
          "MEDIUM",
          "HIGH"
        ],
        "type": "string"
      },
      "Output_HistoryDeleted": {
        "description": "How many history rows a deletion removed.",
        "properties": {
          "deleted": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "deleted"
        ],
        "type": "object"
      },
      "Output_HybridSearch": {
        "additionalProperties": true,
        "properties": {
          "embedding_weight": {
            "type": "number"
          },
          "text_weight": {
            "type": "number"
          }
        },
        "required": [
          "embedding_weight",
          "text_weight"
        ],
        "type": "object"
      },
      "Output_Image": {
        "additionalProperties": true,
        "properties": {
          "domain": {
            "type": [
              "string",
              "null"
            ]
          },
          "imageUri": {
            "type": [
              "string",
              "null"
            ]
          },
          "sourceUri": {
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_ImageAction": {
        "enum": [
          "generate",
          "edit",
          "auto"
        ],
        "type": "string"
      },
      "Output_ImageBackground": {
        "enum": [
          "transparent",
          "opaque",
          "auto"
        ],
        "type": "string"
      },
      "Output_ImageBackground2": {
        "enum": [
          "transparent",
          "opaque",
          "auto"
        ],
        "type": "string"
      },
      "Output_ImageCall": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "item_id": {
            "type": "string"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sequence_number",
          "item_id",
          "output_index"
        ],
        "type": "object"
      },
      "Output_ImageCompletedEvent": {
        "additionalProperties": true,
        "properties": {
          "b64_json": {
            "type": "string"
          },
          "background": {
            "$ref": "#/components/schemas/Output_ImageBackground2"
          },
          "created_at": {
            "format": "int64",
            "type": "integer"
          },
          "output_format": {
            "$ref": "#/components/schemas/Output_ImageOutputFormat2"
          },
          "quality": {
            "$ref": "#/components/schemas/Output_StreamImageQuality"
          },
          "size": {
            "type": "string"
          },
          "usage": {
            "$ref": "#/components/schemas/Output_ImageUsage"
          }
        },
        "required": [
          "b64_json",
          "background",
          "created_at",
          "output_format",
          "quality",
          "size",
          "usage"
        ],
        "type": "object"
      },
      "Output_ImageDetail": {
        "enum": [
          "low",
          "high",
          "auto",
          "original"
        ],
        "type": "string"
      },
      "Output_ImageDetail2": {
        "description": "Source: `openai/types/responses/image_detail.py`, `ImageDetail`.",
        "enum": [
          "low",
          "high",
          "auto",
          "original"
        ],
        "type": "string"
      },
      "Output_ImageEditStreamEvent": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Output_ImagePartialEvent",
            "properties": {
              "type": {
                "const": "image_edit.partial_image",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ImageCompletedEvent",
            "properties": {
              "type": {
                "const": "image_edit.completed",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Output_ImageGenerationCall": {
        "additionalProperties": true,
        "properties": {
          "action": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ImageAction"
              },
              {
                "type": "null"
              }
            ]
          },
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "background": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ImageBackground"
              },
              {
                "type": "null"
              }
            ]
          },
          "error": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ImageGenerationCallError"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": "string"
          },
          "output_format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ImageOutputFormat"
              },
              {
                "type": "null"
              }
            ]
          },
          "quality": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ImageQuality"
              },
              {
                "type": "null"
              }
            ]
          },
          "result": {
            "type": [
              "string",
              "null"
            ]
          },
          "revised_prompt": {
            "type": [
              "string",
              "null"
            ]
          },
          "size": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "$ref": "#/components/schemas/Output_ImageGenerationStatus"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ImageGenerationCallType"
          }
        },
        "required": [
          "type",
          "id",
          "result",
          "status"
        ],
        "type": "object"
      },
      "Output_ImageGenerationCallError": {
        "additionalProperties": true,
        "properties": {
          "code": {
            "type": [
              "string",
              "null"
            ]
          },
          "message": {
            "type": "string"
          },
          "moderation_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ImageModerationDetails"
              },
              {
                "type": "null"
              }
            ]
          },
          "param": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "message",
          "param",
          "type"
        ],
        "type": "object"
      },
      "Output_ImageGenerationCallType": {
        "enum": [
          "image_generation_call"
        ],
        "type": "string"
      },
      "Output_ImageGenerationStatus": {
        "enum": [
          "in_progress",
          "completed",
          "generating",
          "failed"
        ],
        "type": "string"
      },
      "Output_ImageGenerationStreamEvent": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Output_ImagePartialEvent",
            "properties": {
              "type": {
                "const": "image_generation.partial_image",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ImageCompletedEvent",
            "properties": {
              "type": {
                "const": "image_generation.completed",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Output_ImageGenerationTool": {
        "additionalProperties": true,
        "properties": {
          "action": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ImageAction"
              },
              {
                "type": "null"
              }
            ]
          },
          "background": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ImageBackground"
              },
              {
                "type": "null"
              }
            ]
          },
          "input_fidelity": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_InputFidelity"
              },
              {
                "type": "null"
              }
            ]
          },
          "input_image_mask": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_InputImageMask"
              },
              {
                "type": "null"
              }
            ]
          },
          "model": {
            "type": [
              "string",
              "null"
            ]
          },
          "moderation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Moderation"
              },
              {
                "type": "null"
              }
            ]
          },
          "output_compression": {
            "type": [
              "number",
              "null"
            ]
          },
          "output_format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ImageOutputFormat"
              },
              {
                "type": "null"
              }
            ]
          },
          "partial_images": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "quality": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ImageQuality"
              },
              {
                "type": "null"
              }
            ]
          },
          "size": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_ImageModerationDetails": {
        "additionalProperties": true,
        "properties": {
          "categories": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "moderation_stage": {
            "$ref": "#/components/schemas/Output_ImageModerationStage"
          }
        },
        "required": [
          "categories",
          "moderation_stage"
        ],
        "type": "object"
      },
      "Output_ImageModerationStage": {
        "enum": [
          "input",
          "output",
          "unknown"
        ],
        "type": "string"
      },
      "Output_ImageOutputFormat": {
        "enum": [
          "png",
          "webp",
          "jpeg"
        ],
        "type": "string"
      },
      "Output_ImageOutputFormat2": {
        "enum": [
          "png",
          "jpeg",
          "webp"
        ],
        "type": "string"
      },
      "Output_ImagePartial": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "item_id": {
            "type": "string"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "partial_image_b64": {
            "type": "string"
          },
          "partial_image_index": {
            "format": "int64",
            "type": "integer"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sequence_number",
          "item_id",
          "output_index",
          "partial_image_index",
          "partial_image_b64"
        ],
        "type": "object"
      },
      "Output_ImagePartialEvent": {
        "additionalProperties": true,
        "properties": {
          "b64_json": {
            "type": "string"
          },
          "background": {
            "$ref": "#/components/schemas/Output_ImageBackground2"
          },
          "created_at": {
            "format": "int64",
            "type": "integer"
          },
          "output_format": {
            "$ref": "#/components/schemas/Output_ImageOutputFormat2"
          },
          "partial_image_index": {
            "format": "int64",
            "type": "integer"
          },
          "quality": {
            "$ref": "#/components/schemas/Output_StreamImageQuality"
          },
          "size": {
            "type": "string"
          }
        },
        "required": [
          "b64_json",
          "background",
          "created_at",
          "output_format",
          "partial_image_index",
          "quality",
          "size"
        ],
        "type": "object"
      },
      "Output_ImageQuality": {
        "enum": [
          "xhigh",
          "max",
          "low",
          "medium",
          "high",
          "auto"
        ],
        "type": "string"
      },
      "Output_ImageTokenDetails": {
        "additionalProperties": true,
        "properties": {
          "image_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "text_tokens": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "image_tokens",
          "text_tokens"
        ],
        "type": "object"
      },
      "Output_ImageUsage": {
        "additionalProperties": true,
        "properties": {
          "input_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "input_tokens_details": {
            "$ref": "#/components/schemas/Output_ImageTokenDetails"
          },
          "output_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "output_tokens_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ImageTokenDetails"
              },
              {
                "type": "null"
              }
            ]
          },
          "total_tokens": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "input_tokens",
          "input_tokens_details",
          "output_tokens",
          "total_tokens"
        ],
        "type": "object"
      },
      "Output_ImagesResponse": {
        "additionalProperties": true,
        "properties": {
          "background": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_OutputImageBackground"
              },
              {
                "type": "null"
              }
            ]
          },
          "created": {
            "format": "int64",
            "type": "integer"
          },
          "data": {
            "items": {
              "$ref": "#/components/schemas/Output_GeneratedImage"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "output_format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ImageOutputFormat2"
              },
              {
                "type": "null"
              }
            ]
          },
          "quality": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_OutputImageQuality"
              },
              {
                "type": "null"
              }
            ]
          },
          "size": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_OutputImageSize"
              },
              {
                "type": "null"
              }
            ]
          },
          "usage": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ImageUsage"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "created"
        ],
        "type": "object"
      },
      "Output_ImportReportDto": {
        "description": "What one import did. The counters are rows, across every kind; the warnings\nare the things that were silently changed rather than refused, which is the\nonly place a caller learns that a credential arrived unusable.",
        "properties": {
          "created": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "credentialsResealed": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "credentialsSkipped": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "skipped": {
            "description": "Rows the document named that were not written, which today is exactly\nthe credentials whose secret could not be opened. What `Replace`\ndeleted is reported as a warning instead: a removal is not a skip.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "updated": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "warnings": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "created",
          "updated",
          "skipped",
          "credentialsResealed",
          "credentialsSkipped",
          "warnings"
        ],
        "type": "object"
      },
      "Output_IndirectDescriptionPrefixes": {
        "additionalProperties": true,
        "properties": {
          "mcp_servers": {
            "additionalProperties": {
              "type": "string"
            },
            "type": [
              "object",
              "null"
            ]
          },
          "namespaces": {
            "additionalProperties": {
              "type": "string"
            },
            "type": [
              "object",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_InjectCreated": {
        "additionalProperties": true,
        "properties": {
          "response_id": {
            "type": "string"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sequence_number",
          "response_id"
        ],
        "type": "object"
      },
      "Output_InjectError": {
        "additionalProperties": true,
        "properties": {
          "code": {
            "$ref": "#/components/schemas/Output_InjectErrorCode"
          },
          "message": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "message"
        ],
        "type": "object"
      },
      "Output_InjectErrorCode": {
        "enum": [
          "response_already_completed",
          "response_not_found"
        ],
        "type": "string"
      },
      "Output_InjectFailed": {
        "additionalProperties": true,
        "properties": {
          "error": {
            "$ref": "#/components/schemas/Output_InjectError"
          },
          "input": {
            "items": {
              "$ref": "#/components/schemas/Output_InputItem"
            },
            "type": "array"
          },
          "response_id": {
            "type": "string"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sequence_number",
          "response_id",
          "input",
          "error"
        ],
        "type": "object"
      },
      "Output_InjectionEvent": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Output_InjectCreated",
            "properties": {
              "type": {
                "const": "response.inject.created",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_InjectFailed",
            "properties": {
              "type": {
                "const": "response.inject.failed",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Output_InlineSkill": {
        "additionalProperties": true,
        "properties": {
          "description": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Output_InlineSkillSource"
          },
          "type": {
            "$ref": "#/components/schemas/Output_InlineSkillType"
          }
        },
        "required": [
          "description",
          "name",
          "source",
          "type"
        ],
        "type": "object"
      },
      "Output_InlineSkillSource": {
        "additionalProperties": true,
        "properties": {
          "data": {
            "type": "string"
          },
          "media_type": {
            "$ref": "#/components/schemas/Output_ZipMediaType"
          },
          "type": {
            "$ref": "#/components/schemas/Output_Base64SourceType"
          }
        },
        "required": [
          "data",
          "media_type",
          "type"
        ],
        "type": "object"
      },
      "Output_InlineSkillType": {
        "enum": [
          "inline"
        ],
        "type": "string"
      },
      "Output_Input": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "$ref": "#/components/schemas/Output_InputItem"
            },
            "type": "array"
          }
        ]
      },
      "Output_InputAudioBufferClearedEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/input_audio_buffer_cleared_event.py`, `InputAudioBufferClearedEvent`.",
        "properties": {
          "event_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_InputAudioBufferClearedEventType"
          }
        },
        "required": [
          "event_id",
          "type"
        ],
        "type": "object"
      },
      "Output_InputAudioBufferClearedEventType": {
        "enum": [
          "input_audio_buffer.cleared"
        ],
        "type": "string"
      },
      "Output_InputAudioBufferCommittedEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/input_audio_buffer_committed_event.py`, `InputAudioBufferCommittedEvent`.",
        "properties": {
          "event_id": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "previous_item_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_InputAudioBufferCommittedEventType"
          }
        },
        "required": [
          "event_id",
          "item_id",
          "type"
        ],
        "type": "object"
      },
      "Output_InputAudioBufferCommittedEventType": {
        "enum": [
          "input_audio_buffer.committed"
        ],
        "type": "string"
      },
      "Output_InputAudioBufferDtmfEventReceivedEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/input_audio_buffer_dtmf_event_received_event.py`, `InputAudioBufferDtmfEventReceivedEvent`.",
        "properties": {
          "event": {
            "type": "string"
          },
          "received_at": {
            "format": "int64",
            "type": "integer"
          },
          "type": {
            "$ref": "#/components/schemas/Output_InputAudioBufferDtmfEventReceivedEventType"
          }
        },
        "required": [
          "event",
          "received_at",
          "type"
        ],
        "type": "object"
      },
      "Output_InputAudioBufferDtmfEventReceivedEventType": {
        "enum": [
          "input_audio_buffer.dtmf_event_received"
        ],
        "type": "string"
      },
      "Output_InputAudioBufferSpeechStartedEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/input_audio_buffer_speech_started_event.py`, `InputAudioBufferSpeechStartedEvent`.",
        "properties": {
          "audio_start_ms": {
            "format": "int64",
            "type": "integer"
          },
          "event_id": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_InputAudioBufferSpeechStartedEventType"
          }
        },
        "required": [
          "audio_start_ms",
          "event_id",
          "item_id",
          "type"
        ],
        "type": "object"
      },
      "Output_InputAudioBufferSpeechStartedEventType": {
        "enum": [
          "input_audio_buffer.speech_started"
        ],
        "type": "string"
      },
      "Output_InputAudioBufferSpeechStoppedEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/input_audio_buffer_speech_stopped_event.py`, `InputAudioBufferSpeechStoppedEvent`.",
        "properties": {
          "audio_end_ms": {
            "format": "int64",
            "type": "integer"
          },
          "event_id": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_InputAudioBufferSpeechStoppedEventType"
          }
        },
        "required": [
          "audio_end_ms",
          "event_id",
          "item_id",
          "type"
        ],
        "type": "object"
      },
      "Output_InputAudioBufferSpeechStoppedEventType": {
        "enum": [
          "input_audio_buffer.speech_stopped"
        ],
        "type": "string"
      },
      "Output_InputAudioBufferTimeoutTriggered": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/input_audio_buffer_timeout_triggered.py`, `InputAudioBufferTimeoutTriggered`.",
        "properties": {
          "audio_end_ms": {
            "format": "int64",
            "type": "integer"
          },
          "audio_start_ms": {
            "format": "int64",
            "type": "integer"
          },
          "event_id": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_InputAudioBufferTimeoutTriggeredType"
          }
        },
        "required": [
          "audio_end_ms",
          "audio_start_ms",
          "event_id",
          "item_id",
          "type"
        ],
        "type": "object"
      },
      "Output_InputAudioBufferTimeoutTriggeredType": {
        "enum": [
          "input_audio_buffer.timeout_triggered"
        ],
        "type": "string"
      },
      "Output_InputContent": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_ResponseInputText"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseInputImage"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseInputFile"
          }
        ]
      },
      "Output_InputFidelity": {
        "enum": [
          "low",
          "high"
        ],
        "type": "string"
      },
      "Output_InputImageMask": {
        "additionalProperties": true,
        "properties": {
          "file_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "image_url": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_InputItem": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_MultiAgentCall"
          },
          {
            "$ref": "#/components/schemas/Output_MultiAgentCallOutput"
          },
          {
            "$ref": "#/components/schemas/Output_AgentMessage"
          },
          {
            "$ref": "#/components/schemas/Output_ConfigurationUpdate"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseOutputMessage"
          },
          {
            "$ref": "#/components/schemas/Output_InputMessage"
          },
          {
            "$ref": "#/components/schemas/Output_EasyInputMessage"
          },
          {
            "$ref": "#/components/schemas/Output_FunctionCall"
          },
          {
            "$ref": "#/components/schemas/Output_FunctionCallOutput"
          },
          {
            "$ref": "#/components/schemas/Output_ReasoningItem"
          },
          {
            "$ref": "#/components/schemas/Output_ItemReference"
          },
          {
            "$ref": "#/components/schemas/Output_Compaction"
          },
          {
            "$ref": "#/components/schemas/Output_ComputerCall"
          },
          {
            "$ref": "#/components/schemas/Output_ComputerCallOutput"
          },
          {
            "$ref": "#/components/schemas/Output_WebSearchCall"
          },
          {
            "$ref": "#/components/schemas/Output_FileSearchCall"
          },
          {
            "$ref": "#/components/schemas/Output_ImageGenerationCall"
          },
          {
            "$ref": "#/components/schemas/Output_CodeInterpreterCall"
          },
          {
            "$ref": "#/components/schemas/Output_CustomToolCall"
          },
          {
            "$ref": "#/components/schemas/Output_CustomToolCallOutput"
          },
          {
            "$ref": "#/components/schemas/Output_ToolSearchCall"
          },
          {
            "$ref": "#/components/schemas/Output_ToolSearchOutput"
          },
          {
            "$ref": "#/components/schemas/Output_AdditionalTools"
          },
          {
            "$ref": "#/components/schemas/Output_LocalShellCall"
          },
          {
            "$ref": "#/components/schemas/Output_LocalShellCallOutput"
          },
          {
            "$ref": "#/components/schemas/Output_ShellCall"
          },
          {
            "$ref": "#/components/schemas/Output_ShellCallOutput"
          },
          {
            "$ref": "#/components/schemas/Output_ApplyPatchCall"
          },
          {
            "$ref": "#/components/schemas/Output_ApplyPatchCallOutput"
          },
          {
            "$ref": "#/components/schemas/Output_McpListTools"
          },
          {
            "$ref": "#/components/schemas/Output_McpApprovalRequest"
          },
          {
            "$ref": "#/components/schemas/Output_McpApprovalResponse"
          },
          {
            "$ref": "#/components/schemas/Output_McpCall"
          },
          {
            "$ref": "#/components/schemas/Output_CompactionTrigger"
          },
          {
            "$ref": "#/components/schemas/Output_Program"
          },
          {
            "$ref": "#/components/schemas/Output_ProgramOutput"
          }
        ]
      },
      "Output_InputJsonDelta": {
        "additionalProperties": true,
        "properties": {
          "partial_json": {
            "type": "string"
          }
        },
        "required": [
          "partial_json"
        ],
        "type": "object"
      },
      "Output_InputMessage": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/Output_InputContent"
            },
            "type": "array"
          },
          "role": {
            "$ref": "#/components/schemas/Output_InputMessageRole"
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_OutputMessageStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_MessageType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "content",
          "role"
        ],
        "type": "object"
      },
      "Output_InputMessageRole": {
        "enum": [
          "user",
          "system",
          "developer"
        ],
        "type": "string"
      },
      "Output_InputTransformation": {
        "additionalProperties": true,
        "properties": {
          "path": {
            "type": "string"
          },
          "reason": {
            "$ref": "#/components/schemas/Output_ThinkingBindingMismatchReason"
          },
          "type": {
            "$ref": "#/components/schemas/Output_InputTransformationType"
          }
        },
        "required": [
          "type",
          "path",
          "reason"
        ],
        "type": "object"
      },
      "Output_InputTransformationType": {
        "enum": [
          "thinking_dropped",
          "thinking_mismatch_allowed",
          "unknown"
        ],
        "type": "string"
      },
      "Output_InstanceSettingsDto": {
        "additionalProperties": false,
        "description": "Identity, network, execution limits and maintenance. `config_revision` is\nread-only: it is the write path's own counter.",
        "properties": {
          "allowedHeaders": {
            "default": []
          },
          "alwaysSecureCookie": {
            "default": false,
            "description": "Absent in an export from a build without it, which reads as off.",
            "type": "boolean"
          },
          "capturePayloadMaxMb": {
            "default": 2048,
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "capturePayloadRetentionDays": {
            "default": 7,
            "format": "uint32",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "configRevision": {
            "format": "int64",
            "type": "integer"
          },
          "connectionProfileId": {
            "type": [
              "string",
              "null"
            ]
          },
          "corsOrigins": true,
          "defaultVocabularyFileId": {
            "type": [
              "string",
              "null"
            ]
          },
          "enableAutoUpdateCheck": {
            "type": "boolean"
          },
          "enableSettlement": {
            "type": "boolean"
          },
          "enableTokenizerDownload": {
            "type": "boolean"
          },
          "enableTokenizerVocabs": {
            "type": "boolean"
          },
          "enableUsage": {
            "type": "boolean"
          },
          "hasTokenizerAuthToken": {
            "description": "The vocabulary source token is sealed like a credential secret; only\nits presence is reported.",
            "type": "boolean"
          },
          "instanceName": {
            "type": "string"
          },
          "maxAttempts": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "maxDatabaseSizeMb": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "maxMultipartParts": {
            "default": 64,
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "maxRequestBodyBytes": {
            "default": 52428800,
            "format": "int64",
            "type": "integer"
          },
          "maxResponseBodyBytes": {
            "default": 268435456,
            "format": "int64",
            "type": "integer"
          },
          "maxStreamEventBytes": {
            "default": 33554432,
            "format": "int64",
            "type": "integer"
          },
          "maxUploadBodyBytes": {
            "default": 536870912,
            "format": "int64",
            "type": "integer"
          },
          "maxWsFrameBytes": {
            "default": 33554432,
            "format": "int64",
            "type": "integer"
          },
          "oauthClientAllowlist": true,
          "portalRecentRequestsEnabled": {
            "type": "boolean"
          },
          "proxy": {
            "default": null
          },
          "quotaObservationRetentionDays": {
            "default": 90,
            "description": "Days of upstream quota observations to keep; None keeps them all.\nCycles are never pruned. Absent in an older export, which reads as\nthe 90-day default.",
            "format": "uint32",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "requestTimeoutMs": {
            "default": 1200000,
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "retentionDays": {
            "description": "Days of completed request captures to keep; None keeps them all.",
            "format": "uint32",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "streamIdleTimeoutMs": {
            "default": 300000,
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "trustedProxies": true,
          "updateChannel": {
            "type": [
              "string",
              "null"
            ]
          },
          "updateSource": {
            "type": [
              "string",
              "null"
            ]
          },
          "updateVerifySignature": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "usageRetentionDays": {
            "default": null,
            "description": "Days of usage records to keep; None keeps them all. Usage statistics\nand totals are computed from these. Absent in an older export, which\nreads as keeping everything.",
            "format": "uint32",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "instanceName",
          "allowedHeaders",
          "oauthClientAllowlist",
          "connectionProfileId",
          "proxy",
          "corsOrigins",
          "trustedProxies",
          "alwaysSecureCookie",
          "maxAttempts",
          "enableSettlement",
          "enableUsage",
          "configRevision",
          "requestTimeoutMs",
          "streamIdleTimeoutMs",
          "maxRequestBodyBytes",
          "maxUploadBodyBytes",
          "maxResponseBodyBytes",
          "maxStreamEventBytes",
          "maxWsFrameBytes",
          "maxMultipartParts",
          "enableTokenizerVocabs",
          "enableTokenizerDownload",
          "defaultVocabularyFileId",
          "hasTokenizerAuthToken",
          "retentionDays",
          "usageRetentionDays",
          "capturePayloadRetentionDays",
          "capturePayloadMaxMb",
          "quotaObservationRetentionDays",
          "maxDatabaseSizeMb",
          "updateChannel",
          "updateSource",
          "updateVerifySignature",
          "enableAutoUpdateCheck",
          "portalRecentRequestsEnabled"
        ],
        "type": "object"
      },
      "Output_InteractionStatus": {
        "enum": [
          "INTERACTION_STATUS_UNSPECIFIED",
          "IN_PROGRESS",
          "REQUIRES_ACTION",
          "IDLE"
        ],
        "type": "string"
      },
      "Output_InterruptEvent": {
        "oneOf": [
          {
            "properties": {
              "response_id": {
                "type": "string"
              },
              "sequence_number": {
                "format": "int64",
                "type": "integer"
              },
              "type": {
                "const": "response.interrupt.accepted",
                "type": "string"
              }
            },
            "required": [
              "type",
              "response_id",
              "sequence_number"
            ],
            "type": "object"
          },
          {
            "properties": {
              "item_id": {
                "type": "string"
              },
              "output_index": {
                "format": "int64",
                "type": "integer"
              },
              "response_id": {
                "type": "string"
              },
              "sequence_number": {
                "format": "int64",
                "type": "integer"
              },
              "type": {
                "const": "response.output_item.interrupted",
                "type": "string"
              }
            },
            "required": [
              "type",
              "response_id",
              "item_id",
              "output_index",
              "sequence_number"
            ],
            "type": "object"
          }
        ]
      },
      "Output_ItemReference": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": "string"
          },
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ItemReferenceType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id"
        ],
        "type": "object"
      },
      "Output_ItemReferenceType": {
        "enum": [
          "item_reference"
        ],
        "type": "string"
      },
      "Output_ItemStatus": {
        "enum": [
          "in_progress",
          "completed",
          "incomplete"
        ],
        "type": "string"
      },
      "Output_IterationUsage": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_MessageIterationUsage"
          },
          {
            "$ref": "#/components/schemas/Output_CompactionIterationUsage"
          },
          {
            "$ref": "#/components/schemas/Output_AdvisorMessageIterationUsage"
          },
          {
            "$ref": "#/components/schemas/Output_FallbackMessageIterationUsage"
          }
        ]
      },
      "Output_JsonSchema": {
        "additionalProperties": true,
        "properties": {
          "$anchor": {
            "type": [
              "string",
              "null"
            ]
          },
          "$comment": {
            "type": [
              "string",
              "null"
            ]
          },
          "$defs": true,
          "$dynamicAnchor": {
            "type": [
              "string",
              "null"
            ]
          },
          "$dynamicRef": {
            "type": [
              "string",
              "null"
            ]
          },
          "$id": {
            "type": [
              "string",
              "null"
            ]
          },
          "$ref": {
            "type": [
              "string",
              "null"
            ]
          },
          "$schema": {
            "type": [
              "string",
              "null"
            ]
          },
          "additionalProperties": true,
          "allOf": {
            "items": true,
            "type": [
              "array",
              "null"
            ]
          },
          "anyOf": {
            "items": true,
            "type": [
              "array",
              "null"
            ]
          },
          "const": true,
          "default": true,
          "definitions": true,
          "dependencies": true,
          "dependentRequired": true,
          "dependentSchemas": true,
          "deprecated": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "else": true,
          "enum": {
            "items": true,
            "type": [
              "array",
              "null"
            ]
          },
          "examples": {
            "items": true,
            "type": [
              "array",
              "null"
            ]
          },
          "if": true,
          "maxProperties": {
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "minProperties": {
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "not": true,
          "oneOf": {
            "items": true,
            "type": [
              "array",
              "null"
            ]
          },
          "patternProperties": true,
          "properties": true,
          "propertyNames": true,
          "readOnly": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "required": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "then": true,
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_JsonSchemaType"
          },
          "unevaluatedProperties": true,
          "writeOnly": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_JsonSchemaType": {
        "enum": [
          "object"
        ],
        "type": "string"
      },
      "Output_KeypressAction": {
        "additionalProperties": true,
        "properties": {
          "keys": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "keys"
        ],
        "type": "object"
      },
      "Output_Language": {
        "enum": [
          "LANGUAGE_UNSPECIFIED",
          "PYTHON"
        ],
        "type": "string"
      },
      "Output_ListFilesResponseBody": {
        "additionalProperties": true,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/Output_FileObject"
            },
            "type": "array"
          },
          "first_id": {
            "type": "string"
          },
          "has_more": {
            "type": "boolean"
          },
          "last_id": {
            "type": "string"
          },
          "object": {
            "type": "string"
          }
        },
        "required": [
          "object",
          "data",
          "has_more",
          "first_id",
          "last_id"
        ],
        "type": "object"
      },
      "Output_ListFilesResponseBody2": {
        "additionalProperties": true,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/Output_FileMetadata"
            },
            "type": "array"
          },
          "first_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "has_more": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "last_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "next_page": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "Output_ListFilesResponseBody3": {
        "additionalProperties": true,
        "properties": {
          "files": {
            "items": {
              "$ref": "#/components/schemas/Output_File"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "nextPageToken": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_ListModelsResponseBody": {
        "additionalProperties": true,
        "properties": {
          "data": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Output_Model"
            },
            "type": "array"
          },
          "models": {
            "items": {
              "$ref": "#/components/schemas/Output_Model"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "object": {
            "$ref": "#/components/schemas/Output_ListObject",
            "default": "list"
          }
        },
        "required": [
          "data",
          "object"
        ],
        "type": "object"
      },
      "Output_ListModelsResponseBody2": {
        "additionalProperties": true,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/Output_ModelInfo"
            },
            "type": "array"
          },
          "first_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "has_more": {
            "type": "boolean"
          },
          "last_id": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "first_id",
          "has_more",
          "last_id"
        ],
        "type": "object"
      },
      "Output_ListModelsResponseBody3": {
        "additionalProperties": true,
        "properties": {
          "models": {
            "items": {
              "$ref": "#/components/schemas/Output_Model2"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "nextPageToken": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_ListObject": {
        "enum": [
          "list"
        ],
        "type": "string"
      },
      "Output_LiveAllowedClientEvents": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        ]
      },
      "Output_LiveAllowedServerEvents": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "$ref": "#/components/schemas/Output_LiveServerEventSelector"
            },
            "type": "array"
          }
        ]
      },
      "Output_LiveAudio": {
        "additionalProperties": true,
        "properties": {
          "input": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_LiveAudioInput"
              },
              {
                "type": "null"
              }
            ]
          },
          "output": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_LiveAudioOutput"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_LiveAudioFormat": {
        "additionalProperties": true,
        "properties": {
          "rate": {
            "format": "uint32",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_LiveAudioInput": {
        "additionalProperties": true,
        "properties": {
          "format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_LiveAudioFormat"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_LiveAudioOutput": {
        "additionalProperties": true,
        "properties": {
          "format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_LiveAudioFormat"
              },
              {
                "type": "null"
              }
            ]
          },
          "voice": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_LiveVoice"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_LiveBlob": {
        "additionalProperties": true,
        "properties": {
          "data": {
            "type": [
              "string",
              "null"
            ]
          },
          "displayName": {
            "type": [
              "string",
              "null"
            ]
          },
          "mimeType": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_LiveClientConfig": {
        "additionalProperties": true,
        "properties": {
          "data_channel": {
            "$ref": "#/components/schemas/Output_LiveDataChannelConfig"
          }
        },
        "required": [
          "data_channel"
        ],
        "type": "object"
      },
      "Output_LiveContent": {
        "additionalProperties": true,
        "properties": {
          "parts": {
            "items": {
              "$ref": "#/components/schemas/Output_LivePart"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "role": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_LiveDataChannelConfig": {
        "additionalProperties": true,
        "properties": {
          "allowed_client_events": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_LiveAllowedClientEvents"
              },
              {
                "type": "null"
              }
            ]
          },
          "allowed_server_events": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_LiveAllowedServerEvents"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_LiveDecisionResult": {
        "additionalProperties": true,
        "properties": {
          "answers": {
            "items": {
              "$ref": "#/components/schemas/Output_DecisionAnswer"
            },
            "type": "array"
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "model": {
            "type": "string"
          },
          "usage": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ResponseUsage"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "model",
          "answers"
        ],
        "type": "object"
      },
      "Output_LiveDecisionStreamEvent": {
        "additionalProperties": true,
        "properties": {
          "decision": {
            "$ref": "#/components/schemas/Output_LiveDecisionResult"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "decision"
        ],
        "type": "object"
      },
      "Output_LiveDecisionTrigger": {
        "additionalProperties": true,
        "properties": {
          "decisions": {
            "$ref": "#/components/schemas/Output_LiveTriggerQuestions"
          },
          "event_type": {
            "$ref": "#/components/schemas/Output_LiveTriggerEvent"
          },
          "type": {
            "$ref": "#/components/schemas/Output_LiveTriggerType"
          }
        },
        "required": [
          "type",
          "event_type",
          "decisions"
        ],
        "type": "object"
      },
      "Output_LiveDecisionsConfig": {
        "additionalProperties": true,
        "properties": {
          "model": {
            "type": "string"
          },
          "questions": {
            "items": {
              "$ref": "#/components/schemas/Output_DecisionQuestion"
            },
            "type": "array"
          }
        },
        "required": [
          "model",
          "questions"
        ],
        "type": "object"
      },
      "Output_LiveDelegatedEvent": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_LiveDecisionStreamEvent"
          },
          {
            "$ref": "#/components/schemas/Output_StreamEvent"
          },
          true
        ]
      },
      "Output_LiveDelegation": {
        "oneOf": [
          {
            "additionalProperties": true,
            "properties": {
              "type": {
                "const": "client",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "additionalProperties": true,
            "properties": {
              "responses": {
                "$ref": "#/components/schemas/Output_LiveResponsesConfig"
              },
              "type": {
                "const": "responses",
                "type": "string"
              }
            },
            "required": [
              "type",
              "responses"
            ],
            "type": "object"
          },
          {
            "additionalProperties": true,
            "properties": {
              "decisions": {
                "$ref": "#/components/schemas/Output_LiveDecisionsConfig"
              },
              "type": {
                "const": "decisions",
                "type": "string"
              }
            },
            "required": [
              "type",
              "decisions"
            ],
            "type": "object"
          }
        ]
      },
      "Output_LiveInt64": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "format": "int64",
            "type": "integer"
          }
        ],
        "description": "ProtoJSON int64 fields allow decimal strings and numeric JSON inputs."
      },
      "Output_LivePart": {
        "additionalProperties": true,
        "properties": {
          "audioTranscription": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_BidiGenerateContentTranscription"
              },
              {
                "type": "null"
              }
            ]
          },
          "codeExecutionResult": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_CodeExecutionResult2"
              },
              {
                "type": "null"
              }
            ]
          },
          "executableCode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ExecutableCode"
              },
              {
                "type": "null"
              }
            ]
          },
          "fileData": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_FileData"
              },
              {
                "type": "null"
              }
            ]
          },
          "functionCall": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_FunctionCall2"
              },
              {
                "type": "null"
              }
            ]
          },
          "functionResponse": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_FunctionResponse"
              },
              {
                "type": "null"
              }
            ]
          },
          "inlineData": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_LiveBlob"
              },
              {
                "type": "null"
              }
            ]
          },
          "mediaProcessing": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_MediaProcessing"
              },
              {
                "type": "null"
              }
            ]
          },
          "mediaResolution": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_MediaResolution"
              },
              {
                "type": "null"
              }
            ]
          },
          "partMetadata": {
            "additionalProperties": true,
            "type": [
              "object",
              "null"
            ]
          },
          "speechMetadata": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_SpeechMetadata"
              },
              {
                "type": "null"
              }
            ]
          },
          "text": {
            "type": [
              "string",
              "null"
            ]
          },
          "thought": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "thoughtSignature": {
            "type": [
              "string",
              "null"
            ]
          },
          "toolCall": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ToolCall"
              },
              {
                "type": "null"
              }
            ]
          },
          "toolResponse": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ToolResponse"
              },
              {
                "type": "null"
              }
            ]
          },
          "videoMetadata": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_VideoMetadata"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_LiveResponseTransport": {
        "oneOf": [
          {
            "additionalProperties": true,
            "properties": {
              "sdp": {
                "type": "string"
              },
              "type": {
                "const": "webrtc",
                "type": "string"
              }
            },
            "required": [
              "type",
              "sdp"
            ],
            "type": "object"
          },
          {
            "additionalProperties": true,
            "properties": {
              "type": {
                "const": "sip",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Output_LiveResponsesConfig": {
        "additionalProperties": true,
        "properties": {
          "instructions": {
            "type": [
              "string",
              "null"
            ]
          },
          "max_output_tokens": {
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "model": {
            "type": "string"
          },
          "parallel_tool_calls": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "reasoning": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ReasoningConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "service_tier": {
            "type": [
              "string",
              "null"
            ]
          },
          "text": true,
          "tool_choice": true,
          "tools": {
            "items": {
              "$ref": "#/components/schemas/Output_Tool"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "model"
        ],
        "type": "object"
      },
      "Output_LiveServerEvent": {
        "additionalProperties": true,
        "properties": {
          "delegation_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "event": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_LiveDelegatedEvent"
              },
              {
                "type": "null"
              }
            ]
          },
          "event_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "session": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_LiveSessionConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "session_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_event_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_event_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "trigger_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "type": "string"
          },
          "usage": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_LiveSessionUsage"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_LiveServerEventSelector": {
        "additionalProperties": true,
        "properties": {
          "response_event": true,
          "type": {
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_LiveServerMessage": {
        "additionalProperties": true,
        "properties": {
          "goAway": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_GoAway"
              },
              {
                "type": "null"
              }
            ]
          },
          "serverContent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_BidiGenerateContentServerContent"
              },
              {
                "type": "null"
              }
            ]
          },
          "sessionResumptionUpdate": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_SessionResumptionUpdate"
              },
              {
                "type": "null"
              }
            ]
          },
          "setupComplete": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_BidiGenerateContentSetupComplete"
              },
              {
                "type": "null"
              }
            ]
          },
          "toolCall": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_BidiGenerateContentToolCall"
              },
              {
                "type": "null"
              }
            ]
          },
          "toolCallCancellation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_BidiGenerateContentToolCallCancellation"
              },
              {
                "type": "null"
              }
            ]
          },
          "usageMetadata": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_LiveUsageMetadata"
              },
              {
                "type": "null"
              }
            ]
          },
          "voiceActivity": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_VoiceActivity"
              },
              {
                "type": "null"
              }
            ]
          },
          "voiceActivityDetectionSignal": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_VoiceActivityDetectionSignal"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_LiveSessionConfig": {
        "additionalProperties": true,
        "properties": {
          "audio": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_LiveAudio"
              },
              {
                "type": "null"
              }
            ]
          },
          "client": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_LiveClientConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "delegation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_LiveDelegation"
              },
              {
                "type": "null"
              }
            ]
          },
          "initial_items": {
            "items": true,
            "type": [
              "array",
              "null"
            ]
          },
          "instructions": {
            "type": [
              "string",
              "null"
            ]
          },
          "model": {
            "type": "string"
          },
          "triggers": {
            "items": {
              "$ref": "#/components/schemas/Output_LiveDecisionTrigger"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "model"
        ],
        "type": "object"
      },
      "Output_LiveSessionId": {
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "type": "object"
      },
      "Output_LiveSessionUsage": {
        "additionalProperties": true,
        "properties": {
          "seconds": {
            "format": "double",
            "type": "number"
          }
        },
        "required": [
          "seconds"
        ],
        "type": "object"
      },
      "Output_LiveTriggerEvent": {
        "enum": [
          "session.input_transcript.delta",
          "session.output_transcript.delta"
        ],
        "type": "string"
      },
      "Output_LiveTriggerQuestions": {
        "additionalProperties": true,
        "properties": {
          "questions": {
            "items": {
              "$ref": "#/components/schemas/Output_DecisionQuestion"
            },
            "type": "array"
          }
        },
        "required": [
          "questions"
        ],
        "type": "object"
      },
      "Output_LiveTriggerType": {
        "enum": [
          "decisions"
        ],
        "type": "string"
      },
      "Output_LiveUsageMetadata": {
        "additionalProperties": true,
        "properties": {
          "cacheTokensDetails": {
            "items": {
              "$ref": "#/components/schemas/Output_ModalityTokenCount"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "cachedContentTokenCount": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "promptTokenCount": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "promptTokensDetails": {
            "items": {
              "$ref": "#/components/schemas/Output_ModalityTokenCount"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "responseTokenCount": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "responseTokensDetails": {
            "items": {
              "$ref": "#/components/schemas/Output_ModalityTokenCount"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "serviceTier": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ServiceTier2"
              },
              {
                "type": "null"
              }
            ]
          },
          "thoughtsTokenCount": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "toolUsePromptTokenCount": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "toolUsePromptTokensDetails": {
            "items": {
              "$ref": "#/components/schemas/Output_ModalityTokenCount"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "totalTokenCount": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_LiveVoice": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "$ref": "#/components/schemas/Output_CustomVoice"
          }
        ]
      },
      "Output_LocalShellAction": {
        "additionalProperties": true,
        "properties": {
          "command": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "env": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "timeout_ms": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_LocalShellActionType"
          },
          "user": {
            "type": [
              "string",
              "null"
            ]
          },
          "working_directory": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "command",
          "env",
          "type"
        ],
        "type": "object"
      },
      "Output_LocalShellActionType": {
        "enum": [
          "exec"
        ],
        "type": "string"
      },
      "Output_LocalShellCall": {
        "additionalProperties": true,
        "properties": {
          "action": {
            "$ref": "#/components/schemas/Output_LocalShellAction"
          },
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "call_id": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/Output_ItemStatus"
          },
          "type": {
            "$ref": "#/components/schemas/Output_LocalShellCallType"
          }
        },
        "required": [
          "type",
          "id",
          "call_id",
          "action",
          "status"
        ],
        "type": "object"
      },
      "Output_LocalShellCallOutput": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": "string"
          },
          "output": {
            "type": "string"
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ItemStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_LocalShellCallOutputType"
          }
        },
        "required": [
          "type",
          "id",
          "output"
        ],
        "type": "object"
      },
      "Output_LocalShellCallOutputType": {
        "enum": [
          "local_shell_call_output"
        ],
        "type": "string"
      },
      "Output_LocalShellCallType": {
        "enum": [
          "local_shell_call"
        ],
        "type": "string"
      },
      "Output_LocalSkill": {
        "additionalProperties": true,
        "properties": {
          "description": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "path": {
            "type": "string"
          }
        },
        "required": [
          "description",
          "name",
          "path"
        ],
        "type": "object"
      },
      "Output_LogBodyDto": {
        "description": "One captured body, or the reason there is none.",
        "properties": {
          "bytes": {
            "description": "Reconstructed body bytes, not the length of `content`.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "content": {
            "type": "string"
          },
          "encoding": {
            "$ref": "#/components/schemas/Output_LogBodyEncoding"
          },
          "state": {
            "description": "The record's own `body_state`: `not_captured`, `recording`,\n`complete`, `partial` or `failed`. `not_captured` with zero bytes is a\nbody nobody stored; `complete` with zero bytes is a body that was\ngenuinely empty.",
            "type": "string"
          },
          "truncated": {
            "description": "Compatibility field: false, because reads return the complete stored payload.",
            "type": "boolean"
          }
        },
        "required": [
          "state",
          "encoding",
          "truncated",
          "bytes",
          "content"
        ],
        "type": "object"
      },
      "Output_LogBodyEncoding": {
        "description": "How a body's bytes are spelled in `content`.",
        "oneOf": [
          {
            "const": "utf8",
            "description": "Valid UTF-8.",
            "type": "string"
          },
          {
            "const": "base64",
            "description": "Standard base64 with padding, for bytes that are not text.",
            "type": "string"
          }
        ]
      },
      "Output_LogDetailDto": {
        "description": "One request and everything captured under it.",
        "properties": {
          "downstream": {
            "$ref": "#/components/schemas/Output_CaptureRecordDto"
          },
          "events": {
            "description": "The events of the downstream record and of every upstream one,\nordered by capture and then by sequence.",
            "items": {
              "$ref": "#/components/schemas/Output_CaptureEventDto"
            },
            "type": "array"
          },
          "eventsTruncated": {
            "description": "True when the event cap cut the list short.",
            "type": "boolean"
          },
          "upstream": {
            "description": "Every associated upstream call, ordered by start time, attempt ordinal and ID.\nA retry is another entry here, not another downstream record.",
            "items": {
              "$ref": "#/components/schemas/Output_CaptureRecordDto"
            },
            "type": "array"
          },
          "usage": {
            "description": "Usage of associated physical upstream calls, retained independently of captures.",
            "items": {
              "$ref": "#/components/schemas/Output_UsageRecordDto"
            },
            "type": "array"
          }
        },
        "required": [
          "downstream",
          "upstream",
          "events",
          "eventsTruncated",
          "usage"
        ],
        "type": "object"
      },
      "Output_LogEntryDto": {
        "description": "One downstream request or physical upstream exchange, as a list row.",
        "properties": {
          "apiKeyId": {
            "type": [
              "string",
              "null"
            ]
          },
          "clientIp": {
            "type": [
              "string",
              "null"
            ]
          },
          "credentialId": {
            "type": [
              "string",
              "null"
            ]
          },
          "endedAtMs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "error": {
            "type": [
              "string",
              "null"
            ]
          },
          "firstResponseAtMs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "kind": {
            "description": "`http`, `ws_connection` or `ws_turn`.",
            "type": "string"
          },
          "model": {
            "type": [
              "string",
              "null"
            ]
          },
          "operation": {
            "type": [
              "string",
              "null"
            ]
          },
          "providerId": {
            "type": [
              "string",
              "null"
            ]
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "requestId": {
            "description": "Capture ID. For downstream rows this is also the request ID;\nupstream rows have their own physical exchange ID.",
            "type": "string"
          },
          "requestMethod": {
            "type": [
              "string",
              "null"
            ]
          },
          "requestUrl": {
            "type": [
              "string",
              "null"
            ]
          },
          "responseStatus": {
            "format": "int32",
            "type": [
              "integer",
              "null"
            ]
          },
          "sessionId": {
            "type": [
              "string",
              "null"
            ]
          },
          "startedAtMs": {
            "format": "int64",
            "type": "integer"
          },
          "state": {
            "description": "`in_progress`, `completed`, `failed` or `cancelled`. Capture\ncompleteness, not the upstream's verdict.",
            "type": "string"
          },
          "userId": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "requestId",
          "kind",
          "sessionId",
          "userId",
          "apiKeyId",
          "providerId",
          "credentialId",
          "model",
          "operation",
          "requestMethod",
          "requestUrl",
          "responseStatus",
          "state",
          "error",
          "reason",
          "clientIp",
          "startedAtMs",
          "firstResponseAtMs",
          "endedAtMs"
        ],
        "type": "object"
      },
      "Output_LogPageDto": {
        "description": "One page of the request list, plus where the next one starts.",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Output_LogEntryDto"
            },
            "type": "array"
          },
          "nextCursor": {
            "description": "The `started_at_ms` of the last item, or None at the end of the list.\nHand both cursor halves back unchanged to get the next page.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "nextCursorId": {
            "description": "The id of the same item. Two requests can share a millisecond, and a\ntimestamp-only cursor would either repeat them forever or skip them;\nthe pair is unique because ids are.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "items",
          "nextCursor",
          "nextCursorId"
        ],
        "type": "object"
      },
      "Output_LogProbProperties": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/log_prob_properties.py`, `LogProbProperties`.",
        "properties": {
          "bytes": {
            "items": {
              "format": "int64",
              "type": "integer"
            },
            "type": "array"
          },
          "logprob": {
            "type": "number"
          },
          "token": {
            "type": "string"
          }
        },
        "required": [
          "token",
          "bytes",
          "logprob"
        ],
        "type": "object"
      },
      "Output_LoggingSettingsDto": {
        "properties": {
          "disableLogRedaction": {
            "type": "boolean"
          },
          "enableDownstreamLog": {
            "type": "boolean"
          },
          "enableDownstreamLogBody": {
            "type": "boolean"
          },
          "enableTracing": {
            "type": "boolean"
          },
          "enableUpstreamLog": {
            "type": "boolean"
          },
          "enableUpstreamLogBody": {
            "type": "boolean"
          },
          "logFormat": {
            "type": "string"
          },
          "logLevel": {
            "type": "string"
          },
          "queryParameterBlacklist": true,
          "requestHeaderBlacklist": true,
          "responseHeaderBlacklist": true
        },
        "required": [
          "enableDownstreamLog",
          "enableDownstreamLogBody",
          "enableUpstreamLog",
          "enableUpstreamLogBody",
          "disableLogRedaction",
          "enableTracing",
          "logLevel",
          "logFormat",
          "requestHeaderBlacklist",
          "responseHeaderBlacklist",
          "queryParameterBlacklist"
        ],
        "type": "object"
      },
      "Output_LoginMode": {
        "description": "How a credential for this channel comes into existence.",
        "oneOf": [
          {
            "const": "authorization_code",
            "description": "Browser redirect with PKCE; `OAuthAuthorizationCode`.",
            "type": "string"
          },
          {
            "const": "device_code",
            "description": "User code shown, host polls; `OAuthDeviceCode`.",
            "type": "string"
          },
          {
            "const": "api_key",
            "description": "A key the operator pastes. No channel trait is involved: the secret is\nstored as given and the channel injects it at request time.",
            "type": "string"
          }
        ]
      },
      "Output_LogprobCandidate": {
        "additionalProperties": true,
        "properties": {
          "logProbability": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "token": {
            "type": [
              "string",
              "null"
            ]
          },
          "tokenId": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_Logprobs": {
        "additionalProperties": true,
        "properties": {
          "content": {
            "items": {
              "$ref": "#/components/schemas/Output_TokenLogprob"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "refusal": {
            "items": {
              "$ref": "#/components/schemas/Output_TokenLogprob"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "content",
          "refusal"
        ],
        "type": "object"
      },
      "Output_LogprobsResult": {
        "additionalProperties": true,
        "properties": {
          "chosenCandidates": {
            "items": {
              "$ref": "#/components/schemas/Output_LogprobCandidate"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "logProbabilitySum": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "topCandidates": {
            "items": {
              "$ref": "#/components/schemas/Output_TopCandidates"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_Maps": {
        "additionalProperties": true,
        "properties": {
          "placeAnswerSources": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_PlaceAnswerSources"
              },
              {
                "type": "null"
              }
            ]
          },
          "placeId": {
            "type": [
              "string",
              "null"
            ]
          },
          "text": {
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "uri": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_McpAllowedTools": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "$ref": "#/components/schemas/Output_McpToolFilter"
          }
        ]
      },
      "Output_McpApproval": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_McpApprovalSetting"
          },
          {
            "$ref": "#/components/schemas/Output_McpToolApprovalFilter"
          }
        ]
      },
      "Output_McpApprovalRequest": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "arguments": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "server_label": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_McpApprovalRequestType"
          }
        },
        "required": [
          "type",
          "id",
          "arguments",
          "name",
          "server_label"
        ],
        "type": "object"
      },
      "Output_McpApprovalRequestType": {
        "enum": [
          "mcp_approval_request"
        ],
        "type": "string"
      },
      "Output_McpApprovalResponse": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "approval_request_id": {
            "type": "string"
          },
          "approve": {
            "type": "boolean"
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_McpApprovalResponseType"
          }
        },
        "required": [
          "type",
          "approval_request_id",
          "approve"
        ],
        "type": "object"
      },
      "Output_McpApprovalResponseType": {
        "enum": [
          "mcp_approval_response"
        ],
        "type": "string"
      },
      "Output_McpApprovalSetting": {
        "enum": [
          "always",
          "never"
        ],
        "type": "string"
      },
      "Output_McpArgumentsDelta": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "delta": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sequence_number",
          "item_id",
          "output_index",
          "delta"
        ],
        "type": "object"
      },
      "Output_McpArgumentsDone": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "arguments": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sequence_number",
          "item_id",
          "output_index",
          "arguments"
        ],
        "type": "object"
      },
      "Output_McpCall": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "approval_request_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "arguments": {
            "type": "string"
          },
          "error": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_McpToolCallError"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "output": {
            "type": [
              "string",
              "null"
            ]
          },
          "server_label": {
            "type": "string"
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_McpCallStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_McpCallType"
          }
        },
        "required": [
          "type",
          "id",
          "arguments",
          "name",
          "server_label"
        ],
        "type": "object"
      },
      "Output_McpCallEvent": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "item_id": {
            "type": "string"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sequence_number",
          "item_id",
          "output_index"
        ],
        "type": "object"
      },
      "Output_McpCallStatus": {
        "enum": [
          "in_progress",
          "completed",
          "incomplete",
          "calling",
          "failed"
        ],
        "type": "string"
      },
      "Output_McpCallType": {
        "enum": [
          "mcp_call"
        ],
        "type": "string"
      },
      "Output_McpListTools": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "error": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "server_label": {
            "type": "string"
          },
          "tools": {
            "items": {
              "$ref": "#/components/schemas/Output_McpToolDefinition"
            },
            "type": "array"
          },
          "type": {
            "$ref": "#/components/schemas/Output_McpListToolsType"
          }
        },
        "required": [
          "type",
          "id",
          "server_label",
          "tools"
        ],
        "type": "object"
      },
      "Output_McpListToolsCompleted": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/mcp_list_tools_completed.py`, `McpListToolsCompleted`.",
        "properties": {
          "event_id": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_McpListToolsCompletedType"
          }
        },
        "required": [
          "event_id",
          "item_id",
          "type"
        ],
        "type": "object"
      },
      "Output_McpListToolsCompletedType": {
        "enum": [
          "mcp_list_tools.completed"
        ],
        "type": "string"
      },
      "Output_McpListToolsEvent": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "item_id": {
            "type": "string"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sequence_number",
          "item_id",
          "output_index"
        ],
        "type": "object"
      },
      "Output_McpListToolsFailed": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/mcp_list_tools_failed.py`, `McpListToolsFailed`.",
        "properties": {
          "event_id": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_McpListToolsFailedType"
          }
        },
        "required": [
          "event_id",
          "item_id",
          "type"
        ],
        "type": "object"
      },
      "Output_McpListToolsFailedType": {
        "enum": [
          "mcp_list_tools.failed"
        ],
        "type": "string"
      },
      "Output_McpListToolsInProgress": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/mcp_list_tools_in_progress.py`, `McpListToolsInProgress`.",
        "properties": {
          "event_id": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_McpListToolsInProgressType"
          }
        },
        "required": [
          "event_id",
          "item_id",
          "type"
        ],
        "type": "object"
      },
      "Output_McpListToolsInProgressType": {
        "enum": [
          "mcp_list_tools.in_progress"
        ],
        "type": "string"
      },
      "Output_McpListToolsType": {
        "enum": [
          "mcp_list_tools"
        ],
        "type": "string"
      },
      "Output_McpListedTool": {
        "additionalProperties": true,
        "properties": {
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "input_schema": {
            "$ref": "#/components/schemas/Output_JsonSchema"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "input_schema"
        ],
        "type": "object"
      },
      "Output_McpResourceToolMessages": {
        "additionalProperties": true,
        "properties": {
          "list_mcp_resource_templates": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ToolMessage"
              },
              {
                "type": "null"
              }
            ]
          },
          "list_mcp_resources": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ToolMessage"
              },
              {
                "type": "null"
              }
            ]
          },
          "read_mcp_resource": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ToolMessage"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_McpTool": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Output_AllowedCaller"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "allowed_tools": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_McpAllowedTools"
              },
              {
                "type": "null"
              }
            ]
          },
          "authorization": {
            "type": [
              "string",
              "null"
            ]
          },
          "connector_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ConnectorId"
              },
              {
                "type": "null"
              }
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "headers": {
            "additionalProperties": {
              "type": "string"
            },
            "type": [
              "object",
              "null"
            ]
          },
          "require_approval": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_McpApproval"
              },
              {
                "type": "null"
              }
            ]
          },
          "server_description": {
            "type": [
              "string",
              "null"
            ]
          },
          "server_label": {
            "type": "string"
          },
          "server_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "tunnel_id": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "server_label"
        ],
        "type": "object"
      },
      "Output_McpToolApprovalFilter": {
        "additionalProperties": true,
        "properties": {
          "always": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_McpToolFilter"
              },
              {
                "type": "null"
              }
            ]
          },
          "never": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_McpToolFilter"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_McpToolCallError": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_McpToolCallErrorDetails"
          },
          {
            "description": "Earlier Responses references represented MCP errors as strings.",
            "type": "string"
          }
        ]
      },
      "Output_McpToolCallErrorDetails": {
        "oneOf": [
          {
            "additionalProperties": true,
            "properties": {
              "code": {
                "format": "int64",
                "type": "integer"
              },
              "message": {
                "type": "string"
              },
              "type": {
                "const": "mcp_protocol_error",
                "type": "string"
              }
            },
            "required": [
              "type",
              "code",
              "message"
            ],
            "type": "object"
          },
          {
            "additionalProperties": true,
            "properties": {
              "content": true,
              "type": {
                "const": "mcp_tool_execution_error",
                "type": "string"
              }
            },
            "required": [
              "type",
              "content"
            ],
            "type": "object"
          },
          {
            "additionalProperties": true,
            "properties": {
              "code": {
                "format": "int64",
                "type": "integer"
              },
              "message": {
                "type": "string"
              },
              "type": {
                "const": "http_error",
                "type": "string"
              }
            },
            "required": [
              "type",
              "code",
              "message"
            ],
            "type": "object"
          }
        ]
      },
      "Output_McpToolDefinition": {
        "additionalProperties": true,
        "properties": {
          "annotations": true,
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "input_schema": true,
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "input_schema"
        ],
        "type": "object"
      },
      "Output_McpToolFilter": {
        "additionalProperties": true,
        "properties": {
          "read_only": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "tool_names": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_McpToolListingBlock": {
        "additionalProperties": true,
        "properties": {
          "cache_control": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_CacheControl"
              },
              {
                "type": "null"
              }
            ]
          },
          "mcp_server_name": {
            "type": "string"
          },
          "tools": {
            "items": {
              "$ref": "#/components/schemas/Output_McpListedTool"
            },
            "type": "array"
          },
          "type": {
            "$ref": "#/components/schemas/Output_McpToolListingType"
          }
        },
        "required": [
          "type",
          "mcp_server_name",
          "tools"
        ],
        "type": "object"
      },
      "Output_McpToolListingType": {
        "enum": [
          "mcp_tool_listing"
        ],
        "type": "string"
      },
      "Output_MediaProcessing": {
        "enum": [
          "MEDIA_PROCESSING_UNSPECIFIED",
          "STATIC",
          "AGENTIC"
        ],
        "type": "string"
      },
      "Output_MediaResolution": {
        "additionalProperties": true,
        "properties": {
          "level": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_MediaResolutionLevel"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_MediaResolutionLevel": {
        "enum": [
          "MEDIA_RESOLUTION_UNSPECIFIED",
          "MEDIA_RESOLUTION_LOW",
          "MEDIA_RESOLUTION_MEDIUM",
          "MEDIA_RESOLUTION_HIGH",
          "MEDIA_RESOLUTION_ULTRA_HIGH"
        ],
        "type": "string"
      },
      "Output_MemoryLimit": {
        "enum": [
          "1g",
          "4g",
          "16g",
          "64g"
        ],
        "type": "string"
      },
      "Output_MemorySummarizeOutput": {
        "additionalProperties": true,
        "properties": {
          "memory_summary": {
            "type": "string"
          },
          "trace_summary": {
            "type": "string"
          }
        },
        "required": [
          "trace_summary",
          "memory_summary"
        ],
        "type": "object"
      },
      "Output_MemorySummarizeResponseBody": {
        "additionalProperties": true,
        "properties": {
          "output": {
            "items": {
              "$ref": "#/components/schemas/Output_MemorySummarizeOutput"
            },
            "type": "array"
          }
        },
        "required": [
          "output"
        ],
        "type": "object"
      },
      "Output_MessageContent": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "$ref": "#/components/schemas/Output_InputContent"
            },
            "type": "array"
          }
        ]
      },
      "Output_MessageDelta": {
        "additionalProperties": true,
        "properties": {
          "container": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ResponseContainer"
              },
              {
                "type": "null"
              }
            ]
          },
          "stop_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RefusalStopDetails"
              },
              {
                "type": "null"
              }
            ]
          },
          "stop_reason": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_StopReason"
              },
              {
                "type": "null"
              }
            ]
          },
          "stop_sequence": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_MessageDeltaEvent": {
        "additionalProperties": true,
        "properties": {
          "context_management": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ContextManagementResponse"
              },
              {
                "type": "null"
              }
            ]
          },
          "delta": {
            "$ref": "#/components/schemas/Output_MessageDelta"
          },
          "input_transformations": {
            "items": {
              "$ref": "#/components/schemas/Output_InputTransformation"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "usage": {
            "$ref": "#/components/schemas/Output_MessageDeltaUsage"
          }
        },
        "required": [
          "delta",
          "usage"
        ],
        "type": "object"
      },
      "Output_MessageDeltaUsage": {
        "additionalProperties": true,
        "properties": {
          "cache_creation_input_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "cache_read_input_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "fallback_credit": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_FallbackCreditUsage"
              },
              {
                "type": "null"
              }
            ]
          },
          "input_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "iterations": {
            "items": {
              "$ref": "#/components/schemas/Output_IterationUsage"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "output_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "output_tokens_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_OutputTokensDetails"
              },
              {
                "type": "null"
              }
            ]
          },
          "server_tool_use": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ServerToolUsage"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "output_tokens"
        ],
        "type": "object"
      },
      "Output_MessageIterationUsage": {
        "additionalProperties": true,
        "properties": {
          "cache_creation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_CacheCreation"
              },
              {
                "type": "null"
              }
            ]
          },
          "cache_creation_input_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "cache_read_input_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "input_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "model": {
            "type": "string"
          },
          "output_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "type": {
            "$ref": "#/components/schemas/Output_MessageIterationUsageType"
          }
        },
        "required": [
          "type",
          "cache_creation_input_tokens",
          "cache_read_input_tokens",
          "input_tokens",
          "model",
          "output_tokens"
        ],
        "type": "object"
      },
      "Output_MessageIterationUsageType": {
        "enum": [
          "message"
        ],
        "type": "string"
      },
      "Output_MessagePhase": {
        "enum": [
          "commentary",
          "final_answer"
        ],
        "type": "string"
      },
      "Output_MessageRole": {
        "enum": [
          "user",
          "system",
          "developer",
          "assistant"
        ],
        "type": "string"
      },
      "Output_MessageStartEvent": {
        "additionalProperties": true,
        "properties": {
          "message": {
            "$ref": "#/components/schemas/Output_StreamMessage"
          }
        },
        "required": [
          "message"
        ],
        "type": "object"
      },
      "Output_MessageStopEvent": {
        "additionalProperties": true,
        "type": "object"
      },
      "Output_MessageToolCall": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_ChatToolCall"
          },
          {
            "$ref": "#/components/schemas/Output_CustomToolCall2"
          }
        ]
      },
      "Output_MessageType": {
        "enum": [
          "message"
        ],
        "type": "string"
      },
      "Output_MisalignmentDetails": {
        "additionalProperties": true,
        "properties": {
          "detailed_explanation": {
            "type": [
              "string",
              "null"
            ]
          },
          "error_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "steer": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_MisalignmentSteer"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_MisalignmentSteer": {
        "additionalProperties": true,
        "properties": {
          "message": {
            "type": "string"
          }
        },
        "required": [
          "message"
        ],
        "type": "object"
      },
      "Output_Modality": {
        "enum": [
          "MODALITY_UNSPECIFIED",
          "TEXT",
          "IMAGE",
          "VIDEO",
          "AUDIO",
          "DOCUMENT"
        ],
        "type": "string"
      },
      "Output_ModalityTokenCount": {
        "additionalProperties": true,
        "properties": {
          "modality": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Modality"
              },
              {
                "type": "null"
              }
            ]
          },
          "tokenCount": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_Model": {
        "additionalProperties": true,
        "properties": {
          "additional_speed_tiers": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "apply_patch_tool_type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ApplyPatchToolType"
              },
              {
                "type": "null"
              }
            ]
          },
          "auto_compact_token_limit": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "auto_review_model_override": {
            "type": [
              "string",
              "null"
            ]
          },
          "availability_nux": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ModelAvailabilityNux"
              },
              {
                "type": "null"
              }
            ]
          },
          "available_access_programs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ModelAccessPrograms"
              },
              {
                "type": "null"
              }
            ]
          },
          "available_in_plans": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "base_instructions": {
            "type": [
              "string",
              "null"
            ]
          },
          "comp_hash": {
            "type": [
              "string",
              "null"
            ]
          },
          "context_window": {
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "created": {
            "description": "Some compatible catalogs do not report a creation timestamp.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "default_reasoning_level": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ModelReasoningEffort"
              },
              {
                "type": "null"
              }
            ]
          },
          "default_reasoning_summary": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ModelReasoningSummary"
              },
              {
                "type": "null"
              }
            ]
          },
          "default_service_tier": {
            "type": [
              "string",
              "null"
            ]
          },
          "default_verbosity": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_TextVerbosity"
              },
              {
                "type": "null"
              }
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "display_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "effective_context_window_percent": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "experimental_supported_tools": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "generation_methods": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "guardian": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_GuardianModelPolicy"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": "string"
          },
          "include_apps_usage_instructions": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "include_plugin_usage_instructions": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "include_skills_usage_instructions": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "input_modalities": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "instructions": {
            "type": [
              "string",
              "null"
            ]
          },
          "max_context_window": {
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "max_output_tokens": {
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "minimal_client_version": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ClientVersion"
              },
              {
                "type": "null"
              }
            ]
          },
          "model_messages": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ModelMessages"
              },
              {
                "type": "null"
              }
            ]
          },
          "model_specialty": {
            "type": [
              "string",
              "null"
            ]
          },
          "multi_agent_reasoning_effort": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ModelReasoningEffort"
              },
              {
                "type": "null"
              }
            ]
          },
          "multi_agent_version": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_MultiAgentVersion"
              },
              {
                "type": "null"
              }
            ]
          },
          "node_repl_auto_review_required": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "node_repl_disabled": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "object": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ModelObject"
              },
              {
                "type": "null"
              }
            ]
          },
          "output_modalities": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "owned_by": {
            "type": [
              "string",
              "null"
            ]
          },
          "prefer_websockets": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "priority": {
            "format": "int32",
            "type": [
              "integer",
              "null"
            ]
          },
          "requires_sandboxed_review": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "service_tiers": {
            "items": {
              "$ref": "#/components/schemas/Output_ModelServiceTier"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "shell_type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ConfigShellToolType"
              },
              {
                "type": "null"
              }
            ]
          },
          "slug": {
            "type": [
              "string",
              "null"
            ]
          },
          "support_verbosity": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "supported_actions": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "supported_in_api": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "supported_parameters": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "supported_reasoning_levels": {
            "items": {
              "$ref": "#/components/schemas/Output_ModelReasoningLevel"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "supports_experimental_context": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "supports_image_detail_original": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "supports_parallel_tool_calls": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "supports_reasoning_effort_updates": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "supports_reasoning_summaries": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "supports_reasoning_summary_parameter": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "supports_search_tool": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "thinking_supported": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "tool_mode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ToolMode"
              },
              {
                "type": "null"
              }
            ]
          },
          "truncation_policy": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_TruncationPolicyConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "upgrade": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ModelInfoUpgrade"
              },
              {
                "type": "null"
              }
            ]
          },
          "use_responses_lite": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "visibility": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ModelVisibility"
              },
              {
                "type": "null"
              }
            ]
          },
          "web_search_tool_type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_WebSearchToolType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "created",
          "object",
          "owned_by"
        ],
        "type": "object"
      },
      "Output_Model2": {
        "additionalProperties": true,
        "properties": {
          "baseModelId": {
            "type": "string"
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "displayName": {
            "type": [
              "string",
              "null"
            ]
          },
          "inputTokenLimit": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "maxTemperature": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "outputTokenLimit": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "supportedGenerationMethods": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "temperature": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "thinking": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "topK": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "topP": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "baseModelId"
        ],
        "type": "object"
      },
      "Output_ModelAccessPrograms": {
        "additionalProperties": true,
        "properties": {
          "cyber": {
            "items": {
              "$ref": "#/components/schemas/Output_CyberAccessProgram"
            },
            "type": "array"
          }
        },
        "required": [
          "cyber"
        ],
        "type": "object"
      },
      "Output_ModelAvailabilityNux": {
        "additionalProperties": true,
        "properties": {
          "message": {
            "type": "string"
          }
        },
        "required": [
          "message"
        ],
        "type": "object"
      },
      "Output_ModelCapabilities": {
        "additionalProperties": true,
        "properties": {
          "batch": {
            "$ref": "#/components/schemas/Output_CapabilitySupport"
          },
          "citations": {
            "$ref": "#/components/schemas/Output_CapabilitySupport"
          },
          "code_execution": {
            "$ref": "#/components/schemas/Output_CapabilitySupport"
          },
          "compaction": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_CompactionCapability"
              },
              {
                "type": "null"
              }
            ]
          },
          "context_management": {
            "$ref": "#/components/schemas/Output_ContextManagementCapability"
          },
          "effort": {
            "$ref": "#/components/schemas/Output_EffortCapability"
          },
          "image_input": {
            "$ref": "#/components/schemas/Output_CapabilitySupport"
          },
          "pdf_input": {
            "$ref": "#/components/schemas/Output_CapabilitySupport"
          },
          "server_tools": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ServerToolsCapability"
              },
              {
                "type": "null"
              }
            ]
          },
          "structured_outputs": {
            "$ref": "#/components/schemas/Output_CapabilitySupport"
          },
          "thinking": {
            "$ref": "#/components/schemas/Output_ThinkingCapability"
          }
        },
        "required": [
          "batch",
          "citations",
          "code_execution",
          "context_management",
          "effort",
          "image_input",
          "pdf_input",
          "structured_outputs",
          "thinking"
        ],
        "type": "object"
      },
      "Output_ModelDto": {
        "properties": {
          "id": {
            "type": "string"
          },
          "metadata": true,
          "name": {
            "type": "string"
          },
          "priceRules": {
            "description": "Saved, enabled rules matching this model, in billing precedence order.",
            "items": {
              "$ref": "#/components/schemas/Output_PriceRuleDto"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "providers": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Output_CatalogProviderDto"
            },
            "type": "array"
          },
          "vocabularyFileId": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "providers",
          "id",
          "name",
          "metadata",
          "vocabularyFileId"
        ],
        "type": "object"
      },
      "Output_ModelInfo": {
        "additionalProperties": true,
        "properties": {
          "allowed_fallback_models": {
            "default": null,
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "capabilities": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ModelCapabilities"
              },
              {
                "type": "null"
              }
            ]
          },
          "created_at": {
            "type": "string"
          },
          "deprecated_at": {
            "type": [
              "string",
              "null"
            ]
          },
          "display_name": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "lifecycle": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ModelLifecycle"
              },
              {
                "type": "null"
              }
            ]
          },
          "line": {
            "description": "Provider-reported model line; new lines are allowed without inferring from IDs.",
            "type": [
              "string",
              "null"
            ]
          },
          "max_input_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "max_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "retires_at": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_ModelType"
          }
        },
        "required": [
          "id",
          "allowed_fallback_models",
          "capabilities",
          "created_at",
          "display_name",
          "max_input_tokens",
          "max_tokens",
          "type"
        ],
        "type": "object"
      },
      "Output_ModelInfoUpgrade": {
        "additionalProperties": true,
        "properties": {
          "migration_markdown": {
            "type": "string"
          },
          "model": {
            "type": "string"
          },
          "retirement_at": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "model",
          "migration_markdown"
        ],
        "type": "object"
      },
      "Output_ModelInstructionsVariables": {
        "additionalProperties": true,
        "properties": {
          "personality_default": {
            "type": [
              "string",
              "null"
            ]
          },
          "personality_friendly": {
            "type": [
              "string",
              "null"
            ]
          },
          "personality_pragmatic": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_ModelLifecycle": {
        "description": "The lifecycle is authoritative; a past scheduled retirement date alone does\nnot mean that a model has retired.",
        "enum": [
          "active",
          "deprecated",
          "retired"
        ],
        "type": "string"
      },
      "Output_ModelMessages": {
        "additionalProperties": true,
        "properties": {
          "approvals": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ApprovalMessages"
              },
              {
                "type": "null"
              }
            ]
          },
          "auto_review": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_AutoReviewMessages"
              },
              {
                "type": "null"
              }
            ]
          },
          "collaboration_modes": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_CollaborationModeMessages"
              },
              {
                "type": "null"
              }
            ]
          },
          "confirmation_policies": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ConfirmationPolicies"
              },
              {
                "type": "null"
              }
            ]
          },
          "content_filter_guidance": {
            "type": [
              "string",
              "null"
            ]
          },
          "guardian_v2": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_GuardianV2ModelConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "instructions_template": {
            "type": [
              "string",
              "null"
            ]
          },
          "instructions_variables": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ModelInstructionsVariables"
              },
              {
                "type": "null"
              }
            ]
          },
          "multi_agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_MultiAgentMessages"
              },
              {
                "type": "null"
              }
            ]
          },
          "permissions": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_PermissionMessages"
              },
              {
                "type": "null"
              }
            ]
          },
          "persistent_instructions": {
            "type": [
              "string",
              "null"
            ]
          },
          "token_budget": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ModelTokenBudgetConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "tools": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ToolMessages"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_ModelObject": {
        "enum": [
          "model"
        ],
        "type": "string"
      },
      "Output_ModelReasoningEffort": {
        "anyOf": [
          {
            "enum": [
              "none",
              "minimal",
              "low",
              "medium",
              "high",
              "xhigh",
              "max",
              "ultra",
              "persistent"
            ],
            "type": "string"
          },
          {
            "type": "string"
          }
        ],
        "description": "Catalog effort choices include CLI modes such as Ultra and Persistent;\nthey are distinct from the Responses request's reasoning-effort parameter."
      },
      "Output_ModelReasoningLevel": {
        "properties": {
          "description": {
            "type": "string"
          },
          "effort": {
            "$ref": "#/components/schemas/Output_ModelReasoningEffort"
          }
        },
        "required": [
          "effort",
          "description"
        ],
        "type": "object"
      },
      "Output_ModelReasoningSummary": {
        "enum": [
          "auto",
          "concise",
          "detailed",
          "none"
        ],
        "type": "string"
      },
      "Output_ModelServiceTier": {
        "properties": {
          "description": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "description"
        ],
        "type": "object"
      },
      "Output_ModelStage": {
        "enum": [
          "MODEL_STAGE_UNSPECIFIED",
          "UNSTABLE_EXPERIMENTAL",
          "EXPERIMENTAL",
          "PREVIEW",
          "STABLE",
          "LEGACY",
          "DEPRECATED",
          "RETIRED"
        ],
        "type": "string"
      },
      "Output_ModelStatus": {
        "additionalProperties": true,
        "properties": {
          "message": {
            "type": [
              "string",
              "null"
            ]
          },
          "modelStage": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ModelStage"
              },
              {
                "type": "null"
              }
            ]
          },
          "retirementTime": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_ModelTestResultDto": {
        "properties": {
          "credentialLabel": {
            "type": [
              "string",
              "null"
            ]
          },
          "error": {
            "type": [
              "string",
              "null"
            ]
          },
          "latencyMs": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "model": {
            "type": "string"
          },
          "ok": {
            "type": "boolean"
          },
          "reply": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "description": "The upstream's HTTP status, or 0 when nothing was answered.",
            "format": "uint16",
            "maximum": 65535,
            "minimum": 0,
            "type": "integer"
          },
          "usage": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_UsageTokensDto"
              },
              {
                "type": "null"
              }
            ],
            "description": "What the upstream reported it spent. Absent when it reported nothing,\nwhich is not the same as zero."
          }
        },
        "required": [
          "ok",
          "latencyMs",
          "status",
          "model",
          "usage",
          "reply",
          "credentialLabel",
          "error"
        ],
        "type": "object"
      },
      "Output_ModelTokenBudgetConfig": {
        "additionalProperties": true,
        "properties": {
          "auto_compact_fallback_buffer_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "auto_compact_fallback_prompt": {
            "type": "string"
          },
          "enabled": {
            "default": false,
            "type": "boolean"
          },
          "guidance_message": {
            "type": "string"
          },
          "reminder_message_template": {
            "type": "string"
          },
          "reminder_threshold_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "use_history_notes_extension": {
            "default": false,
            "type": "boolean"
          }
        },
        "required": [
          "enabled",
          "use_history_notes_extension",
          "reminder_threshold_tokens",
          "reminder_message_template",
          "guidance_message",
          "auto_compact_fallback_prompt",
          "auto_compact_fallback_buffer_tokens"
        ],
        "type": "object"
      },
      "Output_ModelType": {
        "enum": [
          "model"
        ],
        "type": "string"
      },
      "Output_ModelVisibility": {
        "enum": [
          "list",
          "hide",
          "none"
        ],
        "type": "string"
      },
      "Output_Moderation": {
        "enum": [
          "auto",
          "low"
        ],
        "type": "string"
      },
      "Output_ModerationError": {
        "additionalProperties": true,
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ModerationErrorType"
          }
        },
        "required": [
          "code",
          "message",
          "type"
        ],
        "type": "object"
      },
      "Output_ModerationErrorType": {
        "enum": [
          "error"
        ],
        "type": "string"
      },
      "Output_ModerationInputType": {
        "enum": [
          "text",
          "image"
        ],
        "type": "string"
      },
      "Output_ModerationItemType": {
        "enum": [
          "moderation_result"
        ],
        "type": "string"
      },
      "Output_ModerationResponse": {
        "additionalProperties": true,
        "properties": {
          "input": {
            "$ref": "#/components/schemas/Output_ModerationResultOrError"
          },
          "output": {
            "$ref": "#/components/schemas/Output_ModerationResultOrError"
          }
        },
        "required": [
          "input",
          "output"
        ],
        "type": "object"
      },
      "Output_ModerationResult": {
        "additionalProperties": true,
        "properties": {
          "model": {
            "type": "string"
          },
          "results": {
            "items": {
              "$ref": "#/components/schemas/Output_ModerationResultItem"
            },
            "type": "array"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ModerationResultType"
          }
        },
        "required": [
          "model",
          "results",
          "type"
        ],
        "type": "object"
      },
      "Output_ModerationResult2": {
        "additionalProperties": true,
        "properties": {
          "categories": {
            "additionalProperties": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "type": "object"
          },
          "category_applied_input_types": {
            "additionalProperties": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "type": "object"
          },
          "category_scores": {
            "additionalProperties": {
              "type": "number"
            },
            "type": "object"
          },
          "flagged": {
            "type": "boolean"
          }
        },
        "required": [
          "flagged",
          "categories",
          "category_scores",
          "category_applied_input_types"
        ],
        "type": "object"
      },
      "Output_ModerationResultItem": {
        "additionalProperties": true,
        "properties": {
          "categories": {
            "additionalProperties": {
              "type": "boolean"
            },
            "type": "object"
          },
          "category_applied_input_types": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/Output_ModerationInputType"
              },
              "type": "array"
            },
            "type": "object"
          },
          "category_scores": {
            "additionalProperties": {
              "format": "double",
              "type": "number"
            },
            "type": "object"
          },
          "flagged": {
            "type": "boolean"
          },
          "model": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ModerationItemType"
          }
        },
        "required": [
          "categories",
          "category_applied_input_types",
          "category_scores",
          "flagged",
          "model",
          "type"
        ],
        "type": "object"
      },
      "Output_ModerationResultOrError": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_ModerationResult"
          },
          {
            "$ref": "#/components/schemas/Output_ModerationError"
          }
        ]
      },
      "Output_ModerationResultType": {
        "enum": [
          "moderation_results"
        ],
        "type": "string"
      },
      "Output_MoveAction": {
        "additionalProperties": true,
        "properties": {
          "keys": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "x": {
            "format": "int64",
            "type": "integer"
          },
          "y": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "x",
          "y"
        ],
        "type": "object"
      },
      "Output_MultiAgentCall": {
        "additionalProperties": true,
        "properties": {
          "action": {
            "$ref": "#/components/schemas/Output_Action"
          },
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "arguments": {
            "type": "string"
          },
          "call_id": {
            "type": "string"
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_MultiAgentCallType"
          }
        },
        "required": [
          "type",
          "action",
          "arguments",
          "call_id"
        ],
        "type": "object"
      },
      "Output_MultiAgentCallOutput": {
        "additionalProperties": true,
        "properties": {
          "action": {
            "$ref": "#/components/schemas/Output_Action"
          },
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "call_id": {
            "type": "string"
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "output": {
            "items": {
              "$ref": "#/components/schemas/Output_ReplayOutputText"
            },
            "type": "array"
          },
          "type": {
            "$ref": "#/components/schemas/Output_MultiAgentCallOutputType"
          }
        },
        "required": [
          "type",
          "action",
          "call_id",
          "output"
        ],
        "type": "object"
      },
      "Output_MultiAgentCallOutputType": {
        "enum": [
          "multi_agent_call_output"
        ],
        "type": "string"
      },
      "Output_MultiAgentCallType": {
        "enum": [
          "multi_agent_call"
        ],
        "type": "string"
      },
      "Output_MultiAgentMessages": {
        "additionalProperties": true,
        "properties": {
          "mode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_MultiAgentModeMessages"
              },
              {
                "type": "null"
              }
            ]
          },
          "role": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_MultiAgentRoleMessages"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_MultiAgentModeMessages": {
        "additionalProperties": true,
        "properties": {
          "explicit": {
            "type": [
              "string",
              "null"
            ]
          },
          "hint_text": {
            "type": [
              "string",
              "null"
            ]
          },
          "proactive": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_MultiAgentRoleMessages": {
        "additionalProperties": true,
        "properties": {
          "root": {
            "type": [
              "string",
              "null"
            ]
          },
          "subagent": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_MultiAgentToolMessages": {
        "additionalProperties": true,
        "properties": {
          "create_channel": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ToolMessage"
              },
              {
                "type": "null"
              }
            ]
          },
          "followup_task": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ToolMessage"
              },
              {
                "type": "null"
              }
            ]
          },
          "get_channels": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ToolMessage"
              },
              {
                "type": "null"
              }
            ]
          },
          "interrupt_agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ToolMessage"
              },
              {
                "type": "null"
              }
            ]
          },
          "list_agents": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ToolMessage"
              },
              {
                "type": "null"
              }
            ]
          },
          "list_threads": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ToolMessage"
              },
              {
                "type": "null"
              }
            ]
          },
          "post": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ToolMessage"
              },
              {
                "type": "null"
              }
            ]
          },
          "read_post": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ToolMessage"
              },
              {
                "type": "null"
              }
            ]
          },
          "read_thread": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ToolMessage"
              },
              {
                "type": "null"
              }
            ]
          },
          "search_posts": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ToolMessage"
              },
              {
                "type": "null"
              }
            ]
          },
          "send_message": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ToolMessage"
              },
              {
                "type": "null"
              }
            ]
          },
          "spawn_agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ToolMessage"
              },
              {
                "type": "null"
              }
            ]
          },
          "subscribe": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ToolMessage"
              },
              {
                "type": "null"
              }
            ]
          },
          "unsubscribe": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ToolMessage"
              },
              {
                "type": "null"
              }
            ]
          },
          "wait_agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ToolMessage"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_MultiAgentVersion": {
        "enum": [
          "disabled",
          "v1",
          "v2"
        ],
        "type": "string"
      },
      "Output_NamespaceCustomTool": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Output_AllowedCaller"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "async": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_CustomToolFormat"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "Output_NamespaceFunctionTool": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Output_AllowedCaller"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "async": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "output_schema": {
            "additionalProperties": true,
            "type": [
              "object",
              "null"
            ]
          },
          "parameters": true,
          "strict": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "Output_NamespaceTool": {
        "additionalProperties": true,
        "properties": {
          "description": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "tools": {
            "items": {
              "$ref": "#/components/schemas/Output_NamespaceToolDefinition"
            },
            "type": "array"
          }
        },
        "required": [
          "description",
          "name",
          "tools"
        ],
        "type": "object"
      },
      "Output_NamespaceToolDefinition": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Output_NamespaceFunctionTool",
            "properties": {
              "type": {
                "const": "function",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_NamespaceCustomTool",
            "properties": {
              "type": {
                "const": "custom",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Output_NativeDeleteVideoResponseBody": {
        "additionalProperties": true,
        "properties": {
          "deleted": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "object": {
            "$ref": "#/components/schemas/Output_NativeVideoDeletedObject"
          }
        },
        "required": [
          "id",
          "deleted",
          "object"
        ],
        "type": "object"
      },
      "Output_NativeListVideosResponseBody": {
        "additionalProperties": true,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/Output_NativeVideo"
            },
            "type": "array"
          },
          "has_more": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "last_id": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "Output_NativeVideo": {
        "additionalProperties": true,
        "properties": {
          "completed_at": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "created_at": {
            "format": "int64",
            "type": "integer"
          },
          "error": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_NativeVideoError"
              },
              {
                "type": "null"
              }
            ]
          },
          "expires_at": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "model": {
            "type": "string"
          },
          "object": {
            "$ref": "#/components/schemas/Output_NativeVideoObject"
          },
          "progress": {
            "format": "int64",
            "type": "integer"
          },
          "prompt": {
            "type": [
              "string",
              "null"
            ]
          },
          "remixed_from_video_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "seconds": {
            "type": "string"
          },
          "size": {
            "$ref": "#/components/schemas/Output_NativeVideoSize"
          },
          "status": {
            "$ref": "#/components/schemas/Output_NativeVideoStatus"
          }
        },
        "required": [
          "id",
          "created_at",
          "model",
          "object",
          "progress",
          "seconds",
          "size",
          "status"
        ],
        "type": "object"
      },
      "Output_NativeVideoDeletedObject": {
        "enum": [
          "video.deleted"
        ],
        "type": "string"
      },
      "Output_NativeVideoError": {
        "additionalProperties": true,
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "misalignment": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_NativeVideoMisalignment"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "code",
          "message"
        ],
        "type": "object"
      },
      "Output_NativeVideoMisalignment": {
        "additionalProperties": true,
        "description": "video_create_error.py in the pinned SDK includes structured safety context.",
        "properties": {
          "detailed_explanation": {
            "type": [
              "string",
              "null"
            ]
          },
          "error_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "steer": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_NativeVideoSteer"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_NativeVideoObject": {
        "enum": [
          "video"
        ],
        "type": "string"
      },
      "Output_NativeVideoSize": {
        "enum": [
          "720x1280",
          "1280x720",
          "1024x1792",
          "1792x1024"
        ],
        "type": "string"
      },
      "Output_NativeVideoStatus": {
        "enum": [
          "queued",
          "in_progress",
          "completed",
          "failed"
        ],
        "type": "string"
      },
      "Output_NativeVideoSteer": {
        "additionalProperties": true,
        "properties": {
          "message": {
            "type": "string"
          }
        },
        "required": [
          "message"
        ],
        "type": "object"
      },
      "Output_NetworkAllowlist": {
        "additionalProperties": true,
        "properties": {
          "allowed_domains": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "domain_secrets": {
            "items": {
              "$ref": "#/components/schemas/Output_DomainSecret"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_NetworkAllowlistType"
          }
        },
        "required": [
          "allowed_domains",
          "type"
        ],
        "type": "object"
      },
      "Output_NetworkAllowlistType": {
        "enum": [
          "allowlist"
        ],
        "type": "string"
      },
      "Output_NetworkDisabled": {
        "additionalProperties": true,
        "properties": {
          "type": {
            "$ref": "#/components/schemas/Output_NetworkDisabledType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_NetworkDisabledType": {
        "enum": [
          "disabled"
        ],
        "type": "string"
      },
      "Output_NoiseReductionType": {
        "description": "Source: `openai/types/realtime/noise_reduction_type.py`, `NoiseReductionType`.",
        "enum": [
          "near_field",
          "far_field"
        ],
        "type": "string"
      },
      "Output_OAuthClientDto": {
        "properties": {
          "deletedAtMs": {
            "description": "Set by `retire`, cleared when the same id is registered again. A\nretired client is kept so session history still resolves; a new\nregistration does not un-revoke its grants.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "enabled": {
            "type": "boolean"
          },
          "id": {
            "description": "The public `client_id`, chosen at registration and immutable after it.",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "redirectUris": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "id",
          "name",
          "redirectUris",
          "enabled",
          "deletedAtMs"
        ],
        "type": "object"
      },
      "Output_OAuthErrorBody": {
        "description": "RFC 6749 §5.2's error body, which RFC 7009 and RFC 8628 reuse.",
        "properties": {
          "error": {
            "type": "string"
          },
          "error_description": {
            "type": "string"
          }
        },
        "required": [
          "error",
          "error_description"
        ],
        "type": "object"
      },
      "Output_OpenAiEmbedding": {
        "additionalProperties": true,
        "properties": {
          "embedding": {
            "$ref": "#/components/schemas/Output_EmbeddingVector"
          },
          "index": {
            "format": "int64",
            "type": "integer"
          },
          "object": {
            "$ref": "#/components/schemas/Output_EmbeddingObject"
          }
        },
        "required": [
          "embedding",
          "index",
          "object"
        ],
        "type": "object"
      },
      "Output_OperationEndpointDto": {
        "description": "A complete method URL for one `(operation, dialect, transport)` of one\nprovider. It replaces the URL the channel would build, not just its host.",
        "properties": {
          "dialect": {
            "description": "A `gproxy_protocol::Dialect` id, e.g. `openai`.",
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "operation": {
            "type": "string"
          },
          "providerId": {
            "type": "string"
          },
          "transport": {
            "description": "`http` or `websocket`.",
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "providerId",
          "operation",
          "dialect",
          "transport",
          "url",
          "enabled"
        ],
        "type": "object"
      },
      "Output_OperationRoutingDto": {
        "properties": {
          "custom": {
            "type": "boolean"
          },
          "defaultMapping": {
            "$ref": "#/components/schemas/Output_RoutingMappingDto"
          },
          "dialect": {
            "type": "string"
          },
          "localAvailable": {
            "type": "boolean"
          },
          "mapping": {
            "$ref": "#/components/schemas/Output_RoutingMappingDto"
          },
          "operation": {
            "type": "string"
          },
          "targets": {
            "items": {
              "$ref": "#/components/schemas/Output_RoutingTargetDto"
            },
            "type": "array"
          }
        },
        "required": [
          "operation",
          "dialect",
          "defaultMapping",
          "mapping",
          "custom",
          "localAvailable",
          "targets"
        ],
        "type": "object"
      },
      "Output_OperationRuleDto": {
        "properties": {
          "action": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "operation": {
            "description": "A `gproxy_protocol::Operation` id, e.g. `generate_content`.",
            "type": "string"
          },
          "providerId": {
            "type": "string"
          },
          "target": {
            "description": "Action-specific target, e.g. the destination `OperationKey`."
          }
        },
        "required": [
          "id",
          "providerId",
          "operation",
          "action",
          "target"
        ],
        "type": "object"
      },
      "Output_OrganizationDto": {
        "properties": {
          "createdAtMs": {
            "format": "int64",
            "type": "integer"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "oauthClientAllowlist": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "oauthClientAllowlist",
          "createdAtMs"
        ],
        "type": "object"
      },
      "Output_OrganizationMemberDto": {
        "properties": {
          "organizationId": {
            "type": "string"
          },
          "role": {
            "description": "`member` or `admin`. Scoped to this organization; it is not the user's\ninstance role.",
            "type": "string"
          },
          "userId": {
            "type": "string"
          }
        },
        "required": [
          "organizationId",
          "userId",
          "role"
        ],
        "type": "object"
      },
      "Output_Outcome": {
        "enum": [
          "OUTCOME_UNSPECIFIED",
          "OUTCOME_OK",
          "OUTCOME_FAILED",
          "OUTCOME_DEADLINE_EXCEEDED"
        ],
        "type": "string"
      },
      "Output_OutputAnnotation": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_FileCitation"
          },
          {
            "$ref": "#/components/schemas/Output_UrlCitation"
          },
          {
            "$ref": "#/components/schemas/Output_ContainerFileCitation"
          },
          {
            "$ref": "#/components/schemas/Output_FilePath"
          }
        ]
      },
      "Output_OutputContent": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_ResponseOutputText"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseOutputRefusal"
          }
        ]
      },
      "Output_OutputContentPart": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_ResponseOutputText"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseOutputRefusal"
          },
          {
            "$ref": "#/components/schemas/Output_ReasoningText"
          }
        ]
      },
      "Output_OutputImageBackground": {
        "enum": [
          "transparent",
          "opaque"
        ],
        "type": "string"
      },
      "Output_OutputImageQuality": {
        "enum": [
          "low",
          "medium",
          "high",
          "xhigh",
          "max"
        ],
        "type": "string"
      },
      "Output_OutputImageSize": {
        "anyOf": [
          {
            "enum": [
              "1024x1024",
              "1024x1536",
              "1536x1024"
            ],
            "type": "string"
          },
          {
            "type": "string"
          }
        ]
      },
      "Output_OutputItemEvent": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "item": {
            "$ref": "#/components/schemas/Output_ResponseOutputItem"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sequence_number",
          "output_index",
          "item"
        ],
        "type": "object"
      },
      "Output_OutputLogprob": {
        "additionalProperties": true,
        "properties": {
          "bytes": {
            "items": {
              "format": "int64",
              "type": "integer"
            },
            "type": "array"
          },
          "logprob": {
            "type": "number"
          },
          "token": {
            "type": "string"
          },
          "top_logprobs": {
            "items": {
              "$ref": "#/components/schemas/Output_TopLogprob"
            },
            "type": "array"
          }
        },
        "required": [
          "token",
          "bytes",
          "logprob",
          "top_logprobs"
        ],
        "type": "object"
      },
      "Output_OutputMessageRole": {
        "enum": [
          "assistant"
        ],
        "type": "string"
      },
      "Output_OutputMessageStatus": {
        "enum": [
          "in_progress",
          "completed",
          "incomplete"
        ],
        "type": "string"
      },
      "Output_OutputTextAnnotationAdded": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "annotation": true,
          "annotation_index": {
            "format": "int64",
            "type": "integer"
          },
          "content_index": {
            "format": "int64",
            "type": "integer"
          },
          "item_id": {
            "type": "string"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sequence_number",
          "item_id",
          "output_index",
          "content_index",
          "annotation_index",
          "annotation"
        ],
        "type": "object"
      },
      "Output_OutputTextDelta": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "content_index": {
            "format": "int64",
            "type": "integer"
          },
          "delta": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "logprobs": {
            "items": {
              "$ref": "#/components/schemas/Output_StreamLogprob"
            },
            "type": "array"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sequence_number",
          "item_id",
          "output_index",
          "content_index",
          "delta",
          "logprobs"
        ],
        "type": "object"
      },
      "Output_OutputTextDone": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "content_index": {
            "format": "int64",
            "type": "integer"
          },
          "item_id": {
            "type": "string"
          },
          "logprobs": {
            "items": {
              "$ref": "#/components/schemas/Output_StreamLogprob"
            },
            "type": "array"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "sequence_number",
          "item_id",
          "output_index",
          "content_index",
          "text",
          "logprobs"
        ],
        "type": "object"
      },
      "Output_OutputTokensDetails": {
        "additionalProperties": true,
        "properties": {
          "thinking_tokens": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "thinking_tokens"
        ],
        "type": "object"
      },
      "Output_Page": {
        "description": "One page of results. `total` counts every row the filters match, not the\npage, so a console can render a pager without a second request.",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Output_UserDto"
            },
            "type": "array"
          },
          "limit": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "offset": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "total": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total",
          "offset",
          "limit"
        ],
        "type": "object"
      },
      "Output_Page10": {
        "description": "One page of results. `total` counts every row the filters match, not the\npage, so a console can render a pager without a second request.",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Output_UserSessionDto"
            },
            "type": "array"
          },
          "limit": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "offset": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "total": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total",
          "offset",
          "limit"
        ],
        "type": "object"
      },
      "Output_Page11": {
        "description": "One page of results. `total` counts every row the filters match, not the\npage, so a console can render a pager without a second request.",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Output_AuditEventDto"
            },
            "type": "array"
          },
          "limit": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "offset": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "total": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total",
          "offset",
          "limit"
        ],
        "type": "object"
      },
      "Output_Page12": {
        "description": "One page of results. `total` counts every row the filters match, not the\npage, so a console can render a pager without a second request.",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Output_ProviderDto"
            },
            "type": "array"
          },
          "limit": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "offset": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "total": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total",
          "offset",
          "limit"
        ],
        "type": "object"
      },
      "Output_Page13": {
        "description": "One page of results. `total` counts every row the filters match, not the\npage, so a console can render a pager without a second request.",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Output_CredentialDto"
            },
            "type": "array"
          },
          "limit": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "offset": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "total": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total",
          "offset",
          "limit"
        ],
        "type": "object"
      },
      "Output_Page14": {
        "description": "One page of results. `total` counts every row the filters match, not the\npage, so a console can render a pager without a second request.",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Output_ModelDto"
            },
            "type": "array"
          },
          "limit": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "offset": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "total": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total",
          "offset",
          "limit"
        ],
        "type": "object"
      },
      "Output_Page15": {
        "description": "One page of results. `total` counts every row the filters match, not the\npage, so a console can render a pager without a second request.",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Output_ProviderModelDto"
            },
            "type": "array"
          },
          "limit": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "offset": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "total": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total",
          "offset",
          "limit"
        ],
        "type": "object"
      },
      "Output_Page16": {
        "description": "One page of results. `total` counts every row the filters match, not the\npage, so a console can render a pager without a second request.",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Output_RouteDto"
            },
            "type": "array"
          },
          "limit": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "offset": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "total": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total",
          "offset",
          "limit"
        ],
        "type": "object"
      },
      "Output_Page17": {
        "description": "One page of results. `total` counts every row the filters match, not the\npage, so a console can render a pager without a second request.",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Output_RouteMemberDto"
            },
            "type": "array"
          },
          "limit": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "offset": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "total": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total",
          "offset",
          "limit"
        ],
        "type": "object"
      },
      "Output_Page18": {
        "description": "One page of results. `total` counts every row the filters match, not the\npage, so a console can render a pager without a second request.",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Output_ConnectionProfileDto"
            },
            "type": "array"
          },
          "limit": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "offset": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "total": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total",
          "offset",
          "limit"
        ],
        "type": "object"
      },
      "Output_Page19": {
        "description": "One page of results. `total` counts every row the filters match, not the\npage, so a console can render a pager without a second request.",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Output_RuleSetDto"
            },
            "type": "array"
          },
          "limit": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "offset": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "total": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total",
          "offset",
          "limit"
        ],
        "type": "object"
      },
      "Output_Page2": {
        "description": "One page of results. `total` counts every row the filters match, not the\npage, so a console can render a pager without a second request.",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Output_ApiKeyDto"
            },
            "type": "array"
          },
          "limit": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "offset": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "total": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total",
          "offset",
          "limit"
        ],
        "type": "object"
      },
      "Output_Page20": {
        "description": "One page of results. `total` counts every row the filters match, not the\npage, so a console can render a pager without a second request.",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Output_RewriteRuleDto"
            },
            "type": "array"
          },
          "limit": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "offset": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "total": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total",
          "offset",
          "limit"
        ],
        "type": "object"
      },
      "Output_Page21": {
        "description": "One page of results. `total` counts every row the filters match, not the\npage, so a console can render a pager without a second request.",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Output_ProviderRuleSetDto"
            },
            "type": "array"
          },
          "limit": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "offset": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "total": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total",
          "offset",
          "limit"
        ],
        "type": "object"
      },
      "Output_Page22": {
        "description": "One page of results. `total` counts every row the filters match, not the\npage, so a console can render a pager without a second request.",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Output_OperationRuleDto"
            },
            "type": "array"
          },
          "limit": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "offset": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "total": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total",
          "offset",
          "limit"
        ],
        "type": "object"
      },
      "Output_Page23": {
        "description": "One page of results. `total` counts every row the filters match, not the\npage, so a console can render a pager without a second request.",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Output_OperationEndpointDto"
            },
            "type": "array"
          },
          "limit": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "offset": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "total": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total",
          "offset",
          "limit"
        ],
        "type": "object"
      },
      "Output_Page24": {
        "description": "One page of results. `total` counts every row the filters match, not the\npage, so a console can render a pager without a second request.",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Output_QuotaDto"
            },
            "type": "array"
          },
          "limit": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "offset": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "total": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total",
          "offset",
          "limit"
        ],
        "type": "object"
      },
      "Output_Page25": {
        "description": "One page of results. `total` counts every row the filters match, not the\npage, so a console can render a pager without a second request.",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Output_PriceRuleDto"
            },
            "type": "array"
          },
          "limit": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "offset": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "total": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total",
          "offset",
          "limit"
        ],
        "type": "object"
      },
      "Output_Page26": {
        "description": "One page of results. `total` counts every row the filters match, not the\npage, so a console can render a pager without a second request.",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Output_PriceRateDto"
            },
            "type": "array"
          },
          "limit": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "offset": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "total": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total",
          "offset",
          "limit"
        ],
        "type": "object"
      },
      "Output_Page27": {
        "description": "One page of results. `total` counts every row the filters match, not the\npage, so a console can render a pager without a second request.",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Output_PriceTierDto"
            },
            "type": "array"
          },
          "limit": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "offset": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "total": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total",
          "offset",
          "limit"
        ],
        "type": "object"
      },
      "Output_Page28": {
        "description": "One page of results. `total` counts every row the filters match, not the\npage, so a console can render a pager without a second request.",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Output_QuotaObservationDto"
            },
            "type": "array"
          },
          "limit": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "offset": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "total": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total",
          "offset",
          "limit"
        ],
        "type": "object"
      },
      "Output_Page29": {
        "description": "One page of results. `total` counts every row the filters match, not the\npage, so a console can render a pager without a second request.",
        "properties": {
          "items": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "limit": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "offset": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "total": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total",
          "offset",
          "limit"
        ],
        "type": "object"
      },
      "Output_Page3": {
        "description": "One page of results. `total` counts every row the filters match, not the\npage, so a console can render a pager without a second request.",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Output_OrganizationDto"
            },
            "type": "array"
          },
          "limit": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "offset": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "total": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total",
          "offset",
          "limit"
        ],
        "type": "object"
      },
      "Output_Page4": {
        "description": "One page of results. `total` counts every row the filters match, not the\npage, so a console can render a pager without a second request.",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Output_TeamDto"
            },
            "type": "array"
          },
          "limit": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "offset": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "total": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total",
          "offset",
          "limit"
        ],
        "type": "object"
      },
      "Output_Page5": {
        "description": "One page of results. `total` counts every row the filters match, not the\npage, so a console can render a pager without a second request.",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Output_PermissionDto"
            },
            "type": "array"
          },
          "limit": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "offset": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "total": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total",
          "offset",
          "limit"
        ],
        "type": "object"
      },
      "Output_Page6": {
        "description": "One page of results. `total` counts every row the filters match, not the\npage, so a console can render a pager without a second request.",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Output_RateLimitDto"
            },
            "type": "array"
          },
          "limit": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "offset": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "total": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total",
          "offset",
          "limit"
        ],
        "type": "object"
      },
      "Output_Page7": {
        "description": "One page of results. `total` counts every row the filters match, not the\npage, so a console can render a pager without a second request.",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Output_OAuthClientDto"
            },
            "type": "array"
          },
          "limit": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "offset": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "total": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total",
          "offset",
          "limit"
        ],
        "type": "object"
      },
      "Output_Page8": {
        "description": "One page of results. `total` counts every row the filters match, not the\npage, so a console can render a pager without a second request.",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Output_OrganizationMemberDto"
            },
            "type": "array"
          },
          "limit": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "offset": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "total": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total",
          "offset",
          "limit"
        ],
        "type": "object"
      },
      "Output_Page9": {
        "description": "One page of results. `total` counts every row the filters match, not the\npage, so a console can render a pager without a second request.",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Output_TeamMemberDto"
            },
            "type": "array"
          },
          "limit": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "offset": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "total": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total",
          "offset",
          "limit"
        ],
        "type": "object"
      },
      "Output_Part": {
        "additionalProperties": true,
        "properties": {
          "audioTranscription": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_AudioTranscription"
              },
              {
                "type": "null"
              }
            ]
          },
          "codeExecutionResult": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_CodeExecutionResult2"
              },
              {
                "type": "null"
              }
            ]
          },
          "executableCode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ExecutableCode"
              },
              {
                "type": "null"
              }
            ]
          },
          "fileData": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_FileData"
              },
              {
                "type": "null"
              }
            ]
          },
          "functionCall": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_FunctionCall2"
              },
              {
                "type": "null"
              }
            ]
          },
          "functionResponse": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_FunctionResponse"
              },
              {
                "type": "null"
              }
            ]
          },
          "inlineData": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Blob"
              },
              {
                "type": "null"
              }
            ]
          },
          "mediaProcessing": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_MediaProcessing"
              },
              {
                "type": "null"
              }
            ]
          },
          "mediaResolution": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_MediaResolution"
              },
              {
                "type": "null"
              }
            ]
          },
          "partMetadata": {
            "additionalProperties": true,
            "type": [
              "object",
              "null"
            ]
          },
          "speechMetadata": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_SpeechMetadata"
              },
              {
                "type": "null"
              }
            ]
          },
          "text": {
            "type": [
              "string",
              "null"
            ]
          },
          "thought": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "thoughtSignature": {
            "type": [
              "string",
              "null"
            ]
          },
          "toolCall": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ToolCall"
              },
              {
                "type": "null"
              }
            ]
          },
          "toolResponse": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ToolResponse"
              },
              {
                "type": "null"
              }
            ]
          },
          "videoMetadata": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_VideoMetadata"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_PdfBase64Source": {
        "additionalProperties": true,
        "properties": {
          "data": {
            "type": "string"
          },
          "media_type": {
            "$ref": "#/components/schemas/Output_PdfMediaType"
          }
        },
        "required": [
          "data",
          "media_type"
        ],
        "type": "object"
      },
      "Output_PdfMediaType": {
        "enum": [
          "application/pdf"
        ],
        "type": "string"
      },
      "Output_PendingSafetyCheck": {
        "additionalProperties": true,
        "properties": {
          "code": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "message": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id"
        ],
        "type": "object"
      },
      "Output_PermissionDto": {
        "properties": {
          "action": {
            "description": "`allow` or `deny`.",
            "type": "string"
          },
          "apiKeyId": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "modelPattern": {
            "description": "A glob: `*` and `?`, anchored, case-sensitive. `*` matches a request\nthat names no model at all.",
            "type": "string"
          },
          "operation": {
            "description": "None means every operation.",
            "type": [
              "string",
              "null"
            ]
          },
          "priority": {
            "description": "Higher wins; ties fall back to id order.",
            "format": "int32",
            "type": "integer"
          },
          "providerId": {
            "description": "None means every provider.",
            "type": [
              "string",
              "null"
            ]
          },
          "userId": {
            "description": "Exactly one of these two is set. A rule with neither is a grant to\nnobody; a rule with both is an intersection the snapshot still honours\nbut this family refuses to write, because nobody who wrote one meant\n\"the key *and* the user\".",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "userId",
          "apiKeyId",
          "providerId",
          "modelPattern",
          "operation",
          "action",
          "priority"
        ],
        "type": "object"
      },
      "Output_PermissionMessages": {
        "additionalProperties": true,
        "properties": {
          "danger_full_access": {
            "type": [
              "string",
              "null"
            ]
          },
          "read_only": {
            "type": [
              "string",
              "null"
            ]
          },
          "workspace_write": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_PingEvent": {
        "additionalProperties": true,
        "type": "object"
      },
      "Output_PlaceAnswerSources": {
        "additionalProperties": true,
        "properties": {
          "reviewSnippets": {
            "items": {
              "$ref": "#/components/schemas/Output_ReviewSnippet"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_PlainTextSource": {
        "additionalProperties": true,
        "properties": {
          "data": {
            "type": "string"
          },
          "media_type": {
            "$ref": "#/components/schemas/Output_TextMediaType"
          }
        },
        "required": [
          "data",
          "media_type"
        ],
        "type": "object"
      },
      "Output_PortalContextDto": {
        "description": "Everything a portal needs to render its shell, in one call: who you are,\nwhich scopes you belong to, what you are subscribed to, and which parts of\nthe portal this instance offers you.",
        "properties": {
          "features": {
            "$ref": "#/components/schemas/Output_PortalFeaturesDto"
          },
          "organizations": {
            "description": "Direct organization memberships. A team joined without its parent is\n*not* listed here; the team is, with its `organizationId`.",
            "items": {
              "$ref": "#/components/schemas/Output_PortalOrganizationDto"
            },
            "type": "array"
          },
          "teams": {
            "items": {
              "$ref": "#/components/schemas/Output_PortalTeamDto"
            },
            "type": "array"
          },
          "user": {
            "$ref": "#/components/schemas/Output_PortalUserDto"
          }
        },
        "required": [
          "user",
          "organizations",
          "teams",
          "features"
        ],
        "type": "object"
      },
      "Output_PortalFeaturesDto": {
        "description": "What this instance lets this caller do, so a portal can hide a tab rather\nthan render one that answers 403.\n\nEvery flag is a fact about configuration or about the caller's role — never\nabout data — so computing it costs nothing and leaks nothing.",
        "properties": {
          "canChangePassword": {
            "description": "Same rule, same reason: a third-party program does not get to change\nthe account password it was lent.",
            "type": "boolean"
          },
          "canCreateKeys": {
            "description": "Whether the key family's writing half is open. False for an OAuth-grant\ncaller: a token the user handed to somebody else's program must not be\nable to mint a fresh long-lived credential out of that trust.",
            "type": "boolean"
          },
          "canSeeConsole": {
            "description": "Whether to offer a link into the operator console: it has to be built\ninto this instance *and* the caller has to be an instance administrator.",
            "type": "boolean"
          },
          "canSeeLogs": {
            "description": "`settings.portal_recent_requests_enabled`. Off means\n[`Portal::recent_requests`](crate::operations::Portal::recent_requests)\nanswers with nothing.",
            "type": "boolean"
          }
        },
        "required": [
          "canCreateKeys",
          "canChangePassword",
          "canSeeLogs",
          "canSeeConsole"
        ],
        "type": "object"
      },
      "Output_PortalKeyCreated": {
        "description": "A minted or rotated key. `token` is the only time the plaintext travels,\napart from an explicit reveal of a key that retained one.",
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "expiresAtMs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "hasSecret": {
            "description": "Whether the instance retained a sealed copy, i.e. whether `reveal` can\nanswer for this key.",
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "organizationId": {
            "type": [
              "string",
              "null"
            ]
          },
          "prefix": {
            "description": "The first characters of the key body, for telling two keys apart.",
            "type": "string"
          },
          "teamId": {
            "type": [
              "string",
              "null"
            ]
          },
          "token": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "prefix",
          "organizationId",
          "teamId",
          "expiresAtMs",
          "enabled",
          "hasSecret",
          "token"
        ],
        "type": "object"
      },
      "Output_PortalKeyDto": {
        "description": "One of the caller's own gateway keys.\n\nNo `userId`: it is always the caller. No `kind`: the portal only ever shows\n`user` keys, because an `oauth` key belongs to a grant and is managed by\nrevoking that grant.",
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "expiresAtMs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "hasSecret": {
            "description": "Whether the instance retained a sealed copy, i.e. whether `reveal` can\nanswer for this key.",
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "organizationId": {
            "type": [
              "string",
              "null"
            ]
          },
          "prefix": {
            "description": "The first characters of the key body, for telling two keys apart.",
            "type": "string"
          },
          "teamId": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "prefix",
          "organizationId",
          "teamId",
          "expiresAtMs",
          "enabled",
          "hasSecret"
        ],
        "type": "object"
      },
      "Output_PortalKeySecretDto": {
        "description": "The answer to a reveal. Separate from [`PortalKeyDto`] so a plaintext can\nnever ride along with an ordinary read.",
        "properties": {
          "id": {
            "type": "string"
          },
          "token": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "token"
        ],
        "type": "object"
      },
      "Output_PortalModelDto": {
        "description": "One addressable model name, and whether this caller may call it.\n\n`providerCount` and `channelIds` describe the providers that back the name\non this instance, not the ones this caller may reach — a count and a\nchannel id are instance configuration, and knowing that `codex/gpt-5` is\nserved by two providers tells a user nothing about another tenant.\n`permitted` is the caller's own answer.",
        "properties": {
          "channelIds": {
            "description": "The channels behind the name, sorted and deduplicated.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "name": {
            "description": "Either an exposed model name or a `providerName/model` form.",
            "type": "string"
          },
          "permitted": {
            "description": "Whether at least one of those providers is one the caller's permission\nrules allow for this name.",
            "type": "boolean"
          },
          "providerCount": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "name",
          "providerCount",
          "channelIds",
          "permitted"
        ],
        "type": "object"
      },
      "Output_PortalOAuthSessionDto": {
        "description": "One live authorization the caller granted to a third-party client.",
        "properties": {
          "clientId": {
            "type": "string"
          },
          "clientName": {
            "description": "The client's registered display name, or None when the registration is\ngone.",
            "type": [
              "string",
              "null"
            ]
          },
          "createdAtMs": {
            "format": "int64",
            "type": "integer"
          },
          "id": {
            "type": "string"
          },
          "lastRefreshedAtMs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "loggedInAtMs": {
            "description": "The first successful token exchange. None means consent was given but\nthe client never completed the login.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "refreshCount": {
            "format": "int64",
            "type": "integer"
          },
          "refreshExpiresAtMs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "scopes": {
            "description": "The scopes this grant carries, as granted.",
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "id",
          "clientId",
          "clientName",
          "scopes",
          "createdAtMs",
          "loggedInAtMs",
          "lastRefreshedAtMs",
          "refreshCount",
          "refreshExpiresAtMs"
        ],
        "type": "object"
      },
      "Output_PortalOrganizationDto": {
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "role": {
            "description": "`member` or `admin`, scoped to this organization.",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "role"
        ],
        "type": "object"
      },
      "Output_PortalQuotaWindowDto": {
        "description": "One budget window of the caller's own chain.\n\nThe owner is reported because a user has to be able to tell \"I am out of my\nown allowance\" from \"my team is out of its allowance\", which are two very\ndifferent things to do something about. Every owner here is one the caller\nis themselves part of: the chain is built from their own key binding.",
        "properties": {
          "limit": {
            "type": "string"
          },
          "modelPattern": {
            "description": "The glob this budget covers, absent when it covers everything.",
            "type": [
              "string",
              "null"
            ]
          },
          "ownerId": {
            "type": "string"
          },
          "ownerKind": {
            "description": "`api_key`, `user`, `team` or `org`.",
            "type": "string"
          },
          "period": {
            "description": "`5h`, `1d`, `7d`, `1m`, `total`, …",
            "type": "string"
          },
          "resetsAtMs": {
            "description": "None for a permanent (`total`) window.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "startsAtMs": {
            "format": "int64",
            "type": "integer"
          },
          "unit": {
            "description": "`USD` for a cost budget.",
            "type": "string"
          },
          "used": {
            "type": "string"
          },
          "usedPercent": {
            "description": "On the 0..100 scale, to two decimals. None when the limit is zero,\nwhich is a switched-off subject rather than a ratio.",
            "type": [
              "string",
              "null"
            ]
          },
          "windowKey": {
            "description": "The budget's stable key within its owner, e.g. `primary`.",
            "type": "string"
          }
        },
        "required": [
          "ownerKind",
          "ownerId",
          "windowKey",
          "period",
          "modelPattern",
          "unit",
          "used",
          "limit",
          "usedPercent",
          "startsAtMs",
          "resetsAtMs"
        ],
        "type": "object"
      },
      "Output_PortalRequestDto": {
        "description": "One of the caller's own recent requests, reduced.\n\nWhat is missing is the point: no bodies, no headers, no URL, no client\naddress, no credential id, and no provider id — only the provider's display\nname, and only when it still exists. See the module note on\n[`Portal::recent_requests`](crate::operations::Portal::recent_requests).",
        "properties": {
          "apiKeyId": {
            "description": "The caller's own key that made the request, when one did.",
            "type": [
              "string",
              "null"
            ]
          },
          "durationMs": {
            "description": "End minus start, when the request has ended.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "endedAtMs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "model": {
            "description": "The name the client asked for.",
            "type": [
              "string",
              "null"
            ]
          },
          "operation": {
            "type": [
              "string",
              "null"
            ]
          },
          "provider": {
            "description": "The upstream's display name. Never its id, never its credential.",
            "type": [
              "string",
              "null"
            ]
          },
          "requestId": {
            "type": "string"
          },
          "responseStatus": {
            "format": "int32",
            "type": [
              "integer",
              "null"
            ]
          },
          "startedAtMs": {
            "format": "int64",
            "type": "integer"
          },
          "state": {
            "description": "`in_progress`, `completed`, `failed` or `cancelled`. Capture\ncompleteness, not the upstream's verdict.",
            "type": "string"
          }
        },
        "required": [
          "requestId",
          "apiKeyId",
          "model",
          "operation",
          "provider",
          "responseStatus",
          "state",
          "startedAtMs",
          "endedAtMs",
          "durationMs"
        ],
        "type": "object"
      },
      "Output_PortalTeamDto": {
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "organizationId": {
            "type": "string"
          },
          "role": {
            "description": "`member` or `admin`, scoped to this team. An organization admin is not\nautomatically a team admin.",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "organizationId",
          "role"
        ],
        "type": "object"
      },
      "Output_PortalUsageDto": {
        "description": "The caller's own usage over the requested range.",
        "properties": {
          "fromMs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "groups": {
            "description": "Empty unless `groupBy` was given.",
            "items": {
              "$ref": "#/components/schemas/Output_UsageGroupDto"
            },
            "type": "array"
          },
          "summary": {
            "$ref": "#/components/schemas/Output_UsageSummaryDto"
          },
          "toMs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "trend": {
            "description": "Empty unless `bucketMs` was given.",
            "items": {
              "$ref": "#/components/schemas/Output_UsageTrendPointDto"
            },
            "type": "array"
          }
        },
        "required": [
          "fromMs",
          "toMs",
          "summary",
          "groups",
          "trend"
        ],
        "type": "object"
      },
      "Output_PortalUserDto": {
        "properties": {
          "hasPassword": {
            "description": "Whether a password is set. An account without one signs in through\nOAuth only, and its password change takes no `current`.",
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "role": {
            "description": "The instance-wide role, `admin` or `user`. Organization and team roles\nare memberships and are listed with their scope.",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "role",
          "hasPassword"
        ],
        "type": "object"
      },
      "Output_PreviewUserLocation": {
        "additionalProperties": true,
        "properties": {
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "country": {
            "type": [
              "string",
              "null"
            ]
          },
          "region": {
            "type": [
              "string",
              "null"
            ]
          },
          "timezone": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_UserLocationType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_PriceRateDto": {
        "description": "One billable quantity's price. `value` buys `unit_quantity` units, so a\nper-million token price is `unit_quantity = 1000000`.",
        "properties": {
          "conditions": {
            "description": "None is the fallback rate; otherwise a nonempty object of dimensions."
          },
          "id": {
            "type": "string"
          },
          "metric": {
            "description": "A `gproxy_store::entity::pricing::metric` key, or a custom one.",
            "type": "string"
          },
          "priceRuleId": {
            "type": "string"
          },
          "priority": {
            "format": "int32",
            "type": "integer"
          },
          "unit": {
            "description": "`token`, `count`, `second` or `character`.",
            "type": "string"
          },
          "unitQuantity": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "priceRuleId",
          "metric",
          "unit",
          "unitQuantity",
          "value",
          "conditions",
          "priority"
        ],
        "type": "object"
      },
      "Output_PriceRuleDto": {
        "properties": {
          "currency": {
            "description": "ISO 4217, three letters.",
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "modelPattern": {
            "description": "A `*`/`?` glob over the upstream model name.",
            "type": "string"
          },
          "operation": {
            "description": "None covers every operation of the matched model.",
            "type": [
              "string",
              "null"
            ]
          },
          "priority": {
            "format": "int32",
            "type": "integer"
          },
          "providerId": {
            "description": "None prices every provider; a provider rule wins over a global one.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "providerId",
          "modelPattern",
          "operation",
          "priority",
          "currency",
          "enabled"
        ],
        "type": "object"
      },
      "Output_PriceTierDto": {
        "description": "A context or service-tier override inside one rule. Every per-million\nprice is optional: None inherits, zero is explicitly free.",
        "properties": {
          "audioInputPerMillion": {
            "type": [
              "string",
              "null"
            ]
          },
          "audioOutputPerMillion": {
            "type": [
              "string",
              "null"
            ]
          },
          "cacheCreationPerMillion": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Output_CacheCreationPriceDto"
            },
            "type": "array"
          },
          "cacheReadPerMillion": {
            "type": [
              "string",
              "null"
            ]
          },
          "cachedAudioInputPerMillion": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "imageInputPerMillion": {
            "type": [
              "string",
              "null"
            ]
          },
          "imageOutputPerMillion": {
            "type": [
              "string",
              "null"
            ]
          },
          "inputPerMillion": {
            "type": [
              "string",
              "null"
            ]
          },
          "minPromptTokens": {
            "format": "int64",
            "type": "integer"
          },
          "multiplier": {
            "type": [
              "string",
              "null"
            ]
          },
          "outputPerMillion": {
            "type": [
              "string",
              "null"
            ]
          },
          "priceRuleId": {
            "type": "string"
          },
          "priority": {
            "format": "int32",
            "type": "integer"
          },
          "reasoningPerMillion": {
            "type": [
              "string",
              "null"
            ]
          },
          "serviceTier": {
            "description": "None is a context tier; otherwise `standard`, `priority`, `flex`, … .",
            "type": [
              "string",
              "null"
            ]
          },
          "videoInputPerMillion": {
            "type": [
              "string",
              "null"
            ]
          },
          "videoPerMillion": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "priceRuleId",
          "serviceTier",
          "minPromptTokens",
          "priority",
          "multiplier",
          "inputPerMillion",
          "outputPerMillion",
          "cacheReadPerMillion",
          "cacheCreationPerMillion",
          "reasoningPerMillion",
          "imageInputPerMillion",
          "imageOutputPerMillion",
          "audioInputPerMillion",
          "cachedAudioInputPerMillion",
          "audioOutputPerMillion",
          "videoInputPerMillion",
          "videoPerMillion"
        ],
        "type": "object"
      },
      "Output_Program": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "call_id": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "fingerprint": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ProgramType"
          }
        },
        "required": [
          "type",
          "id",
          "call_id",
          "code",
          "fingerprint"
        ],
        "type": "object"
      },
      "Output_ProgramCaller": {
        "additionalProperties": true,
        "properties": {
          "caller_id": {
            "type": "string"
          }
        },
        "required": [
          "caller_id"
        ],
        "type": "object"
      },
      "Output_ProgramOutput": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "call_id": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "result": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/Output_ProgramOutputStatus"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ProgramOutputType"
          }
        },
        "required": [
          "type",
          "id",
          "call_id",
          "result",
          "status"
        ],
        "type": "object"
      },
      "Output_ProgramOutputStatus": {
        "enum": [
          "completed",
          "incomplete"
        ],
        "type": "string"
      },
      "Output_ProgramOutputType": {
        "enum": [
          "program_output"
        ],
        "type": "string"
      },
      "Output_ProgramType": {
        "enum": [
          "program"
        ],
        "type": "string"
      },
      "Output_PromptCacheBreakpoint": {
        "additionalProperties": true,
        "properties": {
          "mode": {
            "$ref": "#/components/schemas/Output_PromptCacheMode"
          },
          "ttl": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_PromptCacheBreakpointTtl"
              },
              {
                "type": "null"
              }
            ],
            "description": "Minimum lifetime of this breakpoint; omitted inherits the request TTL.\nOpenAI OpenAPI: PromptCacheBreakpointParam (2026-10-21)."
          }
        },
        "required": [
          "mode"
        ],
        "type": "object"
      },
      "Output_PromptCacheBreakpointTtl": {
        "description": "Explicit cache-breakpoint lifetimes from OpenAI's PromptCacheBreakpointParam.\nSeparate from the request-wide PromptCacheTTLEnum and legacy retention policy.",
        "enum": [
          "30m",
          "12h"
        ],
        "type": "string"
      },
      "Output_PromptCacheDiagnostics": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Output_CacheMiss",
            "properties": {
              "type": {
                "const": "cache_miss",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_DiagnosticOutcome",
            "properties": {
              "type": {
                "const": "cache_hit",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_DiagnosticOutcome",
            "properties": {
              "type": {
                "const": "comparison_response_not_found",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_DiagnosticOutcome",
            "properties": {
              "type": {
                "const": "unavailable",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Output_PromptCacheMode": {
        "enum": [
          "explicit"
        ],
        "type": "string"
      },
      "Output_PromptCacheRetention": {
        "enum": [
          "in_memory",
          "24h"
        ],
        "type": "string"
      },
      "Output_PromptCacheTtl": {
        "description": "Request-wide lifetimes from upstream_docs/openai/docs/Prompt caching.md.\nThe 2026-10-20 release predates the reference's request-level TTL enum update.",
        "enum": [
          "30m",
          "12h"
        ],
        "type": "string"
      },
      "Output_PromptCachingMode": {
        "enum": [
          "implicit",
          "explicit"
        ],
        "type": "string"
      },
      "Output_PromptFeedback": {
        "additionalProperties": true,
        "properties": {
          "blockReason": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_BlockReason"
              },
              {
                "type": "null"
              }
            ]
          },
          "safetyRatings": {
            "items": {
              "$ref": "#/components/schemas/Output_SafetyRating"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_PromptTokensDetails": {
        "additionalProperties": true,
        "properties": {
          "audio_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "cache_write_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "cached_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "image_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "text_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_PromptVariableValue": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseInputText"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseInputImage"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseInputFile"
          }
        ],
        "description": "Prompt variables are a closed union, not arbitrary JSON (source line 4419)."
      },
      "Output_ProviderDto": {
        "properties": {
          "baseUrl": {
            "type": [
              "string",
              "null"
            ]
          },
          "channel": {
            "description": "The channel implementation this provider speaks through; must be one\nof `Gproxy::channels()`.",
            "type": "string"
          },
          "config": {
            "description": "Channel-specific configuration; always a JSON object."
          },
          "connectionProfileId": {
            "type": [
              "string",
              "null"
            ]
          },
          "createdAtMs": {
            "format": "int64",
            "type": "integer"
          },
          "displayName": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "enabled": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "description": "Invocation URL prefix.",
            "type": "string"
          },
          "proxy": {
            "default": null
          }
        },
        "required": [
          "id",
          "name",
          "displayName",
          "channel",
          "baseUrl",
          "connectionProfileId",
          "proxy",
          "config",
          "enabled",
          "createdAtMs"
        ],
        "type": "object"
      },
      "Output_ProviderModelDto": {
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "hasPrice": {
            "description": "A saved enabled provider or global price rule matches; populated by reads.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "metadata": true,
          "modelId": {
            "type": [
              "string",
              "null"
            ]
          },
          "priceRules": {
            "description": "Saved, enabled rules matching this model, in billing precedence order.",
            "items": {
              "$ref": "#/components/schemas/Output_PriceRuleDto"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "providerId": {
            "type": "string"
          },
          "upstreamName": {
            "description": "The name this provider's upstream answers to, not the public one.",
            "type": "string"
          }
        },
        "required": [
          "id",
          "providerId",
          "upstreamName",
          "modelId",
          "metadata",
          "enabled"
        ],
        "type": "object"
      },
      "Output_ProviderRuleSetDto": {
        "description": "A rule set attached to a provider, in attachment order.",
        "properties": {
          "createdAtMs": {
            "format": "int64",
            "type": "integer"
          },
          "enabled": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "providerId": {
            "type": "string"
          },
          "ruleSetId": {
            "type": "string"
          },
          "sortOrder": {
            "format": "int64",
            "type": "integer"
          },
          "updatedAtMs": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "providerId",
          "ruleSetId",
          "sortOrder",
          "enabled",
          "createdAtMs",
          "updatedAtMs"
        ],
        "type": "object"
      },
      "Output_QuotaAllowanceDto": {
        "description": "None means the upstream did not report the field, never zero.",
        "properties": {
          "limit": {
            "type": [
              "string",
              "null"
            ]
          },
          "periodEndMs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "periodStartMs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "remaining": {
            "type": [
              "string",
              "null"
            ]
          },
          "resetBehavior": {
            "description": "`periodic`, `recovering`, `expiring` or `unknown`.",
            "type": "string"
          },
          "unit": {
            "type": [
              "string",
              "null"
            ]
          },
          "unlimited": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "used": {
            "type": [
              "string",
              "null"
            ]
          },
          "usedPercent": {
            "description": "On the 0..100 scale.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "used",
          "limit",
          "remaining",
          "usedPercent",
          "unlimited",
          "unit",
          "periodStartMs",
          "periodEndMs",
          "resetBehavior"
        ],
        "type": "object"
      },
      "Output_QuotaBalanceDto": {
        "properties": {
          "remaining": {
            "type": [
              "string",
              "null"
            ]
          },
          "unit": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "remaining",
          "unit"
        ],
        "type": "object"
      },
      "Output_QuotaBreakdownRowDto": {
        "properties": {
          "key": {
            "type": "string"
          },
          "label": {
            "type": [
              "string",
              "null"
            ]
          },
          "percent": {
            "type": "string"
          }
        },
        "required": [
          "key",
          "label",
          "percent"
        ],
        "type": "object"
      },
      "Output_QuotaDto": {
        "description": "One configured budget or operator limit. `owner_kind` is a free string:\n`user`, `api_key`, `team`, `org` and `pool` are caller budgets the host\nnames per request, while `credential` and `provider` are operator limits on\nupstream accounts. Both live in one table because both are windows over a\nmetric.",
        "properties": {
          "anchorAtMs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "enabled": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "limitValue": {
            "type": "string"
          },
          "metric": {
            "description": "`cost` for a budget; `requests` or `cost` for a limit.",
            "type": "string"
          },
          "modelPattern": {
            "description": "A `*`/`?` glob over the upstream model name; absent covers everything.",
            "type": [
              "string",
              "null"
            ]
          },
          "ownerId": {
            "type": "string"
          },
          "ownerKind": {
            "type": "string"
          },
          "period": {
            "description": "`5h`, `1d`, `7d`, `1m`, `total`, or anything with `period_seconds`.",
            "type": "string"
          },
          "periodSeconds": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "unit": {
            "description": "`USD` for cost, `count` for requests.",
            "type": "string"
          },
          "windowKey": {
            "description": "Stable key within the owner, e.g. `primary`.",
            "type": "string"
          }
        },
        "required": [
          "id",
          "ownerKind",
          "ownerId",
          "windowKey",
          "metric",
          "unit",
          "limitValue",
          "period",
          "periodSeconds",
          "anchorAtMs",
          "modelPattern",
          "enabled"
        ],
        "type": "object"
      },
      "Output_QuotaEntryDto": {
        "properties": {
          "allowance": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_QuotaAllowanceDto"
              },
              {
                "type": "null"
              }
            ],
            "description": "Present for `window`, `rate_limit` and `budget`."
          },
          "balance": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_QuotaBalanceDto"
              },
              {
                "type": "null"
              }
            ],
            "description": "Present only for `balance`."
          },
          "breakdown": {
            "items": {
              "$ref": "#/components/schemas/Output_QuotaBreakdownRowDto"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "kind": {
            "description": "`window`, `rate_limit`, `budget`, `balance` or `breakdown`.",
            "type": "string"
          },
          "label": {
            "type": [
              "string",
              "null"
            ]
          },
          "modelScope": {
            "description": "The channel's `QuotaScope` JSON: `\"all\"`, `{\"models\":[…]}`, … ."
          },
          "sourceId": {
            "type": "string"
          },
          "subject": {
            "description": "`account`, `organization`, `project`, `key` or `unknown`.",
            "type": "string"
          }
        },
        "required": [
          "id",
          "sourceId",
          "label",
          "subject",
          "modelScope",
          "kind",
          "allowance",
          "balance",
          "breakdown"
        ],
        "type": "object"
      },
      "Output_QuotaObservationDto": {
        "description": "One persisted upstream reading of one window: a row of the observation\nlog the cycles are built from.",
        "properties": {
          "credentialId": {
            "type": "string"
          },
          "cycleCostUsd": {
            "description": "That cycle's `costUsd` when the reading was taken; the difference\nbetween two readings of one cycle is the USD spent between them.",
            "type": [
              "string",
              "null"
            ]
          },
          "cycleId": {
            "description": "The cycle the reading fell in, if any.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "observedAtMs": {
            "format": "int64",
            "type": "integer"
          },
          "resetsAtMs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "scope": true,
          "snapshot": {
            "description": "The observed `QuotaEntry`, as the channel reported it."
          },
          "startsAtMs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "credentialId",
          "scope",
          "snapshot",
          "observedAtMs",
          "startsAtMs",
          "resetsAtMs",
          "cycleId",
          "cycleCostUsd"
        ],
        "type": "object"
      },
      "Output_QuotaProbeDto": {
        "description": "An explicit diagnostic probe; responses are redacted and never stored.",
        "properties": {
          "error": {
            "type": [
              "string",
              "null"
            ]
          },
          "responses": {
            "items": true,
            "type": "array"
          },
          "snapshot": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_QuotaSnapshotDto"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "snapshot",
          "error",
          "responses"
        ],
        "type": "object"
      },
      "Output_QuotaResetCreditsDto": {
        "properties": {
          "availableCount": {
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "creditExpirationsMs": {
            "items": {
              "format": "int64",
              "type": [
                "integer",
                "null"
              ]
            },
            "type": "array"
          },
          "expiresAtMs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "options": {
            "items": {
              "$ref": "#/components/schemas/Output_QuotaResetOptionDto"
            },
            "type": "array"
          }
        },
        "required": [
          "creditExpirationsMs",
          "options",
          "availableCount",
          "expiresAtMs"
        ],
        "type": "object"
      },
      "Output_QuotaResetDto": {
        "description": "The outcome of redeeming an upstream reset credit.",
        "properties": {
          "outcome": {
            "description": "`reset`, `nothing_to_reset`, `no_credit`, `already_redeemed`,\n`ineligible`, `unavailable` or `cooldown`.",
            "type": "string"
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "windowsReset": {
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "reason",
          "outcome",
          "windowsReset"
        ],
        "type": "object"
      },
      "Output_QuotaResetOptionDto": {
        "properties": {
          "availableCount": {
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "clears": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "expiresAtMs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "grantId": {
            "type": [
              "string",
              "null"
            ]
          },
          "ineligibleReason": {
            "type": [
              "string",
              "null"
            ]
          },
          "label": {
            "type": [
              "string",
              "null"
            ]
          },
          "nextAvailableAtMs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "program": {
            "type": "string"
          },
          "usable": {
            "type": "boolean"
          }
        },
        "required": [
          "program",
          "grantId",
          "label",
          "availableCount",
          "expiresAtMs",
          "nextAvailableAtMs",
          "usable",
          "ineligibleReason",
          "clears"
        ],
        "type": "object"
      },
      "Output_QuotaSnapshotDto": {
        "description": "One live answer from the upstream, already persisted as cycles and blocks\nby the time it is returned.",
        "properties": {
          "entries": {
            "items": {
              "$ref": "#/components/schemas/Output_QuotaEntryDto"
            },
            "type": "array"
          },
          "observedAtMs": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "observedAtMs",
          "entries"
        ],
        "type": "object"
      },
      "Output_Ranker": {
        "enum": [
          "auto",
          "default-2024-11-15"
        ],
        "type": "string"
      },
      "Output_RankingOptions": {
        "additionalProperties": true,
        "properties": {
          "hybrid_search": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_HybridSearch"
              },
              {
                "type": "null"
              }
            ]
          },
          "ranker": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Ranker"
              },
              {
                "type": "null"
              }
            ]
          },
          "score_threshold": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_RateLimitDto": {
        "properties": {
          "apiKeyId": {
            "type": [
              "string",
              "null"
            ]
          },
          "enabled": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "limitValue": {
            "description": "A decimal string, never a JSON number: a limit has to survive a\nJavaScript `Number` unchanged.",
            "type": "string"
          },
          "metric": {
            "description": "`requests`, `concurrency`, or any counter name the host charges.",
            "type": "string"
          },
          "modelPattern": {
            "description": "None means every model.",
            "type": [
              "string",
              "null"
            ]
          },
          "periodSeconds": {
            "format": "int64",
            "type": "integer"
          },
          "userId": {
            "description": "Exactly one subject, the same rule permissions follow.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "userId",
          "apiKeyId",
          "metric",
          "limitValue",
          "periodSeconds",
          "modelPattern",
          "enabled"
        ],
        "type": "object"
      },
      "Output_RateLimitsUpdatedEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/rate_limits_updated_event.py`, `RateLimitsUpdatedEvent`.",
        "properties": {
          "event_id": {
            "type": "string"
          },
          "rate_limits": {
            "items": {
              "$ref": "#/components/schemas/Output_RateLimitsUpdatedEventRateLimit"
            },
            "type": "array"
          },
          "type": {
            "$ref": "#/components/schemas/Output_RateLimitsUpdatedEventType"
          }
        },
        "required": [
          "event_id",
          "rate_limits",
          "type"
        ],
        "type": "object"
      },
      "Output_RateLimitsUpdatedEventRateLimit": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/rate_limits_updated_event.py`, `RateLimit`.",
        "properties": {
          "limit": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "name": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RateLimitsUpdatedEventRateLimitName"
              },
              {
                "type": "null"
              }
            ]
          },
          "remaining": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "reset_seconds": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_RateLimitsUpdatedEventRateLimitName": {
        "enum": [
          "requests",
          "tokens"
        ],
        "type": "string"
      },
      "Output_RateLimitsUpdatedEventType": {
        "enum": [
          "rate_limits.updated"
        ],
        "type": "string"
      },
      "Output_RealtimeAudioConfig": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_audio_config.py`, `RealtimeAudioConfig`.",
        "properties": {
          "input": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeAudioConfigInput"
              },
              {
                "type": "null"
              }
            ]
          },
          "output": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeAudioConfigOutput"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeAudioConfigInput": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_audio_config_input.py`, `RealtimeAudioConfigInput`.",
        "properties": {
          "format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeAudioFormats"
              },
              {
                "type": "null"
              }
            ]
          },
          "noise_reduction": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeAudioConfigInputNoiseReduction"
              },
              {
                "type": "null"
              }
            ]
          },
          "transcription": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_AudioTranscription2"
              },
              {
                "type": "null"
              }
            ]
          },
          "turn_detection": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeAudioInputTurnDetection"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeAudioConfigInputNoiseReduction": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_audio_config_input.py`, `NoiseReduction`.",
        "properties": {
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_NoiseReductionType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeAudioConfigOutput": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_audio_config_output.py`, `RealtimeAudioConfigOutput`.",
        "properties": {
          "format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeAudioFormats"
              },
              {
                "type": "null"
              }
            ]
          },
          "speed": {
            "type": [
              "number",
              "null"
            ]
          },
          "voice": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeAudioConfigOutputVoice"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeAudioConfigOutputVoice": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "$ref": "#/components/schemas/Output_RealtimeAudioConfigOutputVoiceID"
          }
        ],
        "description": "Source: `openai/types/realtime/realtime_audio_config_output.py`, `Voice`."
      },
      "Output_RealtimeAudioConfigOutputVoiceID": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_audio_config_output.py`, `VoiceID`.",
        "properties": {
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "type": "object"
      },
      "Output_RealtimeAudioFormats": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_RealtimeAudioFormatsAudioPCM"
          },
          {
            "$ref": "#/components/schemas/Output_RealtimeAudioFormatsAudioPCMU"
          },
          {
            "$ref": "#/components/schemas/Output_RealtimeAudioFormatsAudioPCMA"
          }
        ],
        "description": "Source: `openai/types/realtime/realtime_audio_formats.py`, `RealtimeAudioFormats`."
      },
      "Output_RealtimeAudioFormatsAudioPCM": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_audio_formats.py`, `AudioPCM`.",
        "properties": {
          "rate": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeAudioFormatsAudioPCMRate"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeAudioFormatsAudioPCMType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeAudioFormatsAudioPCMA": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_audio_formats.py`, `AudioPCMA`.",
        "properties": {
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeAudioFormatsAudioPCMAType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeAudioFormatsAudioPCMAType": {
        "enum": [
          "audio/pcma"
        ],
        "type": "string"
      },
      "Output_RealtimeAudioFormatsAudioPCMRate": {
        "description": "A numeric literal validated through scalar conversion; object routing remains derived.",
        "format": "int64",
        "type": "integer"
      },
      "Output_RealtimeAudioFormatsAudioPCMType": {
        "enum": [
          "audio/pcm"
        ],
        "type": "string"
      },
      "Output_RealtimeAudioFormatsAudioPCMU": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_audio_formats.py`, `AudioPCMU`.",
        "properties": {
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeAudioFormatsAudioPCMUType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeAudioFormatsAudioPCMUType": {
        "enum": [
          "audio/pcmu"
        ],
        "type": "string"
      },
      "Output_RealtimeAudioInputTurnDetection": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_RealtimeAudioInputTurnDetectionServerVad"
          },
          {
            "$ref": "#/components/schemas/Output_RealtimeAudioInputTurnDetectionSemanticVad"
          },
          {
            "type": "null"
          }
        ],
        "description": "Source: `openai/types/realtime/realtime_audio_input_turn_detection.py`, `RealtimeAudioInputTurnDetection`."
      },
      "Output_RealtimeAudioInputTurnDetectionSemanticVad": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_audio_input_turn_detection.py`, `SemanticVad`.",
        "properties": {
          "create_response": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "eagerness": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeAudioInputTurnDetectionSemanticVadEagerness"
              },
              {
                "type": "null"
              }
            ]
          },
          "interrupt_response": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_RealtimeAudioInputTurnDetectionSemanticVadType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_RealtimeAudioInputTurnDetectionSemanticVadEagerness": {
        "enum": [
          "low",
          "medium",
          "high",
          "auto"
        ],
        "type": "string"
      },
      "Output_RealtimeAudioInputTurnDetectionSemanticVadType": {
        "enum": [
          "semantic_vad"
        ],
        "type": "string"
      },
      "Output_RealtimeAudioInputTurnDetectionServerVad": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_audio_input_turn_detection.py`, `ServerVad`.",
        "properties": {
          "create_response": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "idle_timeout_ms": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "interrupt_response": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "prefix_padding_ms": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "silence_duration_ms": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "threshold": {
            "type": [
              "number",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_RealtimeAudioInputTurnDetectionServerVadType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_RealtimeAudioInputTurnDetectionServerVadType": {
        "enum": [
          "server_vad"
        ],
        "type": "string"
      },
      "Output_RealtimeConversationItemAssistantMessage": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_conversation_item_assistant_message.py`, `RealtimeConversationItemAssistantMessage`.",
        "properties": {
          "content": {
            "items": {
              "$ref": "#/components/schemas/Output_RealtimeConversationItemAssistantMessageContent"
            },
            "type": "array"
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "object": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeConversationItemAssistantMessageObject"
              },
              {
                "type": "null"
              }
            ]
          },
          "role": {
            "$ref": "#/components/schemas/Output_RealtimeConversationItemAssistantMessageRole"
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeConversationItemAssistantMessageStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_RealtimeConversationItemAssistantMessageType"
          }
        },
        "required": [
          "content",
          "role",
          "type"
        ],
        "type": "object"
      },
      "Output_RealtimeConversationItemAssistantMessageContent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_conversation_item_assistant_message.py`, `Content`.",
        "properties": {
          "audio": {
            "type": [
              "string",
              "null"
            ]
          },
          "text": {
            "type": [
              "string",
              "null"
            ]
          },
          "transcript": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeConversationItemAssistantMessageContentType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeConversationItemAssistantMessageContentType": {
        "enum": [
          "output_text",
          "output_audio"
        ],
        "type": "string"
      },
      "Output_RealtimeConversationItemAssistantMessageObject": {
        "enum": [
          "realtime.item"
        ],
        "type": "string"
      },
      "Output_RealtimeConversationItemAssistantMessageRole": {
        "enum": [
          "assistant"
        ],
        "type": "string"
      },
      "Output_RealtimeConversationItemAssistantMessageStatus": {
        "enum": [
          "completed",
          "incomplete",
          "in_progress"
        ],
        "type": "string"
      },
      "Output_RealtimeConversationItemAssistantMessageType": {
        "enum": [
          "message"
        ],
        "type": "string"
      },
      "Output_RealtimeConversationItemFunctionCall": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_conversation_item_function_call.py`, `RealtimeConversationItemFunctionCall`.",
        "properties": {
          "arguments": {
            "type": "string"
          },
          "call_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "object": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeConversationItemFunctionCallObject"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeConversationItemFunctionCallStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_RealtimeConversationItemFunctionCallType"
          }
        },
        "required": [
          "arguments",
          "name",
          "type"
        ],
        "type": "object"
      },
      "Output_RealtimeConversationItemFunctionCallObject": {
        "enum": [
          "realtime.item"
        ],
        "type": "string"
      },
      "Output_RealtimeConversationItemFunctionCallOutput": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_conversation_item_function_call_output.py`, `RealtimeConversationItemFunctionCallOutput`.",
        "properties": {
          "call_id": {
            "type": "string"
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "object": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeConversationItemFunctionCallOutputObject"
              },
              {
                "type": "null"
              }
            ]
          },
          "output": {
            "type": "string"
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeConversationItemFunctionCallOutputStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_RealtimeConversationItemFunctionCallOutputType"
          }
        },
        "required": [
          "call_id",
          "output",
          "type"
        ],
        "type": "object"
      },
      "Output_RealtimeConversationItemFunctionCallOutputObject": {
        "enum": [
          "realtime.item"
        ],
        "type": "string"
      },
      "Output_RealtimeConversationItemFunctionCallOutputStatus": {
        "enum": [
          "completed",
          "incomplete",
          "in_progress"
        ],
        "type": "string"
      },
      "Output_RealtimeConversationItemFunctionCallOutputType": {
        "enum": [
          "function_call_output"
        ],
        "type": "string"
      },
      "Output_RealtimeConversationItemFunctionCallStatus": {
        "enum": [
          "completed",
          "incomplete",
          "in_progress"
        ],
        "type": "string"
      },
      "Output_RealtimeConversationItemFunctionCallType": {
        "enum": [
          "function_call"
        ],
        "type": "string"
      },
      "Output_RealtimeConversationItemSystemMessage": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_conversation_item_system_message.py`, `RealtimeConversationItemSystemMessage`.",
        "properties": {
          "content": {
            "items": {
              "$ref": "#/components/schemas/Output_RealtimeConversationItemSystemMessageContent"
            },
            "type": "array"
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "object": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeConversationItemSystemMessageObject"
              },
              {
                "type": "null"
              }
            ]
          },
          "role": {
            "$ref": "#/components/schemas/Output_RealtimeConversationItemSystemMessageRole"
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeConversationItemSystemMessageStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_RealtimeConversationItemSystemMessageType"
          }
        },
        "required": [
          "content",
          "role",
          "type"
        ],
        "type": "object"
      },
      "Output_RealtimeConversationItemSystemMessageContent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_conversation_item_system_message.py`, `Content`.",
        "properties": {
          "text": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeConversationItemSystemMessageContentType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeConversationItemSystemMessageContentType": {
        "enum": [
          "input_text"
        ],
        "type": "string"
      },
      "Output_RealtimeConversationItemSystemMessageObject": {
        "enum": [
          "realtime.item"
        ],
        "type": "string"
      },
      "Output_RealtimeConversationItemSystemMessageRole": {
        "enum": [
          "system"
        ],
        "type": "string"
      },
      "Output_RealtimeConversationItemSystemMessageStatus": {
        "enum": [
          "completed",
          "incomplete",
          "in_progress"
        ],
        "type": "string"
      },
      "Output_RealtimeConversationItemSystemMessageType": {
        "enum": [
          "message"
        ],
        "type": "string"
      },
      "Output_RealtimeConversationItemUserMessage": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_conversation_item_user_message.py`, `RealtimeConversationItemUserMessage`.",
        "properties": {
          "content": {
            "items": {
              "$ref": "#/components/schemas/Output_RealtimeConversationItemUserMessageContent"
            },
            "type": "array"
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "object": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeConversationItemUserMessageObject"
              },
              {
                "type": "null"
              }
            ]
          },
          "role": {
            "$ref": "#/components/schemas/Output_RealtimeConversationItemUserMessageRole"
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeConversationItemUserMessageStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_RealtimeConversationItemUserMessageType"
          }
        },
        "required": [
          "content",
          "role",
          "type"
        ],
        "type": "object"
      },
      "Output_RealtimeConversationItemUserMessageContent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_conversation_item_user_message.py`, `Content`.",
        "properties": {
          "audio": {
            "type": [
              "string",
              "null"
            ]
          },
          "detail": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeConversationItemUserMessageContentDetail"
              },
              {
                "type": "null"
              }
            ]
          },
          "image_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "text": {
            "type": [
              "string",
              "null"
            ]
          },
          "transcript": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeConversationItemUserMessageContentType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeConversationItemUserMessageContentDetail": {
        "enum": [
          "auto",
          "low",
          "high"
        ],
        "type": "string"
      },
      "Output_RealtimeConversationItemUserMessageContentType": {
        "enum": [
          "input_text",
          "input_audio",
          "input_image"
        ],
        "type": "string"
      },
      "Output_RealtimeConversationItemUserMessageObject": {
        "enum": [
          "realtime.item"
        ],
        "type": "string"
      },
      "Output_RealtimeConversationItemUserMessageRole": {
        "enum": [
          "user"
        ],
        "type": "string"
      },
      "Output_RealtimeConversationItemUserMessageStatus": {
        "enum": [
          "completed",
          "incomplete",
          "in_progress"
        ],
        "type": "string"
      },
      "Output_RealtimeConversationItemUserMessageType": {
        "enum": [
          "message"
        ],
        "type": "string"
      },
      "Output_RealtimeError": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_error.py`, `RealtimeError`.",
        "properties": {
          "code": {
            "type": [
              "string",
              "null"
            ]
          },
          "event_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "message": {
            "type": "string"
          },
          "param": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "message",
          "type"
        ],
        "type": "object"
      },
      "Output_RealtimeErrorEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_error_event.py`, `RealtimeErrorEvent`.",
        "properties": {
          "error": {
            "$ref": "#/components/schemas/Output_RealtimeError"
          },
          "event_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_RealtimeErrorEventType"
          }
        },
        "required": [
          "error",
          "event_id",
          "type"
        ],
        "type": "object"
      },
      "Output_RealtimeErrorEventType": {
        "enum": [
          "error"
        ],
        "type": "string"
      },
      "Output_RealtimeFunctionTool": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_function_tool.py`, `RealtimeFunctionTool`.",
        "properties": {
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "parameters": true,
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeFunctionToolType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeFunctionToolType": {
        "enum": [
          "function"
        ],
        "type": "string"
      },
      "Output_RealtimeMcpApprovalRequest": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_mcp_approval_request.py`, `RealtimeMcpApprovalRequest`.",
        "properties": {
          "arguments": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "server_label": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_RealtimeMcpApprovalRequestType"
          }
        },
        "required": [
          "id",
          "arguments",
          "name",
          "server_label",
          "type"
        ],
        "type": "object"
      },
      "Output_RealtimeMcpApprovalRequestType": {
        "enum": [
          "mcp_approval_request"
        ],
        "type": "string"
      },
      "Output_RealtimeMcpApprovalResponse": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_mcp_approval_response.py`, `RealtimeMcpApprovalResponse`.",
        "properties": {
          "approval_request_id": {
            "type": "string"
          },
          "approve": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_RealtimeMcpApprovalResponseType"
          }
        },
        "required": [
          "id",
          "approval_request_id",
          "approve",
          "type"
        ],
        "type": "object"
      },
      "Output_RealtimeMcpApprovalResponseType": {
        "enum": [
          "mcp_approval_response"
        ],
        "type": "string"
      },
      "Output_RealtimeMcpListTools": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_mcp_list_tools.py`, `RealtimeMcpListTools`.",
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "server_label": {
            "type": "string"
          },
          "tools": {
            "items": {
              "$ref": "#/components/schemas/Output_RealtimeMcpListToolsTool"
            },
            "type": "array"
          },
          "type": {
            "$ref": "#/components/schemas/Output_RealtimeMcpListToolsType"
          }
        },
        "required": [
          "server_label",
          "tools",
          "type"
        ],
        "type": "object"
      },
      "Output_RealtimeMcpListToolsTool": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_mcp_list_tools.py`, `Tool`.",
        "properties": {
          "annotations": true,
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "input_schema": true,
          "name": {
            "type": "string"
          }
        },
        "required": [
          "input_schema",
          "name"
        ],
        "type": "object"
      },
      "Output_RealtimeMcpListToolsType": {
        "enum": [
          "mcp_list_tools"
        ],
        "type": "string"
      },
      "Output_RealtimeMcpProtocolError": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_mcp_protocol_error.py`, `RealtimeMcpProtocolError`.",
        "properties": {
          "code": {
            "format": "int64",
            "type": "integer"
          },
          "message": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_RealtimeMcpProtocolErrorType"
          }
        },
        "required": [
          "code",
          "message",
          "type"
        ],
        "type": "object"
      },
      "Output_RealtimeMcpProtocolErrorType": {
        "enum": [
          "protocol_error"
        ],
        "type": "string"
      },
      "Output_RealtimeMcpToolCall": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_mcp_tool_call.py`, `RealtimeMcpToolCall`.",
        "properties": {
          "approval_request_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "arguments": {
            "type": "string"
          },
          "error": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeMcpToolCallError"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "output": {
            "type": [
              "string",
              "null"
            ]
          },
          "server_label": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_RealtimeMcpToolCallType"
          }
        },
        "required": [
          "id",
          "arguments",
          "name",
          "server_label",
          "type"
        ],
        "type": "object"
      },
      "Output_RealtimeMcpToolCallError": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_RealtimeMcpProtocolError"
          },
          {
            "$ref": "#/components/schemas/Output_RealtimeMcpToolExecutionError"
          },
          {
            "$ref": "#/components/schemas/Output_RealtimeMcphttpError"
          },
          {
            "type": "null"
          }
        ],
        "description": "Source: `openai/types/realtime/realtime_mcp_tool_call.py`, `Error`."
      },
      "Output_RealtimeMcpToolCallType": {
        "enum": [
          "mcp_call"
        ],
        "type": "string"
      },
      "Output_RealtimeMcpToolExecutionError": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_mcp_tool_execution_error.py`, `RealtimeMcpToolExecutionError`.",
        "properties": {
          "message": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_RealtimeMcpToolExecutionErrorType"
          }
        },
        "required": [
          "message",
          "type"
        ],
        "type": "object"
      },
      "Output_RealtimeMcpToolExecutionErrorType": {
        "enum": [
          "tool_execution_error"
        ],
        "type": "string"
      },
      "Output_RealtimeMcphttpError": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_mcphttp_error.py`, `RealtimeMcphttpError`.",
        "properties": {
          "code": {
            "format": "int64",
            "type": "integer"
          },
          "message": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_RealtimeMcphttpErrorType"
          }
        },
        "required": [
          "code",
          "message",
          "type"
        ],
        "type": "object"
      },
      "Output_RealtimeMcphttpErrorType": {
        "enum": [
          "http_error"
        ],
        "type": "string"
      },
      "Output_RealtimeReasoning": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_reasoning.py`, `RealtimeReasoning`.",
        "properties": {
          "effort": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeReasoningEffort"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeReasoningEffort": {
        "description": "Source: `openai/types/realtime/realtime_reasoning_effort.py`, `RealtimeReasoningEffort`.",
        "enum": [
          "minimal",
          "low",
          "medium",
          "high",
          "xhigh"
        ],
        "type": "string"
      },
      "Output_RealtimeResponse": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_response.py`, `RealtimeResponse`.",
        "properties": {
          "audio": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeResponseAudio"
              },
              {
                "type": "null"
              }
            ]
          },
          "conversation_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "max_output_tokens": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeResponseMaxOutputTokens"
              },
              {
                "type": "null"
              }
            ]
          },
          "metadata": {
            "additionalProperties": {
              "type": "string"
            },
            "type": [
              "object",
              "null"
            ]
          },
          "object": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeResponseObject"
              },
              {
                "type": "null"
              }
            ]
          },
          "output": {
            "items": {
              "$ref": "#/components/schemas/Output_ConversationItem"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "output_modalities": {
            "items": {
              "$ref": "#/components/schemas/Output_RealtimeResponseOutputModalitiesItem"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeResponseStatusValue"
              },
              {
                "type": "null"
              }
            ]
          },
          "status_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeResponseStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "usage": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeResponseUsage"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeResponseAudio": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_response.py`, `Audio`.",
        "properties": {
          "output": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeResponseAudioOutput"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeResponseAudioOutput": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_response.py`, `AudioOutput`.",
        "properties": {
          "format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeAudioFormats"
              },
              {
                "type": "null"
              }
            ]
          },
          "voice": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeResponseMaxOutputTokens": {
        "anyOf": [
          {
            "format": "int64",
            "type": "integer"
          },
          {
            "$ref": "#/components/schemas/Output_RealtimeResponseMaxOutputTokensVariant2"
          }
        ]
      },
      "Output_RealtimeResponseMaxOutputTokensVariant2": {
        "enum": [
          "inf"
        ],
        "type": "string"
      },
      "Output_RealtimeResponseObject": {
        "enum": [
          "realtime.response"
        ],
        "type": "string"
      },
      "Output_RealtimeResponseOutputModalitiesItem": {
        "enum": [
          "text",
          "audio"
        ],
        "type": "string"
      },
      "Output_RealtimeResponseStatus": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_response_status.py`, `RealtimeResponseStatus`.",
        "properties": {
          "error": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeResponseStatusError"
              },
              {
                "type": "null"
              }
            ]
          },
          "reason": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeResponseStatusReason"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeResponseStatusType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeResponseStatusError": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_response_status.py`, `Error`.",
        "properties": {
          "code": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeResponseStatusReason": {
        "enum": [
          "turn_detected",
          "client_cancelled",
          "max_output_tokens",
          "content_filter"
        ],
        "type": "string"
      },
      "Output_RealtimeResponseStatusType": {
        "enum": [
          "completed",
          "cancelled",
          "incomplete",
          "failed"
        ],
        "type": "string"
      },
      "Output_RealtimeResponseStatusValue": {
        "enum": [
          "completed",
          "cancelled",
          "failed",
          "incomplete",
          "in_progress"
        ],
        "type": "string"
      },
      "Output_RealtimeResponseUsage": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_response_usage.py`, `RealtimeResponseUsage`.",
        "properties": {
          "input_token_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeResponseUsageInputTokenDetails"
              },
              {
                "type": "null"
              }
            ]
          },
          "input_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "output_token_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeResponseUsageOutputTokenDetails"
              },
              {
                "type": "null"
              }
            ]
          },
          "output_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "total_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeResponseUsageInputTokenDetails": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_response_usage_input_token_details.py`, `RealtimeResponseUsageInputTokenDetails`.",
        "properties": {
          "audio_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "cached_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "cached_tokens_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeResponseUsageInputTokenDetailsCachedTokensDetails"
              },
              {
                "type": "null"
              }
            ]
          },
          "image_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "text_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeResponseUsageInputTokenDetailsCachedTokensDetails": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_response_usage_input_token_details.py`, `CachedTokensDetails`.",
        "properties": {
          "audio_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "image_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "text_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeResponseUsageOutputTokenDetails": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_response_usage_output_token_details.py`, `RealtimeResponseUsageOutputTokenDetails`.",
        "properties": {
          "audio_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "text_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeServerEvent": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_ConversationCreatedEvent"
          },
          {
            "$ref": "#/components/schemas/Output_ConversationItemCreatedEvent"
          },
          {
            "$ref": "#/components/schemas/Output_ConversationItemDeletedEvent"
          },
          {
            "$ref": "#/components/schemas/Output_ConversationItemInputAudioTranscriptionCompletedEvent"
          },
          {
            "$ref": "#/components/schemas/Output_ConversationItemInputAudioTranscriptionDeltaEvent"
          },
          {
            "$ref": "#/components/schemas/Output_ConversationItemInputAudioTranscriptionFailedEvent"
          },
          {
            "$ref": "#/components/schemas/Output_ConversationItemRetrieved"
          },
          {
            "$ref": "#/components/schemas/Output_ConversationItemTruncatedEvent"
          },
          {
            "$ref": "#/components/schemas/Output_RealtimeErrorEvent"
          },
          {
            "$ref": "#/components/schemas/Output_InputAudioBufferClearedEvent"
          },
          {
            "$ref": "#/components/schemas/Output_InputAudioBufferCommittedEvent"
          },
          {
            "$ref": "#/components/schemas/Output_InputAudioBufferDtmfEventReceivedEvent"
          },
          {
            "$ref": "#/components/schemas/Output_InputAudioBufferSpeechStartedEvent"
          },
          {
            "$ref": "#/components/schemas/Output_InputAudioBufferSpeechStoppedEvent"
          },
          {
            "$ref": "#/components/schemas/Output_RateLimitsUpdatedEvent"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseAudioDeltaEvent"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseAudioDoneEvent"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseAudioTranscriptDeltaEvent"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseAudioTranscriptDoneEvent"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseContentPartAddedEvent"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseContentPartDoneEvent"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseCreatedEvent"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseDoneEvent"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseFunctionCallArgumentsDeltaEvent"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseFunctionCallArgumentsDoneEvent"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseOutputItemAddedEvent"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseOutputItemDoneEvent"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseTextDeltaEvent"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseTextDoneEvent"
          },
          {
            "$ref": "#/components/schemas/Output_SessionCreatedEvent"
          },
          {
            "$ref": "#/components/schemas/Output_SessionUpdatedEvent"
          },
          {
            "$ref": "#/components/schemas/Output_RealtimeServerEventOutputAudioBufferStarted"
          },
          {
            "$ref": "#/components/schemas/Output_RealtimeServerEventOutputAudioBufferStopped"
          },
          {
            "$ref": "#/components/schemas/Output_RealtimeServerEventOutputAudioBufferCleared"
          },
          {
            "$ref": "#/components/schemas/Output_ConversationItemAdded"
          },
          {
            "$ref": "#/components/schemas/Output_ConversationItemDone"
          },
          {
            "$ref": "#/components/schemas/Output_InputAudioBufferTimeoutTriggered"
          },
          {
            "$ref": "#/components/schemas/Output_ConversationItemInputAudioTranscriptionSegment"
          },
          {
            "$ref": "#/components/schemas/Output_McpListToolsInProgress"
          },
          {
            "$ref": "#/components/schemas/Output_McpListToolsCompleted"
          },
          {
            "$ref": "#/components/schemas/Output_McpListToolsFailed"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseMcpCallArgumentsDelta"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseMcpCallArgumentsDone"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseMcpCallInProgress"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseMcpCallCompleted"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseMcpCallFailed"
          }
        ],
        "description": "Source: `openai/types/realtime/realtime_server_event.py`, `RealtimeServerEvent`."
      },
      "Output_RealtimeServerEventOutputAudioBufferCleared": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_server_event.py`, `OutputAudioBufferCleared`.",
        "properties": {
          "event_id": {
            "type": "string"
          },
          "response_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_RealtimeServerEventOutputAudioBufferClearedType"
          }
        },
        "required": [
          "event_id",
          "response_id",
          "type"
        ],
        "type": "object"
      },
      "Output_RealtimeServerEventOutputAudioBufferClearedType": {
        "enum": [
          "output_audio_buffer.cleared"
        ],
        "type": "string"
      },
      "Output_RealtimeServerEventOutputAudioBufferStarted": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_server_event.py`, `OutputAudioBufferStarted`.",
        "properties": {
          "event_id": {
            "type": "string"
          },
          "response_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_RealtimeServerEventOutputAudioBufferStartedType"
          }
        },
        "required": [
          "event_id",
          "response_id",
          "type"
        ],
        "type": "object"
      },
      "Output_RealtimeServerEventOutputAudioBufferStartedType": {
        "enum": [
          "output_audio_buffer.started"
        ],
        "type": "string"
      },
      "Output_RealtimeServerEventOutputAudioBufferStopped": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_server_event.py`, `OutputAudioBufferStopped`.",
        "properties": {
          "event_id": {
            "type": "string"
          },
          "response_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_RealtimeServerEventOutputAudioBufferStoppedType"
          }
        },
        "required": [
          "event_id",
          "response_id",
          "type"
        ],
        "type": "object"
      },
      "Output_RealtimeServerEventOutputAudioBufferStoppedType": {
        "enum": [
          "output_audio_buffer.stopped"
        ],
        "type": "string"
      },
      "Output_RealtimeSessionCreateRequest": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_session_create_request.py`, `RealtimeSessionCreateRequest`.",
        "properties": {
          "audio": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeAudioConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "include": {
            "items": {
              "$ref": "#/components/schemas/Output_RealtimeSessionCreateRequestIncludeItem"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "instructions": {
            "type": [
              "string",
              "null"
            ]
          },
          "max_output_tokens": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeSessionCreateRequestMaxOutputTokens"
              },
              {
                "type": "null"
              }
            ]
          },
          "model": {
            "type": [
              "string",
              "null"
            ]
          },
          "output_modalities": {
            "items": {
              "$ref": "#/components/schemas/Output_RealtimeSessionCreateRequestOutputModalitiesItem"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "parallel_tool_calls": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "prompt": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ResponsePrompt2"
              },
              {
                "type": "null"
              }
            ]
          },
          "reasoning": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeReasoning"
              },
              {
                "type": "null"
              }
            ]
          },
          "tool_choice": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeToolChoiceConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "tools": {
            "items": {
              "$ref": "#/components/schemas/Output_RealtimeToolsConfigUnion"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "tracing": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeTracingConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "truncation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeTruncation"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_RealtimeSessionCreateRequestType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_RealtimeSessionCreateRequestIncludeItem": {
        "enum": [
          "item.input_audio_transcription.logprobs"
        ],
        "type": "string"
      },
      "Output_RealtimeSessionCreateRequestMaxOutputTokens": {
        "anyOf": [
          {
            "format": "int64",
            "type": "integer"
          },
          {
            "$ref": "#/components/schemas/Output_RealtimeSessionCreateRequestMaxOutputTokensVariant2"
          }
        ]
      },
      "Output_RealtimeSessionCreateRequestMaxOutputTokensVariant2": {
        "enum": [
          "inf"
        ],
        "type": "string"
      },
      "Output_RealtimeSessionCreateRequestOutputModalitiesItem": {
        "enum": [
          "text",
          "audio"
        ],
        "type": "string"
      },
      "Output_RealtimeSessionCreateRequestType": {
        "enum": [
          "realtime"
        ],
        "type": "string"
      },
      "Output_RealtimeSessionCreateResponse": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_session_create_response.py`, `RealtimeSessionCreateResponse`.",
        "properties": {
          "audio": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeSessionCreateResponseAudio"
              },
              {
                "type": "null"
              }
            ]
          },
          "expires_at": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "include": {
            "items": {
              "$ref": "#/components/schemas/Output_RealtimeSessionCreateResponseIncludeItem"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "instructions": {
            "type": [
              "string",
              "null"
            ]
          },
          "max_output_tokens": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeSessionCreateResponseMaxOutputTokens"
              },
              {
                "type": "null"
              }
            ]
          },
          "model": {
            "type": [
              "string",
              "null"
            ]
          },
          "object": {
            "$ref": "#/components/schemas/Output_RealtimeSessionCreateResponseObject"
          },
          "output_modalities": {
            "items": {
              "$ref": "#/components/schemas/Output_RealtimeSessionCreateResponseOutputModalitiesItem"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "prompt": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ResponsePrompt2"
              },
              {
                "type": "null"
              }
            ]
          },
          "reasoning": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeReasoning"
              },
              {
                "type": "null"
              }
            ]
          },
          "tool_choice": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeSessionCreateResponseToolChoice"
              },
              {
                "type": "null"
              }
            ]
          },
          "tools": {
            "items": {
              "$ref": "#/components/schemas/Output_RealtimeSessionCreateResponseTool"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "tracing": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeSessionCreateResponseTracing"
              },
              {
                "type": "null"
              }
            ]
          },
          "truncation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeTruncation"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_RealtimeSessionCreateResponseType"
          }
        },
        "required": [
          "id",
          "object",
          "type"
        ],
        "type": "object"
      },
      "Output_RealtimeSessionCreateResponseAudio": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_session_create_response.py`, `Audio`.",
        "properties": {
          "input": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeSessionCreateResponseAudioInput"
              },
              {
                "type": "null"
              }
            ]
          },
          "output": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeSessionCreateResponseAudioOutput"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeSessionCreateResponseAudioInput": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_session_create_response.py`, `AudioInput`.",
        "properties": {
          "format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeAudioFormats"
              },
              {
                "type": "null"
              }
            ]
          },
          "noise_reduction": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeSessionCreateResponseAudioInputNoiseReduction"
              },
              {
                "type": "null"
              }
            ]
          },
          "transcription": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_AudioTranscription2"
              },
              {
                "type": "null"
              }
            ]
          },
          "turn_detection": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeSessionCreateResponseAudioInputTurnDetection"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeSessionCreateResponseAudioInputNoiseReduction": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_session_create_response.py`, `AudioInputNoiseReduction`.",
        "properties": {
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_NoiseReductionType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeSessionCreateResponseAudioInputTurnDetection": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_RealtimeSessionCreateResponseAudioInputTurnDetectionServerVad"
          },
          {
            "$ref": "#/components/schemas/Output_RealtimeSessionCreateResponseAudioInputTurnDetectionSemanticVad"
          },
          {
            "type": "null"
          }
        ],
        "description": "Source: `openai/types/realtime/realtime_session_create_response.py`, `AudioInputTurnDetection`."
      },
      "Output_RealtimeSessionCreateResponseAudioInputTurnDetectionSemanticVad": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_session_create_response.py`, `AudioInputTurnDetectionSemanticVad`.",
        "properties": {
          "create_response": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "eagerness": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeSessionCreateResponseAudioInputTurnDetectionSemanticVadEagerness"
              },
              {
                "type": "null"
              }
            ]
          },
          "interrupt_response": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_RealtimeSessionCreateResponseAudioInputTurnDetectionSemanticVadType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_RealtimeSessionCreateResponseAudioInputTurnDetectionSemanticVadEagerness": {
        "enum": [
          "low",
          "medium",
          "high",
          "auto"
        ],
        "type": "string"
      },
      "Output_RealtimeSessionCreateResponseAudioInputTurnDetectionSemanticVadType": {
        "enum": [
          "semantic_vad"
        ],
        "type": "string"
      },
      "Output_RealtimeSessionCreateResponseAudioInputTurnDetectionServerVad": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_session_create_response.py`, `AudioInputTurnDetectionServerVad`.",
        "properties": {
          "create_response": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "idle_timeout_ms": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "interrupt_response": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "prefix_padding_ms": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "silence_duration_ms": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "threshold": {
            "type": [
              "number",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_RealtimeSessionCreateResponseAudioInputTurnDetectionServerVadType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_RealtimeSessionCreateResponseAudioInputTurnDetectionServerVadType": {
        "enum": [
          "server_vad"
        ],
        "type": "string"
      },
      "Output_RealtimeSessionCreateResponseAudioOutput": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_session_create_response.py`, `AudioOutput`.",
        "properties": {
          "format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeAudioFormats"
              },
              {
                "type": "null"
              }
            ]
          },
          "speed": {
            "type": [
              "number",
              "null"
            ]
          },
          "voice": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeSessionCreateResponseIncludeItem": {
        "enum": [
          "item.input_audio_transcription.logprobs"
        ],
        "type": "string"
      },
      "Output_RealtimeSessionCreateResponseMaxOutputTokens": {
        "anyOf": [
          {
            "format": "int64",
            "type": "integer"
          },
          {
            "$ref": "#/components/schemas/Output_RealtimeSessionCreateResponseMaxOutputTokensVariant2"
          }
        ]
      },
      "Output_RealtimeSessionCreateResponseMaxOutputTokensVariant2": {
        "enum": [
          "inf"
        ],
        "type": "string"
      },
      "Output_RealtimeSessionCreateResponseObject": {
        "enum": [
          "realtime.session"
        ],
        "type": "string"
      },
      "Output_RealtimeSessionCreateResponseOutputModalitiesItem": {
        "enum": [
          "text",
          "audio"
        ],
        "type": "string"
      },
      "Output_RealtimeSessionCreateResponseTool": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_RealtimeFunctionTool"
          },
          {
            "$ref": "#/components/schemas/Output_RealtimeSessionCreateResponseToolMcpTool"
          }
        ],
        "description": "Source: `openai/types/realtime/realtime_session_create_response.py`, `Tool`."
      },
      "Output_RealtimeSessionCreateResponseToolChoice": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_ToolChoiceOptions"
          },
          {
            "$ref": "#/components/schemas/Output_ToolChoiceFunction2"
          },
          {
            "$ref": "#/components/schemas/Output_ToolChoiceMcp2"
          }
        ],
        "description": "Source: `openai/types/realtime/realtime_session_create_response.py`, `ToolChoice`."
      },
      "Output_RealtimeSessionCreateResponseToolMcpTool": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_session_create_response.py`, `ToolMcpTool`.",
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Output_RealtimeSessionCreateResponseToolMcpToolAllowedCallersItem"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "allowed_tools": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeSessionCreateResponseToolMcpToolAllowedTools"
              },
              {
                "type": "null"
              }
            ]
          },
          "authorization": {
            "type": [
              "string",
              "null"
            ]
          },
          "connector_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeSessionCreateResponseToolMcpToolConnectorId"
              },
              {
                "type": "null"
              }
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "headers": {
            "additionalProperties": {
              "type": "string"
            },
            "type": [
              "object",
              "null"
            ]
          },
          "require_approval": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeSessionCreateResponseToolMcpToolRequireApproval"
              },
              {
                "type": "null"
              }
            ]
          },
          "server_description": {
            "type": [
              "string",
              "null"
            ]
          },
          "server_label": {
            "type": "string"
          },
          "server_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "tunnel_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_RealtimeSessionCreateResponseToolMcpToolType"
          }
        },
        "required": [
          "server_label",
          "type"
        ],
        "type": "object"
      },
      "Output_RealtimeSessionCreateResponseToolMcpToolAllowedCallersItem": {
        "enum": [
          "direct",
          "programmatic"
        ],
        "type": "string"
      },
      "Output_RealtimeSessionCreateResponseToolMcpToolAllowedTools": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "$ref": "#/components/schemas/Output_RealtimeSessionCreateResponseToolMcpToolAllowedToolsMcpToolFilter"
          },
          {
            "type": "null"
          }
        ],
        "description": "Source: `openai/types/realtime/realtime_session_create_response.py`, `ToolMcpToolAllowedTools`."
      },
      "Output_RealtimeSessionCreateResponseToolMcpToolAllowedToolsMcpToolFilter": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_session_create_response.py`, `ToolMcpToolAllowedToolsMcpToolFilter`.",
        "properties": {
          "read_only": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "tool_names": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeSessionCreateResponseToolMcpToolConnectorId": {
        "enum": [
          "connector_dropbox",
          "connector_gmail",
          "connector_googlecalendar",
          "connector_googledrive",
          "connector_microsoftteams",
          "connector_outlookcalendar",
          "connector_outlookemail",
          "connector_sharepoint"
        ],
        "type": "string"
      },
      "Output_RealtimeSessionCreateResponseToolMcpToolRequireApproval": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_RealtimeSessionCreateResponseToolMcpToolRequireApprovalMcpToolApprovalFilter"
          },
          {
            "$ref": "#/components/schemas/Output_RealtimeSessionCreateResponseToolMcpToolRequireApprovalVariant2"
          },
          {
            "type": "null"
          }
        ],
        "description": "Source: `openai/types/realtime/realtime_session_create_response.py`, `ToolMcpToolRequireApproval`."
      },
      "Output_RealtimeSessionCreateResponseToolMcpToolRequireApprovalMcpToolApprovalFilter": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_session_create_response.py`, `ToolMcpToolRequireApprovalMcpToolApprovalFilter`.",
        "properties": {
          "always": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeSessionCreateResponseToolMcpToolRequireApprovalMcpToolApprovalFilterAlways"
              },
              {
                "type": "null"
              }
            ]
          },
          "never": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeSessionCreateResponseToolMcpToolRequireApprovalMcpToolApprovalFilterNever"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeSessionCreateResponseToolMcpToolRequireApprovalMcpToolApprovalFilterAlways": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_session_create_response.py`, `ToolMcpToolRequireApprovalMcpToolApprovalFilterAlways`.",
        "properties": {
          "read_only": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "tool_names": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeSessionCreateResponseToolMcpToolRequireApprovalMcpToolApprovalFilterNever": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_session_create_response.py`, `ToolMcpToolRequireApprovalMcpToolApprovalFilterNever`.",
        "properties": {
          "read_only": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "tool_names": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeSessionCreateResponseToolMcpToolRequireApprovalVariant2": {
        "enum": [
          "always",
          "never"
        ],
        "type": "string"
      },
      "Output_RealtimeSessionCreateResponseToolMcpToolType": {
        "enum": [
          "mcp"
        ],
        "type": "string"
      },
      "Output_RealtimeSessionCreateResponseTracing": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_RealtimeSessionCreateResponseTracingVariant1"
          },
          {
            "$ref": "#/components/schemas/Output_RealtimeSessionCreateResponseTracingTracingConfiguration"
          },
          {
            "type": "null"
          }
        ],
        "description": "Source: `openai/types/realtime/realtime_session_create_response.py`, `Tracing`."
      },
      "Output_RealtimeSessionCreateResponseTracingTracingConfiguration": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_session_create_response.py`, `TracingTracingConfiguration`.",
        "properties": {
          "group_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "metadata": true,
          "workflow_name": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeSessionCreateResponseTracingVariant1": {
        "enum": [
          "auto"
        ],
        "type": "string"
      },
      "Output_RealtimeSessionCreateResponseType": {
        "enum": [
          "realtime"
        ],
        "type": "string"
      },
      "Output_RealtimeToolChoiceConfig": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_ToolChoiceOptions"
          },
          {
            "$ref": "#/components/schemas/Output_ToolChoiceFunction2"
          },
          {
            "$ref": "#/components/schemas/Output_ToolChoiceMcp2"
          }
        ],
        "description": "Source: `openai/types/realtime/realtime_tool_choice_config.py`, `RealtimeToolChoiceConfig`."
      },
      "Output_RealtimeToolsConfigUnion": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_RealtimeFunctionTool"
          },
          {
            "$ref": "#/components/schemas/Output_RealtimeToolsConfigUnionMcp"
          }
        ],
        "description": "Source: `openai/types/realtime/realtime_tools_config_union.py`, `RealtimeToolsConfigUnion`."
      },
      "Output_RealtimeToolsConfigUnionMcp": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_tools_config_union.py`, `Mcp`.",
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Output_RealtimeToolsConfigUnionMcpAllowedCallersItem"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "allowed_tools": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeToolsConfigUnionMcpAllowedTools"
              },
              {
                "type": "null"
              }
            ]
          },
          "authorization": {
            "type": [
              "string",
              "null"
            ]
          },
          "connector_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeToolsConfigUnionMcpConnectorId"
              },
              {
                "type": "null"
              }
            ]
          },
          "defer_loading": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "headers": {
            "additionalProperties": {
              "type": "string"
            },
            "type": [
              "object",
              "null"
            ]
          },
          "require_approval": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeToolsConfigUnionMcpRequireApproval"
              },
              {
                "type": "null"
              }
            ]
          },
          "server_description": {
            "type": [
              "string",
              "null"
            ]
          },
          "server_label": {
            "type": "string"
          },
          "server_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "tunnel_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_RealtimeToolsConfigUnionMcpType"
          }
        },
        "required": [
          "server_label",
          "type"
        ],
        "type": "object"
      },
      "Output_RealtimeToolsConfigUnionMcpAllowedCallersItem": {
        "enum": [
          "direct",
          "programmatic"
        ],
        "type": "string"
      },
      "Output_RealtimeToolsConfigUnionMcpAllowedTools": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "$ref": "#/components/schemas/Output_RealtimeToolsConfigUnionMcpAllowedToolsMcpToolFilter"
          },
          {
            "type": "null"
          }
        ],
        "description": "Source: `openai/types/realtime/realtime_tools_config_union.py`, `McpAllowedTools`."
      },
      "Output_RealtimeToolsConfigUnionMcpAllowedToolsMcpToolFilter": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_tools_config_union.py`, `McpAllowedToolsMcpToolFilter`.",
        "properties": {
          "read_only": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "tool_names": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeToolsConfigUnionMcpConnectorId": {
        "enum": [
          "connector_dropbox",
          "connector_gmail",
          "connector_googlecalendar",
          "connector_googledrive",
          "connector_microsoftteams",
          "connector_outlookcalendar",
          "connector_outlookemail",
          "connector_sharepoint"
        ],
        "type": "string"
      },
      "Output_RealtimeToolsConfigUnionMcpRequireApproval": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_RealtimeToolsConfigUnionMcpRequireApprovalMcpToolApprovalFilter"
          },
          {
            "$ref": "#/components/schemas/Output_RealtimeToolsConfigUnionMcpRequireApprovalVariant2"
          },
          {
            "type": "null"
          }
        ],
        "description": "Source: `openai/types/realtime/realtime_tools_config_union.py`, `McpRequireApproval`."
      },
      "Output_RealtimeToolsConfigUnionMcpRequireApprovalMcpToolApprovalFilter": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_tools_config_union.py`, `McpRequireApprovalMcpToolApprovalFilter`.",
        "properties": {
          "always": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeToolsConfigUnionMcpRequireApprovalMcpToolApprovalFilterAlways"
              },
              {
                "type": "null"
              }
            ]
          },
          "never": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeToolsConfigUnionMcpRequireApprovalMcpToolApprovalFilterNever"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeToolsConfigUnionMcpRequireApprovalMcpToolApprovalFilterAlways": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_tools_config_union.py`, `McpRequireApprovalMcpToolApprovalFilterAlways`.",
        "properties": {
          "read_only": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "tool_names": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeToolsConfigUnionMcpRequireApprovalMcpToolApprovalFilterNever": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_tools_config_union.py`, `McpRequireApprovalMcpToolApprovalFilterNever`.",
        "properties": {
          "read_only": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "tool_names": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeToolsConfigUnionMcpRequireApprovalVariant2": {
        "enum": [
          "always",
          "never"
        ],
        "type": "string"
      },
      "Output_RealtimeToolsConfigUnionMcpType": {
        "enum": [
          "mcp"
        ],
        "type": "string"
      },
      "Output_RealtimeTracingConfig": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_RealtimeTracingConfigVariant1"
          },
          {
            "$ref": "#/components/schemas/Output_RealtimeTracingConfigTracingConfiguration"
          },
          {
            "type": "null"
          }
        ],
        "description": "Source: `openai/types/realtime/realtime_tracing_config.py`, `RealtimeTracingConfig`."
      },
      "Output_RealtimeTracingConfigTracingConfiguration": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_tracing_config.py`, `TracingConfiguration`.",
        "properties": {
          "group_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "metadata": true,
          "workflow_name": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeTracingConfigVariant1": {
        "enum": [
          "auto"
        ],
        "type": "string"
      },
      "Output_RealtimeTranscriptionSessionAudio": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_transcription_session_audio.py`, `RealtimeTranscriptionSessionAudio`.",
        "properties": {
          "input": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeTranscriptionSessionAudioInput"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeTranscriptionSessionAudioInput": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_transcription_session_audio_input.py`, `RealtimeTranscriptionSessionAudioInput`.",
        "properties": {
          "format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeAudioFormats"
              },
              {
                "type": "null"
              }
            ]
          },
          "noise_reduction": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeTranscriptionSessionAudioInputNoiseReduction"
              },
              {
                "type": "null"
              }
            ]
          },
          "transcription": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_AudioTranscription2"
              },
              {
                "type": "null"
              }
            ]
          },
          "turn_detection": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeTranscriptionSessionAudioInputTurnDetection"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeTranscriptionSessionAudioInputNoiseReduction": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_transcription_session_audio_input.py`, `NoiseReduction`.",
        "properties": {
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_NoiseReductionType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeTranscriptionSessionAudioInputTurnDetection": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_RealtimeTranscriptionSessionAudioInputTurnDetectionServerVad"
          },
          {
            "$ref": "#/components/schemas/Output_RealtimeTranscriptionSessionAudioInputTurnDetectionSemanticVad"
          },
          {
            "type": "null"
          }
        ],
        "description": "Source: `openai/types/realtime/realtime_transcription_session_audio_input_turn_detection.py`, `RealtimeTranscriptionSessionAudioInputTurnDetection`."
      },
      "Output_RealtimeTranscriptionSessionAudioInputTurnDetectionSemanticVad": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_transcription_session_audio_input_turn_detection.py`, `SemanticVad`.",
        "properties": {
          "create_response": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "eagerness": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeTranscriptionSessionAudioInputTurnDetectionSemanticVadEagerness"
              },
              {
                "type": "null"
              }
            ]
          },
          "interrupt_response": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_RealtimeTranscriptionSessionAudioInputTurnDetectionSemanticVadType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_RealtimeTranscriptionSessionAudioInputTurnDetectionSemanticVadEagerness": {
        "enum": [
          "low",
          "medium",
          "high",
          "auto"
        ],
        "type": "string"
      },
      "Output_RealtimeTranscriptionSessionAudioInputTurnDetectionSemanticVadType": {
        "enum": [
          "semantic_vad"
        ],
        "type": "string"
      },
      "Output_RealtimeTranscriptionSessionAudioInputTurnDetectionServerVad": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_transcription_session_audio_input_turn_detection.py`, `ServerVad`.",
        "properties": {
          "create_response": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "idle_timeout_ms": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "interrupt_response": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "prefix_padding_ms": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "silence_duration_ms": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "threshold": {
            "type": [
              "number",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_RealtimeTranscriptionSessionAudioInputTurnDetectionServerVadType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_RealtimeTranscriptionSessionAudioInputTurnDetectionServerVadType": {
        "enum": [
          "server_vad"
        ],
        "type": "string"
      },
      "Output_RealtimeTranscriptionSessionCreateRequest": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_transcription_session_create_request.py`, `RealtimeTranscriptionSessionCreateRequest`.",
        "properties": {
          "audio": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeTranscriptionSessionAudio"
              },
              {
                "type": "null"
              }
            ]
          },
          "include": {
            "items": {
              "$ref": "#/components/schemas/Output_RealtimeTranscriptionSessionCreateRequestIncludeItem"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_RealtimeTranscriptionSessionCreateRequestType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_RealtimeTranscriptionSessionCreateRequestIncludeItem": {
        "enum": [
          "item.input_audio_transcription.logprobs"
        ],
        "type": "string"
      },
      "Output_RealtimeTranscriptionSessionCreateRequestType": {
        "enum": [
          "transcription"
        ],
        "type": "string"
      },
      "Output_RealtimeTranscriptionSessionCreateResponse": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_transcription_session_create_response.py`, `RealtimeTranscriptionSessionCreateResponse`.",
        "properties": {
          "audio": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeTranscriptionSessionCreateResponseAudio"
              },
              {
                "type": "null"
              }
            ]
          },
          "expires_at": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "include": {
            "items": {
              "$ref": "#/components/schemas/Output_RealtimeTranscriptionSessionCreateResponseIncludeItem"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "object": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_RealtimeTranscriptionSessionCreateResponseType"
          }
        },
        "required": [
          "id",
          "object",
          "type"
        ],
        "type": "object"
      },
      "Output_RealtimeTranscriptionSessionCreateResponseAudio": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_transcription_session_create_response.py`, `Audio`.",
        "properties": {
          "input": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeTranscriptionSessionCreateResponseAudioInput"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeTranscriptionSessionCreateResponseAudioInput": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_transcription_session_create_response.py`, `AudioInput`.",
        "properties": {
          "format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeAudioFormats"
              },
              {
                "type": "null"
              }
            ]
          },
          "noise_reduction": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeTranscriptionSessionCreateResponseAudioInputNoiseReduction"
              },
              {
                "type": "null"
              }
            ]
          },
          "transcription": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_AudioTranscription2"
              },
              {
                "type": "null"
              }
            ]
          },
          "turn_detection": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeTranscriptionSessionTurnDetection"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeTranscriptionSessionCreateResponseAudioInputNoiseReduction": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_transcription_session_create_response.py`, `AudioInputNoiseReduction`.",
        "properties": {
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_NoiseReductionType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeTranscriptionSessionCreateResponseIncludeItem": {
        "enum": [
          "item.input_audio_transcription.logprobs"
        ],
        "type": "string"
      },
      "Output_RealtimeTranscriptionSessionCreateResponseType": {
        "enum": [
          "transcription"
        ],
        "type": "string"
      },
      "Output_RealtimeTranscriptionSessionTurnDetection": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_transcription_session_turn_detection.py`, `RealtimeTranscriptionSessionTurnDetection`.",
        "properties": {
          "prefix_padding_ms": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "silence_duration_ms": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "threshold": {
            "type": [
              "number",
              "null"
            ]
          },
          "type": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeTruncation": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_RealtimeTruncationVariant1"
          },
          {
            "$ref": "#/components/schemas/Output_RealtimeTruncationRetentionRatio"
          }
        ],
        "description": "Source: `openai/types/realtime/realtime_truncation.py`, `RealtimeTruncation`."
      },
      "Output_RealtimeTruncationRetentionRatio": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_truncation_retention_ratio.py`, `RealtimeTruncationRetentionRatio`.",
        "properties": {
          "retention_ratio": {
            "type": "number"
          },
          "token_limits": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RealtimeTruncationRetentionRatioTokenLimits"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_RealtimeTruncationRetentionRatioType"
          }
        },
        "required": [
          "retention_ratio",
          "type"
        ],
        "type": "object"
      },
      "Output_RealtimeTruncationRetentionRatioTokenLimits": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/realtime_truncation_retention_ratio.py`, `TokenLimits`.",
        "properties": {
          "post_instructions": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_RealtimeTruncationRetentionRatioType": {
        "enum": [
          "retention_ratio"
        ],
        "type": "string"
      },
      "Output_RealtimeTruncationVariant1": {
        "enum": [
          "auto",
          "disabled"
        ],
        "type": "string"
      },
      "Output_ReasoningConfig": {
        "additionalProperties": true,
        "properties": {
          "context": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ReasoningContext"
              },
              {
                "type": "null"
              }
            ]
          },
          "effort": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ReasoningEffort"
              },
              {
                "type": "null"
              }
            ]
          },
          "generate_summary": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ReasoningSummary"
              },
              {
                "type": "null"
              }
            ]
          },
          "mode": {
            "type": [
              "string",
              "null"
            ]
          },
          "summary": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ReasoningSummary"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_ReasoningContent": {
        "additionalProperties": true,
        "properties": {
          "text": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ReasoningTextType"
          }
        },
        "required": [
          "type",
          "text"
        ],
        "type": "object"
      },
      "Output_ReasoningContext": {
        "enum": [
          "auto",
          "current_turn",
          "all_turns"
        ],
        "type": "string"
      },
      "Output_ReasoningDetail": {
        "additionalProperties": true,
        "description": "Payload fields are optional because streaming detail fragments may carry\nonly a signature or identity. Encrypted data is never interpreted as text.",
        "properties": {
          "data": {
            "type": [
              "string",
              "null"
            ]
          },
          "format": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "index": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "signature": {
            "type": [
              "string",
              "null"
            ]
          },
          "summary": {
            "type": [
              "string",
              "null"
            ]
          },
          "text": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_ReasoningDetailKind"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_ReasoningDetailKind": {
        "enum": [
          "reasoning.text",
          "reasoning.summary",
          "reasoning.encrypted"
        ],
        "type": "string"
      },
      "Output_ReasoningEffort": {
        "anyOf": [
          {
            "enum": [
              "none",
              "minimal",
              "low",
              "medium",
              "high",
              "xhigh",
              "max"
            ],
            "type": "string"
          },
          {
            "description": "Codex custom effort is serialized as an unsigned JSON integer.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        ]
      },
      "Output_ReasoningItem": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/Output_ReasoningContent"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "encrypted_content": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ReasoningStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "summary": {
            "items": {
              "$ref": "#/components/schemas/Output_SummaryText"
            },
            "type": "array"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ReasoningItemType"
          }
        },
        "required": [
          "type",
          "id",
          "summary"
        ],
        "type": "object"
      },
      "Output_ReasoningItemType": {
        "enum": [
          "reasoning"
        ],
        "type": "string"
      },
      "Output_ReasoningStatus": {
        "enum": [
          "in_progress",
          "completed",
          "incomplete"
        ],
        "type": "string"
      },
      "Output_ReasoningSummary": {
        "enum": [
          "auto",
          "concise",
          "detailed"
        ],
        "type": "string"
      },
      "Output_ReasoningSummaryPart": {
        "additionalProperties": true,
        "properties": {
          "text": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ReasoningSummaryPartType"
          }
        },
        "required": [
          "text",
          "type"
        ],
        "type": "object"
      },
      "Output_ReasoningSummaryPartAddedEvent": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "item_id": {
            "type": "string"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "part": {
            "$ref": "#/components/schemas/Output_ReasoningSummaryPart"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          },
          "summary_index": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sequence_number",
          "item_id",
          "output_index",
          "summary_index",
          "part"
        ],
        "type": "object"
      },
      "Output_ReasoningSummaryPartDoneEvent": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "item_id": {
            "type": "string"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "part": {
            "$ref": "#/components/schemas/Output_ReasoningSummaryPart"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_SummaryPartStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "summary_index": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sequence_number",
          "item_id",
          "output_index",
          "summary_index",
          "part"
        ],
        "type": "object"
      },
      "Output_ReasoningSummaryPartType": {
        "enum": [
          "summary_text"
        ],
        "type": "string"
      },
      "Output_ReasoningSummaryTextDelta": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "delta": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          },
          "summary_index": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sequence_number",
          "item_id",
          "output_index",
          "summary_index",
          "delta"
        ],
        "type": "object"
      },
      "Output_ReasoningSummaryTextDone": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "item_id": {
            "type": "string"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          },
          "summary_index": {
            "format": "int64",
            "type": "integer"
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "sequence_number",
          "item_id",
          "output_index",
          "summary_index",
          "text"
        ],
        "type": "object"
      },
      "Output_ReasoningText": {
        "additionalProperties": true,
        "properties": {
          "text": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ReasoningTextType2"
          }
        },
        "required": [
          "text",
          "type"
        ],
        "type": "object"
      },
      "Output_ReasoningTextDelta": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "content_index": {
            "format": "int64",
            "type": "integer"
          },
          "delta": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sequence_number",
          "item_id",
          "output_index",
          "content_index",
          "delta"
        ],
        "type": "object"
      },
      "Output_ReasoningTextDone": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "content_index": {
            "format": "int64",
            "type": "integer"
          },
          "item_id": {
            "type": "string"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "sequence_number",
          "item_id",
          "output_index",
          "content_index",
          "text"
        ],
        "type": "object"
      },
      "Output_ReasoningTextType": {
        "enum": [
          "reasoning_text"
        ],
        "type": "string"
      },
      "Output_ReasoningTextType2": {
        "enum": [
          "reasoning_text"
        ],
        "type": "string"
      },
      "Output_RedactedThinkingBlock": {
        "additionalProperties": true,
        "properties": {
          "data": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_RedactedThinkingBlockType"
          }
        },
        "required": [
          "type",
          "data"
        ],
        "type": "object"
      },
      "Output_RedactedThinkingBlockType": {
        "enum": [
          "redacted_thinking"
        ],
        "type": "string"
      },
      "Output_RefusalCategory": {
        "enum": [
          "cyber",
          "bio",
          "frontier_llm",
          "reasoning_extraction",
          "general_harms"
        ],
        "type": "string"
      },
      "Output_RefusalDelta": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "content_index": {
            "format": "int64",
            "type": "integer"
          },
          "delta": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sequence_number",
          "item_id",
          "output_index",
          "content_index",
          "delta"
        ],
        "type": "object"
      },
      "Output_RefusalDone": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "content_index": {
            "format": "int64",
            "type": "integer"
          },
          "item_id": {
            "type": "string"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "refusal": {
            "type": "string"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sequence_number",
          "item_id",
          "output_index",
          "content_index",
          "refusal"
        ],
        "type": "object"
      },
      "Output_RefusalStopDetails": {
        "additionalProperties": true,
        "properties": {
          "category": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RefusalCategory"
              },
              {
                "type": "null"
              }
            ]
          },
          "explanation": {
            "type": [
              "string",
              "null"
            ]
          },
          "fallback_credit_token": {
            "type": [
              "string",
              "null"
            ]
          },
          "fallback_has_prefill_claim": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "recommended_model": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_RefusalStopDetailsType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_RefusalStopDetailsType": {
        "enum": [
          "refusal"
        ],
        "type": "string"
      },
      "Output_ReplayOutputText": {
        "additionalProperties": true,
        "properties": {
          "annotations": {
            "items": {
              "$ref": "#/components/schemas/Output_OutputAnnotation"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "logprobs": {
            "items": {
              "$ref": "#/components/schemas/Output_OutputLogprob"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "text": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseOutputTextType"
          }
        },
        "required": [
          "type",
          "text"
        ],
        "type": "object"
      },
      "Output_RequiredSteeringInput": {
        "oneOf": [
          {
            "properties": {
              "call_id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "type": {
                "const": "function_call_output",
                "type": "string"
              }
            },
            "required": [
              "type",
              "call_id",
              "name"
            ],
            "type": "object"
          },
          {
            "properties": {
              "call_id": {
                "type": "string"
              },
              "type": {
                "const": "custom_tool_call_output",
                "type": "string"
              }
            },
            "required": [
              "type",
              "call_id"
            ],
            "type": "object"
          },
          {
            "properties": {
              "call_id": {
                "type": "string"
              },
              "type": {
                "const": "computer_call_output",
                "type": "string"
              }
            },
            "required": [
              "type",
              "call_id"
            ],
            "type": "object"
          },
          {
            "properties": {
              "call_id": {
                "type": "string"
              },
              "type": {
                "const": "shell_call_output",
                "type": "string"
              }
            },
            "required": [
              "type",
              "call_id"
            ],
            "type": "object"
          },
          {
            "properties": {
              "call_id": {
                "type": "string"
              },
              "type": {
                "const": "apply_patch_call_output",
                "type": "string"
              }
            },
            "required": [
              "type",
              "call_id"
            ],
            "type": "object"
          },
          {
            "properties": {
              "call_id": {
                "type": "string"
              },
              "execution": {
                "$ref": "#/components/schemas/Output_SteeringToolSearchExecution"
              },
              "type": {
                "const": "tool_search_output",
                "type": "string"
              }
            },
            "required": [
              "type",
              "call_id",
              "execution"
            ],
            "type": "object"
          },
          {
            "properties": {
              "approval_request_id": {
                "type": "string"
              },
              "type": {
                "const": "mcp_approval_response",
                "type": "string"
              }
            },
            "required": [
              "type",
              "approval_request_id"
            ],
            "type": "object"
          }
        ]
      },
      "Output_RerankDocument": {
        "additionalProperties": true,
        "properties": {
          "image": {
            "type": [
              "string",
              "null"
            ]
          },
          "text": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_RerankResponseBody": {
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "model": {
            "type": "string"
          },
          "provider": {
            "type": [
              "string",
              "null"
            ]
          },
          "results": {
            "items": {
              "$ref": "#/components/schemas/Output_RerankResult"
            },
            "type": "array"
          },
          "usage": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RerankUsage"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "model",
          "results"
        ],
        "type": "object"
      },
      "Output_RerankResult": {
        "additionalProperties": true,
        "properties": {
          "document": {
            "$ref": "#/components/schemas/Output_RerankDocument"
          },
          "index": {
            "format": "int64",
            "type": "integer"
          },
          "relevance_score": {
            "type": "number"
          }
        },
        "required": [
          "index",
          "relevance_score",
          "document"
        ],
        "type": "object"
      },
      "Output_RerankUsage": {
        "additionalProperties": true,
        "properties": {
          "cost": {
            "type": [
              "number",
              "null"
            ]
          },
          "search_units": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "total_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_ResponseAccessPrograms": {
        "additionalProperties": true,
        "properties": {
          "cyber": {
            "$ref": "#/components/schemas/Output_CyberAccessProgram2"
          }
        },
        "required": [
          "cyber"
        ],
        "type": "object"
      },
      "Output_ResponseAdditionalTools": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": "string"
          },
          "role": {
            "$ref": "#/components/schemas/Output_ResponseAdditionalToolsRole"
          },
          "tools": {
            "items": {
              "$ref": "#/components/schemas/Output_Tool"
            },
            "type": "array"
          },
          "type": {
            "$ref": "#/components/schemas/Output_AdditionalToolsType"
          }
        },
        "required": [
          "id",
          "role",
          "tools",
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseAdditionalToolsRole": {
        "enum": [
          "unknown",
          "user",
          "assistant",
          "system",
          "critic",
          "discriminator",
          "developer",
          "tool"
        ],
        "type": "string"
      },
      "Output_ResponseAdvisorRedactedResult": {
        "additionalProperties": true,
        "properties": {
          "encrypted_content": {
            "type": "string"
          },
          "stop_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseAdvisorRedactedResultType"
          }
        },
        "required": [
          "type",
          "encrypted_content"
        ],
        "type": "object"
      },
      "Output_ResponseAdvisorRedactedResultType": {
        "enum": [
          "advisor_redacted_result"
        ],
        "type": "string"
      },
      "Output_ResponseAdvisorResult": {
        "additionalProperties": true,
        "properties": {
          "stop_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "text": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseAdvisorResultType"
          }
        },
        "required": [
          "type",
          "text"
        ],
        "type": "object"
      },
      "Output_ResponseAdvisorResultContent": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_AdvisorError"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseAdvisorResult"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseAdvisorRedactedResult"
          }
        ]
      },
      "Output_ResponseAdvisorResultType": {
        "enum": [
          "advisor_result"
        ],
        "type": "string"
      },
      "Output_ResponseAdvisorToolResultBlock": {
        "additionalProperties": true,
        "properties": {
          "content": {
            "$ref": "#/components/schemas/Output_ResponseAdvisorResultContent"
          },
          "tool_use_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseAdvisorToolResultBlockType"
          }
        },
        "required": [
          "type",
          "content",
          "tool_use_id"
        ],
        "type": "object"
      },
      "Output_ResponseAdvisorToolResultBlockType": {
        "enum": [
          "advisor_tool_result"
        ],
        "type": "string"
      },
      "Output_ResponseAgentMessage": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "author": {
            "type": "string"
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/Output_AgentContent"
            },
            "type": "array"
          },
          "id": {
            "type": "string"
          },
          "recipient": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_AgentMessageType"
          }
        },
        "required": [
          "type",
          "id",
          "author",
          "recipient",
          "content"
        ],
        "type": "object"
      },
      "Output_ResponseApplyPatchCall": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "call_id": {
            "type": "string"
          },
          "caller": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Caller"
              },
              {
                "type": "null"
              }
            ]
          },
          "created_by": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "operation": {
            "$ref": "#/components/schemas/Output_ApplyPatchOperation"
          },
          "status": {
            "$ref": "#/components/schemas/Output_ApplyPatchStatus"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ApplyPatchCallType"
          }
        },
        "required": [
          "id",
          "call_id",
          "operation",
          "status",
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseApplyPatchCallOutput": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "call_id": {
            "type": "string"
          },
          "caller": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Caller"
              },
              {
                "type": "null"
              }
            ]
          },
          "created_by": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "output": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "$ref": "#/components/schemas/Output_ApplyPatchOutputStatus"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ApplyPatchCallOutputType"
          }
        },
        "required": [
          "id",
          "call_id",
          "status",
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseAudio": {
        "additionalProperties": true,
        "properties": {
          "data": {
            "type": "string"
          },
          "expires_at": {
            "format": "int64",
            "type": "integer"
          },
          "id": {
            "type": "string"
          },
          "transcript": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "data",
          "expires_at",
          "transcript"
        ],
        "type": "object"
      },
      "Output_ResponseAudioDeltaEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/response_audio_delta_event.py`, `ResponseAudioDeltaEvent`.",
        "properties": {
          "content_index": {
            "format": "int64",
            "type": "integer"
          },
          "delta": {
            "type": "string"
          },
          "event_id": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "response_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseAudioDeltaEventType"
          }
        },
        "required": [
          "content_index",
          "delta",
          "event_id",
          "item_id",
          "output_index",
          "response_id",
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseAudioDeltaEventType": {
        "enum": [
          "response.output_audio.delta"
        ],
        "type": "string"
      },
      "Output_ResponseAudioDoneEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/response_audio_done_event.py`, `ResponseAudioDoneEvent`.",
        "properties": {
          "content_index": {
            "format": "int64",
            "type": "integer"
          },
          "event_id": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "response_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseAudioDoneEventType"
          }
        },
        "required": [
          "content_index",
          "event_id",
          "item_id",
          "output_index",
          "response_id",
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseAudioDoneEventType": {
        "enum": [
          "response.output_audio.done"
        ],
        "type": "string"
      },
      "Output_ResponseAudioTranscriptDeltaEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/response_audio_transcript_delta_event.py`, `ResponseAudioTranscriptDeltaEvent`.",
        "properties": {
          "content_index": {
            "format": "int64",
            "type": "integer"
          },
          "delta": {
            "type": "string"
          },
          "event_id": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "response_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseAudioTranscriptDeltaEventType"
          }
        },
        "required": [
          "content_index",
          "delta",
          "event_id",
          "item_id",
          "output_index",
          "response_id",
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseAudioTranscriptDeltaEventType": {
        "enum": [
          "response.output_audio_transcript.delta"
        ],
        "type": "string"
      },
      "Output_ResponseAudioTranscriptDoneEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/response_audio_transcript_done_event.py`, `ResponseAudioTranscriptDoneEvent`.",
        "properties": {
          "content_index": {
            "format": "int64",
            "type": "integer"
          },
          "event_id": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "response_id": {
            "type": "string"
          },
          "transcript": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseAudioTranscriptDoneEventType"
          }
        },
        "required": [
          "content_index",
          "event_id",
          "item_id",
          "output_index",
          "response_id",
          "transcript",
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseAudioTranscriptDoneEventType": {
        "enum": [
          "response.output_audio_transcript.done"
        ],
        "type": "string"
      },
      "Output_ResponseBashCodeExecutionToolResultBlock": {
        "additionalProperties": true,
        "properties": {
          "content": {
            "$ref": "#/components/schemas/Output_BashCodeExecutionResultContent"
          },
          "tool_use_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseBashCodeExecutionToolResultBlockType"
          }
        },
        "required": [
          "type",
          "content",
          "tool_use_id"
        ],
        "type": "object"
      },
      "Output_ResponseBashCodeExecutionToolResultBlockType": {
        "enum": [
          "bash_code_execution_tool_result"
        ],
        "type": "string"
      },
      "Output_ResponseCharCitation": {
        "additionalProperties": true,
        "properties": {
          "cited_text": {
            "type": "string"
          },
          "document_index": {
            "format": "int64",
            "type": "integer"
          },
          "document_title": {
            "type": [
              "string",
              "null"
            ]
          },
          "end_char_index": {
            "format": "int64",
            "type": "integer"
          },
          "file_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "start_char_index": {
            "format": "int64",
            "type": "integer"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseCharCitationType"
          }
        },
        "required": [
          "type",
          "cited_text",
          "document_index",
          "end_char_index",
          "start_char_index"
        ],
        "type": "object"
      },
      "Output_ResponseCharCitationType": {
        "enum": [
          "char_location"
        ],
        "type": "string"
      },
      "Output_ResponseCitationConfig": {
        "additionalProperties": true,
        "properties": {
          "enabled": {
            "type": "boolean"
          }
        },
        "required": [
          "enabled"
        ],
        "type": "object"
      },
      "Output_ResponseCodeExecutionToolResultBlock": {
        "additionalProperties": true,
        "properties": {
          "content": {
            "$ref": "#/components/schemas/Output_CodeExecutionResultContent"
          },
          "tool_use_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseCodeExecutionToolResultBlockType"
          }
        },
        "required": [
          "type",
          "content",
          "tool_use_id"
        ],
        "type": "object"
      },
      "Output_ResponseCodeExecutionToolResultBlockType": {
        "enum": [
          "code_execution_tool_result"
        ],
        "type": "string"
      },
      "Output_ResponseCompaction": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "created_by": {
            "type": [
              "string",
              "null"
            ]
          },
          "encrypted_content": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_CompactionType"
          }
        },
        "required": [
          "id",
          "encrypted_content",
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseCompactionBlock": {
        "additionalProperties": true,
        "properties": {
          "content": {
            "type": [
              "string",
              "null"
            ]
          },
          "encrypted_content": {
            "type": [
              "string",
              "null"
            ]
          },
          "signature": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseCompactionBlockType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseCompactionBlockType": {
        "enum": [
          "compaction"
        ],
        "type": "string"
      },
      "Output_ResponseCompleted": {
        "additionalProperties": true,
        "properties": {
          "response": {
            "$ref": "#/components/schemas/Output_GenerateContentResponseBody"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sequence_number",
          "response"
        ],
        "type": "object"
      },
      "Output_ResponseComputerCallOutput": {
        "additionalProperties": true,
        "properties": {
          "acknowledged_safety_checks": {
            "items": {
              "$ref": "#/components/schemas/Output_PendingSafetyCheck"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "call_id": {
            "type": "string"
          },
          "created_by": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "output": {
            "$ref": "#/components/schemas/Output_ComputerScreenshot"
          },
          "status": {
            "$ref": "#/components/schemas/Output_ResponseComputerOutputStatus"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ComputerCallOutputType"
          }
        },
        "required": [
          "id",
          "call_id",
          "output",
          "status",
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseComputerOutputStatus": {
        "enum": [
          "completed",
          "incomplete",
          "failed",
          "in_progress"
        ],
        "type": "string"
      },
      "Output_ResponseContainer": {
        "additionalProperties": true,
        "properties": {
          "expires_at": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "skills": {
            "items": {
              "$ref": "#/components/schemas/Output_ResponseSkill"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "expires_at"
        ],
        "type": "object"
      },
      "Output_ResponseContainerUploadBlock": {
        "additionalProperties": true,
        "properties": {
          "file_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseContainerUploadBlockType"
          }
        },
        "required": [
          "type",
          "file_id"
        ],
        "type": "object"
      },
      "Output_ResponseContainerUploadBlockType": {
        "enum": [
          "container_upload"
        ],
        "type": "string"
      },
      "Output_ResponseContentBlock": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_ResponseTextBlock"
          },
          {
            "$ref": "#/components/schemas/Output_ThinkingBlock"
          },
          {
            "$ref": "#/components/schemas/Output_RedactedThinkingBlock"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseToolUseBlock"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseServerToolUseBlock"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseWebSearchToolResultBlock"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseWebFetchToolResultBlock"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseAdvisorToolResultBlock"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseCodeExecutionToolResultBlock"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseBashCodeExecutionToolResultBlock"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseTextEditorCodeExecutionToolResultBlock"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseToolSearchToolResultBlock"
          },
          {
            "$ref": "#/components/schemas/Output_McpToolListingBlock"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseMcpToolUseBlock"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseMcpToolResultBlock"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseContainerUploadBlock"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseCompactionBlock"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseFallbackBlock"
          }
        ]
      },
      "Output_ResponseContentBlockCitation": {
        "additionalProperties": true,
        "properties": {
          "cited_text": {
            "type": "string"
          },
          "document_index": {
            "format": "int64",
            "type": "integer"
          },
          "document_title": {
            "type": [
              "string",
              "null"
            ]
          },
          "end_block_index": {
            "format": "int64",
            "type": "integer"
          },
          "file_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "start_block_index": {
            "format": "int64",
            "type": "integer"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseContentBlockCitationType"
          }
        },
        "required": [
          "type",
          "cited_text",
          "document_index",
          "end_block_index",
          "start_block_index"
        ],
        "type": "object"
      },
      "Output_ResponseContentBlockCitationType": {
        "enum": [
          "content_block_location"
        ],
        "type": "string"
      },
      "Output_ResponseContentPartAddedEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/response_content_part_added_event.py`, `ResponseContentPartAddedEvent`.",
        "properties": {
          "content_index": {
            "format": "int64",
            "type": "integer"
          },
          "event_id": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "part": {
            "$ref": "#/components/schemas/Output_ResponseContentPartAddedEventPart"
          },
          "response_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseContentPartAddedEventType"
          }
        },
        "required": [
          "content_index",
          "event_id",
          "item_id",
          "output_index",
          "part",
          "response_id",
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseContentPartAddedEventPart": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/response_content_part_added_event.py`, `Part`.",
        "properties": {
          "audio": {
            "type": [
              "string",
              "null"
            ]
          },
          "text": {
            "type": [
              "string",
              "null"
            ]
          },
          "transcript": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ResponseContentPartAddedEventPartType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_ResponseContentPartAddedEventPartType": {
        "enum": [
          "text",
          "audio"
        ],
        "type": "string"
      },
      "Output_ResponseContentPartAddedEventType": {
        "enum": [
          "response.content_part.added"
        ],
        "type": "string"
      },
      "Output_ResponseContentPartDoneEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/response_content_part_done_event.py`, `ResponseContentPartDoneEvent`.",
        "properties": {
          "content_index": {
            "format": "int64",
            "type": "integer"
          },
          "event_id": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "part": {
            "$ref": "#/components/schemas/Output_ResponseContentPartDoneEventPart"
          },
          "response_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseContentPartDoneEventType"
          }
        },
        "required": [
          "content_index",
          "event_id",
          "item_id",
          "output_index",
          "part",
          "response_id",
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseContentPartDoneEventPart": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/response_content_part_done_event.py`, `Part`.",
        "properties": {
          "audio": {
            "type": [
              "string",
              "null"
            ]
          },
          "text": {
            "type": [
              "string",
              "null"
            ]
          },
          "transcript": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ResponseContentPartDoneEventPartType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_ResponseContentPartDoneEventPartType": {
        "enum": [
          "text",
          "audio"
        ],
        "type": "string"
      },
      "Output_ResponseContentPartDoneEventType": {
        "enum": [
          "response.content_part.done"
        ],
        "type": "string"
      },
      "Output_ResponseConversationParam": {
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "type": "object"
      },
      "Output_ResponseCreated": {
        "additionalProperties": true,
        "properties": {
          "response": {
            "$ref": "#/components/schemas/Output_GenerateContentResponseBody"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sequence_number",
          "response"
        ],
        "type": "object"
      },
      "Output_ResponseCreatedEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/response_created_event.py`, `ResponseCreatedEvent`.",
        "properties": {
          "event_id": {
            "type": "string"
          },
          "response": {
            "$ref": "#/components/schemas/Output_RealtimeResponse"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseCreatedEventType"
          }
        },
        "required": [
          "event_id",
          "response",
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseCreatedEventType": {
        "enum": [
          "response.created"
        ],
        "type": "string"
      },
      "Output_ResponseCustomToolCallOutput": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "call_id": {
            "type": "string"
          },
          "caller": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Caller"
              },
              {
                "type": "null"
              }
            ]
          },
          "created_by": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "output": {
            "$ref": "#/components/schemas/Output_CustomOutput"
          },
          "status": {
            "$ref": "#/components/schemas/Output_ItemStatus"
          },
          "type": {
            "$ref": "#/components/schemas/Output_CustomToolCallOutputType"
          }
        },
        "required": [
          "id",
          "call_id",
          "output",
          "status",
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseDocumentBlock": {
        "additionalProperties": true,
        "properties": {
          "citations": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ResponseCitationConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "source": {
            "$ref": "#/components/schemas/Output_ResponseDocumentSource"
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseDocumentBlockType"
          }
        },
        "required": [
          "type",
          "source"
        ],
        "type": "object"
      },
      "Output_ResponseDocumentBlockType": {
        "enum": [
          "document"
        ],
        "type": "string"
      },
      "Output_ResponseDocumentSource": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Output_PdfBase64Source",
            "properties": {
              "type": {
                "const": "base64",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_PlainTextSource",
            "properties": {
              "type": {
                "const": "text",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Output_ResponseDoneEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/response_done_event.py`, `ResponseDoneEvent`.",
        "properties": {
          "event_id": {
            "type": "string"
          },
          "response": {
            "$ref": "#/components/schemas/Output_RealtimeResponse"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseDoneEventType"
          }
        },
        "required": [
          "event_id",
          "response",
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseDoneEventType": {
        "enum": [
          "response.done"
        ],
        "type": "string"
      },
      "Output_ResponseError": {
        "additionalProperties": true,
        "properties": {
          "code": {
            "$ref": "#/components/schemas/Output_ResponseErrorCode"
          },
          "message": {
            "type": "string"
          },
          "misalignment": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_MisalignmentDetails"
              },
              {
                "type": "null"
              }
            ]
          },
          "param": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "code",
          "message"
        ],
        "type": "object"
      },
      "Output_ResponseErrorCode": {
        "anyOf": [
          {
            "enum": [
              "server_error",
              "rate_limit_exceeded",
              "invalid_prompt",
              "data_residency_mismatch",
              "bio_policy",
              "vector_store_timeout",
              "invalid_image",
              "invalid_image_format",
              "invalid_base64_image",
              "invalid_image_url",
              "image_too_large",
              "image_too_small",
              "image_parse_error",
              "image_content_policy_violation",
              "invalid_image_mode",
              "image_file_too_large",
              "unsupported_image_media_type",
              "empty_image_file",
              "failed_to_download_image",
              "image_file_not_found"
            ],
            "type": "string"
          },
          {
            "description": "Preserve backend-specific and future error codes verbatim.",
            "type": "string"
          }
        ]
      },
      "Output_ResponseErrorEvent": {
        "additionalProperties": true,
        "properties": {
          "code": {
            "type": [
              "string",
              "null"
            ]
          },
          "message": {
            "type": "string"
          },
          "param": {
            "type": [
              "string",
              "null"
            ]
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "code",
          "message",
          "param",
          "sequence_number"
        ],
        "type": "object"
      },
      "Output_ResponseFailed": {
        "additionalProperties": true,
        "properties": {
          "response": {
            "$ref": "#/components/schemas/Output_GenerateContentResponseBody"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sequence_number",
          "response"
        ],
        "type": "object"
      },
      "Output_ResponseFallbackBlock": {
        "additionalProperties": true,
        "properties": {
          "from": {
            "$ref": "#/components/schemas/Output_FallbackInfo"
          },
          "to": {
            "$ref": "#/components/schemas/Output_FallbackInfo"
          },
          "trigger": {
            "$ref": "#/components/schemas/Output_FallbackRefusalTrigger"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseFallbackBlockType"
          }
        },
        "required": [
          "type",
          "from",
          "to",
          "trigger"
        ],
        "type": "object"
      },
      "Output_ResponseFallbackBlockType": {
        "enum": [
          "fallback"
        ],
        "type": "string"
      },
      "Output_ResponseFunctionCallArgumentsDeltaEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/response_function_call_arguments_delta_event.py`, `ResponseFunctionCallArgumentsDeltaEvent`.",
        "properties": {
          "call_id": {
            "type": "string"
          },
          "delta": {
            "type": "string"
          },
          "event_id": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "response_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseFunctionCallArgumentsDeltaEventType"
          }
        },
        "required": [
          "call_id",
          "delta",
          "event_id",
          "item_id",
          "output_index",
          "response_id",
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseFunctionCallArgumentsDeltaEventType": {
        "enum": [
          "response.function_call_arguments.delta"
        ],
        "type": "string"
      },
      "Output_ResponseFunctionCallArgumentsDoneEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/response_function_call_arguments_done_event.py`, `ResponseFunctionCallArgumentsDoneEvent`.",
        "properties": {
          "arguments": {
            "type": "string"
          },
          "call_id": {
            "type": "string"
          },
          "event_id": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "response_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseFunctionCallArgumentsDoneEventType"
          }
        },
        "required": [
          "arguments",
          "call_id",
          "event_id",
          "item_id",
          "name",
          "output_index",
          "response_id",
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseFunctionCallArgumentsDoneEventType": {
        "enum": [
          "response.function_call_arguments.done"
        ],
        "type": "string"
      },
      "Output_ResponseFunctionCallOutput": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "call_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "caller": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Caller"
              },
              {
                "type": "null"
              }
            ]
          },
          "created_by": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "namespace": {
            "type": [
              "string",
              "null"
            ]
          },
          "output": {
            "$ref": "#/components/schemas/Output_CustomOutput"
          },
          "status": {
            "$ref": "#/components/schemas/Output_ItemStatus"
          },
          "type": {
            "$ref": "#/components/schemas/Output_FunctionCallOutputType"
          }
        },
        "required": [
          "id",
          "output",
          "status",
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseInProgress": {
        "additionalProperties": true,
        "properties": {
          "response": {
            "$ref": "#/components/schemas/Output_GenerateContentResponseBody"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sequence_number",
          "response"
        ],
        "type": "object"
      },
      "Output_ResponseIncomplete": {
        "additionalProperties": true,
        "properties": {
          "response": {
            "$ref": "#/components/schemas/Output_GenerateContentResponseBody"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sequence_number",
          "response"
        ],
        "type": "object"
      },
      "Output_ResponseIncompleteDetails": {
        "additionalProperties": true,
        "properties": {
          "reason": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ResponseIncompleteReason"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_ResponseIncompleteReason": {
        "enum": [
          "max_messages",
          "steered",
          "interrupted",
          "max_output_tokens",
          "content_filter"
        ],
        "type": "string"
      },
      "Output_ResponseInputFile": {
        "additionalProperties": true,
        "properties": {
          "detail": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_FileDetail"
              },
              {
                "type": "null"
              }
            ]
          },
          "file_data": {
            "type": [
              "string",
              "null"
            ]
          },
          "file_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "file_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "filename": {
            "type": [
              "string",
              "null"
            ]
          },
          "prompt_cache_breakpoint": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_PromptCacheBreakpoint"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseInputFileType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseInputFile2": {
        "additionalProperties": true,
        "description": "Source: `openai/types/responses/response_input_file.py`, `ResponseInputFile`.",
        "properties": {
          "detail": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ResponseInputFileDetail"
              },
              {
                "type": "null"
              }
            ]
          },
          "file_data": {
            "type": [
              "string",
              "null"
            ]
          },
          "file_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "file_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "filename": {
            "type": [
              "string",
              "null"
            ]
          },
          "prompt_cache_breakpoint": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ResponseInputFilePromptCacheBreakpoint"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseInputFileType2"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseInputFileDetail": {
        "enum": [
          "auto",
          "low",
          "high"
        ],
        "type": "string"
      },
      "Output_ResponseInputFilePromptCacheBreakpoint": {
        "additionalProperties": true,
        "description": "Source: `openai/types/responses/response_input_file.py`, `PromptCacheBreakpoint`.",
        "properties": {
          "mode": {
            "$ref": "#/components/schemas/Output_ResponseInputFilePromptCacheBreakpointMode"
          }
        },
        "required": [
          "mode"
        ],
        "type": "object"
      },
      "Output_ResponseInputFilePromptCacheBreakpointMode": {
        "enum": [
          "explicit"
        ],
        "type": "string"
      },
      "Output_ResponseInputFileType": {
        "enum": [
          "input_file"
        ],
        "type": "string"
      },
      "Output_ResponseInputFileType2": {
        "enum": [
          "input_file"
        ],
        "type": "string"
      },
      "Output_ResponseInputImage": {
        "additionalProperties": true,
        "properties": {
          "detail": {
            "$ref": "#/components/schemas/Output_ImageDetail"
          },
          "file_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "image_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "prompt_cache_breakpoint": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_PromptCacheBreakpoint"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseInputImageType"
          }
        },
        "required": [
          "type",
          "detail"
        ],
        "type": "object"
      },
      "Output_ResponseInputImage2": {
        "additionalProperties": true,
        "description": "Source: `openai/types/responses/response_input_image.py`, `ResponseInputImage`.",
        "properties": {
          "detail": {
            "$ref": "#/components/schemas/Output_ImageDetail2"
          },
          "file_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "image_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "prompt_cache_breakpoint": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ResponseInputImagePromptCacheBreakpoint"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseInputImageType2"
          }
        },
        "required": [
          "detail",
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseInputImagePromptCacheBreakpoint": {
        "additionalProperties": true,
        "description": "Source: `openai/types/responses/response_input_image.py`, `PromptCacheBreakpoint`.",
        "properties": {
          "mode": {
            "$ref": "#/components/schemas/Output_ResponseInputImagePromptCacheBreakpointMode"
          }
        },
        "required": [
          "mode"
        ],
        "type": "object"
      },
      "Output_ResponseInputImagePromptCacheBreakpointMode": {
        "enum": [
          "explicit"
        ],
        "type": "string"
      },
      "Output_ResponseInputImageType": {
        "enum": [
          "input_image"
        ],
        "type": "string"
      },
      "Output_ResponseInputImageType2": {
        "enum": [
          "input_image"
        ],
        "type": "string"
      },
      "Output_ResponseInputText": {
        "additionalProperties": true,
        "properties": {
          "prompt_cache_breakpoint": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_PromptCacheBreakpoint"
              },
              {
                "type": "null"
              }
            ]
          },
          "text": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseInputTextType"
          }
        },
        "required": [
          "type",
          "text"
        ],
        "type": "object"
      },
      "Output_ResponseInputText2": {
        "additionalProperties": true,
        "description": "Source: `openai/types/responses/response_input_text.py`, `ResponseInputText`.",
        "properties": {
          "prompt_cache_breakpoint": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ResponseInputTextPromptCacheBreakpoint"
              },
              {
                "type": "null"
              }
            ]
          },
          "text": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseInputTextType2"
          }
        },
        "required": [
          "text",
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseInputTextPromptCacheBreakpoint": {
        "additionalProperties": true,
        "description": "Source: `openai/types/responses/response_input_text.py`, `PromptCacheBreakpoint`.",
        "properties": {
          "mode": {
            "$ref": "#/components/schemas/Output_ResponseInputTextPromptCacheBreakpointMode"
          }
        },
        "required": [
          "mode"
        ],
        "type": "object"
      },
      "Output_ResponseInputTextPromptCacheBreakpointMode": {
        "enum": [
          "explicit"
        ],
        "type": "string"
      },
      "Output_ResponseInputTextType": {
        "enum": [
          "input_text"
        ],
        "type": "string"
      },
      "Output_ResponseInputTextType2": {
        "enum": [
          "input_text"
        ],
        "type": "string"
      },
      "Output_ResponseInputTokensDetails": {
        "additionalProperties": true,
        "properties": {
          "cache_write_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "cache_write_tokens_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_CacheWriteTokensDetails"
              },
              {
                "type": "null"
              }
            ]
          },
          "cached_tokens": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "cache_write_tokens",
          "cached_tokens"
        ],
        "type": "object"
      },
      "Output_ResponseLocalEnvironment": {
        "additionalProperties": true,
        "properties": {
          "type": {
            "$ref": "#/components/schemas/Output_ShellLocalType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseMcpApprovalResponse": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "approval_request_id": {
            "type": "string"
          },
          "approve": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_McpApprovalResponseType"
          }
        },
        "required": [
          "id",
          "approval_request_id",
          "approve",
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseMcpCallArgumentsDelta": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/response_mcp_call_arguments_delta.py`, `ResponseMcpCallArgumentsDelta`.",
        "properties": {
          "delta": {
            "type": "string"
          },
          "event_id": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "obfuscation": {
            "type": [
              "string",
              "null"
            ]
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "response_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseMcpCallArgumentsDeltaType"
          }
        },
        "required": [
          "delta",
          "event_id",
          "item_id",
          "output_index",
          "response_id",
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseMcpCallArgumentsDeltaType": {
        "enum": [
          "response.mcp_call_arguments.delta"
        ],
        "type": "string"
      },
      "Output_ResponseMcpCallArgumentsDone": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/response_mcp_call_arguments_done.py`, `ResponseMcpCallArgumentsDone`.",
        "properties": {
          "arguments": {
            "type": "string"
          },
          "event_id": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "response_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseMcpCallArgumentsDoneType"
          }
        },
        "required": [
          "arguments",
          "event_id",
          "item_id",
          "output_index",
          "response_id",
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseMcpCallArgumentsDoneType": {
        "enum": [
          "response.mcp_call_arguments.done"
        ],
        "type": "string"
      },
      "Output_ResponseMcpCallCompleted": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/response_mcp_call_completed.py`, `ResponseMcpCallCompleted`.",
        "properties": {
          "event_id": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseMcpCallCompletedType"
          }
        },
        "required": [
          "event_id",
          "item_id",
          "output_index",
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseMcpCallCompletedType": {
        "enum": [
          "response.mcp_call.completed"
        ],
        "type": "string"
      },
      "Output_ResponseMcpCallFailed": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/response_mcp_call_failed.py`, `ResponseMcpCallFailed`.",
        "properties": {
          "event_id": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseMcpCallFailedType"
          }
        },
        "required": [
          "event_id",
          "item_id",
          "output_index",
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseMcpCallFailedType": {
        "enum": [
          "response.mcp_call.failed"
        ],
        "type": "string"
      },
      "Output_ResponseMcpCallInProgress": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/response_mcp_call_in_progress.py`, `ResponseMcpCallInProgress`.",
        "properties": {
          "event_id": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseMcpCallInProgressType"
          }
        },
        "required": [
          "event_id",
          "item_id",
          "output_index",
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseMcpCallInProgressType": {
        "enum": [
          "response.mcp_call.in_progress"
        ],
        "type": "string"
      },
      "Output_ResponseMcpResultContent": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "$ref": "#/components/schemas/Output_ResponseTextBlock"
            },
            "type": "array"
          }
        ]
      },
      "Output_ResponseMcpToolResultBlock": {
        "additionalProperties": true,
        "properties": {
          "content": {
            "$ref": "#/components/schemas/Output_ResponseMcpResultContent"
          },
          "is_error": {
            "type": "boolean"
          },
          "tool_use_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseMcpToolResultBlockType"
          }
        },
        "required": [
          "type",
          "content",
          "is_error",
          "tool_use_id"
        ],
        "type": "object"
      },
      "Output_ResponseMcpToolResultBlockType": {
        "enum": [
          "mcp_tool_result"
        ],
        "type": "string"
      },
      "Output_ResponseMcpToolUseBlock": {
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "string"
          },
          "input": {
            "additionalProperties": true,
            "type": "object"
          },
          "name": {
            "type": "string"
          },
          "server_name": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseMcpToolUseBlockType"
          }
        },
        "required": [
          "type",
          "id",
          "input",
          "name",
          "server_name"
        ],
        "type": "object"
      },
      "Output_ResponseMcpToolUseBlockType": {
        "enum": [
          "mcp_tool_use"
        ],
        "type": "string"
      },
      "Output_ResponseMessage": {
        "additionalProperties": true,
        "properties": {
          "annotations": {
            "items": {
              "$ref": "#/components/schemas/Output_Annotation"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "audio": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ResponseAudio"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "function_call": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_FunctionCall3"
              },
              {
                "type": "null"
              }
            ]
          },
          "reasoning": {
            "description": "Alternative compatible-provider spelling. Kept separately on the wire.",
            "type": [
              "string",
              "null"
            ]
          },
          "reasoning_content": {
            "description": "Plain-text reasoning returned by compatible providers (for example DeepSeek).",
            "type": [
              "string",
              "null"
            ]
          },
          "reasoning_details": {
            "items": {
              "$ref": "#/components/schemas/Output_ReasoningDetail"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "refusal": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "role": {
            "$ref": "#/components/schemas/Output_ResponseRole2"
          },
          "tool_calls": {
            "items": {
              "$ref": "#/components/schemas/Output_MessageToolCall"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "content",
          "refusal",
          "role"
        ],
        "type": "object"
      },
      "Output_ResponseMetadata": {
        "additionalProperties": true,
        "description": "Codex turn headers and opaque moderation/verification or buffering metadata.\nThese are stream notifications, distinct from user-supplied Response.metadata.",
        "properties": {
          "headers": true,
          "metadata": true,
          "response_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "safety_buffering": true,
          "sequence_number": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_ResponseModerationError": {
        "additionalProperties": true,
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseModerationErrorType"
          }
        },
        "required": [
          "code",
          "message",
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseModerationErrorType": {
        "enum": [
          "error"
        ],
        "type": "string"
      },
      "Output_ResponseModerationInputType": {
        "enum": [
          "text",
          "image"
        ],
        "type": "string"
      },
      "Output_ResponseModerationOutcome": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_ResponseModerationResult"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseModerationError"
          }
        ]
      },
      "Output_ResponseModerationReport": {
        "additionalProperties": true,
        "properties": {
          "input": {
            "$ref": "#/components/schemas/Output_ResponseModerationOutcome"
          },
          "output": {
            "$ref": "#/components/schemas/Output_ResponseModerationOutcome"
          }
        },
        "required": [
          "input",
          "output"
        ],
        "type": "object"
      },
      "Output_ResponseModerationResult": {
        "additionalProperties": true,
        "properties": {
          "categories": {
            "additionalProperties": {
              "type": "boolean"
            },
            "type": "object"
          },
          "category_applied_input_types": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/Output_ResponseModerationInputType"
              },
              "type": "array"
            },
            "type": "object"
          },
          "category_scores": {
            "additionalProperties": {
              "type": "number"
            },
            "type": "object"
          },
          "flagged": {
            "type": "boolean"
          },
          "model": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseModerationResultType"
          }
        },
        "required": [
          "categories",
          "category_applied_input_types",
          "category_scores",
          "flagged",
          "model",
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseModerationResultType": {
        "enum": [
          "moderation_result"
        ],
        "type": "string"
      },
      "Output_ResponseMultiAgentCall": {
        "additionalProperties": true,
        "properties": {
          "action": {
            "$ref": "#/components/schemas/Output_Action"
          },
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "arguments": {
            "type": "string"
          },
          "call_id": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_MultiAgentCallType"
          }
        },
        "required": [
          "type",
          "id",
          "action",
          "arguments",
          "call_id"
        ],
        "type": "object"
      },
      "Output_ResponseMultiAgentCallOutput": {
        "additionalProperties": true,
        "properties": {
          "action": {
            "$ref": "#/components/schemas/Output_Action"
          },
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "call_id": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "output": {
            "items": {
              "$ref": "#/components/schemas/Output_ResponseOutputText"
            },
            "type": "array"
          },
          "type": {
            "$ref": "#/components/schemas/Output_MultiAgentCallOutputType"
          }
        },
        "required": [
          "type",
          "id",
          "action",
          "call_id",
          "output"
        ],
        "type": "object"
      },
      "Output_ResponseNestedErrorEvent": {
        "additionalProperties": true,
        "properties": {
          "error": {
            "$ref": "#/components/schemas/Output_ErrorDetail"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sequence_number",
          "error"
        ],
        "type": "object"
      },
      "Output_ResponseObject": {
        "enum": [
          "response"
        ],
        "type": "string"
      },
      "Output_ResponseOutputItem": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_ResponseMultiAgentCall"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseMultiAgentCallOutput"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseAgentMessage"
          },
          {
            "$ref": "#/components/schemas/Output_ConfigurationUpdate"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseOutputMessage"
          },
          {
            "$ref": "#/components/schemas/Output_FileSearchCall"
          },
          {
            "$ref": "#/components/schemas/Output_FunctionCall"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseFunctionCallOutput"
          },
          {
            "$ref": "#/components/schemas/Output_WebSearchCall"
          },
          {
            "$ref": "#/components/schemas/Output_ComputerCall"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseComputerCallOutput"
          },
          {
            "$ref": "#/components/schemas/Output_ReasoningItem"
          },
          {
            "$ref": "#/components/schemas/Output_Program"
          },
          {
            "$ref": "#/components/schemas/Output_ProgramOutput"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseToolSearchCall"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseToolSearchOutput"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseAdditionalTools"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseCompaction"
          },
          {
            "$ref": "#/components/schemas/Output_ImageGenerationCall"
          },
          {
            "$ref": "#/components/schemas/Output_CodeInterpreterCall"
          },
          {
            "$ref": "#/components/schemas/Output_LocalShellCall"
          },
          {
            "$ref": "#/components/schemas/Output_LocalShellCallOutput"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseShellCall"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseShellCallOutput"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseApplyPatchCall"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseApplyPatchCallOutput"
          },
          {
            "$ref": "#/components/schemas/Output_McpCall"
          },
          {
            "$ref": "#/components/schemas/Output_McpListTools"
          },
          {
            "$ref": "#/components/schemas/Output_McpApprovalRequest"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseMcpApprovalResponse"
          },
          {
            "$ref": "#/components/schemas/Output_CustomToolCall"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseCustomToolCallOutput"
          }
        ],
        "description": "Native output items; input-only messages/references/triggers are excluded.\nSame-shape items are reused; response-specific required fields use separate structs."
      },
      "Output_ResponseOutputItemAddedEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/response_output_item_added_event.py`, `ResponseOutputItemAddedEvent`.",
        "properties": {
          "event_id": {
            "type": "string"
          },
          "item": {
            "$ref": "#/components/schemas/Output_ConversationItem"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "response_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseOutputItemAddedEventType"
          }
        },
        "required": [
          "event_id",
          "item",
          "output_index",
          "response_id",
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseOutputItemAddedEventType": {
        "enum": [
          "response.output_item.added"
        ],
        "type": "string"
      },
      "Output_ResponseOutputItemDoneEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/response_output_item_done_event.py`, `ResponseOutputItemDoneEvent`.",
        "properties": {
          "event_id": {
            "type": "string"
          },
          "item": {
            "$ref": "#/components/schemas/Output_ConversationItem"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "response_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseOutputItemDoneEventType"
          }
        },
        "required": [
          "event_id",
          "item",
          "output_index",
          "response_id",
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseOutputItemDoneEventType": {
        "enum": [
          "response.output_item.done"
        ],
        "type": "string"
      },
      "Output_ResponseOutputMessage": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/Output_OutputContent"
            },
            "type": "array"
          },
          "id": {
            "type": "string"
          },
          "phase": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_MessagePhase"
              },
              {
                "type": "null"
              }
            ]
          },
          "role": {
            "$ref": "#/components/schemas/Output_OutputMessageRole"
          },
          "status": {
            "$ref": "#/components/schemas/Output_OutputMessageStatus"
          },
          "type": {
            "$ref": "#/components/schemas/Output_MessageType"
          }
        },
        "required": [
          "id",
          "content",
          "role",
          "status",
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseOutputRefusal": {
        "additionalProperties": true,
        "properties": {
          "refusal": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseOutputRefusalType"
          }
        },
        "required": [
          "type",
          "refusal"
        ],
        "type": "object"
      },
      "Output_ResponseOutputRefusalType": {
        "enum": [
          "refusal"
        ],
        "type": "string"
      },
      "Output_ResponseOutputText": {
        "additionalProperties": true,
        "properties": {
          "annotations": {
            "items": {
              "$ref": "#/components/schemas/Output_OutputAnnotation"
            },
            "type": "array"
          },
          "logprobs": {
            "items": {
              "$ref": "#/components/schemas/Output_OutputLogprob"
            },
            "type": "array"
          },
          "text": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseOutputTextType"
          }
        },
        "required": [
          "type",
          "text",
          "annotations",
          "logprobs"
        ],
        "type": "object"
      },
      "Output_ResponseOutputTextType": {
        "enum": [
          "output_text"
        ],
        "type": "string"
      },
      "Output_ResponseOutputTokensDetails": {
        "additionalProperties": true,
        "properties": {
          "reasoning_tokens": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "reasoning_tokens"
        ],
        "type": "object"
      },
      "Output_ResponsePageCitation": {
        "additionalProperties": true,
        "properties": {
          "cited_text": {
            "type": "string"
          },
          "document_index": {
            "format": "int64",
            "type": "integer"
          },
          "document_title": {
            "type": [
              "string",
              "null"
            ]
          },
          "end_page_number": {
            "format": "int64",
            "type": "integer"
          },
          "file_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "start_page_number": {
            "format": "int64",
            "type": "integer"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponsePageCitationType"
          }
        },
        "required": [
          "type",
          "cited_text",
          "document_index",
          "end_page_number",
          "start_page_number"
        ],
        "type": "object"
      },
      "Output_ResponsePageCitationType": {
        "enum": [
          "page_location"
        ],
        "type": "string"
      },
      "Output_ResponsePrompt": {
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "string"
          },
          "variables": {
            "additionalProperties": {
              "$ref": "#/components/schemas/Output_PromptVariableValue"
            },
            "type": [
              "object",
              "null"
            ]
          },
          "version": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id"
        ],
        "type": "object"
      },
      "Output_ResponsePrompt2": {
        "additionalProperties": true,
        "description": "Source: `openai/types/responses/response_prompt.py`, `ResponsePrompt`.",
        "properties": {
          "id": {
            "type": "string"
          },
          "variables": {
            "additionalProperties": {
              "$ref": "#/components/schemas/Output_ResponsePromptVariables"
            },
            "type": [
              "object",
              "null"
            ]
          },
          "version": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id"
        ],
        "type": "object"
      },
      "Output_ResponsePromptCacheOptions": {
        "additionalProperties": true,
        "properties": {
          "comparison_response_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "mode": {
            "$ref": "#/components/schemas/Output_PromptCachingMode"
          },
          "ttl": {
            "$ref": "#/components/schemas/Output_PromptCacheTtl"
          }
        },
        "required": [
          "mode",
          "ttl"
        ],
        "type": "object"
      },
      "Output_ResponsePromptVariables": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseInputText2"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseInputImage2"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseInputFile2"
          }
        ],
        "description": "Source: `openai/types/responses/response_prompt.py`, `Variables`."
      },
      "Output_ResponseQueued": {
        "additionalProperties": true,
        "properties": {
          "response": {
            "$ref": "#/components/schemas/Output_GenerateContentResponseBody"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sequence_number",
          "response"
        ],
        "type": "object"
      },
      "Output_ResponseRole": {
        "enum": [
          "assistant"
        ],
        "type": "string"
      },
      "Output_ResponseRole2": {
        "enum": [
          "assistant"
        ],
        "type": "string"
      },
      "Output_ResponseSearchCitation": {
        "additionalProperties": true,
        "properties": {
          "cited_text": {
            "type": "string"
          },
          "end_block_index": {
            "format": "int64",
            "type": "integer"
          },
          "search_result_index": {
            "format": "int64",
            "type": "integer"
          },
          "source": {
            "type": "string"
          },
          "start_block_index": {
            "format": "int64",
            "type": "integer"
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseSearchCitationType"
          }
        },
        "required": [
          "type",
          "cited_text",
          "end_block_index",
          "search_result_index",
          "source",
          "start_block_index"
        ],
        "type": "object"
      },
      "Output_ResponseSearchCitationType": {
        "enum": [
          "search_result_location"
        ],
        "type": "string"
      },
      "Output_ResponseServerToolUseBlock": {
        "additionalProperties": true,
        "properties": {
          "caller": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Caller2"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": "string"
          },
          "input": {
            "additionalProperties": true,
            "type": "object"
          },
          "name": {
            "$ref": "#/components/schemas/Output_ServerToolName"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseServerToolUseBlockType"
          }
        },
        "required": [
          "type",
          "id",
          "input",
          "name"
        ],
        "type": "object"
      },
      "Output_ResponseServerToolUseBlockType": {
        "enum": [
          "server_tool_use"
        ],
        "type": "string"
      },
      "Output_ResponseServiceTier": {
        "enum": [
          "standard",
          "priority",
          "batch"
        ],
        "type": "string"
      },
      "Output_ResponseServiceTier2": {
        "enum": [
          "auto",
          "default",
          "flex",
          "scale",
          "priority",
          "fast",
          "ultrafast"
        ],
        "type": "string"
      },
      "Output_ResponseShellAction": {
        "additionalProperties": true,
        "properties": {
          "commands": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "max_output_length": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "timeout_ms": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "commands",
          "max_output_length",
          "timeout_ms"
        ],
        "type": "object"
      },
      "Output_ResponseShellCall": {
        "additionalProperties": true,
        "properties": {
          "action": {
            "$ref": "#/components/schemas/Output_ResponseShellAction"
          },
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "call_id": {
            "type": "string"
          },
          "caller": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Caller"
              },
              {
                "type": "null"
              }
            ]
          },
          "created_by": {
            "type": [
              "string",
              "null"
            ]
          },
          "environment": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ResponseShellEnvironment"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/Output_ItemStatus"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ShellCallType"
          }
        },
        "required": [
          "id",
          "action",
          "call_id",
          "environment",
          "status",
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseShellCallOutput": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "call_id": {
            "type": "string"
          },
          "caller": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Caller"
              },
              {
                "type": "null"
              }
            ]
          },
          "created_by": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "max_output_length": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "output": {
            "items": {
              "$ref": "#/components/schemas/Output_ResponseShellOutputContent"
            },
            "type": "array"
          },
          "status": {
            "$ref": "#/components/schemas/Output_ItemStatus"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ShellCallOutputType"
          }
        },
        "required": [
          "id",
          "call_id",
          "max_output_length",
          "output",
          "status",
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseShellEnvironment": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_ResponseLocalEnvironment"
          },
          {
            "$ref": "#/components/schemas/Output_ShellContainerReference"
          }
        ]
      },
      "Output_ResponseShellOutputContent": {
        "additionalProperties": true,
        "properties": {
          "created_by": {
            "type": [
              "string",
              "null"
            ]
          },
          "outcome": {
            "$ref": "#/components/schemas/Output_ShellOutputOutcome"
          },
          "stderr": {
            "type": "string"
          },
          "stdout": {
            "type": "string"
          }
        },
        "required": [
          "outcome",
          "stderr",
          "stdout"
        ],
        "type": "object"
      },
      "Output_ResponseSkill": {
        "additionalProperties": true,
        "properties": {
          "skill_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_SkillType"
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "skill_id",
          "type",
          "version"
        ],
        "type": "object"
      },
      "Output_ResponseStatus": {
        "enum": [
          "completed",
          "failed",
          "in_progress",
          "cancelled",
          "queued",
          "incomplete"
        ],
        "type": "string"
      },
      "Output_ResponseStreamError": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_ResponseErrorEvent"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseNestedErrorEvent"
          }
        ],
        "description": "HTTP Responses uses flat errors; the Codex backend also emits nested errors."
      },
      "Output_ResponseTextBlock": {
        "additionalProperties": true,
        "properties": {
          "citations": {
            "items": {
              "$ref": "#/components/schemas/Output_ResponseTextCitation"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "text": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseTextBlockType"
          }
        },
        "required": [
          "type",
          "text"
        ],
        "type": "object"
      },
      "Output_ResponseTextBlockType": {
        "enum": [
          "text"
        ],
        "type": "string"
      },
      "Output_ResponseTextCitation": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_ResponseCharCitation"
          },
          {
            "$ref": "#/components/schemas/Output_ResponsePageCitation"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseContentBlockCitation"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseWebCitation"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseSearchCitation"
          }
        ]
      },
      "Output_ResponseTextDeltaEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/response_text_delta_event.py`, `ResponseTextDeltaEvent`.",
        "properties": {
          "content_index": {
            "format": "int64",
            "type": "integer"
          },
          "delta": {
            "type": "string"
          },
          "event_id": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "response_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseTextDeltaEventType"
          }
        },
        "required": [
          "content_index",
          "delta",
          "event_id",
          "item_id",
          "output_index",
          "response_id",
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseTextDeltaEventType": {
        "enum": [
          "response.output_text.delta"
        ],
        "type": "string"
      },
      "Output_ResponseTextDoneEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/response_text_done_event.py`, `ResponseTextDoneEvent`.",
        "properties": {
          "content_index": {
            "format": "int64",
            "type": "integer"
          },
          "event_id": {
            "type": "string"
          },
          "item_id": {
            "type": "string"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "response_id": {
            "type": "string"
          },
          "text": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseTextDoneEventType"
          }
        },
        "required": [
          "content_index",
          "event_id",
          "item_id",
          "output_index",
          "response_id",
          "text",
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseTextDoneEventType": {
        "enum": [
          "response.output_text.done"
        ],
        "type": "string"
      },
      "Output_ResponseTextEditorCodeExecutionToolResultBlock": {
        "additionalProperties": true,
        "properties": {
          "content": {
            "$ref": "#/components/schemas/Output_ResponseTextEditorResultContent"
          },
          "tool_use_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseTextEditorCodeExecutionToolResultBlockType"
          }
        },
        "required": [
          "type",
          "content",
          "tool_use_id"
        ],
        "type": "object"
      },
      "Output_ResponseTextEditorCodeExecutionToolResultBlockType": {
        "enum": [
          "text_editor_code_execution_tool_result"
        ],
        "type": "string"
      },
      "Output_ResponseTextEditorError": {
        "additionalProperties": true,
        "properties": {
          "error_code": {
            "$ref": "#/components/schemas/Output_TextEditorErrorCode"
          },
          "error_message": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseTextEditorErrorType"
          }
        },
        "required": [
          "type",
          "error_code"
        ],
        "type": "object"
      },
      "Output_ResponseTextEditorErrorType": {
        "enum": [
          "text_editor_code_execution_tool_result_error"
        ],
        "type": "string"
      },
      "Output_ResponseTextEditorReplaceResult": {
        "additionalProperties": true,
        "properties": {
          "lines": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "new_lines": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "new_start": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "old_lines": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "old_start": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseTextEditorReplaceResultType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseTextEditorReplaceResultType": {
        "enum": [
          "text_editor_code_execution_str_replace_result"
        ],
        "type": "string"
      },
      "Output_ResponseTextEditorResultContent": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_ResponseTextEditorError"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseTextEditorViewResult"
          },
          {
            "$ref": "#/components/schemas/Output_TextEditorCreateResult"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseTextEditorReplaceResult"
          }
        ]
      },
      "Output_ResponseTextEditorViewResult": {
        "additionalProperties": true,
        "properties": {
          "content": {
            "type": "string"
          },
          "file_type": {
            "$ref": "#/components/schemas/Output_TextEditorFileType"
          },
          "num_lines": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "start_line": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "total_lines": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseTextEditorViewResultType"
          }
        },
        "required": [
          "type",
          "content",
          "file_type"
        ],
        "type": "object"
      },
      "Output_ResponseTextEditorViewResultType": {
        "enum": [
          "text_editor_code_execution_view_result"
        ],
        "type": "string"
      },
      "Output_ResponseToolReferenceBlock": {
        "additionalProperties": true,
        "properties": {
          "tool_name": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseToolReferenceBlockType"
          }
        },
        "required": [
          "type",
          "tool_name"
        ],
        "type": "object"
      },
      "Output_ResponseToolReferenceBlockType": {
        "enum": [
          "tool_reference"
        ],
        "type": "string"
      },
      "Output_ResponseToolSearchCall": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "arguments": true,
          "call_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "created_by": {
            "type": [
              "string",
              "null"
            ]
          },
          "execution": {
            "$ref": "#/components/schemas/Output_ToolExecution"
          },
          "id": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/Output_ItemStatus"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ToolSearchCallType"
          }
        },
        "required": [
          "id",
          "arguments",
          "call_id",
          "execution",
          "status",
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseToolSearchError": {
        "additionalProperties": true,
        "properties": {
          "error_code": {
            "$ref": "#/components/schemas/Output_ToolSearchErrorCode"
          },
          "error_message": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseToolSearchErrorType"
          }
        },
        "required": [
          "type",
          "error_code"
        ],
        "type": "object"
      },
      "Output_ResponseToolSearchErrorType": {
        "enum": [
          "tool_search_tool_result_error"
        ],
        "type": "string"
      },
      "Output_ResponseToolSearchOutput": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "call_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "created_by": {
            "type": [
              "string",
              "null"
            ]
          },
          "execution": {
            "$ref": "#/components/schemas/Output_ToolExecution"
          },
          "id": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/Output_ItemStatus"
          },
          "tools": {
            "items": {
              "$ref": "#/components/schemas/Output_Tool"
            },
            "type": "array"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ToolSearchOutputType"
          }
        },
        "required": [
          "id",
          "call_id",
          "execution",
          "status",
          "tools",
          "type"
        ],
        "type": "object"
      },
      "Output_ResponseToolSearchResultContent": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_ResponseToolSearchError"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseToolSearchResults"
          }
        ]
      },
      "Output_ResponseToolSearchResults": {
        "additionalProperties": true,
        "properties": {
          "tool_references": {
            "items": {
              "$ref": "#/components/schemas/Output_ResponseToolReferenceBlock"
            },
            "type": "array"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseToolSearchResultsType"
          }
        },
        "required": [
          "type",
          "tool_references"
        ],
        "type": "object"
      },
      "Output_ResponseToolSearchResultsType": {
        "enum": [
          "tool_search_tool_search_result"
        ],
        "type": "string"
      },
      "Output_ResponseToolSearchToolResultBlock": {
        "additionalProperties": true,
        "properties": {
          "content": {
            "$ref": "#/components/schemas/Output_ResponseToolSearchResultContent"
          },
          "tool_use_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseToolSearchToolResultBlockType"
          }
        },
        "required": [
          "type",
          "content",
          "tool_use_id"
        ],
        "type": "object"
      },
      "Output_ResponseToolSearchToolResultBlockType": {
        "enum": [
          "tool_search_tool_result"
        ],
        "type": "string"
      },
      "Output_ResponseToolUseBlock": {
        "additionalProperties": true,
        "properties": {
          "caller": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Caller2"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": "string"
          },
          "input": {
            "additionalProperties": true,
            "type": "object"
          },
          "name": {
            "type": "string"
          },
          "toolset_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseToolUseBlockType"
          }
        },
        "required": [
          "type",
          "id",
          "input",
          "name"
        ],
        "type": "object"
      },
      "Output_ResponseToolUseBlockType": {
        "enum": [
          "tool_use"
        ],
        "type": "string"
      },
      "Output_ResponseUsage": {
        "additionalProperties": true,
        "properties": {
          "input_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "input_tokens_details": {
            "$ref": "#/components/schemas/Output_ResponseInputTokensDetails"
          },
          "output_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "output_tokens_details": {
            "$ref": "#/components/schemas/Output_ResponseOutputTokensDetails"
          },
          "total_tokens": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "input_tokens",
          "input_tokens_details",
          "output_tokens",
          "output_tokens_details",
          "total_tokens"
        ],
        "type": "object"
      },
      "Output_ResponseWebCitation": {
        "additionalProperties": true,
        "properties": {
          "cited_text": {
            "type": "string"
          },
          "encrypted_index": {
            "type": "string"
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseWebCitationType"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "cited_text",
          "encrypted_index",
          "url"
        ],
        "type": "object"
      },
      "Output_ResponseWebCitationType": {
        "enum": [
          "web_search_result_location"
        ],
        "type": "string"
      },
      "Output_ResponseWebFetchResult": {
        "additionalProperties": true,
        "properties": {
          "content": {
            "$ref": "#/components/schemas/Output_ResponseDocumentBlock"
          },
          "retrieved_at": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseWebFetchResultType"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "content",
          "url"
        ],
        "type": "object"
      },
      "Output_ResponseWebFetchResultContent": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_WebFetchError"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseWebFetchResult"
          }
        ]
      },
      "Output_ResponseWebFetchResultType": {
        "enum": [
          "web_fetch_result"
        ],
        "type": "string"
      },
      "Output_ResponseWebFetchToolResultBlock": {
        "additionalProperties": true,
        "properties": {
          "caller": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Caller2"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "$ref": "#/components/schemas/Output_ResponseWebFetchResultContent"
          },
          "tool_use_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseWebFetchToolResultBlockType"
          }
        },
        "required": [
          "type",
          "content",
          "tool_use_id"
        ],
        "type": "object"
      },
      "Output_ResponseWebFetchToolResultBlockType": {
        "enum": [
          "web_fetch_tool_result"
        ],
        "type": "string"
      },
      "Output_ResponseWebSearchResult": {
        "additionalProperties": true,
        "properties": {
          "encrypted_content": {
            "type": "string"
          },
          "page_age": {
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseWebSearchResultType"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "encrypted_content",
          "title",
          "url"
        ],
        "type": "object"
      },
      "Output_ResponseWebSearchResultContent": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_WebSearchError"
          },
          {
            "items": {
              "$ref": "#/components/schemas/Output_ResponseWebSearchResult"
            },
            "type": "array"
          }
        ]
      },
      "Output_ResponseWebSearchResultType": {
        "enum": [
          "web_search_result"
        ],
        "type": "string"
      },
      "Output_ResponseWebSearchToolResultBlock": {
        "additionalProperties": true,
        "properties": {
          "caller": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Caller2"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "$ref": "#/components/schemas/Output_ResponseWebSearchResultContent"
          },
          "tool_use_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ResponseWebSearchToolResultBlockType"
          }
        },
        "required": [
          "type",
          "content",
          "tool_use_id"
        ],
        "type": "object"
      },
      "Output_ResponseWebSearchToolResultBlockType": {
        "enum": [
          "web_search_tool_result"
        ],
        "type": "string"
      },
      "Output_RetrievalMetadata": {
        "additionalProperties": true,
        "properties": {
          "googleSearchDynamicRetrievalScore": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_RetrievedContext": {
        "additionalProperties": true,
        "properties": {
          "customMetadata": {
            "items": {
              "$ref": "#/components/schemas/Output_CustomMetadata"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "fileSearchStore": {
            "type": [
              "string",
              "null"
            ]
          },
          "mediaId": {
            "type": [
              "string",
              "null"
            ]
          },
          "pageNumber": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "text": {
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "uri": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_ReviewSnippet": {
        "additionalProperties": true,
        "properties": {
          "googleMapsUri": {
            "type": [
              "string",
              "null"
            ]
          },
          "reviewId": {
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_RewriteRuleDto": {
        "description": "One ordered replacement. Every write compiles the rule with core's own\ncompiler first, so a rule that would be skipped at assembly is refused\nhere instead of silently doing nothing.",
        "properties": {
          "action": {
            "default": "replace",
            "type": "string"
          },
          "createdAtMs": {
            "format": "int64",
            "type": "integer"
          },
          "enabled": {
            "type": "boolean"
          },
          "filterBody": {
            "default": null
          },
          "filterEventPattern": {
            "type": [
              "string",
              "null"
            ]
          },
          "filterHeader": {
            "default": null
          },
          "filterHeaderPattern": {
            "type": [
              "string",
              "null"
            ]
          },
          "filterModelPattern": {
            "type": [
              "string",
              "null"
            ]
          },
          "filterOperationKeys": {
            "description": "JSON array of `{\"operation\": …, \"dialect\": …}`."
          },
          "id": {
            "type": "string"
          },
          "paths": {
            "description": "JSON array of dot paths; body target only."
          },
          "pattern": {
            "type": "string"
          },
          "phase": {
            "description": "`request`, `response` or `both`.",
            "type": "string"
          },
          "replacement": {
            "type": "string"
          },
          "ruleSetId": {
            "type": "string"
          },
          "sortOrder": {
            "format": "int64",
            "type": "integer"
          },
          "target": {
            "description": "`body`, `header` or `query`.",
            "type": "string"
          },
          "targetName": {
            "type": [
              "string",
              "null"
            ]
          },
          "updatedAtMs": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "ruleSetId",
          "phase",
          "action",
          "target",
          "targetName",
          "paths",
          "pattern",
          "replacement",
          "filterOperationKeys",
          "filterModelPattern",
          "filterHeaderPattern",
          "filterEventPattern",
          "filterBody",
          "filterHeader",
          "sortOrder",
          "enabled",
          "createdAtMs",
          "updatedAtMs"
        ],
        "type": "object"
      },
      "Output_RewriteRuleWrite": {
        "properties": {
          "action": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "enabled": {
            "default": null,
            "type": [
              "boolean",
              "null"
            ]
          },
          "filterBody": {
            "default": null
          },
          "filterEventPattern": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "filterHeader": {
            "default": null
          },
          "filterHeaderPattern": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "filterModelPattern": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "filterOperationKeys": {
            "default": null
          },
          "id": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "paths": {
            "default": null
          },
          "pattern": {
            "type": "string"
          },
          "phase": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "replacement": {
            "type": "string"
          },
          "ruleSetId": {
            "default": null,
            "description": "Ignored by `replace_rules`, which owns the set it is replacing.",
            "type": [
              "string",
              "null"
            ]
          },
          "sortOrder": {
            "default": null,
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "target": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "targetName": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "ruleSetId",
          "phase",
          "action",
          "target",
          "targetName",
          "paths",
          "pattern",
          "replacement",
          "filterOperationKeys",
          "filterModelPattern",
          "filterHeaderPattern",
          "filterEventPattern",
          "filterBody",
          "filterHeader",
          "sortOrder",
          "enabled"
        ],
        "type": "object"
      },
      "Output_RouteDto": {
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "maxAttempts": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "name": {
            "description": "The exact model name clients send in requests.",
            "type": "string"
          },
          "sessionAffinity": {
            "default": false,
            "type": "boolean"
          },
          "strategy": {
            "description": "`round_robin`, `weighted` or `failover`.",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "strategy",
          "sessionAffinity",
          "maxAttempts",
          "enabled"
        ],
        "type": "object"
      },
      "Output_RouteMemberDto": {
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "providerId": {
            "type": "string"
          },
          "routeId": {
            "type": "string"
          },
          "tier": {
            "description": "Lower tiers are preferred; later tiers are the fallback.",
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "upstreamModel": {
            "description": "The upstream model this member sends, not a catalog reference.",
            "type": "string"
          },
          "weight": {
            "description": "Positive relative weight within a tier.",
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "id",
          "routeId",
          "providerId",
          "upstreamModel",
          "tier",
          "weight",
          "enabled"
        ],
        "type": "object"
      },
      "Output_RoutingMappingDto": {
        "properties": {
          "implementation": {
            "type": "string"
          },
          "target": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RoutingTargetDto"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "implementation",
          "target"
        ],
        "type": "object"
      },
      "Output_RoutingTargetDto": {
        "description": "One exact operation/protocol key accepted by a conversion driver.",
        "properties": {
          "dialect": {
            "type": "string"
          },
          "operation": {
            "type": "string"
          }
        },
        "required": [
          "operation",
          "dialect"
        ],
        "type": "object"
      },
      "Output_RulePresetCategory": {
        "oneOf": [
          {
            "const": "application",
            "description": "Rewrites that hide one client application's identity from the upstream.",
            "type": "string"
          }
        ]
      },
      "Output_RulePresetDto": {
        "description": "A named set of rewrite rules. `rules` is what `apply_rule_preset` writes;\nit is the ordinary write shape, so a caller may edit the list first and\nsend it through `rewrite().replace_rules` itself.",
        "properties": {
          "category": {
            "$ref": "#/components/schemas/Output_RulePresetCategory"
          },
          "description": {
            "description": "A stable machine tag, `gproxy:preset:{id}:v1`, so a console can tell\nwhich preset a rule set came from.",
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "rules": {
            "items": {
              "$ref": "#/components/schemas/Output_RewriteRuleWrite"
            },
            "type": "array"
          }
        },
        "required": [
          "id",
          "name",
          "description",
          "category",
          "rules"
        ],
        "type": "object"
      },
      "Output_RuleSetDto": {
        "properties": {
          "createdAtMs": {
            "format": "int64",
            "type": "integer"
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "enabled": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "providerCount": {
            "description": "Number of provider attachments, populated by list/get.",
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "updatedAtMs": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "name",
          "description",
          "enabled",
          "createdAtMs",
          "updatedAtMs"
        ],
        "type": "object"
      },
      "Output_SafetyRating": {
        "additionalProperties": true,
        "properties": {
          "blocked": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "category": {
            "$ref": "#/components/schemas/Output_HarmCategory"
          },
          "probability": {
            "$ref": "#/components/schemas/Output_HarmProbability"
          }
        },
        "required": [
          "category",
          "probability"
        ],
        "type": "object"
      },
      "Output_Scheduling": {
        "enum": [
          "SCHEDULING_UNSPECIFIED",
          "SILENT",
          "WHEN_IDLE",
          "INTERRUPT"
        ],
        "type": "string"
      },
      "Output_ScreenshotAction": {
        "additionalProperties": true,
        "type": "object"
      },
      "Output_ScrollAction": {
        "additionalProperties": true,
        "properties": {
          "keys": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "scroll_x": {
            "format": "int64",
            "type": "integer"
          },
          "scroll_y": {
            "format": "int64",
            "type": "integer"
          },
          "x": {
            "format": "int64",
            "type": "integer"
          },
          "y": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "scroll_x",
          "scroll_y",
          "x",
          "y"
        ],
        "type": "object"
      },
      "Output_SealedSecretDto": {
        "description": "A sealed secret as it travels: the envelope's own codec, and its bytes in\nstandard base64. Nothing here is plaintext, and nothing here can be opened\nwithout the key the source sealed it with.",
        "properties": {
          "bytes": {
            "type": "string"
          },
          "codec": {
            "description": "`plaintext`, `aes-gcm`, or `unknown` for an envelope this build does\nnot recognize. Carried so an importer can refuse early rather than\nafter decrypting nothing.",
            "type": "string"
          }
        },
        "required": [
          "codec",
          "bytes"
        ],
        "type": "object"
      },
      "Output_SearchContentType": {
        "enum": [
          "text",
          "image"
        ],
        "type": "string"
      },
      "Output_SearchContextSize": {
        "enum": [
          "low",
          "medium",
          "high"
        ],
        "type": "string"
      },
      "Output_SearchEntryPoint": {
        "additionalProperties": true,
        "properties": {
          "renderedContent": {
            "type": [
              "string",
              "null"
            ]
          },
          "sdkBlob": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_Segment": {
        "additionalProperties": true,
        "properties": {
          "endIndex": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "partIndex": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "startIndex": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "text": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_SemanticRetrieverChunk": {
        "additionalProperties": true,
        "properties": {
          "chunk": {
            "type": [
              "string",
              "null"
            ]
          },
          "source": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_ServerCaller": {
        "additionalProperties": true,
        "properties": {
          "tool_id": {
            "type": "string"
          }
        },
        "required": [
          "tool_id"
        ],
        "type": "object"
      },
      "Output_ServerCaller20260120": {
        "additionalProperties": true,
        "properties": {
          "tool_id": {
            "type": "string"
          }
        },
        "required": [
          "tool_id"
        ],
        "type": "object"
      },
      "Output_ServerMessage": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_InterruptEvent"
          },
          {
            "$ref": "#/components/schemas/Output_InjectionEvent"
          },
          {
            "$ref": "#/components/schemas/Output_SteeringEvent"
          },
          {
            "$ref": "#/components/schemas/Output_StreamEvent"
          }
        ],
        "description": "Generation and steering have distinct lifecycles on the same connection.",
        "properties": {
          "stream_id": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_ServerToolName": {
        "enum": [
          "advisor",
          "web_search",
          "web_fetch",
          "code_execution",
          "bash_code_execution",
          "text_editor_code_execution",
          "tool_search_tool_regex",
          "tool_search_tool_bm25"
        ],
        "type": "string"
      },
      "Output_ServerToolUsage": {
        "additionalProperties": true,
        "properties": {
          "web_fetch_requests": {
            "format": "int64",
            "type": "integer"
          },
          "web_search_requests": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "web_fetch_requests",
          "web_search_requests"
        ],
        "type": "object"
      },
      "Output_ServerToolsCapability": {
        "additionalProperties": true,
        "description": "Server tool availability is separate from programmatic tool calling\n(`ModelCapabilities::code_execution`).",
        "properties": {
          "code_execution": {
            "$ref": "#/components/schemas/Output_CapabilitySupport"
          },
          "supported": {
            "type": "boolean"
          },
          "web_search": {
            "$ref": "#/components/schemas/Output_CapabilitySupport"
          }
        },
        "required": [
          "supported",
          "web_search",
          "code_execution"
        ],
        "type": "object"
      },
      "Output_ServiceTier": {
        "enum": [
          "auto",
          "default",
          "flex",
          "scale",
          "priority",
          "fast",
          "ultrafast"
        ],
        "type": "string"
      },
      "Output_ServiceTier2": {
        "enum": [
          "unspecified",
          "standard",
          "flex",
          "priority"
        ],
        "type": "string"
      },
      "Output_SessionCreatedEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/session_created_event.py`, `SessionCreatedEvent`.",
        "properties": {
          "event_id": {
            "type": "string"
          },
          "session": {
            "$ref": "#/components/schemas/Output_SessionCreatedEventSession"
          },
          "type": {
            "$ref": "#/components/schemas/Output_SessionCreatedEventType"
          }
        },
        "required": [
          "event_id",
          "session",
          "type"
        ],
        "type": "object"
      },
      "Output_SessionCreatedEventSession": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_RealtimeSessionCreateRequest"
          },
          {
            "$ref": "#/components/schemas/Output_RealtimeTranscriptionSessionCreateRequest"
          }
        ],
        "description": "Source: `openai/types/realtime/session_created_event.py`, `Session`."
      },
      "Output_SessionCreatedEventType": {
        "enum": [
          "session.created"
        ],
        "type": "string"
      },
      "Output_SessionResumptionUpdate": {
        "additionalProperties": true,
        "properties": {
          "lastConsumedClientMessageIndex": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_LiveInt64"
              },
              {
                "type": "null"
              }
            ]
          },
          "newHandle": {
            "type": [
              "string",
              "null"
            ]
          },
          "resumable": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_SessionStatus": {
        "properties": {
          "apiKeyId": {
            "type": [
              "string",
              "null"
            ]
          },
          "userId": {
            "type": "string"
          },
          "userRole": {
            "type": "string"
          }
        },
        "required": [
          "userId",
          "userRole",
          "apiKeyId"
        ],
        "type": "object"
      },
      "Output_SessionUpdatedEvent": {
        "additionalProperties": true,
        "description": "Source: `openai/types/realtime/session_updated_event.py`, `SessionUpdatedEvent`.",
        "properties": {
          "event_id": {
            "type": "string"
          },
          "session": {
            "$ref": "#/components/schemas/Output_SessionUpdatedEventSession"
          },
          "type": {
            "$ref": "#/components/schemas/Output_SessionUpdatedEventType"
          }
        },
        "required": [
          "event_id",
          "session",
          "type"
        ],
        "type": "object"
      },
      "Output_SessionUpdatedEventSession": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_RealtimeSessionCreateRequest"
          },
          {
            "$ref": "#/components/schemas/Output_RealtimeTranscriptionSessionCreateRequest"
          }
        ],
        "description": "Source: `openai/types/realtime/session_updated_event.py`, `Session`."
      },
      "Output_SessionUpdatedEventType": {
        "enum": [
          "session.updated"
        ],
        "type": "string"
      },
      "Output_SettingsDto": {
        "properties": {
          "instance": {
            "$ref": "#/components/schemas/Output_InstanceSettingsDto"
          },
          "logging": {
            "$ref": "#/components/schemas/Output_LoggingSettingsDto"
          }
        },
        "required": [
          "instance",
          "logging"
        ],
        "type": "object"
      },
      "Output_ShellAction": {
        "additionalProperties": true,
        "properties": {
          "commands": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "max_output_length": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "timeout_ms": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "commands"
        ],
        "type": "object"
      },
      "Output_ShellCall": {
        "additionalProperties": true,
        "properties": {
          "action": {
            "$ref": "#/components/schemas/Output_ShellAction"
          },
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "call_id": {
            "type": "string"
          },
          "caller": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Caller"
              },
              {
                "type": "null"
              }
            ]
          },
          "environment": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ShellCallEnvironment"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ItemStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_ShellCallType"
          }
        },
        "required": [
          "type",
          "call_id",
          "action"
        ],
        "type": "object"
      },
      "Output_ShellCallEnvironment": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_ShellLocalEnvironment"
          },
          {
            "$ref": "#/components/schemas/Output_ShellContainerReference"
          }
        ]
      },
      "Output_ShellCallOutput": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "call_id": {
            "type": "string"
          },
          "caller": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Caller"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "max_output_length": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "output": {
            "items": {
              "$ref": "#/components/schemas/Output_ShellOutputContent"
            },
            "type": "array"
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ItemStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_ShellCallOutputType"
          }
        },
        "required": [
          "type",
          "call_id",
          "output"
        ],
        "type": "object"
      },
      "Output_ShellCallOutputType": {
        "enum": [
          "shell_call_output"
        ],
        "type": "string"
      },
      "Output_ShellCallType": {
        "enum": [
          "shell_call"
        ],
        "type": "string"
      },
      "Output_ShellContainerAuto": {
        "additionalProperties": true,
        "properties": {
          "file_ids": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "memory_limit": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_MemoryLimit"
              },
              {
                "type": "null"
              }
            ]
          },
          "network_policy": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ContainerNetworkPolicy"
              },
              {
                "type": "null"
              }
            ]
          },
          "skills": {
            "items": {
              "$ref": "#/components/schemas/Output_ShellSkill"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_ShellContainerAutoType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_ShellContainerAutoType": {
        "enum": [
          "container_auto"
        ],
        "type": "string"
      },
      "Output_ShellContainerReference": {
        "additionalProperties": true,
        "properties": {
          "container_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ShellReferenceType"
          }
        },
        "required": [
          "type",
          "container_id"
        ],
        "type": "object"
      },
      "Output_ShellEnvironment": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_ShellContainerAuto"
          },
          {
            "$ref": "#/components/schemas/Output_ShellLocalEnvironment"
          },
          {
            "$ref": "#/components/schemas/Output_ShellContainerReference"
          }
        ]
      },
      "Output_ShellExit": {
        "additionalProperties": true,
        "properties": {
          "exit_code": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "exit_code"
        ],
        "type": "object"
      },
      "Output_ShellLocalEnvironment": {
        "additionalProperties": true,
        "properties": {
          "skills": {
            "items": {
              "$ref": "#/components/schemas/Output_LocalSkill"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_ShellLocalType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_ShellLocalType": {
        "enum": [
          "local"
        ],
        "type": "string"
      },
      "Output_ShellOutputContent": {
        "additionalProperties": true,
        "properties": {
          "outcome": {
            "$ref": "#/components/schemas/Output_ShellOutputOutcome"
          },
          "stderr": {
            "type": "string"
          },
          "stdout": {
            "type": "string"
          }
        },
        "required": [
          "stdout",
          "stderr",
          "outcome"
        ],
        "type": "object"
      },
      "Output_ShellOutputOutcome": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Output_ShellTimeout",
            "properties": {
              "type": {
                "const": "timeout",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ShellExit",
            "properties": {
              "type": {
                "const": "exit",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Output_ShellReferenceType": {
        "enum": [
          "container_reference"
        ],
        "type": "string"
      },
      "Output_ShellSkill": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_SkillReference"
          },
          {
            "$ref": "#/components/schemas/Output_InlineSkill"
          }
        ]
      },
      "Output_ShellTimeout": {
        "additionalProperties": true,
        "type": "object"
      },
      "Output_ShellTool": {
        "additionalProperties": true,
        "properties": {
          "allowed_callers": {
            "items": {
              "$ref": "#/components/schemas/Output_AllowedCaller"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "environment": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ShellEnvironment"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_SignatureDelta": {
        "additionalProperties": true,
        "properties": {
          "signature": {
            "type": "string"
          }
        },
        "required": [
          "signature"
        ],
        "type": "object"
      },
      "Output_SkillReference": {
        "additionalProperties": true,
        "properties": {
          "skill_id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_SkillReferenceType"
          },
          "version": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "skill_id",
          "type"
        ],
        "type": "object"
      },
      "Output_SkillReferenceType": {
        "enum": [
          "skill_reference"
        ],
        "type": "string"
      },
      "Output_SkillType": {
        "enum": [
          "anthropic",
          "custom"
        ],
        "type": "string"
      },
      "Output_SpeechAudioDelta": {
        "additionalProperties": true,
        "properties": {
          "audio": {
            "type": "string"
          }
        },
        "required": [
          "audio"
        ],
        "type": "object"
      },
      "Output_SpeechAudioDone": {
        "additionalProperties": true,
        "properties": {
          "usage": {
            "$ref": "#/components/schemas/Output_SpeechUsage"
          }
        },
        "required": [
          "usage"
        ],
        "type": "object"
      },
      "Output_SpeechAudioEvent": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Output_SpeechAudioDelta",
            "properties": {
              "type": {
                "const": "speech.audio.delta",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_SpeechAudioDone",
            "properties": {
              "type": {
                "const": "speech.audio.done",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Output_SpeechMetadata": {
        "additionalProperties": true,
        "properties": {
          "speaker": {
            "type": [
              "string",
              "null"
            ]
          },
          "style": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_SpeechState": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "format": "int32",
            "type": "integer"
          }
        ],
        "description": "ai.google.dev/api/live exposes deprecated speechState but provides no value\ntable; current public proto/SDK omit its declaration. Preserve the named enum\nrepresentation without inventing constants. ProtoJSON enums can be names/ints."
      },
      "Output_SpeechUsage": {
        "additionalProperties": true,
        "properties": {
          "input_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "output_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "total_tokens": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "input_tokens",
          "output_tokens",
          "total_tokens"
        ],
        "type": "object"
      },
      "Output_Speed": {
        "enum": [
          "standard",
          "fast"
        ],
        "type": "string"
      },
      "Output_Status": {
        "additionalProperties": true,
        "properties": {
          "code": {
            "format": "int32",
            "type": [
              "integer",
              "null"
            ]
          },
          "details": {
            "items": {
              "$ref": "#/components/schemas/Output_StatusDetail"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "message": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_StatusDetail": {
        "additionalProperties": true,
        "description": "google.rpc.Status.details is a list of protobuf Any objects. Discovery\nexplicitly permits arbitrary payload properties; @type identifies their schema.",
        "properties": {
          "@type": {
            "type": "string"
          }
        },
        "required": [
          "@type"
        ],
        "type": "object"
      },
      "Output_SteerAccepted": {
        "additionalProperties": true,
        "properties": {
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          },
          "steer": {
            "$ref": "#/components/schemas/Output_SteeringReference"
          }
        },
        "required": [
          "sequence_number",
          "steer"
        ],
        "type": "object"
      },
      "Output_SteerError": {
        "additionalProperties": true,
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_SteerErrorType"
          }
        },
        "required": [
          "code",
          "message",
          "type"
        ],
        "type": "object"
      },
      "Output_SteerErrorType": {
        "enum": [
          "invalid_request_error"
        ],
        "type": "string"
      },
      "Output_SteerFailed": {
        "additionalProperties": true,
        "properties": {
          "error": {
            "$ref": "#/components/schemas/Output_SteerError"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          },
          "steer": {
            "$ref": "#/components/schemas/Output_FailedSteeringSubmission"
          }
        },
        "required": [
          "sequence_number",
          "steer",
          "error"
        ],
        "type": "object"
      },
      "Output_SteerInput": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "$ref": "#/components/schemas/Output_SteerMessage"
            },
            "type": "array"
          }
        ]
      },
      "Output_SteerMessage": {
        "additionalProperties": true,
        "properties": {
          "content": {
            "$ref": "#/components/schemas/Output_MessageContent"
          },
          "role": {
            "$ref": "#/components/schemas/Output_SteerRole"
          },
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_MessageType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "role",
          "content"
        ],
        "type": "object"
      },
      "Output_SteerPending": {
        "additionalProperties": true,
        "properties": {
          "reason": {
            "type": "string"
          },
          "required_input": {
            "items": {
              "$ref": "#/components/schemas/Output_RequiredSteeringInput"
            },
            "type": "array"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          },
          "steer": {
            "$ref": "#/components/schemas/Output_SteeringReference"
          }
        },
        "required": [
          "sequence_number",
          "steer",
          "reason",
          "required_input"
        ],
        "type": "object"
      },
      "Output_SteerRole": {
        "enum": [
          "user"
        ],
        "type": "string"
      },
      "Output_SteeringEvent": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Output_SteerAccepted",
            "properties": {
              "type": {
                "const": "response.steer.accepted",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_SteerPending",
            "properties": {
              "type": {
                "const": "response.steer.pending",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_SteerFailed",
            "properties": {
              "type": {
                "const": "response.steer.failed",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Output_SteeringReference": {
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "string"
          },
          "previous_response_id": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "previous_response_id"
        ],
        "type": "object"
      },
      "Output_SteeringToolSearchExecution": {
        "enum": [
          "client"
        ],
        "type": "string"
      },
      "Output_StopReason": {
        "enum": [
          "end_turn",
          "max_tokens",
          "stop_sequence",
          "tool_use",
          "pause_turn",
          "compaction",
          "refusal",
          "model_context_window_exceeded"
        ],
        "type": "string"
      },
      "Output_StreamChoice": {
        "additionalProperties": true,
        "properties": {
          "delta": {
            "$ref": "#/components/schemas/Output_Delta"
          },
          "finish_reason": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_FinishReason2"
              },
              {
                "type": "null"
              }
            ]
          },
          "index": {
            "format": "int64",
            "type": "integer"
          },
          "logprobs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ChunkLogprobs"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "index",
          "delta"
        ],
        "type": "object"
      },
      "Output_StreamError": {
        "additionalProperties": true,
        "properties": {
          "message": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_StreamErrorType"
          }
        },
        "required": [
          "type",
          "message"
        ],
        "type": "object"
      },
      "Output_StreamErrorType": {
        "enum": [
          "api_error",
          "authentication_error",
          "billing_error",
          "invalid_request_error",
          "not_found_error",
          "overloaded_error",
          "permission_error",
          "rate_limit_error",
          "timeout_error",
          "conflict_error",
          "request_too_large"
        ],
        "type": "string"
      },
      "Output_StreamEvent": {
        "description": "Typed payloads for the HTTP Responses SSE stream. SSE framing and `[DONE]`\nhandling remain transport concerns; this enum only represents JSON data.",
        "oneOf": [
          {
            "description": "Undocumented upstream heartbeat; converted to Claude ping or otherwise ignored.",
            "properties": {
              "type": {
                "const": "keepalive",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseMetadata",
            "description": "Out-of-band response metadata emitted by the Codex Responses backend.",
            "properties": {
              "type": {
                "const": "response.metadata",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseCreated",
            "properties": {
              "type": {
                "const": "response.created",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseQueued",
            "properties": {
              "type": {
                "const": "response.queued",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseInProgress",
            "properties": {
              "type": {
                "const": "response.in_progress",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseCompleted",
            "properties": {
              "type": {
                "const": "response.completed",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseFailed",
            "properties": {
              "type": {
                "const": "response.failed",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseIncomplete",
            "properties": {
              "type": {
                "const": "response.incomplete",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_OutputItemEvent",
            "properties": {
              "type": {
                "const": "response.output_item.added",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_OutputItemEvent",
            "properties": {
              "type": {
                "const": "response.output_item.done",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ContentPartEvent",
            "properties": {
              "type": {
                "const": "response.content_part.added",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ContentPartEvent",
            "properties": {
              "type": {
                "const": "response.content_part.done",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_OutputTextDelta",
            "properties": {
              "type": {
                "const": "response.output_text.delta",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_OutputTextDone",
            "properties": {
              "type": {
                "const": "response.output_text.done",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_OutputTextAnnotationAdded",
            "properties": {
              "type": {
                "const": "response.output_text.annotation.added",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_RefusalDelta",
            "properties": {
              "type": {
                "const": "response.refusal.delta",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_RefusalDone",
            "properties": {
              "type": {
                "const": "response.refusal.done",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ReasoningTextDelta",
            "properties": {
              "type": {
                "const": "response.reasoning_text.delta",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ReasoningTextDone",
            "properties": {
              "type": {
                "const": "response.reasoning_text.done",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ReasoningSummaryPartAddedEvent",
            "properties": {
              "type": {
                "const": "response.reasoning_summary_part.added",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ReasoningSummaryPartDoneEvent",
            "properties": {
              "type": {
                "const": "response.reasoning_summary_part.done",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ReasoningSummaryTextDelta",
            "properties": {
              "type": {
                "const": "response.reasoning_summary_text.delta",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ReasoningSummaryTextDone",
            "properties": {
              "type": {
                "const": "response.reasoning_summary_text.done",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_FunctionCallArgumentsDelta",
            "properties": {
              "type": {
                "const": "response.function_call_arguments.delta",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_FunctionCallArgumentsDone",
            "properties": {
              "type": {
                "const": "response.function_call_arguments.done",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_CustomToolInputDelta",
            "properties": {
              "type": {
                "const": "response.custom_tool_call_input.delta",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_CustomToolInputDone",
            "properties": {
              "type": {
                "const": "response.custom_tool_call_input.done",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_CodeInterpreterCodeDelta",
            "properties": {
              "type": {
                "const": "response.code_interpreter_call_code.delta",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_CodeInterpreterCodeDone",
            "properties": {
              "type": {
                "const": "response.code_interpreter_call_code.done",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_AudioDelta",
            "properties": {
              "type": {
                "const": "response.audio.delta",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_AudioDone",
            "properties": {
              "type": {
                "const": "response.audio.done",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_AudioTranscriptDelta",
            "properties": {
              "type": {
                "const": "response.audio.transcript.delta",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_AudioTranscriptDone",
            "properties": {
              "type": {
                "const": "response.audio.transcript.done",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ImagePartial",
            "properties": {
              "type": {
                "const": "response.image_generation_call.partial_image",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ImageCall",
            "properties": {
              "type": {
                "const": "response.image_generation_call.in_progress",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ImageCall",
            "properties": {
              "type": {
                "const": "response.image_generation_call.generating",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ImageCall",
            "properties": {
              "type": {
                "const": "response.image_generation_call.completed",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_CodeInterpreterEvent",
            "properties": {
              "type": {
                "const": "response.code_interpreter_call.in_progress",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_CodeInterpreterEvent",
            "properties": {
              "type": {
                "const": "response.code_interpreter_call.interpreting",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_CodeInterpreterEvent",
            "properties": {
              "type": {
                "const": "response.code_interpreter_call.completed",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ToolCallEvent",
            "properties": {
              "type": {
                "const": "response.file_search_call.in_progress",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ToolCallEvent",
            "properties": {
              "type": {
                "const": "response.file_search_call.searching",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ToolCallEvent",
            "properties": {
              "type": {
                "const": "response.file_search_call.completed",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ToolCallEvent",
            "properties": {
              "type": {
                "const": "response.web_search_call.in_progress",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ToolCallEvent",
            "properties": {
              "type": {
                "const": "response.web_search_call.searching",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ToolCallEvent",
            "properties": {
              "type": {
                "const": "response.web_search_call.completed",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_McpArgumentsDelta",
            "properties": {
              "type": {
                "const": "response.mcp_call_arguments.delta",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_McpArgumentsDone",
            "properties": {
              "type": {
                "const": "response.mcp_call_arguments.done",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_McpCallEvent",
            "properties": {
              "type": {
                "const": "response.mcp_call.in_progress",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_McpCallEvent",
            "properties": {
              "type": {
                "const": "response.mcp_call.completed",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_McpCallEvent",
            "properties": {
              "type": {
                "const": "response.mcp_call.failed",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_McpListToolsEvent",
            "properties": {
              "type": {
                "const": "response.mcp_list_tools.in_progress",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_McpListToolsEvent",
            "properties": {
              "type": {
                "const": "response.mcp_list_tools.completed",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_McpListToolsEvent",
            "properties": {
              "type": {
                "const": "response.mcp_list_tools.failed",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ResponseStreamError",
            "properties": {
              "type": {
                "const": "error",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "description": "A future event type is ignored by converters. Known event payloads remain strict.\nNative passthrough retains the original bytes rather than this marker.",
            "properties": {
              "type": {
                "const": "unknown",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Output_StreamEvent2": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Output_MessageStartEvent",
            "properties": {
              "type": {
                "const": "message_start",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ContentBlockStartEvent",
            "properties": {
              "type": {
                "const": "content_block_start",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ContentBlockDeltaEvent",
            "properties": {
              "type": {
                "const": "content_block_delta",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ContentBlockStopEvent",
            "properties": {
              "type": {
                "const": "content_block_stop",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_MessageDeltaEvent",
            "properties": {
              "type": {
                "const": "message_delta",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_MessageStopEvent",
            "properties": {
              "type": {
                "const": "message_stop",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_PingEvent",
            "properties": {
              "type": {
                "const": "ping",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ErrorEvent",
            "properties": {
              "type": {
                "const": "error",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Output_StreamImageQuality": {
        "enum": [
          "low",
          "medium",
          "high",
          "xhigh",
          "max",
          "auto"
        ],
        "type": "string"
      },
      "Output_StreamLogprob": {
        "additionalProperties": true,
        "properties": {
          "logprob": {
            "type": "number"
          },
          "token": {
            "type": "string"
          },
          "top_logprobs": {
            "items": {
              "$ref": "#/components/schemas/Output_StreamTopLogprob"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "token",
          "logprob"
        ],
        "type": "object"
      },
      "Output_StreamMessage": {
        "additionalProperties": true,
        "properties": {
          "container": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ResponseContainer"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/Output_ResponseContentBlock"
            },
            "type": "array"
          },
          "context_management": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ContextManagementResponse"
              },
              {
                "type": "null"
              }
            ]
          },
          "diagnostics": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_DiagnosticsResponse"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": "string"
          },
          "input_transformations": {
            "items": {
              "$ref": "#/components/schemas/Output_InputTransformation"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "model": {
            "type": "string"
          },
          "role": {
            "$ref": "#/components/schemas/Output_ResponseRole"
          },
          "stop_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_RefusalStopDetails"
              },
              {
                "type": "null"
              }
            ]
          },
          "stop_reason": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_StopReason"
              },
              {
                "type": "null"
              }
            ]
          },
          "stop_sequence": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_GenerateContentResponseBodyType"
          },
          "usage": {
            "$ref": "#/components/schemas/Output_Usage"
          }
        },
        "required": [
          "type",
          "id",
          "content",
          "model",
          "role",
          "usage"
        ],
        "type": "object"
      },
      "Output_StreamTopLogprob": {
        "additionalProperties": true,
        "properties": {
          "logprob": {
            "type": [
              "number",
              "null"
            ]
          },
          "token": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_StringList": {
        "additionalProperties": true,
        "properties": {
          "values": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_SummaryPartStatus": {
        "enum": [
          "incomplete"
        ],
        "type": "string"
      },
      "Output_SummaryText": {
        "additionalProperties": true,
        "properties": {
          "text": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_SummaryTextType"
          }
        },
        "required": [
          "type",
          "text"
        ],
        "type": "object"
      },
      "Output_SummaryTextType": {
        "enum": [
          "summary_text"
        ],
        "type": "string"
      },
      "Output_TeamDto": {
        "properties": {
          "createdAtMs": {
            "format": "int64",
            "type": "integer"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "oauthClientAllowlist": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "organizationId": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "organizationId",
          "name",
          "oauthClientAllowlist",
          "createdAtMs"
        ],
        "type": "object"
      },
      "Output_TeamMemberDto": {
        "properties": {
          "role": {
            "type": "string"
          },
          "teamId": {
            "type": "string"
          },
          "userId": {
            "type": "string"
          }
        },
        "required": [
          "teamId",
          "userId",
          "role"
        ],
        "type": "object"
      },
      "Output_TextConfig": {
        "additionalProperties": true,
        "properties": {
          "format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_TextFormat"
              },
              {
                "type": "null"
              }
            ]
          },
          "verbosity": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_TextVerbosity"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_TextDelta": {
        "additionalProperties": true,
        "properties": {
          "text": {
            "type": "string"
          }
        },
        "required": [
          "text"
        ],
        "type": "object"
      },
      "Output_TextEditorCreateResult": {
        "additionalProperties": true,
        "properties": {
          "is_file_update": {
            "type": "boolean"
          },
          "type": {
            "$ref": "#/components/schemas/Output_TextEditorCreateResultType"
          }
        },
        "required": [
          "type",
          "is_file_update"
        ],
        "type": "object"
      },
      "Output_TextEditorCreateResultType": {
        "enum": [
          "text_editor_code_execution_create_result"
        ],
        "type": "string"
      },
      "Output_TextEditorErrorCode": {
        "enum": [
          "invalid_tool_input",
          "unavailable",
          "too_many_requests",
          "execution_time_exceeded",
          "file_not_found"
        ],
        "type": "string"
      },
      "Output_TextEditorFileType": {
        "enum": [
          "text",
          "image",
          "pdf"
        ],
        "type": "string"
      },
      "Output_TextFormat": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Output_TextFormatText",
            "properties": {
              "type": {
                "const": "text",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_TextFormatJsonSchema",
            "properties": {
              "type": {
                "const": "json_schema",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_TextFormatJsonObject",
            "properties": {
              "type": {
                "const": "json_object",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Output_TextFormatJsonObject": {
        "additionalProperties": true,
        "type": "object"
      },
      "Output_TextFormatJsonSchema": {
        "additionalProperties": true,
        "properties": {
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "schema": {
            "additionalProperties": true,
            "type": "object"
          },
          "strict": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "required": [
          "name",
          "schema"
        ],
        "type": "object"
      },
      "Output_TextFormatText": {
        "additionalProperties": true,
        "type": "object"
      },
      "Output_TextFormatType": {
        "enum": [
          "text"
        ],
        "type": "string"
      },
      "Output_TextMediaType": {
        "enum": [
          "text/plain"
        ],
        "type": "string"
      },
      "Output_TextVerbosity": {
        "enum": [
          "low",
          "medium",
          "high"
        ],
        "type": "string"
      },
      "Output_ThinkingBindingMismatchReason": {
        "enum": [
          "model_binding_mismatch",
          "prefix_binding_mismatch",
          "organization_binding_mismatch",
          "end_user_binding_mismatch",
          "unknown"
        ],
        "type": "string"
      },
      "Output_ThinkingBlock": {
        "additionalProperties": true,
        "properties": {
          "signature": {
            "type": "string"
          },
          "thinking": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ThinkingBlockType"
          }
        },
        "required": [
          "type",
          "signature",
          "thinking"
        ],
        "type": "object"
      },
      "Output_ThinkingBlockType": {
        "enum": [
          "thinking"
        ],
        "type": "string"
      },
      "Output_ThinkingCapability": {
        "additionalProperties": true,
        "properties": {
          "supported": {
            "type": "boolean"
          },
          "types": {
            "$ref": "#/components/schemas/Output_ThinkingTypes"
          }
        },
        "required": [
          "supported",
          "types"
        ],
        "type": "object"
      },
      "Output_ThinkingDelta": {
        "additionalProperties": true,
        "properties": {
          "thinking": {
            "type": "string"
          }
        },
        "required": [
          "thinking"
        ],
        "type": "object"
      },
      "Output_ThinkingTypes": {
        "additionalProperties": true,
        "properties": {
          "adaptive": {
            "$ref": "#/components/schemas/Output_CapabilitySupport"
          },
          "between_tools": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_CapabilitySupport"
              },
              {
                "type": "null"
              }
            ]
          },
          "disabled": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_CapabilitySupport"
              },
              {
                "type": "null"
              }
            ]
          },
          "enabled": {
            "$ref": "#/components/schemas/Output_CapabilitySupport"
          }
        },
        "required": [
          "adaptive",
          "enabled"
        ],
        "type": "object"
      },
      "Output_TlsPresetDto": {
        "description": "One client identity, ready to be stored as a connection profile's\n`emulation`. The object is a `gproxy_client::EmulationConfig`, so a caller\ncopies it across unchanged rather than translating anything.",
        "properties": {
          "emulation": {
            "description": "Only meaningful with the `wreq` backend; the others reject an emulation."
          },
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "label",
          "emulation"
        ],
        "type": "object"
      },
      "Output_TokenLogprob": {
        "additionalProperties": true,
        "properties": {
          "bytes": {
            "items": {
              "format": "int64",
              "type": "integer"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "logprob": {
            "format": "double",
            "type": "number"
          },
          "token": {
            "type": "string"
          },
          "top_logprobs": {
            "items": {
              "$ref": "#/components/schemas/Output_TokenLogprobTop"
            },
            "type": "array"
          }
        },
        "required": [
          "token",
          "bytes",
          "logprob",
          "top_logprobs"
        ],
        "type": "object"
      },
      "Output_TokenLogprobTop": {
        "additionalProperties": true,
        "properties": {
          "bytes": {
            "items": {
              "format": "int64",
              "type": "integer"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "logprob": {
            "format": "double",
            "type": "number"
          },
          "token": {
            "type": "string"
          }
        },
        "required": [
          "token",
          "bytes",
          "logprob"
        ],
        "type": "object"
      },
      "Output_TokenResponse": {
        "description": "RFC 6749 §5.1. Both token values are plaintext and exist only here.",
        "properties": {
          "access_token": {
            "type": "string"
          },
          "expires_in": {
            "description": "The access token's remaining lifetime, in **seconds**.",
            "format": "int64",
            "type": "integer"
          },
          "refresh_token": {
            "description": "Rotated on every exchange: the one presented is consumed and this one\nreplaces it. Presenting a consumed refresh token revokes the whole\ngrant — see [`crate::operations::issuer`].",
            "type": "string"
          },
          "scope": {
            "description": "The granted scopes, space-delimited, as they are recorded on the grant.",
            "type": "string"
          },
          "token_type": {
            "description": "Always [`TOKEN_TYPE`].",
            "type": "string"
          }
        },
        "required": [
          "access_token",
          "token_type",
          "expires_in",
          "refresh_token",
          "scope"
        ],
        "type": "object"
      },
      "Output_TokenUsageType": {
        "enum": [
          "tokens"
        ],
        "type": "string"
      },
      "Output_TokenizerAuthDto": {
        "description": "Whether a source token is configured. The token itself is never reported\nby a read; `reveal_auth` is the one deliberate disclosure.",
        "properties": {
          "configured": {
            "type": "boolean"
          }
        },
        "required": [
          "configured"
        ],
        "type": "object"
      },
      "Output_TokenizerProgressDto": {
        "properties": {
          "downloadedBytes": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "filename": {
            "type": "string"
          },
          "repo": {
            "type": "string"
          },
          "totalBytes": {
            "description": "From `Content-Length`, when the upstream sent one.",
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "repo",
          "filename",
          "downloadedBytes",
          "totalBytes"
        ],
        "type": "object"
      },
      "Output_Tool": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Output_FunctionTool",
            "properties": {
              "type": {
                "const": "function",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_FileSearchTool",
            "properties": {
              "type": {
                "const": "file_search",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ComputerTool",
            "properties": {
              "type": {
                "const": "computer_use_preview",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ToolMarker",
            "properties": {
              "type": {
                "const": "computer",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_WebSearchPreviewTool",
            "properties": {
              "type": {
                "const": "web_search_preview",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_WebSearchPreviewTool",
            "properties": {
              "type": {
                "const": "web_search_preview_2025_03_11",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_WebSearchTool",
            "properties": {
              "type": {
                "const": "web_search",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_WebSearchTool",
            "properties": {
              "type": {
                "const": "web_search_2025_08_26",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_CodeInterpreterTool",
            "properties": {
              "type": {
                "const": "code_interpreter",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_CustomTool",
            "properties": {
              "type": {
                "const": "custom",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_NamespaceTool",
            "properties": {
              "type": {
                "const": "namespace",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ToolMarker",
            "properties": {
              "type": {
                "const": "local_shell",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ShellTool",
            "properties": {
              "type": {
                "const": "shell",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ImageGenerationTool",
            "properties": {
              "type": {
                "const": "image_generation",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_McpTool",
            "properties": {
              "type": {
                "const": "mcp",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ToolMarker",
            "properties": {
              "type": {
                "const": "programmatic_tool_calling",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ApplyPatchTool",
            "properties": {
              "type": {
                "const": "apply_patch",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_ToolSearchTool",
            "properties": {
              "type": {
                "const": "tool_search",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Output_ToolCall": {
        "additionalProperties": true,
        "properties": {
          "args": {
            "additionalProperties": true,
            "type": [
              "object",
              "null"
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "toolName": {
            "type": [
              "string",
              "null"
            ]
          },
          "toolType": {
            "$ref": "#/components/schemas/Output_ToolType"
          }
        },
        "required": [
          "toolType"
        ],
        "type": "object"
      },
      "Output_ToolCallEvent": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "item_id": {
            "type": "string"
          },
          "output_index": {
            "format": "int64",
            "type": "integer"
          },
          "sequence_number": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sequence_number",
          "item_id",
          "output_index"
        ],
        "type": "object"
      },
      "Output_ToolChoice": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_ToolChoiceMode"
          },
          {
            "$ref": "#/components/schemas/Output_ToolChoiceAllowed"
          },
          {
            "$ref": "#/components/schemas/Output_ToolChoiceHosted"
          },
          {
            "$ref": "#/components/schemas/Output_ToolChoiceFunction"
          },
          {
            "$ref": "#/components/schemas/Output_ToolChoiceMcp"
          },
          {
            "$ref": "#/components/schemas/Output_ToolChoiceCustom"
          },
          {
            "$ref": "#/components/schemas/Output_ToolChoiceProgrammatic"
          },
          {
            "$ref": "#/components/schemas/Output_ToolChoiceApplyPatch"
          },
          {
            "$ref": "#/components/schemas/Output_ToolChoiceShell"
          }
        ]
      },
      "Output_ToolChoiceAllowed": {
        "additionalProperties": true,
        "properties": {
          "mode": {
            "$ref": "#/components/schemas/Output_AllowedToolChoiceMode"
          },
          "tools": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "type": "array"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ToolChoiceAllowedType"
          }
        },
        "required": [
          "type",
          "mode",
          "tools"
        ],
        "type": "object"
      },
      "Output_ToolChoiceAllowedType": {
        "enum": [
          "allowed_tools"
        ],
        "type": "string"
      },
      "Output_ToolChoiceApplyPatch": {
        "additionalProperties": true,
        "properties": {
          "type": {
            "$ref": "#/components/schemas/Output_ToolChoiceApplyPatchType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_ToolChoiceApplyPatchType": {
        "enum": [
          "apply_patch"
        ],
        "type": "string"
      },
      "Output_ToolChoiceCustom": {
        "additionalProperties": true,
        "properties": {
          "name": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ToolChoiceCustomType"
          }
        },
        "required": [
          "type",
          "name"
        ],
        "type": "object"
      },
      "Output_ToolChoiceCustomType": {
        "enum": [
          "custom"
        ],
        "type": "string"
      },
      "Output_ToolChoiceFunction": {
        "additionalProperties": true,
        "properties": {
          "name": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ToolChoiceFunctionType"
          }
        },
        "required": [
          "type",
          "name"
        ],
        "type": "object"
      },
      "Output_ToolChoiceFunction2": {
        "additionalProperties": true,
        "description": "Source: `openai/types/responses/tool_choice_function.py`, `ToolChoiceFunction`.",
        "properties": {
          "name": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ToolChoiceFunctionType2"
          }
        },
        "required": [
          "name",
          "type"
        ],
        "type": "object"
      },
      "Output_ToolChoiceFunctionType": {
        "enum": [
          "function"
        ],
        "type": "string"
      },
      "Output_ToolChoiceFunctionType2": {
        "enum": [
          "function"
        ],
        "type": "string"
      },
      "Output_ToolChoiceHosted": {
        "additionalProperties": true,
        "properties": {
          "type": {
            "$ref": "#/components/schemas/Output_ToolChoiceHostedType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_ToolChoiceHostedType": {
        "enum": [
          "file_search",
          "web_search_preview",
          "computer",
          "computer_use_preview",
          "computer_use",
          "code_interpreter",
          "image_generation",
          "web_search_preview_2025_03_11"
        ],
        "type": "string"
      },
      "Output_ToolChoiceMcp": {
        "additionalProperties": true,
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "server_label": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ToolChoiceMcpType"
          }
        },
        "required": [
          "type",
          "server_label"
        ],
        "type": "object"
      },
      "Output_ToolChoiceMcp2": {
        "additionalProperties": true,
        "description": "Source: `openai/types/responses/tool_choice_mcp.py`, `ToolChoiceMcp`.",
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "server_label": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ToolChoiceMcpType2"
          }
        },
        "required": [
          "server_label",
          "type"
        ],
        "type": "object"
      },
      "Output_ToolChoiceMcpType": {
        "enum": [
          "mcp"
        ],
        "type": "string"
      },
      "Output_ToolChoiceMcpType2": {
        "enum": [
          "mcp"
        ],
        "type": "string"
      },
      "Output_ToolChoiceMode": {
        "enum": [
          "none",
          "auto",
          "required"
        ],
        "type": "string"
      },
      "Output_ToolChoiceOptions": {
        "description": "Source: `openai/types/responses/tool_choice_options.py`, `ToolChoiceOptions`.",
        "enum": [
          "none",
          "auto",
          "required"
        ],
        "type": "string"
      },
      "Output_ToolChoiceProgrammatic": {
        "additionalProperties": true,
        "properties": {
          "type": {
            "$ref": "#/components/schemas/Output_ToolChoiceProgrammaticType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_ToolChoiceProgrammaticType": {
        "enum": [
          "programmatic_tool_calling"
        ],
        "type": "string"
      },
      "Output_ToolChoiceShell": {
        "additionalProperties": true,
        "properties": {
          "type": {
            "$ref": "#/components/schemas/Output_ToolChoiceShellType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Output_ToolChoiceShellType": {
        "enum": [
          "shell"
        ],
        "type": "string"
      },
      "Output_ToolExecution": {
        "enum": [
          "server",
          "client"
        ],
        "type": "string"
      },
      "Output_ToolMarker": {
        "additionalProperties": true,
        "type": "object"
      },
      "Output_ToolMessage": {
        "additionalProperties": true,
        "properties": {
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "parameters": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_ToolMessages": {
        "additionalProperties": true,
        "properties": {
          "code_mode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_CodeModeToolMessages"
              },
              {
                "type": "null"
              }
            ]
          },
          "functions_namespace_functions_description_prefixes": {
            "additionalProperties": {
              "type": "string"
            },
            "type": [
              "object",
              "null"
            ]
          },
          "indirect_description_prefixes": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_IndirectDescriptionPrefixes"
              },
              {
                "type": "null"
              }
            ]
          },
          "mcp_resources": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_McpResourceToolMessages"
              },
              {
                "type": "null"
              }
            ]
          },
          "multi_agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_MultiAgentToolMessages"
              },
              {
                "type": "null"
              }
            ]
          },
          "send_user_message_async": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ToolMessage"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_ToolMode": {
        "enum": [
          "direct",
          "code_mode",
          "code_mode_only"
        ],
        "type": "string"
      },
      "Output_ToolResponse": {
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "response": {
            "additionalProperties": true,
            "type": [
              "object",
              "null"
            ]
          },
          "toolType": {
            "$ref": "#/components/schemas/Output_ToolType"
          }
        },
        "required": [
          "toolType"
        ],
        "type": "object"
      },
      "Output_ToolSearchCall": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "arguments": true,
          "call_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "execution": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ToolExecution"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ItemStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_ToolSearchCallType"
          }
        },
        "required": [
          "type",
          "arguments"
        ],
        "type": "object"
      },
      "Output_ToolSearchCallType": {
        "enum": [
          "tool_search_call"
        ],
        "type": "string"
      },
      "Output_ToolSearchErrorCode": {
        "enum": [
          "invalid_tool_input",
          "unavailable",
          "too_many_requests",
          "execution_time_exceeded"
        ],
        "type": "string"
      },
      "Output_ToolSearchOutput": {
        "additionalProperties": true,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "call_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "execution": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ToolExecution"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ItemStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "tools": {
            "items": {
              "$ref": "#/components/schemas/Output_Tool"
            },
            "type": "array"
          },
          "type": {
            "$ref": "#/components/schemas/Output_ToolSearchOutputType"
          }
        },
        "required": [
          "type",
          "tools"
        ],
        "type": "object"
      },
      "Output_ToolSearchOutputType": {
        "enum": [
          "tool_search_output"
        ],
        "type": "string"
      },
      "Output_ToolSearchTool": {
        "additionalProperties": true,
        "properties": {
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "execution": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ToolExecution"
              },
              {
                "type": "null"
              }
            ]
          },
          "parameters": true
        },
        "type": "object"
      },
      "Output_ToolType": {
        "enum": [
          "TOOL_TYPE_UNSPECIFIED",
          "GOOGLE_SEARCH_WEB",
          "GOOGLE_SEARCH_IMAGE",
          "URL_CONTEXT",
          "GOOGLE_MAPS",
          "FILE_SEARCH"
        ],
        "type": "string"
      },
      "Output_TopCandidates": {
        "additionalProperties": true,
        "properties": {
          "candidates": {
            "items": {
              "$ref": "#/components/schemas/Output_LogprobCandidate"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_TopLogprob": {
        "additionalProperties": true,
        "properties": {
          "bytes": {
            "items": {
              "format": "int64",
              "type": "integer"
            },
            "type": "array"
          },
          "logprob": {
            "type": "number"
          },
          "token": {
            "type": "string"
          }
        },
        "required": [
          "token",
          "bytes",
          "logprob"
        ],
        "type": "object"
      },
      "Output_TranscriptionDiarized": {
        "additionalProperties": true,
        "properties": {
          "duration": {
            "type": "number"
          },
          "segments": {
            "items": {
              "$ref": "#/components/schemas/Output_TranscriptionDiarizedSegment"
            },
            "type": "array"
          },
          "task": {
            "$ref": "#/components/schemas/Output_TranscriptionTask"
          },
          "text": {
            "type": "string"
          },
          "usage": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_TranscriptionUsage"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "duration",
          "segments",
          "task",
          "text"
        ],
        "type": "object"
      },
      "Output_TranscriptionDiarizedSegment": {
        "additionalProperties": true,
        "properties": {
          "end": {
            "type": "number"
          },
          "id": {
            "type": "string"
          },
          "speaker": {
            "type": "string"
          },
          "start": {
            "type": "number"
          },
          "text": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_TranscriptionDiarizedSegmentType"
          }
        },
        "required": [
          "id",
          "end",
          "speaker",
          "start",
          "text",
          "type"
        ],
        "type": "object"
      },
      "Output_TranscriptionDiarizedSegmentType": {
        "enum": [
          "transcript.text.segment"
        ],
        "type": "string"
      },
      "Output_TranscriptionDurationUsage": {
        "additionalProperties": true,
        "properties": {
          "seconds": {
            "type": "number"
          },
          "type": {
            "$ref": "#/components/schemas/Output_DurationUsageType"
          }
        },
        "required": [
          "seconds",
          "type"
        ],
        "type": "object"
      },
      "Output_TranscriptionInputTokenDetails": {
        "additionalProperties": true,
        "properties": {
          "audio_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "text_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_TranscriptionJson": {
        "additionalProperties": true,
        "properties": {
          "languages": {
            "items": {
              "$ref": "#/components/schemas/Output_TranscriptionLanguage"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "logprobs": {
            "items": {
              "$ref": "#/components/schemas/Output_TranscriptionLogprob"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "text": {
            "type": "string"
          },
          "usage": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_TranscriptionUsage"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "text"
        ],
        "type": "object"
      },
      "Output_TranscriptionLanguage": {
        "additionalProperties": true,
        "properties": {
          "code": {
            "type": "string"
          }
        },
        "required": [
          "code"
        ],
        "type": "object"
      },
      "Output_TranscriptionLanguage2": {
        "additionalProperties": true,
        "description": "Source: `openai/types/audio/transcription_language.py`, `TranscriptionLanguage`.",
        "properties": {
          "code": {
            "type": "string"
          }
        },
        "required": [
          "code"
        ],
        "type": "object"
      },
      "Output_TranscriptionLogprob": {
        "additionalProperties": true,
        "properties": {
          "bytes": {
            "items": {
              "format": "int64",
              "type": "integer"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "logprob": {
            "type": [
              "number",
              "null"
            ]
          },
          "token": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_TranscriptionSegment": {
        "additionalProperties": true,
        "properties": {
          "avg_logprob": {
            "type": "number"
          },
          "compression_ratio": {
            "type": "number"
          },
          "end": {
            "type": "number"
          },
          "id": {
            "format": "int64",
            "type": "integer"
          },
          "no_speech_prob": {
            "type": "number"
          },
          "seek": {
            "format": "int64",
            "type": "integer"
          },
          "start": {
            "type": "number"
          },
          "temperature": {
            "type": "number"
          },
          "text": {
            "type": "string"
          },
          "tokens": {
            "items": {
              "format": "int64",
              "type": "integer"
            },
            "type": "array"
          }
        },
        "required": [
          "id",
          "avg_logprob",
          "compression_ratio",
          "end",
          "no_speech_prob",
          "seek",
          "start",
          "temperature",
          "text",
          "tokens"
        ],
        "type": "object"
      },
      "Output_TranscriptionStreamEvent": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_TranscriptionTextStreamEvent"
          },
          {
            "$ref": "#/components/schemas/Output_TranscriptionDiarizedSegment"
          }
        ]
      },
      "Output_TranscriptionTask": {
        "enum": [
          "transcribe"
        ],
        "type": "string"
      },
      "Output_TranscriptionTextDelta": {
        "additionalProperties": true,
        "properties": {
          "delta": {
            "type": "string"
          },
          "logprobs": {
            "items": {
              "$ref": "#/components/schemas/Output_TranscriptionLogprob"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "segment_id": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "delta"
        ],
        "type": "object"
      },
      "Output_TranscriptionTextDone": {
        "additionalProperties": true,
        "properties": {
          "languages": {
            "items": {
              "$ref": "#/components/schemas/Output_TranscriptionLanguage"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "logprobs": {
            "items": {
              "$ref": "#/components/schemas/Output_TranscriptionLogprob"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "text": {
            "type": "string"
          },
          "usage": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_TranscriptionTokenUsage"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "text"
        ],
        "type": "object"
      },
      "Output_TranscriptionTextStreamEvent": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Output_TranscriptionTextDelta",
            "properties": {
              "type": {
                "const": "transcript.text.delta",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_TranscriptionTextDone",
            "properties": {
              "type": {
                "const": "transcript.text.done",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Output_TranscriptionTokenUsage": {
        "additionalProperties": true,
        "properties": {
          "input_token_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_TranscriptionInputTokenDetails"
              },
              {
                "type": "null"
              }
            ]
          },
          "input_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "output_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "total_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "type": {
            "$ref": "#/components/schemas/Output_TokenUsageType"
          }
        },
        "required": [
          "input_tokens",
          "output_tokens",
          "total_tokens",
          "type"
        ],
        "type": "object"
      },
      "Output_TranscriptionUsage": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Output_TranscriptionTokenUsage"
          },
          {
            "$ref": "#/components/schemas/Output_TranscriptionDurationUsage"
          }
        ]
      },
      "Output_TranscriptionVerbose": {
        "additionalProperties": true,
        "properties": {
          "duration": {
            "type": "number"
          },
          "language": {
            "type": "string"
          },
          "segments": {
            "items": {
              "$ref": "#/components/schemas/Output_TranscriptionSegment"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "task": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_TranscriptionTask"
              },
              {
                "type": "null"
              }
            ]
          },
          "text": {
            "type": "string"
          },
          "usage": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_TranscriptionDurationUsage"
              },
              {
                "type": "null"
              }
            ]
          },
          "words": {
            "items": {
              "$ref": "#/components/schemas/Output_TranscriptionWord"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "duration",
          "language",
          "text"
        ],
        "type": "object"
      },
      "Output_TranscriptionWord": {
        "additionalProperties": true,
        "properties": {
          "end": {
            "type": "number"
          },
          "start": {
            "type": "number"
          },
          "word": {
            "type": "string"
          }
        },
        "required": [
          "end",
          "start",
          "word"
        ],
        "type": "object"
      },
      "Output_TranslationJson": {
        "additionalProperties": true,
        "properties": {
          "text": {
            "type": "string"
          }
        },
        "required": [
          "text"
        ],
        "type": "object"
      },
      "Output_TranslationVerbose": {
        "additionalProperties": true,
        "properties": {
          "duration": {
            "type": "number"
          },
          "language": {
            "type": "string"
          },
          "segments": {
            "items": {
              "$ref": "#/components/schemas/Output_TranscriptionSegment"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "duration",
          "language",
          "text"
        ],
        "type": "object"
      },
      "Output_TruncationMode": {
        "enum": [
          "bytes",
          "tokens"
        ],
        "type": "string"
      },
      "Output_TruncationPolicyConfig": {
        "additionalProperties": true,
        "properties": {
          "limit": {
            "format": "int64",
            "type": "integer"
          },
          "mode": {
            "$ref": "#/components/schemas/Output_TruncationMode"
          }
        },
        "required": [
          "mode",
          "limit"
        ],
        "type": "object"
      },
      "Output_TurnCompleteReason": {
        "enum": [
          "TURN_COMPLETE_REASON_UNSPECIFIED",
          "MALFORMED_FUNCTION_CALL",
          "RESPONSE_REJECTED",
          "NEED_MORE_INPUT",
          "PROHIBITED_INPUT_CONTENT",
          "IMAGE_PROHIBITED_INPUT_CONTENT",
          "INPUT_TEXT_CONTAIN_PROMINENT_PERSON_PROHIBITED",
          "INPUT_IMAGE_CELEBRITY",
          "INPUT_IMAGE_PHOTO_REALISTIC_CHILD_PROHIBITED",
          "INPUT_TEXT_NCII_PROHIBITED",
          "INPUT_OTHER",
          "INPUT_IP_PROHIBITED",
          "BLOCKLIST",
          "UNSAFE_PROMPT_FOR_IMAGE_GENERATION",
          "GENERATED_IMAGE_SAFETY",
          "GENERATED_CONTENT_SAFETY",
          "GENERATED_AUDIO_SAFETY",
          "GENERATED_VIDEO_SAFETY",
          "GENERATED_CONTENT_PROHIBITED",
          "GENERATED_CONTENT_BLOCKLIST",
          "GENERATED_IMAGE_PROHIBITED",
          "GENERATED_IMAGE_CELEBRITY",
          "GENERATED_IMAGE_PROMINENT_PEOPLE_DETECTED_BY_REWRITER",
          "GENERATED_IMAGE_IDENTIFIABLE_PEOPLE",
          "GENERATED_IMAGE_MINORS",
          "OUTPUT_IMAGE_IP_PROHIBITED",
          "GENERATED_OTHER",
          "MAX_REGENERATION_REACHED"
        ],
        "type": "string"
      },
      "Output_TypeAction": {
        "additionalProperties": true,
        "properties": {
          "text": {
            "type": "string"
          }
        },
        "required": [
          "text"
        ],
        "type": "object"
      },
      "Output_UpdateProgress": {
        "description": "Live byte counts and the current installation phase.",
        "properties": {
          "downloaded_bytes": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "phase": {
            "type": "string"
          },
          "total_bytes": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "phase",
          "downloaded_bytes",
          "total_bytes"
        ],
        "type": "object"
      },
      "Output_UpdateReport": {
        "description": "One check's answer.",
        "properties": {
          "available": {
            "description": "Whether `latest` is actually newer than `current`.",
            "type": "boolean"
          },
          "channel": {
            "type": "string"
          },
          "checked_at_ms": {
            "description": "When this check completed, in milliseconds since the epoch.",
            "format": "int64",
            "type": "integer"
          },
          "current": {
            "description": "The version this process is running.",
            "type": "string"
          },
          "latest": {
            "description": "The version the manifest offers for this channel.",
            "type": "string"
          },
          "notes": {
            "description": "The notes themselves, when the host could fetch them. Never required:\na release with no readable notes is still a release.",
            "type": [
              "string",
              "null"
            ]
          },
          "notes_url": {
            "description": "Where a human reads what changed. Straight from the manifest.",
            "type": [
              "string",
              "null"
            ]
          },
          "restart": {
            "description": "What the host will do to the process after an apply: `none`,\n`supervisor` or `re-exec`.",
            "type": "string"
          },
          "rollback_available": {
            "description": "Whether a previous executable is still on disk to go back to.",
            "type": "boolean"
          },
          "source": {
            "type": "string"
          },
          "target": {
            "description": "The artifact key the manifest was searched for, e.g.\n`x86_64-unknown-linux-gnu`.",
            "type": "string"
          }
        },
        "required": [
          "current",
          "latest",
          "available",
          "channel",
          "source",
          "target",
          "notes_url",
          "notes",
          "restart",
          "rollback_available",
          "checked_at_ms"
        ],
        "type": "object"
      },
      "Output_UpdateSchedule": {
        "description": "What the scheduled check has found so far, and whether there is a schedule.",
        "properties": {
          "automatic": {
            "description": "Whether this instance installs what it finds without being asked.\n**Off unless an operator turned it on**, and reported either way so a\nconsole can say which.",
            "type": "boolean"
          },
          "channel": {
            "type": "string"
          },
          "interval_secs": {
            "description": "Seconds between checks, or `None` when checking is switched off.",
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "last_check": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_UpdateReport"
              },
              {
                "type": "null"
              }
            ],
            "description": "The last completed check, or `None` when none has finished yet — a\nprocess that started a minute ago, or one whose every check failed."
          },
          "last_error": {
            "description": "Why the last check failed, when one did and none has since succeeded.\nA console shows this rather than an empty panel that looks like \"no\nupdate available\".",
            "type": [
              "string",
              "null"
            ]
          },
          "source": {
            "type": "string"
          },
          "verify_signature": {
            "type": "boolean"
          }
        },
        "required": [
          "last_check",
          "last_error",
          "interval_secs",
          "automatic",
          "verify_signature",
          "channel",
          "source"
        ],
        "type": "object"
      },
      "Output_UploadFileResponseBody": {
        "additionalProperties": true,
        "properties": {
          "file": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_File"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_UrlCitation": {
        "additionalProperties": true,
        "properties": {
          "end_index": {
            "format": "int64",
            "type": "integer"
          },
          "start_index": {
            "format": "int64",
            "type": "integer"
          },
          "title": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Output_UrlCitationType"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "end_index",
          "start_index",
          "title",
          "url",
          "type"
        ],
        "type": "object"
      },
      "Output_UrlCitation2": {
        "additionalProperties": true,
        "properties": {
          "end_index": {
            "format": "int64",
            "type": "integer"
          },
          "start_index": {
            "format": "int64",
            "type": "integer"
          },
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "end_index",
          "start_index",
          "title",
          "url"
        ],
        "type": "object"
      },
      "Output_UrlCitationType": {
        "enum": [
          "url_citation"
        ],
        "type": "string"
      },
      "Output_UrlContextMetadata": {
        "additionalProperties": true,
        "properties": {
          "urlMetadata": {
            "items": {
              "$ref": "#/components/schemas/Output_UrlMetadata"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_UrlMetadata": {
        "additionalProperties": true,
        "properties": {
          "retrievedUrl": {
            "type": [
              "string",
              "null"
            ]
          },
          "urlRetrievalStatus": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_UrlRetrievalStatus"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_UrlRetrievalStatus": {
        "enum": [
          "URL_RETRIEVAL_STATUS_UNSPECIFIED",
          "URL_RETRIEVAL_STATUS_SUCCESS",
          "URL_RETRIEVAL_STATUS_ERROR",
          "URL_RETRIEVAL_STATUS_PAYWALL",
          "URL_RETRIEVAL_STATUS_UNSAFE"
        ],
        "type": "string"
      },
      "Output_Usage": {
        "additionalProperties": true,
        "properties": {
          "cache_creation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_CacheCreation"
              },
              {
                "type": "null"
              }
            ]
          },
          "cache_creation_input_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "cache_read_input_tokens": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "fallback_credit": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_FallbackCreditUsage"
              },
              {
                "type": "null"
              }
            ]
          },
          "inference_geo": {
            "type": [
              "string",
              "null"
            ]
          },
          "input_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "iterations": {
            "items": {
              "$ref": "#/components/schemas/Output_IterationUsage"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "output_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "output_tokens_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_OutputTokensDetails"
              },
              {
                "type": "null"
              }
            ]
          },
          "server_tool_use": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ServerToolUsage"
              },
              {
                "type": "null"
              }
            ]
          },
          "service_tier": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ResponseServiceTier"
              },
              {
                "type": "null"
              }
            ]
          },
          "speed": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Speed"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "input_tokens",
          "output_tokens"
        ],
        "type": "object"
      },
      "Output_Usage2": {
        "additionalProperties": true,
        "properties": {
          "completion_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "completion_tokens_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_CompletionTokensDetails"
              },
              {
                "type": "null"
              }
            ]
          },
          "prompt_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "prompt_tokens_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_PromptTokensDetails"
              },
              {
                "type": "null"
              }
            ]
          },
          "total_tokens": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "prompt_tokens",
          "completion_tokens",
          "total_tokens"
        ],
        "type": "object"
      },
      "Output_UsageExchangeDto": {
        "description": "One upstream attempt inside a request: which provider and credential\nserved it, and what it cost on its own.",
        "properties": {
          "actualServiceTier": {
            "type": [
              "string",
              "null"
            ]
          },
          "attemptId": {
            "type": [
              "string",
              "null"
            ]
          },
          "attemptOrdinal": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "captureId": {
            "type": [
              "string",
              "null"
            ]
          },
          "completeness": {
            "type": [
              "string",
              "null"
            ]
          },
          "cost": {
            "type": [
              "string",
              "null"
            ]
          },
          "credentialId": {
            "type": [
              "string",
              "null"
            ]
          },
          "currency": {
            "type": [
              "string",
              "null"
            ]
          },
          "metrics": {
            "description": "Dynamic dimensions and nested protocol-specific usage detail."
          },
          "model": {
            "description": "The upstream model name, which need not be the requested one.",
            "type": [
              "string",
              "null"
            ]
          },
          "providerId": {
            "type": [
              "string",
              "null"
            ]
          },
          "quantities": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "Reported media/tool quantities, as exact decimal strings. Missing is unknown.",
            "type": "object"
          },
          "tokens": {
            "$ref": "#/components/schemas/Output_UsageTokensDto"
          }
        },
        "required": [
          "captureId",
          "completeness",
          "actualServiceTier",
          "metrics",
          "attemptId",
          "attemptOrdinal",
          "providerId",
          "credentialId",
          "model",
          "tokens",
          "quantities",
          "cost",
          "currency"
        ],
        "type": "object"
      },
      "Output_UsageGroupDto": {
        "description": "One bucket of a grouped aggregate.",
        "properties": {
          "key": {
            "description": "The grouping column's value. None is \"the records carried none\" — an\nanonymous request has no user, a failed attempt no provider.",
            "type": [
              "string",
              "null"
            ]
          },
          "summary": {
            "$ref": "#/components/schemas/Output_UsageSummaryDto",
            "description": "`truncated` and `scanned` describe the one scan every group came from,\nnot this group alone."
          }
        },
        "required": [
          "key",
          "summary"
        ],
        "type": "object"
      },
      "Output_UsageMetadata": {
        "additionalProperties": true,
        "properties": {
          "cacheTokensDetails": {
            "items": {
              "$ref": "#/components/schemas/Output_ModalityTokenCount"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "cachedContentTokenCount": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "candidatesTokenCount": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "candidatesTokensDetails": {
            "items": {
              "$ref": "#/components/schemas/Output_ModalityTokenCount"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "promptTokenCount": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "promptTokensDetails": {
            "items": {
              "$ref": "#/components/schemas/Output_ModalityTokenCount"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "serviceTier": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ServiceTier2"
              },
              {
                "type": "null"
              }
            ]
          },
          "thoughtsTokenCount": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "toolUsePromptTokenCount": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "toolUsePromptTokensDetails": {
            "items": {
              "$ref": "#/components/schemas/Output_ModalityTokenCount"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "totalTokenCount": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_UsageRecordDto": {
        "description": "One persisted physical upstream call.",
        "properties": {
          "actualServiceTier": {
            "type": [
              "string",
              "null"
            ]
          },
          "apiKeyId": {
            "type": [
              "string",
              "null"
            ]
          },
          "completeness": {
            "description": "`complete`, `partial` or `unknown`.",
            "type": [
              "string",
              "null"
            ]
          },
          "cost": {
            "description": "The settled USD charge, read from its dedicated column.",
            "type": [
              "string",
              "null"
            ]
          },
          "currency": {
            "type": [
              "string",
              "null"
            ]
          },
          "durationMs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "endedAtMs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "exchanges": {
            "description": "Detail of this physical call, retaining the existing exchange DTO shape.",
            "items": {
              "$ref": "#/components/schemas/Output_UsageExchangeDto"
            },
            "type": "array"
          },
          "metrics": {
            "description": "Dynamic dimensions and nested protocol-specific detail; fixed fields are above."
          },
          "model": {
            "description": "The upstream model that produced this usage.",
            "type": "string"
          },
          "operation": {
            "type": "string"
          },
          "quantities": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "Reported media/tool quantities, as exact decimal strings. Missing is unknown.",
            "type": "object"
          },
          "requestId": {
            "description": "Physical upstream call ID. A corresponding capture log need not exist.",
            "type": "string"
          },
          "startedAtMs": {
            "format": "int64",
            "type": "integer"
          },
          "state": {
            "description": "The settlement state core recorded: `settled`, `failed`, … .",
            "type": [
              "string",
              "null"
            ]
          },
          "tokens": {
            "$ref": "#/components/schemas/Output_UsageTokensDto"
          },
          "ttftMs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "userId": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "requestId",
          "userId",
          "apiKeyId",
          "model",
          "operation",
          "state",
          "completeness",
          "actualServiceTier",
          "tokens",
          "quantities",
          "cost",
          "currency",
          "exchanges",
          "metrics",
          "startedAtMs",
          "endedAtMs",
          "durationMs",
          "ttftMs"
        ],
        "type": "object"
      },
      "Output_UsageRecordPage": {
        "description": "One exact database page; provider and credential filters are SQL predicates.",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Output_UsageRecordDto"
            },
            "type": "array"
          },
          "limit": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "offset": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "total": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "truncated": {
            "type": "boolean"
          }
        },
        "required": [
          "items",
          "total",
          "offset",
          "limit",
          "truncated"
        ],
        "type": "object"
      },
      "Output_UsageSummaryDto": {
        "description": "Totals over the records a scan covered.",
        "properties": {
          "averageOutputTps": {
            "description": "Output tokens per second of generation time, excluding first-token wait.\nOnly records with reported output tokens, TTFT and positive generation time contribute.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "cacheCreation": {
            "items": {
              "$ref": "#/components/schemas/Output_CacheCreationDto"
            },
            "type": "array"
          },
          "cacheCreationTokens": {
            "description": "Total reported cache writes across all retention periods.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "cachedInputTokens": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "cost": {
            "description": "A normalized decimal string, `\"0\"` when nothing was priced.",
            "type": "string"
          },
          "currency": {
            "description": "USD when any record was priced; None when none was priced.",
            "type": [
              "string",
              "null"
            ]
          },
          "inputTokens": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "outputTokens": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "quantities": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "Totals of reported media/tool quantities; keys are billable metric names.",
            "type": "object"
          },
          "reasoningTokens": {
            "description": "Part of `output_tokens`, listed rather than added.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "requests": {
            "description": "Number of physical upstream calls, independent of downstream association count.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "scanned": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "truncated": {
            "description": "The scan stopped at its row cap. The numbers describe `scanned`\nrecords, not every record the filters match.",
            "type": "boolean"
          }
        },
        "required": [
          "requests",
          "inputTokens",
          "outputTokens",
          "averageOutputTps",
          "cachedInputTokens",
          "cacheCreationTokens",
          "cacheCreation",
          "reasoningTokens",
          "quantities",
          "cost",
          "currency",
          "truncated",
          "scanned"
        ],
        "type": "object"
      },
      "Output_UsageTokensDto": {
        "description": "Token counts exactly as the upstream reported them.",
        "properties": {
          "cacheCreation": {
            "items": {
              "$ref": "#/components/schemas/Output_CacheCreationDto"
            },
            "type": "array"
          },
          "cachedInputTokens": {
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "inputTokens": {
            "description": "Ordinary input, excluding cache reads and cache writes.",
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "outputTokens": {
            "description": "Total output, reasoning included.",
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "reasoningTokens": {
            "description": "A subset of `output_tokens`, never additive with it.",
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "inputTokens",
          "outputTokens",
          "cachedInputTokens",
          "cacheCreation",
          "reasoningTokens"
        ],
        "type": "object"
      },
      "Output_UsageTrendPointDto": {
        "description": "One fixed-width bucket of a trend. Present even when empty.",
        "properties": {
          "endMs": {
            "description": "Exclusive, always `start_ms + bucketMs`: the last bucket keeps the\nwidth of the others even when the requested range ends inside it.",
            "format": "int64",
            "type": "integer"
          },
          "startMs": {
            "format": "int64",
            "type": "integer"
          },
          "summary": {
            "$ref": "#/components/schemas/Output_UsageSummaryDto"
          }
        },
        "required": [
          "startMs",
          "endMs",
          "summary"
        ],
        "type": "object"
      },
      "Output_UserDto": {
        "properties": {
          "createdAtMs": {
            "format": "int64",
            "type": "integer"
          },
          "enabled": {
            "type": "boolean"
          },
          "hasPassword": {
            "description": "Whether a console/portal password is set. `password_hash` itself has no\nfield here and no accessor anywhere.",
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "oauthClientAllowlist": {
            "description": "None inherits the levels above; an empty list denies every client for\nthis user.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "role": {
            "description": "Instance-wide role, `admin` or `user`. Organization and team roles are\nmemberships and are not this.",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "role",
          "enabled",
          "hasPassword",
          "oauthClientAllowlist",
          "createdAtMs"
        ],
        "type": "object"
      },
      "Output_UserLocation": {
        "additionalProperties": true,
        "properties": {
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "country": {
            "type": [
              "string",
              "null"
            ]
          },
          "region": {
            "type": [
              "string",
              "null"
            ]
          },
          "timezone": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_UserLocationType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_UserLocationType": {
        "enum": [
          "approximate"
        ],
        "type": "string"
      },
      "Output_UserSessionDto": {
        "properties": {
          "createdAtMs": {
            "format": "int64",
            "type": "integer"
          },
          "expiresAtMs": {
            "format": "int64",
            "type": "integer"
          },
          "id": {
            "type": "string"
          },
          "userId": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "userId",
          "createdAtMs",
          "expiresAtMs"
        ],
        "type": "object"
      },
      "Output_VadSignalType": {
        "enum": [
          "VAD_SIGNAL_TYPE_UNSPECIFIED",
          "VAD_SIGNAL_TYPE_SOS",
          "VAD_SIGNAL_TYPE_EOS"
        ],
        "type": "string"
      },
      "Output_VideoFileMetadata": {
        "additionalProperties": true,
        "properties": {
          "videoDuration": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_VideoMetadata": {
        "additionalProperties": true,
        "properties": {
          "endOffset": {
            "type": [
              "string",
              "null"
            ]
          },
          "fps": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "startOffset": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_VocabularyDto": {
        "description": "One stored vocabulary.",
        "properties": {
          "createdAtMs": {
            "format": "int64",
            "type": "integer"
          },
          "fileId": {
            "type": "string"
          },
          "filename": {
            "type": [
              "string",
              "null"
            ]
          },
          "isDefault": {
            "description": "Whether it is the instance default.",
            "type": "boolean"
          },
          "models": {
            "description": "The catalog models that select it, by id.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "sizeBytes": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "fileId",
          "filename",
          "sizeBytes",
          "createdAtMs",
          "models",
          "isDefault"
        ],
        "type": "object"
      },
      "Output_Voice": {
        "additionalProperties": true,
        "properties": {
          "created_at": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "object": {
            "type": "string"
          },
          "prompt": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Output_VoiceSource"
          }
        },
        "required": [
          "id",
          "created_at",
          "name",
          "object",
          "type"
        ],
        "type": "object"
      },
      "Output_VoiceActivity": {
        "additionalProperties": true,
        "properties": {
          "audioOffset": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_VoiceActivityType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_VoiceActivityDetectionSignal": {
        "additionalProperties": true,
        "properties": {
          "vadSignalType": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_VadSignalType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_VoiceActivityType": {
        "enum": [
          "TYPE_UNSPECIFIED",
          "ACTIVITY_START",
          "ACTIVITY_END"
        ],
        "type": "string"
      },
      "Output_VoiceConsentSignature": {
        "additionalProperties": true,
        "properties": {
          "signature": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_VoiceSource": {
        "enum": [
          "prompt",
          "audio_sample"
        ],
        "type": "string"
      },
      "Output_WaitAction": {
        "additionalProperties": true,
        "type": "object"
      },
      "Output_Web": {
        "additionalProperties": true,
        "properties": {
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "uri": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_WebFetchError": {
        "additionalProperties": true,
        "properties": {
          "error_code": {
            "$ref": "#/components/schemas/Output_WebFetchErrorCode"
          },
          "type": {
            "$ref": "#/components/schemas/Output_WebFetchErrorType"
          }
        },
        "required": [
          "type",
          "error_code"
        ],
        "type": "object"
      },
      "Output_WebFetchErrorCode": {
        "enum": [
          "invalid_tool_input",
          "url_too_long",
          "url_not_allowed",
          "url_not_in_prior_context",
          "url_not_accessible",
          "unsupported_content_type",
          "too_many_requests",
          "max_uses_exceeded",
          "unavailable"
        ],
        "type": "string"
      },
      "Output_WebFetchErrorType": {
        "enum": [
          "web_fetch_tool_result_error"
        ],
        "type": "string"
      },
      "Output_WebSearchAction": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Output_WebSearchQuery",
            "properties": {
              "type": {
                "const": "search",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_WebSearchOpenPage",
            "properties": {
              "type": {
                "const": "open_page",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/Output_WebSearchFindInPage",
            "properties": {
              "type": {
                "const": "find_in_page",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "Output_WebSearchCall": {
        "additionalProperties": true,
        "properties": {
          "action": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_WebSearchAction"
              },
              {
                "type": "null"
              }
            ],
            "description": "The initial in-progress stream item precedes its search action."
          },
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_Agent"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/Output_WebSearchStatus"
          },
          "type": {
            "$ref": "#/components/schemas/Output_WebSearchCallType"
          }
        },
        "required": [
          "type",
          "id",
          "status"
        ],
        "type": "object"
      },
      "Output_WebSearchCallType": {
        "enum": [
          "web_search_call"
        ],
        "type": "string"
      },
      "Output_WebSearchError": {
        "additionalProperties": true,
        "properties": {
          "error_code": {
            "$ref": "#/components/schemas/Output_WebSearchErrorCode"
          },
          "type": {
            "$ref": "#/components/schemas/Output_WebSearchErrorType"
          }
        },
        "required": [
          "type",
          "error_code"
        ],
        "type": "object"
      },
      "Output_WebSearchErrorCode": {
        "enum": [
          "invalid_tool_input",
          "unavailable",
          "max_uses_exceeded",
          "too_many_requests",
          "query_too_long",
          "request_too_large"
        ],
        "type": "string"
      },
      "Output_WebSearchErrorType": {
        "enum": [
          "web_search_tool_result_error"
        ],
        "type": "string"
      },
      "Output_WebSearchFilters": {
        "additionalProperties": true,
        "properties": {
          "allowed_domains": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_WebSearchFindInPage": {
        "additionalProperties": true,
        "properties": {
          "pattern": {
            "type": "string"
          },
          "url": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "pattern"
        ],
        "type": "object"
      },
      "Output_WebSearchOpenPage": {
        "additionalProperties": true,
        "properties": {
          "url": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_WebSearchPreviewTool": {
        "additionalProperties": true,
        "properties": {
          "search_content_types": {
            "items": {
              "$ref": "#/components/schemas/Output_SearchContentType"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "search_context_size": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_SearchContextSize"
              },
              {
                "type": "null"
              }
            ]
          },
          "user_location": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_PreviewUserLocation"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_WebSearchQuery": {
        "additionalProperties": true,
        "properties": {
          "queries": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "query": {
            "type": [
              "string",
              "null"
            ]
          },
          "sources": {
            "items": {
              "$ref": "#/components/schemas/Output_WebSearchSource"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_WebSearchResponseBody": {
        "additionalProperties": true,
        "properties": {
          "encrypted_output": {
            "type": [
              "string",
              "null"
            ]
          },
          "output": {
            "type": "string"
          },
          "results": {
            "items": true,
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "output"
        ],
        "type": "object"
      },
      "Output_WebSearchSource": {
        "additionalProperties": true,
        "properties": {
          "type": {
            "$ref": "#/components/schemas/Output_WebSearchSourceType"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "url"
        ],
        "type": "object"
      },
      "Output_WebSearchSourceType": {
        "enum": [
          "url"
        ],
        "type": "string"
      },
      "Output_WebSearchStatus": {
        "enum": [
          "in_progress",
          "searching",
          "completed",
          "failed",
          "incomplete"
        ],
        "type": "string"
      },
      "Output_WebSearchTool": {
        "additionalProperties": true,
        "properties": {
          "filters": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_WebSearchFilters"
              },
              {
                "type": "null"
              }
            ]
          },
          "search_context_size": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_SearchContextSize"
              },
              {
                "type": "null"
              }
            ]
          },
          "user_location": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_UserLocation"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "Output_WebSearchToolType": {
        "enum": [
          "text",
          "text_and_image"
        ],
        "type": "string"
      },
      "Output_WordInfo": {
        "additionalProperties": true,
        "properties": {
          "endOffset": {
            "type": [
              "string",
              "null"
            ]
          },
          "startOffset": {
            "type": [
              "string",
              "null"
            ]
          },
          "word": {
            "type": "string"
          }
        },
        "required": [
          "word"
        ],
        "type": "object"
      },
      "Output_WordInfo2": {
        "additionalProperties": true,
        "properties": {
          "endOffset": {
            "type": [
              "string",
              "null"
            ]
          },
          "startOffset": {
            "type": [
              "string",
              "null"
            ]
          },
          "word": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Output_ZipMediaType": {
        "enum": [
          "application/zip"
        ],
        "type": "string"
      }
    },
    "securitySchemes": {
      "anthropicKey": {
        "in": "header",
        "name": "x-api-key",
        "type": "apiKey"
      },
      "bearer": {
        "scheme": "bearer",
        "type": "http"
      },
      "consoleSession": {
        "in": "cookie",
        "name": "gproxy_session",
        "type": "apiKey"
      },
      "googleKey": {
        "in": "header",
        "name": "x-goog-api-key",
        "type": "apiKey"
      },
      "queryKey": {
        "in": "query",
        "name": "key",
        "type": "apiKey"
      }
    }
  },
  "info": {
    "description": "Forwarding, management, portal and OAuth APIs generated from Rust types. Input and output schemas preserve their respective Serde contracts. Streaming events and WebSocket messages are documented alongside HTTP payloads.",
    "title": "GPROXY HTTP API",
    "version": "4.1.10"
  },
  "openapi": "3.1.0",
  "paths": {
    "/.well-known/oauth-authorization-server/v1": {
      "get": {
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_AuthorizationServerMetadata"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_OAuthErrorBody"
                }
              }
            },
            "description": "OAuth error"
          }
        },
        "security": [],
        "summary": "GET /.well-known/oauth-authorization-server/v1",
        "tags": [
          "OAuth"
        ],
        "x-gproxy-section": ""
      }
    },
    "/.well-known/oauth-authorization-server/{mount}/v1": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "mount",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_AuthorizationServerMetadata"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_OAuthErrorBody"
                }
              }
            },
            "description": "OAuth error"
          }
        },
        "security": [],
        "summary": "GET /.well-known/oauth-authorization-server/{mount}/v1",
        "tags": [
          "OAuth"
        ],
        "x-gproxy-section": ""
      }
    },
    "/admin/api/api-keys": {
      "get": {
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "apiKeyId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "credentialId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "enabled",
            "required": false,
            "schema": {
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "organizationId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Rows whose subject is this user or one of the user's API keys — for the\nfamilies whose rule names one subject or the other.",
            "in": "query",
            "name": "ownerUserId",
            "required": false,
            "schema": {
              "description": "Rows whose subject is this user or one of the user's API keys — for the\nfamilies whose rule names one subject or the other.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "1-based. Zero and absent both mean the first page.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "description": "1-based. Zero and absent both mean the first page.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Clamped to 1..=500; absent means 50.",
            "in": "query",
            "name": "pageSize",
            "required": false,
            "schema": {
              "description": "Clamped to 1..=500; absent means 50.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "providerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Case-insensitive substring of the family's natural name column.",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "description": "Case-insensitive substring of the family's natural name column.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "teamId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "userId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Page2"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/api-keys",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "api-keys"
      },
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_ApiKeyWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ApiKeyCreated"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/api-keys",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "api-keys"
      }
    },
    "/admin/api/api-keys/batch": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "items": {
                  "$ref": "#/components/schemas/Input_BatchItem2"
                },
                "type": "array"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/Output_ApiKeyDto"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/api-keys/batch",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "api-keys"
      }
    },
    "/admin/api/api-keys/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Success without a response body"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "DELETE /admin/api/api-keys/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "api-keys"
      },
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ApiKeyDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/api-keys/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "api-keys"
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_ApiKeyPatch"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ApiKeyDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "PATCH /admin/api/api-keys/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "api-keys"
      }
    },
    "/admin/api/api-keys/{id}/rotate": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ApiKeyCreated"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/api-keys/{id}/rotate",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "api-keys"
      }
    },
    "/admin/api/api-keys/{id}/secret": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ApiKeySecretDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/api-keys/{id}/secret",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "api-keys"
      }
    },
    "/admin/api/audit": {
      "get": {
        "parameters": [
          {
            "description": "Case-insensitive substring, so `users.` selects a whole family.",
            "in": "query",
            "name": "action",
            "required": false,
            "schema": {
              "description": "Case-insensitive substring, so `users.` selects a whole family.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "actorApiKeyId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "actorUserId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "entityId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "entityKind",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "outcome",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "1-based; zero and absent both mean the first page.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "description": "1-based; zero and absent both mean the first page.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Clamped to 1..=500; absent means 50.",
            "in": "query",
            "name": "pageSize",
            "required": false,
            "schema": {
              "description": "Clamped to 1..=500; absent means 50.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Inclusive lower bound on `createdAtMs`.",
            "in": "query",
            "name": "sinceMs",
            "required": false,
            "schema": {
              "description": "Inclusive lower bound on `createdAtMs`.",
              "format": "int64",
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Exclusive upper bound on `createdAtMs`.",
            "in": "query",
            "name": "untilMs",
            "required": false,
            "schema": {
              "description": "Exclusive upper bound on `createdAtMs`.",
              "format": "int64",
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Page11"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/audit",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "audit"
      }
    },
    "/admin/api/channels": {
      "get": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Output_ChannelDescriptor"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/channels",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "catalog"
      }
    },
    "/admin/api/connection-profiles": {
      "get": {
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "credentialId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "enabled",
            "required": false,
            "schema": {
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "Restrict price rules to the global scope.",
            "in": "query",
            "name": "globalOnly",
            "required": false,
            "schema": {
              "description": "Restrict price rules to the global scope.",
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "modelId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Exact pricing pattern (not a runtime wildcard match).",
            "in": "query",
            "name": "modelPattern",
            "required": false,
            "schema": {
              "description": "Exact pricing pattern (not a runtime wildcard match).",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ownerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ownerKind",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "1-based. Zero and absent both mean the first page.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "description": "1-based. Zero and absent both mean the first page.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Clamped to 1..=500; absent means 50.",
            "in": "query",
            "name": "pageSize",
            "required": false,
            "schema": {
              "description": "Clamped to 1..=500; absent means 50.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "priceRuleId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "providerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "routeId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ruleSetId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Case-insensitive substring of the family's natural name column.",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "description": "Case-insensitive substring of the family's natural name column.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Page18"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/connection-profiles",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "connection-profiles"
      },
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_ConnectionProfileWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ConnectionProfileDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/connection-profiles",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "connection-profiles"
      }
    },
    "/admin/api/connection-profiles/batch": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "items": {
                  "$ref": "#/components/schemas/Input_BatchItem14"
                },
                "type": "array"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/Output_ConnectionProfileDto"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/connection-profiles/batch",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "connection-profiles"
      }
    },
    "/admin/api/connection-profiles/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Success without a response body"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "DELETE /admin/api/connection-profiles/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "connection-profiles"
      },
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ConnectionProfileDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/connection-profiles/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "connection-profiles"
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_ConnectionProfilePatch"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ConnectionProfileDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "PATCH /admin/api/connection-profiles/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "connection-profiles"
      }
    },
    "/admin/api/connectivity/test": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_ConnectivityTest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ConnectivityResultDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/connectivity/test",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "connectivity"
      }
    },
    "/admin/api/context": {
      "get": {
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_AdminContextDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/context",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": ""
      }
    },
    "/admin/api/credential-login/authcode/complete": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_AuthCodeComplete"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_CredentialCreated"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/credential-login/authcode/complete",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "credentials"
      }
    },
    "/admin/api/credential-login/authcode/start": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_AuthCodeStart"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_AuthCodeStarted"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/credential-login/authcode/start",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "credentials"
      }
    },
    "/admin/api/credential-login/device/poll": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_Poll"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_DevicePollOutcome"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/credential-login/device/poll",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "credentials"
      }
    },
    "/admin/api/credential-login/device/start": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_DeviceStart"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_DeviceStarted"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/credential-login/device/start",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "credentials"
      }
    },
    "/admin/api/credentials": {
      "get": {
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "credentialId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "enabled",
            "required": false,
            "schema": {
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "Restrict price rules to the global scope.",
            "in": "query",
            "name": "globalOnly",
            "required": false,
            "schema": {
              "description": "Restrict price rules to the global scope.",
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "modelId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Exact pricing pattern (not a runtime wildcard match).",
            "in": "query",
            "name": "modelPattern",
            "required": false,
            "schema": {
              "description": "Exact pricing pattern (not a runtime wildcard match).",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ownerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ownerKind",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "1-based. Zero and absent both mean the first page.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "description": "1-based. Zero and absent both mean the first page.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Clamped to 1..=500; absent means 50.",
            "in": "query",
            "name": "pageSize",
            "required": false,
            "schema": {
              "description": "Clamped to 1..=500; absent means 50.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "priceRuleId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "providerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "routeId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ruleSetId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Case-insensitive substring of the family's natural name column.",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "description": "Case-insensitive substring of the family's natural name column.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Page13"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/credentials",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "credentials"
      },
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_CredentialWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_CredentialDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/credentials",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "credentials"
      }
    },
    "/admin/api/credentials/batch": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "items": {
                  "$ref": "#/components/schemas/Input_BatchItem9"
                },
                "type": "array"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/Output_CredentialDto"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/credentials/batch",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "credentials"
      }
    },
    "/admin/api/credentials/owners": {
      "get": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Output_CredentialOwnerOptionDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/credentials/owners",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "credentials"
      }
    },
    "/admin/api/credentials/providers": {
      "get": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Output_CredentialProviderDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/credentials/providers",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "credentials"
      }
    },
    "/admin/api/credentials/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Success without a response body"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "DELETE /admin/api/credentials/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "credentials"
      },
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_CredentialDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/credentials/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "credentials"
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_CredentialPatch"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_CredentialDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "PATCH /admin/api/credentials/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "credentials"
      }
    },
    "/admin/api/credentials/{id}/health-reset": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_CredentialDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/credentials/{id}/health-reset",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "credentials"
      }
    },
    "/admin/api/credentials/{id}/limits": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Output_CredentialLimitStatusDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/credentials/{id}/limits",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "credentials"
      }
    },
    "/admin/api/credentials/{id}/models/discover": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Output_DiscoveredModelDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/credentials/{id}/models/discover",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "credentials"
      }
    },
    "/admin/api/credentials/{id}/models/test": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_Model"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ModelTestResultDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/credentials/{id}/models/test",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "credentials"
      }
    },
    "/admin/api/credentials/{id}/quota": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_CredentialQuotaDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/credentials/{id}/quota",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "credentials"
      }
    },
    "/admin/api/credentials/{id}/quota-diagnostics": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_QuotaProbeDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/credentials/{id}/quota-diagnostics",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "credentials"
      }
    },
    "/admin/api/credentials/{id}/quota-observations": {
      "get": {
        "parameters": [
          {
            "description": "1-based. Zero and absent both mean the first page.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "description": "1-based. Zero and absent both mean the first page.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Clamped to 1..=500; absent means 50.",
            "in": "query",
            "name": "pageSize",
            "required": false,
            "schema": {
              "description": "Clamped to 1..=500; absent means 50.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Inclusive. Absent means the start of the earliest open cycle of the\ncredential, or 24 hours before now when none is open.",
            "in": "query",
            "name": "sinceMs",
            "required": false,
            "schema": {
              "description": "Inclusive. Absent means the start of the earliest open cycle of the\ncredential, or 24 hours before now when none is open.",
              "format": "int64",
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Exclusive. Absent means no upper bound.",
            "in": "query",
            "name": "untilMs",
            "required": false,
            "schema": {
              "description": "Exclusive. Absent means no upper bound.",
              "format": "int64",
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Page28"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/credentials/{id}/quota-observations",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "credentials"
      }
    },
    "/admin/api/credentials/{id}/quota-probe": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_QuotaSnapshotDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/credentials/{id}/quota-probe",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "credentials"
      }
    },
    "/admin/api/credentials/{id}/quota-reset": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_QuotaResetWrite"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_QuotaResetDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/credentials/{id}/quota-reset",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "credentials"
      }
    },
    "/admin/api/credentials/{id}/quota-reset-credits": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_QuotaResetCreditsDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/credentials/{id}/quota-reset-credits",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "credentials"
      }
    },
    "/admin/api/credentials/{id}/refresh": {
      "post": {
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "force",
            "required": false,
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_CredentialSummaryDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/credentials/{id}/refresh",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "credentials"
      }
    },
    "/admin/api/credentials/{id}/reveal": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": true
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/credentials/{id}/reveal",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "credentials"
      }
    },
    "/admin/api/credentials/{id}/status": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_StatusBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_CredentialDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/credentials/{id}/status",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "credentials"
      }
    },
    "/admin/api/default-model-catalog": {
      "get": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_DefaultModelCatalogDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/default-model-catalog",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "catalog"
      }
    },
    "/admin/api/default-model-catalog/apply-prices": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_ApplyDefaultPricesRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ApplyDefaultPricesReportDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/default-model-catalog/apply-prices",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "catalog"
      }
    },
    "/admin/api/export": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_ExportRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ConfigurationExportDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/export",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "transfer"
      }
    },
    "/admin/api/fonts": {
      "delete": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_FontStatus"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "DELETE /admin/api/fonts",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "configuration.settings",
        "x-runtime-condition": "Native host with the console enabled"
      },
      "get": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_FontStatus"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/fonts",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "configuration.settings",
        "x-runtime-condition": "Native host with the console enabled"
      },
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_FontStatus"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/fonts",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "configuration.settings",
        "x-runtime-condition": "Native host with the console enabled"
      }
    },
    "/admin/api/import": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_ImportRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ImportReportDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/import",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "transfer"
      }
    },
    "/admin/api/logs/captures/{id}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_CaptureDetailDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/logs/captures/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "logs"
      }
    },
    "/admin/api/logs/downstream": {
      "delete": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_HistoryDeleted"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "DELETE /admin/api/logs/downstream",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "logs"
      },
      "get": {
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "apiKeyId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "credentialId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "`next_cursor` of the previous page.",
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "description": "`next_cursor` of the previous page.",
              "format": "int64",
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "`next_cursor_id` of the previous page. Without it a cursor is only a\ntimestamp, and records sharing a millisecond would repeat.",
            "in": "query",
            "name": "cursorId",
            "required": false,
            "schema": {
              "description": "`next_cursor_id` of the previous page. Without it a cursor is only a\ntimestamp, and records sharing a millisecond would repeat.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "fromMs",
            "required": false,
            "schema": {
              "format": "int64",
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Clamped to 1..=500; absent means 50.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "Clamped to 1..=500; absent means 50.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "model",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "operation",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "providerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Exact normalized upstream reason (for example `refusal`).",
            "in": "query",
            "name": "reason",
            "required": false,
            "schema": {
              "description": "Exact normalized upstream reason (for example `refusal`).",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "One request by id, which for a downstream record is its own id.",
            "in": "query",
            "name": "requestId",
            "required": false,
            "schema": {
              "description": "One request by id, which for a downstream record is its own id.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Exact HTTP response status.",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "description": "Exact HTTP response status.",
              "format": "int32",
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "toMs",
            "required": false,
            "schema": {
              "format": "int64",
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "userId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_LogPageDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/logs/downstream",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "logs"
      }
    },
    "/admin/api/logs/downstream/delete": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_HistoryDelete"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_HistoryDeleted"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/logs/downstream/delete",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "logs"
      }
    },
    "/admin/api/logs/downstream/{id}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_LogDetailDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/logs/downstream/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "logs"
      }
    },
    "/admin/api/logs/upstream": {
      "delete": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_HistoryDeleted"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "DELETE /admin/api/logs/upstream",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "logs"
      },
      "get": {
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "apiKeyId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "credentialId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "`next_cursor` of the previous page.",
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "description": "`next_cursor` of the previous page.",
              "format": "int64",
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "`next_cursor_id` of the previous page. Without it a cursor is only a\ntimestamp, and records sharing a millisecond would repeat.",
            "in": "query",
            "name": "cursorId",
            "required": false,
            "schema": {
              "description": "`next_cursor_id` of the previous page. Without it a cursor is only a\ntimestamp, and records sharing a millisecond would repeat.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "fromMs",
            "required": false,
            "schema": {
              "format": "int64",
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Clamped to 1..=500; absent means 50.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "Clamped to 1..=500; absent means 50.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "model",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "operation",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "providerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Exact normalized upstream reason (for example `refusal`).",
            "in": "query",
            "name": "reason",
            "required": false,
            "schema": {
              "description": "Exact normalized upstream reason (for example `refusal`).",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "One request by id, which for a downstream record is its own id.",
            "in": "query",
            "name": "requestId",
            "required": false,
            "schema": {
              "description": "One request by id, which for a downstream record is its own id.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Exact HTTP response status.",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "description": "Exact HTTP response status.",
              "format": "int32",
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "toMs",
            "required": false,
            "schema": {
              "format": "int64",
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "userId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_LogPageDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/logs/upstream",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "logs"
      }
    },
    "/admin/api/logs/upstream/delete": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_HistoryDelete"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_HistoryDeleted"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/logs/upstream/delete",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "logs"
      }
    },
    "/admin/api/model-names": {
      "get": {
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "credentialId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "enabled",
            "required": false,
            "schema": {
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "Restrict price rules to the global scope.",
            "in": "query",
            "name": "globalOnly",
            "required": false,
            "schema": {
              "description": "Restrict price rules to the global scope.",
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "modelId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Exact pricing pattern (not a runtime wildcard match).",
            "in": "query",
            "name": "modelPattern",
            "required": false,
            "schema": {
              "description": "Exact pricing pattern (not a runtime wildcard match).",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ownerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ownerKind",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "1-based. Zero and absent both mean the first page.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "description": "1-based. Zero and absent both mean the first page.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Clamped to 1..=500; absent means 50.",
            "in": "query",
            "name": "pageSize",
            "required": false,
            "schema": {
              "description": "Clamped to 1..=500; absent means 50.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "priceRuleId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "providerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "routeId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ruleSetId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Case-insensitive substring of the family's natural name column.",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "description": "Case-insensitive substring of the family's natural name column.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Page29"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/model-names",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "provider-models"
      }
    },
    "/admin/api/models": {
      "get": {
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "credentialId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "enabled",
            "required": false,
            "schema": {
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "Restrict price rules to the global scope.",
            "in": "query",
            "name": "globalOnly",
            "required": false,
            "schema": {
              "description": "Restrict price rules to the global scope.",
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "modelId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Exact pricing pattern (not a runtime wildcard match).",
            "in": "query",
            "name": "modelPattern",
            "required": false,
            "schema": {
              "description": "Exact pricing pattern (not a runtime wildcard match).",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ownerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ownerKind",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "1-based. Zero and absent both mean the first page.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "description": "1-based. Zero and absent both mean the first page.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Clamped to 1..=500; absent means 50.",
            "in": "query",
            "name": "pageSize",
            "required": false,
            "schema": {
              "description": "Clamped to 1..=500; absent means 50.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "priceRuleId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "providerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "routeId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ruleSetId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Case-insensitive substring of the family's natural name column.",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "description": "Case-insensitive substring of the family's natural name column.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Page14"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/models",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "models"
      },
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_ModelWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ModelDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/models",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "models"
      }
    },
    "/admin/api/models/batch": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "items": {
                  "$ref": "#/components/schemas/Input_BatchItem10"
                },
                "type": "array"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/Output_ModelDto"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/models/batch",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "models"
      }
    },
    "/admin/api/models/discover": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_DiscoverBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Output_DiscoveredModelDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/models/discover",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "models"
      }
    },
    "/admin/api/models/discover/apply": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_ApplyDiscoveredBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/models/discover/apply",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "models"
      }
    },
    "/admin/api/models/test": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_ModelTest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ModelTestResultDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/models/test",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "models"
      }
    },
    "/admin/api/models/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Success without a response body"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "DELETE /admin/api/models/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "models"
      },
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ModelDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/models/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "models"
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_ModelPatch"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ModelDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "PATCH /admin/api/models/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "models"
      }
    },
    "/admin/api/oauth-clients": {
      "get": {
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "apiKeyId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "credentialId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "enabled",
            "required": false,
            "schema": {
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "organizationId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Rows whose subject is this user or one of the user's API keys — for the\nfamilies whose rule names one subject or the other.",
            "in": "query",
            "name": "ownerUserId",
            "required": false,
            "schema": {
              "description": "Rows whose subject is this user or one of the user's API keys — for the\nfamilies whose rule names one subject or the other.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "1-based. Zero and absent both mean the first page.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "description": "1-based. Zero and absent both mean the first page.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Clamped to 1..=500; absent means 50.",
            "in": "query",
            "name": "pageSize",
            "required": false,
            "schema": {
              "description": "Clamped to 1..=500; absent means 50.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "providerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Case-insensitive substring of the family's natural name column.",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "description": "Case-insensitive substring of the family's natural name column.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "teamId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "userId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Page7"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/oauth-clients",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "oauth-clients"
      },
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_OAuthClientWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_OAuthClientDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/oauth-clients",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "oauth-clients"
      }
    },
    "/admin/api/oauth-clients/batch": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "items": {
                  "$ref": "#/components/schemas/Input_BatchItem7"
                },
                "type": "array"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/Output_OAuthClientDto"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/oauth-clients/batch",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "oauth-clients"
      }
    },
    "/admin/api/oauth-clients/{id}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_OAuthClientDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/oauth-clients/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "oauth-clients"
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_OAuthClientPatch"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_OAuthClientDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "PATCH /admin/api/oauth-clients/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "oauth-clients"
      }
    },
    "/admin/api/oauth-clients/{id}/retire": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_OAuthClientDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/oauth-clients/{id}/retire",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "oauth-clients"
      }
    },
    "/admin/api/operation-endpoints": {
      "get": {
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "credentialId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "enabled",
            "required": false,
            "schema": {
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "Restrict price rules to the global scope.",
            "in": "query",
            "name": "globalOnly",
            "required": false,
            "schema": {
              "description": "Restrict price rules to the global scope.",
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "modelId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Exact pricing pattern (not a runtime wildcard match).",
            "in": "query",
            "name": "modelPattern",
            "required": false,
            "schema": {
              "description": "Exact pricing pattern (not a runtime wildcard match).",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ownerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ownerKind",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "1-based. Zero and absent both mean the first page.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "description": "1-based. Zero and absent both mean the first page.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Clamped to 1..=500; absent means 50.",
            "in": "query",
            "name": "pageSize",
            "required": false,
            "schema": {
              "description": "Clamped to 1..=500; absent means 50.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "priceRuleId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "providerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "routeId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ruleSetId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Case-insensitive substring of the family's natural name column.",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "description": "Case-insensitive substring of the family's natural name column.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Page23"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/operation-endpoints",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "operation-endpoints"
      },
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_OperationEndpointWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_OperationEndpointDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/operation-endpoints",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "operation-endpoints"
      }
    },
    "/admin/api/operation-endpoints/batch": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "items": {
                  "$ref": "#/components/schemas/Input_BatchItem19"
                },
                "type": "array"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/Output_OperationEndpointDto"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/operation-endpoints/batch",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "operation-endpoints"
      }
    },
    "/admin/api/operation-endpoints/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Success without a response body"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "DELETE /admin/api/operation-endpoints/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "operation-endpoints"
      },
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_OperationEndpointDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/operation-endpoints/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "operation-endpoints"
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_OperationEndpointPatch"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_OperationEndpointDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "PATCH /admin/api/operation-endpoints/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "operation-endpoints"
      }
    },
    "/admin/api/operation-keys": {
      "get": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Output_RoutingTargetDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/operation-keys",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "catalog"
      }
    },
    "/admin/api/operation-rules": {
      "get": {
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "credentialId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "enabled",
            "required": false,
            "schema": {
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "Restrict price rules to the global scope.",
            "in": "query",
            "name": "globalOnly",
            "required": false,
            "schema": {
              "description": "Restrict price rules to the global scope.",
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "modelId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Exact pricing pattern (not a runtime wildcard match).",
            "in": "query",
            "name": "modelPattern",
            "required": false,
            "schema": {
              "description": "Exact pricing pattern (not a runtime wildcard match).",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ownerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ownerKind",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "1-based. Zero and absent both mean the first page.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "description": "1-based. Zero and absent both mean the first page.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Clamped to 1..=500; absent means 50.",
            "in": "query",
            "name": "pageSize",
            "required": false,
            "schema": {
              "description": "Clamped to 1..=500; absent means 50.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "priceRuleId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "providerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "routeId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ruleSetId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Case-insensitive substring of the family's natural name column.",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "description": "Case-insensitive substring of the family's natural name column.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Page22"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/operation-rules",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "operation-rules"
      },
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_OperationRuleWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_OperationRuleDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/operation-rules",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "operation-rules"
      }
    },
    "/admin/api/operation-rules/batch": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "items": {
                  "$ref": "#/components/schemas/Input_BatchItem18"
                },
                "type": "array"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/Output_OperationRuleDto"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/operation-rules/batch",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "operation-rules"
      }
    },
    "/admin/api/operation-rules/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Success without a response body"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "DELETE /admin/api/operation-rules/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "operation-rules"
      },
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_OperationRuleDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/operation-rules/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "operation-rules"
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_OperationRulePatch"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_OperationRuleDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "PATCH /admin/api/operation-rules/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "operation-rules"
      }
    },
    "/admin/api/organizations": {
      "get": {
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "apiKeyId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "credentialId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "enabled",
            "required": false,
            "schema": {
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "organizationId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Rows whose subject is this user or one of the user's API keys — for the\nfamilies whose rule names one subject or the other.",
            "in": "query",
            "name": "ownerUserId",
            "required": false,
            "schema": {
              "description": "Rows whose subject is this user or one of the user's API keys — for the\nfamilies whose rule names one subject or the other.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "1-based. Zero and absent both mean the first page.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "description": "1-based. Zero and absent both mean the first page.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Clamped to 1..=500; absent means 50.",
            "in": "query",
            "name": "pageSize",
            "required": false,
            "schema": {
              "description": "Clamped to 1..=500; absent means 50.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "providerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Case-insensitive substring of the family's natural name column.",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "description": "Case-insensitive substring of the family's natural name column.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "teamId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "userId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Page3"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/organizations",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "organizations"
      },
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_OrganizationWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_OrganizationDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/organizations",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "organizations"
      }
    },
    "/admin/api/organizations/batch": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "items": {
                  "$ref": "#/components/schemas/Input_BatchItem3"
                },
                "type": "array"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/Output_OrganizationDto"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/organizations/batch",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "organizations"
      }
    },
    "/admin/api/organizations/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Success without a response body"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "DELETE /admin/api/organizations/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "organizations"
      },
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_OrganizationDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/organizations/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "organizations"
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_OrganizationPatch"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_OrganizationDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "PATCH /admin/api/organizations/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "organizations"
      }
    },
    "/admin/api/organizations/{id}/members": {
      "get": {
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "apiKeyId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "credentialId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "enabled",
            "required": false,
            "schema": {
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "organizationId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Rows whose subject is this user or one of the user's API keys — for the\nfamilies whose rule names one subject or the other.",
            "in": "query",
            "name": "ownerUserId",
            "required": false,
            "schema": {
              "description": "Rows whose subject is this user or one of the user's API keys — for the\nfamilies whose rule names one subject or the other.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "1-based. Zero and absent both mean the first page.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "description": "1-based. Zero and absent both mean the first page.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Clamped to 1..=500; absent means 50.",
            "in": "query",
            "name": "pageSize",
            "required": false,
            "schema": {
              "description": "Clamped to 1..=500; absent means 50.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "providerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Case-insensitive substring of the family's natural name column.",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "description": "Case-insensitive substring of the family's natural name column.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "teamId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "userId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Page8"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/organizations/{id}/members",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "members"
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_MemberWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_OrganizationMemberDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/organizations/{id}/members",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "members"
      }
    },
    "/admin/api/organizations/{id}/members/{user_id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "user_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Success without a response body"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "DELETE /admin/api/organizations/{id}/members/{user_id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "members"
      },
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "user_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_OrganizationMemberDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/organizations/{id}/members/{user_id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "members"
      },
      "put": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "user_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_MemberPatch"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_OrganizationMemberDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "PUT /admin/api/organizations/{id}/members/{user_id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "members"
      }
    },
    "/admin/api/permissions": {
      "get": {
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "apiKeyId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "credentialId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "enabled",
            "required": false,
            "schema": {
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "organizationId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Rows whose subject is this user or one of the user's API keys — for the\nfamilies whose rule names one subject or the other.",
            "in": "query",
            "name": "ownerUserId",
            "required": false,
            "schema": {
              "description": "Rows whose subject is this user or one of the user's API keys — for the\nfamilies whose rule names one subject or the other.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "1-based. Zero and absent both mean the first page.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "description": "1-based. Zero and absent both mean the first page.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Clamped to 1..=500; absent means 50.",
            "in": "query",
            "name": "pageSize",
            "required": false,
            "schema": {
              "description": "Clamped to 1..=500; absent means 50.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "providerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Case-insensitive substring of the family's natural name column.",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "description": "Case-insensitive substring of the family's natural name column.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "teamId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "userId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Page5"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/permissions",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "permissions"
      },
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_PermissionWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_PermissionDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/permissions",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "permissions"
      }
    },
    "/admin/api/permissions/batch": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "items": {
                  "$ref": "#/components/schemas/Input_BatchItem5"
                },
                "type": "array"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/Output_PermissionDto"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/permissions/batch",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "permissions"
      }
    },
    "/admin/api/permissions/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Success without a response body"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "DELETE /admin/api/permissions/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "permissions"
      },
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_PermissionDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/permissions/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "permissions"
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_PermissionPatch"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_PermissionDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "PATCH /admin/api/permissions/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "permissions"
      }
    },
    "/admin/api/price-rates": {
      "get": {
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "credentialId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "enabled",
            "required": false,
            "schema": {
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "Restrict price rules to the global scope.",
            "in": "query",
            "name": "globalOnly",
            "required": false,
            "schema": {
              "description": "Restrict price rules to the global scope.",
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "modelId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Exact pricing pattern (not a runtime wildcard match).",
            "in": "query",
            "name": "modelPattern",
            "required": false,
            "schema": {
              "description": "Exact pricing pattern (not a runtime wildcard match).",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ownerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ownerKind",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "1-based. Zero and absent both mean the first page.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "description": "1-based. Zero and absent both mean the first page.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Clamped to 1..=500; absent means 50.",
            "in": "query",
            "name": "pageSize",
            "required": false,
            "schema": {
              "description": "Clamped to 1..=500; absent means 50.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "priceRuleId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "providerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "routeId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ruleSetId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Case-insensitive substring of the family's natural name column.",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "description": "Case-insensitive substring of the family's natural name column.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Page26"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/price-rates",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "price-rates"
      },
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_PriceRateWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_PriceRateDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/price-rates",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "price-rates"
      }
    },
    "/admin/api/price-rates/batch": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "items": {
                  "$ref": "#/components/schemas/Input_BatchItem22"
                },
                "type": "array"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/Output_PriceRateDto"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/price-rates/batch",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "price-rates"
      }
    },
    "/admin/api/price-rates/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Success without a response body"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "DELETE /admin/api/price-rates/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "price-rates"
      },
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_PriceRateDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/price-rates/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "price-rates"
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_PriceRatePatch"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_PriceRateDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "PATCH /admin/api/price-rates/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "price-rates"
      }
    },
    "/admin/api/price-rules": {
      "get": {
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "credentialId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "enabled",
            "required": false,
            "schema": {
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "Restrict price rules to the global scope.",
            "in": "query",
            "name": "globalOnly",
            "required": false,
            "schema": {
              "description": "Restrict price rules to the global scope.",
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "modelId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Exact pricing pattern (not a runtime wildcard match).",
            "in": "query",
            "name": "modelPattern",
            "required": false,
            "schema": {
              "description": "Exact pricing pattern (not a runtime wildcard match).",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ownerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ownerKind",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "1-based. Zero and absent both mean the first page.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "description": "1-based. Zero and absent both mean the first page.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Clamped to 1..=500; absent means 50.",
            "in": "query",
            "name": "pageSize",
            "required": false,
            "schema": {
              "description": "Clamped to 1..=500; absent means 50.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "priceRuleId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "providerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "routeId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ruleSetId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Case-insensitive substring of the family's natural name column.",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "description": "Case-insensitive substring of the family's natural name column.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Page25"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/price-rules",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "price-rules"
      },
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_PriceRuleWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_PriceRuleDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/price-rules",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "price-rules"
      }
    },
    "/admin/api/price-rules/batch": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "items": {
                  "$ref": "#/components/schemas/Input_BatchItem21"
                },
                "type": "array"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/Output_PriceRuleDto"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/price-rules/batch",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "price-rules"
      }
    },
    "/admin/api/price-rules/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Success without a response body"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "DELETE /admin/api/price-rules/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "price-rules"
      },
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_PriceRuleDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/price-rules/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "price-rules"
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_PriceRulePatch"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_PriceRuleDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "PATCH /admin/api/price-rules/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "price-rules"
      }
    },
    "/admin/api/price-tiers": {
      "get": {
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "credentialId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "enabled",
            "required": false,
            "schema": {
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "Restrict price rules to the global scope.",
            "in": "query",
            "name": "globalOnly",
            "required": false,
            "schema": {
              "description": "Restrict price rules to the global scope.",
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "modelId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Exact pricing pattern (not a runtime wildcard match).",
            "in": "query",
            "name": "modelPattern",
            "required": false,
            "schema": {
              "description": "Exact pricing pattern (not a runtime wildcard match).",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ownerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ownerKind",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "1-based. Zero and absent both mean the first page.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "description": "1-based. Zero and absent both mean the first page.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Clamped to 1..=500; absent means 50.",
            "in": "query",
            "name": "pageSize",
            "required": false,
            "schema": {
              "description": "Clamped to 1..=500; absent means 50.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "priceRuleId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "providerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "routeId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ruleSetId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Case-insensitive substring of the family's natural name column.",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "description": "Case-insensitive substring of the family's natural name column.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Page27"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/price-tiers",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "price-tiers"
      },
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_PriceTierWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_PriceTierDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/price-tiers",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "price-tiers"
      }
    },
    "/admin/api/price-tiers/batch": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "items": {
                  "$ref": "#/components/schemas/Input_BatchItem23"
                },
                "type": "array"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/Output_PriceTierDto"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/price-tiers/batch",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "price-tiers"
      }
    },
    "/admin/api/price-tiers/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Success without a response body"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "DELETE /admin/api/price-tiers/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "price-tiers"
      },
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_PriceTierDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/price-tiers/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "price-tiers"
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_PriceTierPatch"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_PriceTierDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "PATCH /admin/api/price-tiers/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "price-tiers"
      }
    },
    "/admin/api/provider-models": {
      "get": {
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "credentialId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "enabled",
            "required": false,
            "schema": {
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "Restrict price rules to the global scope.",
            "in": "query",
            "name": "globalOnly",
            "required": false,
            "schema": {
              "description": "Restrict price rules to the global scope.",
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "modelId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Exact pricing pattern (not a runtime wildcard match).",
            "in": "query",
            "name": "modelPattern",
            "required": false,
            "schema": {
              "description": "Exact pricing pattern (not a runtime wildcard match).",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ownerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ownerKind",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "1-based. Zero and absent both mean the first page.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "description": "1-based. Zero and absent both mean the first page.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Clamped to 1..=500; absent means 50.",
            "in": "query",
            "name": "pageSize",
            "required": false,
            "schema": {
              "description": "Clamped to 1..=500; absent means 50.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "priceRuleId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "providerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "routeId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ruleSetId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Case-insensitive substring of the family's natural name column.",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "description": "Case-insensitive substring of the family's natural name column.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Page15"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/provider-models",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "provider-models"
      },
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_ProviderModelWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ProviderModelDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/provider-models",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "provider-models"
      }
    },
    "/admin/api/provider-models/batch": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "items": {
                  "$ref": "#/components/schemas/Input_BatchItem11"
                },
                "type": "array"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/Output_ProviderModelDto"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/provider-models/batch",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "provider-models"
      }
    },
    "/admin/api/provider-models/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Success without a response body"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "DELETE /admin/api/provider-models/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "provider-models"
      },
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ProviderModelDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/provider-models/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "provider-models"
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_ProviderModelPatch"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ProviderModelDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "PATCH /admin/api/provider-models/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "provider-models"
      }
    },
    "/admin/api/provider-rule-sets": {
      "get": {
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "credentialId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "enabled",
            "required": false,
            "schema": {
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "Restrict price rules to the global scope.",
            "in": "query",
            "name": "globalOnly",
            "required": false,
            "schema": {
              "description": "Restrict price rules to the global scope.",
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "modelId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Exact pricing pattern (not a runtime wildcard match).",
            "in": "query",
            "name": "modelPattern",
            "required": false,
            "schema": {
              "description": "Exact pricing pattern (not a runtime wildcard match).",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ownerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ownerKind",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "1-based. Zero and absent both mean the first page.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "description": "1-based. Zero and absent both mean the first page.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Clamped to 1..=500; absent means 50.",
            "in": "query",
            "name": "pageSize",
            "required": false,
            "schema": {
              "description": "Clamped to 1..=500; absent means 50.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "priceRuleId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "providerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "routeId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ruleSetId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Case-insensitive substring of the family's natural name column.",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "description": "Case-insensitive substring of the family's natural name column.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Page21"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/provider-rule-sets",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "provider-rule-sets"
      },
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_ProviderRuleSetWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ProviderRuleSetDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/provider-rule-sets",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "provider-rule-sets"
      }
    },
    "/admin/api/provider-rule-sets/batch": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "items": {
                  "$ref": "#/components/schemas/Input_BatchItem17"
                },
                "type": "array"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/Output_ProviderRuleSetDto"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/provider-rule-sets/batch",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "provider-rule-sets"
      }
    },
    "/admin/api/provider-rule-sets/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Success without a response body"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "DELETE /admin/api/provider-rule-sets/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "provider-rule-sets"
      },
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ProviderRuleSetDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/provider-rule-sets/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "provider-rule-sets"
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_ProviderRuleSetPatch"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ProviderRuleSetDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "PATCH /admin/api/provider-rule-sets/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "provider-rule-sets"
      }
    },
    "/admin/api/providers": {
      "get": {
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "credentialId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "enabled",
            "required": false,
            "schema": {
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "Restrict price rules to the global scope.",
            "in": "query",
            "name": "globalOnly",
            "required": false,
            "schema": {
              "description": "Restrict price rules to the global scope.",
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "modelId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Exact pricing pattern (not a runtime wildcard match).",
            "in": "query",
            "name": "modelPattern",
            "required": false,
            "schema": {
              "description": "Exact pricing pattern (not a runtime wildcard match).",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ownerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ownerKind",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "1-based. Zero and absent both mean the first page.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "description": "1-based. Zero and absent both mean the first page.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Clamped to 1..=500; absent means 50.",
            "in": "query",
            "name": "pageSize",
            "required": false,
            "schema": {
              "description": "Clamped to 1..=500; absent means 50.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "priceRuleId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "providerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "routeId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ruleSetId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Case-insensitive substring of the family's natural name column.",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "description": "Case-insensitive substring of the family's natural name column.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Page12"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/providers",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "providers"
      },
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_ProviderWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ProviderDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/providers",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "providers"
      }
    },
    "/admin/api/providers/batch": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "items": {
                  "$ref": "#/components/schemas/Input_BatchItem8"
                },
                "type": "array"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/Output_ProviderDto"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/providers/batch",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "providers"
      }
    },
    "/admin/api/providers/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Success without a response body"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "DELETE /admin/api/providers/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "providers"
      },
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ProviderDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/providers/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "providers"
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_ProviderPatch"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ProviderDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "PATCH /admin/api/providers/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "providers"
      }
    },
    "/admin/api/providers/{id}/default-rule-set": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_RuleSetDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/providers/{id}/default-rule-set",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "rule-sets",
        "x-gproxy-sections": [
          "providers",
          "provider-rule-sets",
          "rule-sets"
        ]
      }
    },
    "/admin/api/providers/{id}/routing": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Output_OperationRoutingDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/providers/{id}/routing",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "operation-rules"
      }
    },
    "/admin/api/providers/{id}/routing-defaults/reset": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "cleared": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "cleared"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/providers/{id}/routing-defaults/reset",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "providers"
      }
    },
    "/admin/api/providers/{id}/routing/{operation}/{dialect}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "operation",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "dialect",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Output_OperationRoutingDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "DELETE /admin/api/providers/{id}/routing/{operation}/{dialect}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "operation-rules"
      },
      "put": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "operation",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "dialect",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_RoutingMappingWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Output_OperationRoutingDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "PUT /admin/api/providers/{id}/routing/{operation}/{dialect}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "operation-rules"
      }
    },
    "/admin/api/quotas": {
      "get": {
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "credentialId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "enabled",
            "required": false,
            "schema": {
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "Restrict price rules to the global scope.",
            "in": "query",
            "name": "globalOnly",
            "required": false,
            "schema": {
              "description": "Restrict price rules to the global scope.",
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "modelId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Exact pricing pattern (not a runtime wildcard match).",
            "in": "query",
            "name": "modelPattern",
            "required": false,
            "schema": {
              "description": "Exact pricing pattern (not a runtime wildcard match).",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ownerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ownerKind",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "1-based. Zero and absent both mean the first page.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "description": "1-based. Zero and absent both mean the first page.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Clamped to 1..=500; absent means 50.",
            "in": "query",
            "name": "pageSize",
            "required": false,
            "schema": {
              "description": "Clamped to 1..=500; absent means 50.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "priceRuleId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "providerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "routeId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ruleSetId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Case-insensitive substring of the family's natural name column.",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "description": "Case-insensitive substring of the family's natural name column.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Page24"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/quotas",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "quotas"
      },
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_QuotaWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_QuotaDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/quotas",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "quotas"
      }
    },
    "/admin/api/quotas/batch": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "items": {
                  "$ref": "#/components/schemas/Input_BatchItem20"
                },
                "type": "array"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/Output_QuotaDto"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/quotas/batch",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "quotas"
      }
    },
    "/admin/api/quotas/status": {
      "get": {
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "owners",
            "required": false,
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Output_BudgetStatusDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/quotas/status",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "quotas"
      }
    },
    "/admin/api/quotas/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Success without a response body"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "DELETE /admin/api/quotas/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "quotas"
      },
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_QuotaDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/quotas/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "quotas"
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_QuotaPatch"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_QuotaDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "PATCH /admin/api/quotas/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "quotas"
      }
    },
    "/admin/api/quotas/{id}/limit-reset": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/quotas/{id}/limit-reset",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "quotas"
      }
    },
    "/admin/api/quotas/{id}/reset": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_BudgetStatusDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/quotas/{id}/reset",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "quotas"
      }
    },
    "/admin/api/rate-limits": {
      "get": {
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "apiKeyId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "credentialId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "enabled",
            "required": false,
            "schema": {
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "organizationId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Rows whose subject is this user or one of the user's API keys — for the\nfamilies whose rule names one subject or the other.",
            "in": "query",
            "name": "ownerUserId",
            "required": false,
            "schema": {
              "description": "Rows whose subject is this user or one of the user's API keys — for the\nfamilies whose rule names one subject or the other.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "1-based. Zero and absent both mean the first page.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "description": "1-based. Zero and absent both mean the first page.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Clamped to 1..=500; absent means 50.",
            "in": "query",
            "name": "pageSize",
            "required": false,
            "schema": {
              "description": "Clamped to 1..=500; absent means 50.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "providerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Case-insensitive substring of the family's natural name column.",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "description": "Case-insensitive substring of the family's natural name column.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "teamId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "userId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Page6"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/rate-limits",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "rate-limits"
      },
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_RateLimitWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_RateLimitDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/rate-limits",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "rate-limits"
      }
    },
    "/admin/api/rate-limits/batch": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "items": {
                  "$ref": "#/components/schemas/Input_BatchItem6"
                },
                "type": "array"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/Output_RateLimitDto"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/rate-limits/batch",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "rate-limits"
      }
    },
    "/admin/api/rate-limits/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Success without a response body"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "DELETE /admin/api/rate-limits/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "rate-limits"
      },
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_RateLimitDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/rate-limits/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "rate-limits"
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_RateLimitPatch"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_RateLimitDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "PATCH /admin/api/rate-limits/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "rate-limits"
      }
    },
    "/admin/api/route-members": {
      "get": {
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "credentialId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "enabled",
            "required": false,
            "schema": {
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "Restrict price rules to the global scope.",
            "in": "query",
            "name": "globalOnly",
            "required": false,
            "schema": {
              "description": "Restrict price rules to the global scope.",
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "modelId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Exact pricing pattern (not a runtime wildcard match).",
            "in": "query",
            "name": "modelPattern",
            "required": false,
            "schema": {
              "description": "Exact pricing pattern (not a runtime wildcard match).",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ownerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ownerKind",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "1-based. Zero and absent both mean the first page.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "description": "1-based. Zero and absent both mean the first page.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Clamped to 1..=500; absent means 50.",
            "in": "query",
            "name": "pageSize",
            "required": false,
            "schema": {
              "description": "Clamped to 1..=500; absent means 50.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "priceRuleId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "providerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "routeId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ruleSetId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Case-insensitive substring of the family's natural name column.",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "description": "Case-insensitive substring of the family's natural name column.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Page17"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/route-members",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "route-members"
      },
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_RouteMemberWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_RouteMemberDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/route-members",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "route-members"
      }
    },
    "/admin/api/route-members/batch": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "items": {
                  "$ref": "#/components/schemas/Input_BatchItem13"
                },
                "type": "array"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/Output_RouteMemberDto"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/route-members/batch",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "route-members"
      }
    },
    "/admin/api/route-members/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Success without a response body"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "DELETE /admin/api/route-members/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "route-members"
      },
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_RouteMemberDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/route-members/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "route-members"
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_RouteMemberPatch"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_RouteMemberDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "PATCH /admin/api/route-members/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "route-members"
      }
    },
    "/admin/api/routes": {
      "get": {
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "credentialId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "enabled",
            "required": false,
            "schema": {
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "Restrict price rules to the global scope.",
            "in": "query",
            "name": "globalOnly",
            "required": false,
            "schema": {
              "description": "Restrict price rules to the global scope.",
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "modelId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Exact pricing pattern (not a runtime wildcard match).",
            "in": "query",
            "name": "modelPattern",
            "required": false,
            "schema": {
              "description": "Exact pricing pattern (not a runtime wildcard match).",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ownerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ownerKind",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "1-based. Zero and absent both mean the first page.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "description": "1-based. Zero and absent both mean the first page.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Clamped to 1..=500; absent means 50.",
            "in": "query",
            "name": "pageSize",
            "required": false,
            "schema": {
              "description": "Clamped to 1..=500; absent means 50.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "priceRuleId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "providerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "routeId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ruleSetId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Case-insensitive substring of the family's natural name column.",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "description": "Case-insensitive substring of the family's natural name column.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Page16"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/routes",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "routes"
      },
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_RouteWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_RouteDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/routes",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "routes"
      }
    },
    "/admin/api/routes/batch": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "items": {
                  "$ref": "#/components/schemas/Input_BatchItem12"
                },
                "type": "array"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/Output_RouteDto"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/routes/batch",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "routes"
      }
    },
    "/admin/api/routes/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Success without a response body"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "DELETE /admin/api/routes/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "routes"
      },
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_RouteDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/routes/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "routes"
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_RoutePatch"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_RouteDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "PATCH /admin/api/routes/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "routes"
      }
    },
    "/admin/api/rule-presets": {
      "get": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Output_RulePresetDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/rule-presets",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "catalog"
      }
    },
    "/admin/api/rule-sets": {
      "get": {
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "credentialId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "enabled",
            "required": false,
            "schema": {
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "Restrict price rules to the global scope.",
            "in": "query",
            "name": "globalOnly",
            "required": false,
            "schema": {
              "description": "Restrict price rules to the global scope.",
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "modelId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Exact pricing pattern (not a runtime wildcard match).",
            "in": "query",
            "name": "modelPattern",
            "required": false,
            "schema": {
              "description": "Exact pricing pattern (not a runtime wildcard match).",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ownerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ownerKind",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "1-based. Zero and absent both mean the first page.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "description": "1-based. Zero and absent both mean the first page.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Clamped to 1..=500; absent means 50.",
            "in": "query",
            "name": "pageSize",
            "required": false,
            "schema": {
              "description": "Clamped to 1..=500; absent means 50.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "priceRuleId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "providerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "routeId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ruleSetId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Case-insensitive substring of the family's natural name column.",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "description": "Case-insensitive substring of the family's natural name column.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Page19"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/rule-sets",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "rule-sets"
      },
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_RuleSetWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_RuleSetDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/rule-sets",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "rule-sets"
      }
    },
    "/admin/api/rule-sets/batch": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "items": {
                  "$ref": "#/components/schemas/Input_BatchItem15"
                },
                "type": "array"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/Output_RuleSetDto"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/rule-sets/batch",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "rule-sets"
      }
    },
    "/admin/api/rule-sets/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Success without a response body"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "DELETE /admin/api/rule-sets/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "rule-sets"
      },
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_RuleSetDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/rule-sets/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "rule-sets"
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_RuleSetPatch"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_RuleSetDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "PATCH /admin/api/rule-sets/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "rule-sets"
      }
    },
    "/admin/api/rule-sets/{id}/rule-presets/{preset}": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "preset",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Output_RewriteRuleDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/rule-sets/{id}/rule-presets/{preset}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "rule-sets"
      }
    },
    "/admin/api/rule-sets/{id}/rules": {
      "put": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "items": {
                  "$ref": "#/components/schemas/Input_RewriteRuleWrite"
                },
                "type": "array"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Output_RewriteRuleDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "PUT /admin/api/rule-sets/{id}/rules",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "rule-sets"
      }
    },
    "/admin/api/rules": {
      "get": {
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "credentialId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "enabled",
            "required": false,
            "schema": {
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "Restrict price rules to the global scope.",
            "in": "query",
            "name": "globalOnly",
            "required": false,
            "schema": {
              "description": "Restrict price rules to the global scope.",
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "modelId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Exact pricing pattern (not a runtime wildcard match).",
            "in": "query",
            "name": "modelPattern",
            "required": false,
            "schema": {
              "description": "Exact pricing pattern (not a runtime wildcard match).",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ownerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ownerKind",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "1-based. Zero and absent both mean the first page.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "description": "1-based. Zero and absent both mean the first page.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Clamped to 1..=500; absent means 50.",
            "in": "query",
            "name": "pageSize",
            "required": false,
            "schema": {
              "description": "Clamped to 1..=500; absent means 50.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "priceRuleId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "providerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "routeId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ruleSetId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Case-insensitive substring of the family's natural name column.",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "description": "Case-insensitive substring of the family's natural name column.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Page20"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/rules",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "rules"
      },
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_RewriteRuleWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_RewriteRuleDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/rules",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "rules"
      }
    },
    "/admin/api/rules/batch": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "items": {
                  "$ref": "#/components/schemas/Input_BatchItem16"
                },
                "type": "array"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/Output_RewriteRuleDto"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/rules/batch",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "rules"
      }
    },
    "/admin/api/rules/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Success without a response body"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "DELETE /admin/api/rules/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "rules"
      },
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_RewriteRuleDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/rules/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "rules"
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_RewriteRulePatch"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_RewriteRuleDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "PATCH /admin/api/rules/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "rules"
      }
    },
    "/admin/api/session": {
      "delete": {
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "endedSession": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "endedSession"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "DELETE /admin/api/session",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": ""
      },
      "get": {
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_SessionStatus"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/session",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": ""
      }
    },
    "/admin/api/sessions": {
      "get": {
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "apiKeyId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "credentialId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "enabled",
            "required": false,
            "schema": {
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "organizationId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Rows whose subject is this user or one of the user's API keys — for the\nfamilies whose rule names one subject or the other.",
            "in": "query",
            "name": "ownerUserId",
            "required": false,
            "schema": {
              "description": "Rows whose subject is this user or one of the user's API keys — for the\nfamilies whose rule names one subject or the other.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "1-based. Zero and absent both mean the first page.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "description": "1-based. Zero and absent both mean the first page.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Clamped to 1..=500; absent means 50.",
            "in": "query",
            "name": "pageSize",
            "required": false,
            "schema": {
              "description": "Clamped to 1..=500; absent means 50.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "providerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Case-insensitive substring of the family's natural name column.",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "description": "Case-insensitive substring of the family's natural name column.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "teamId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "userId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Page10"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/sessions",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "sessions"
      }
    },
    "/admin/api/sessions/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Success without a response body"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "DELETE /admin/api/sessions/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "sessions"
      }
    },
    "/admin/api/settings": {
      "get": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_SettingsDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/settings",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "settings"
      },
      "patch": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_SettingsPatch"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_SettingsDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "PATCH /admin/api/settings",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "settings"
      }
    },
    "/admin/api/teams": {
      "get": {
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "apiKeyId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "credentialId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "enabled",
            "required": false,
            "schema": {
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "organizationId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Rows whose subject is this user or one of the user's API keys — for the\nfamilies whose rule names one subject or the other.",
            "in": "query",
            "name": "ownerUserId",
            "required": false,
            "schema": {
              "description": "Rows whose subject is this user or one of the user's API keys — for the\nfamilies whose rule names one subject or the other.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "1-based. Zero and absent both mean the first page.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "description": "1-based. Zero and absent both mean the first page.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Clamped to 1..=500; absent means 50.",
            "in": "query",
            "name": "pageSize",
            "required": false,
            "schema": {
              "description": "Clamped to 1..=500; absent means 50.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "providerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Case-insensitive substring of the family's natural name column.",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "description": "Case-insensitive substring of the family's natural name column.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "teamId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "userId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Page4"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/teams",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "teams"
      },
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_TeamWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_TeamDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/teams",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "teams"
      }
    },
    "/admin/api/teams/batch": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "items": {
                  "$ref": "#/components/schemas/Input_BatchItem4"
                },
                "type": "array"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/Output_TeamDto"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/teams/batch",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "teams"
      }
    },
    "/admin/api/teams/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Success without a response body"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "DELETE /admin/api/teams/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "teams"
      },
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_TeamDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/teams/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "teams"
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_TeamPatch"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_TeamDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "PATCH /admin/api/teams/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "teams"
      }
    },
    "/admin/api/teams/{id}/members": {
      "get": {
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "apiKeyId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "credentialId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "enabled",
            "required": false,
            "schema": {
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "organizationId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Rows whose subject is this user or one of the user's API keys — for the\nfamilies whose rule names one subject or the other.",
            "in": "query",
            "name": "ownerUserId",
            "required": false,
            "schema": {
              "description": "Rows whose subject is this user or one of the user's API keys — for the\nfamilies whose rule names one subject or the other.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "1-based. Zero and absent both mean the first page.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "description": "1-based. Zero and absent both mean the first page.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Clamped to 1..=500; absent means 50.",
            "in": "query",
            "name": "pageSize",
            "required": false,
            "schema": {
              "description": "Clamped to 1..=500; absent means 50.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "providerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Case-insensitive substring of the family's natural name column.",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "description": "Case-insensitive substring of the family's natural name column.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "teamId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "userId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Page9"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/teams/{id}/members",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "team-members"
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_MemberWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_TeamMemberDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/teams/{id}/members",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "team-members"
      }
    },
    "/admin/api/teams/{id}/members/{user_id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "user_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Success without a response body"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "DELETE /admin/api/teams/{id}/members/{user_id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "team-members"
      },
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "user_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_TeamMemberDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/teams/{id}/members/{user_id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "team-members"
      },
      "put": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "user_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_MemberPatch"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_TeamMemberDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "PUT /admin/api/teams/{id}/members/{user_id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "team-members"
      }
    },
    "/admin/api/tls-presets": {
      "get": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Output_TlsPresetDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/tls-presets",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "catalog"
      }
    },
    "/admin/api/tokenizer-auth": {
      "get": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_TokenizerAuthDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/tokenizer-auth",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "tokenizer"
      },
      "patch": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_TokenBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_TokenizerAuthDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "PATCH /admin/api/tokenizer-auth",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "tokenizer"
      }
    },
    "/admin/api/tokenizer-auth/reveal": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "token": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "token"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/tokenizer-auth/reveal",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "tokenizer"
      }
    },
    "/admin/api/tokenizer-vocabs": {
      "get": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Output_VocabularyDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/tokenizer-vocabs",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "tokenizer"
      },
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_TokenizerFetch"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_VocabularyDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/tokenizer-vocabs",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "tokenizer"
      }
    },
    "/admin/api/tokenizer-vocabs/progress": {
      "get": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_TokenizerProgressDto"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/tokenizer-vocabs/progress",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "tokenizer"
      }
    },
    "/admin/api/tokenizer-vocabs/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Success without a response body"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "DELETE /admin/api/tokenizer-vocabs/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "tokenizer"
      }
    },
    "/admin/api/update": {
      "get": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_UpdateSchedule"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/update",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "update",
        "x-runtime-condition": "Host with an update service configured"
      }
    },
    "/admin/api/update/announcements": {
      "get": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Output_Announcement"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/update/announcements",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "update",
        "x-runtime-condition": "Host with an update service configured"
      }
    },
    "/admin/api/update/apply": {
      "post": {
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "channel",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "source",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_AppliedUpdate"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/update/apply",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "update",
        "x-runtime-condition": "Host with an update service configured"
      }
    },
    "/admin/api/update/check": {
      "post": {
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "channel",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "source",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_UpdateReport"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/update/check",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "update",
        "x-runtime-condition": "Host with an update service configured"
      }
    },
    "/admin/api/update/progress": {
      "get": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_UpdateProgress"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/update/progress",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "update",
        "x-runtime-condition": "Host with an update service configured"
      }
    },
    "/admin/api/update/rollback": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_AppliedUpdate"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/update/rollback",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "update",
        "x-runtime-condition": "Host with an update service configured"
      }
    },
    "/admin/api/usage": {
      "get": {
        "parameters": [
          {
            "description": "One of the caller's own keys. A key that is not theirs matches nothing,\nbecause the user filter is applied as well.",
            "in": "query",
            "name": "apiKeyId",
            "required": false,
            "schema": {
              "default": null,
              "description": "One of the caller's own keys. A key that is not theirs matches nothing,\nbecause the user filter is applied as well.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Bucket width for the trend. Absent means no trend is computed; present\nrequires `toMs`, and without `fromMs` the buckets start at the first\nmatching record.",
            "in": "query",
            "name": "bucketMs",
            "required": false,
            "schema": {
              "default": null,
              "description": "Bucket width for the trend. Absent means no trend is computed; present\nrequires `toMs`, and without `fromMs` the buckets start at the first\nmatching record.",
              "format": "int64",
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Admin surface only: the share of one credential's attempts. A portal\nrefuses it for the same reason it refuses `groupBy: credential` —\ncredential ids are the operator's, not the caller's.",
            "in": "query",
            "name": "credentialId",
            "required": false,
            "schema": {
              "default": null,
              "description": "Admin surface only: the share of one credential's attempts. A portal\nrefuses it for the same reason it refuses `groupBy: credential` —\ncredential ids are the operator's, not the caller's.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Inclusive lower bound on `startedAtMs`.",
            "in": "query",
            "name": "fromMs",
            "required": false,
            "schema": {
              "default": null,
              "description": "Inclusive lower bound on `startedAtMs`.",
              "format": "int64",
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Absent means no grouped cut is computed.",
            "in": "query",
            "name": "groupBy",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Input_UsageGroupBy"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "description": "Absent means no grouped cut is computed."
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "model",
            "required": false,
            "schema": {
              "default": null,
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "operation",
            "required": false,
            "schema": {
              "default": null,
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Admin surface only: the share of one upstream provider's attempts.\nA portal refuses it, because it never shows a caller provider ids.",
            "in": "query",
            "name": "providerId",
            "required": false,
            "schema": {
              "default": null,
              "description": "Admin surface only: the share of one upstream provider's attempts.\nA portal refuses it, because it never shows a caller provider ids.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Exclusive upper bound.",
            "in": "query",
            "name": "toMs",
            "required": false,
            "schema": {
              "default": null,
              "description": "Exclusive upper bound.",
              "format": "int64",
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Ignored. See the type note.",
            "in": "query",
            "name": "userId",
            "required": false,
            "schema": {
              "default": null,
              "description": "Ignored. See the type note.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_PortalUsageDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/usage",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "usage"
      }
    },
    "/admin/api/usage/records": {
      "delete": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_HistoryDeleted"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "DELETE /admin/api/usage/records",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "usage"
      },
      "get": {
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "apiKeyId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Records whose structured upstream usage matches this credential.",
            "in": "query",
            "name": "credentialId",
            "required": false,
            "schema": {
              "description": "Records whose structured upstream usage matches this credential.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "fromMs",
            "required": false,
            "schema": {
              "format": "int64",
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "model",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "operation",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "1-based. Zero and absent both mean the first page.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "description": "1-based. Zero and absent both mean the first page.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Clamped to 1..=500; absent means 50.",
            "in": "query",
            "name": "pageSize",
            "required": false,
            "schema": {
              "description": "Clamped to 1..=500; absent means 50.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Records whose structured upstream usage matches this provider.",
            "in": "query",
            "name": "providerId",
            "required": false,
            "schema": {
              "description": "Records whose structured upstream usage matches this provider.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "requestId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "toMs",
            "required": false,
            "schema": {
              "format": "int64",
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "userId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_UsageRecordPage"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/usage/records",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "usage"
      }
    },
    "/admin/api/usage/records/delete": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_HistoryDelete"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_HistoryDeleted"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/usage/records/delete",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "usage"
      }
    },
    "/admin/api/users": {
      "get": {
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "apiKeyId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "credentialId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "enabled",
            "required": false,
            "schema": {
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "organizationId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Rows whose subject is this user or one of the user's API keys — for the\nfamilies whose rule names one subject or the other.",
            "in": "query",
            "name": "ownerUserId",
            "required": false,
            "schema": {
              "description": "Rows whose subject is this user or one of the user's API keys — for the\nfamilies whose rule names one subject or the other.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "1-based. Zero and absent both mean the first page.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "description": "1-based. Zero and absent both mean the first page.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Clamped to 1..=500; absent means 50.",
            "in": "query",
            "name": "pageSize",
            "required": false,
            "schema": {
              "description": "Clamped to 1..=500; absent means 50.",
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "providerId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Case-insensitive substring of the family's natural name column.",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "description": "Case-insensitive substring of the family's natural name column.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "teamId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "userId",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Page"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/users",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "users"
      },
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_UserWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_UserDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/users",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "users"
      }
    },
    "/admin/api/users/batch": {
      "post": {
        "parameters": [
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "items": {
                  "$ref": "#/components/schemas/Input_BatchItem"
                },
                "type": "array"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/Output_UserDto"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/users/batch",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "users"
      }
    },
    "/admin/api/users/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Success without a response body"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "DELETE /admin/api/users/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "users"
      },
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_UserDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/users/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "users"
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_UserPatch"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_UserDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "PATCH /admin/api/users/{id}",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "users"
      }
    },
    "/admin/api/users/{id}/allowlist": {
      "put": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_AllowlistBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_UserDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "PUT /admin/api/users/{id}/allowlist",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "users"
      }
    },
    "/admin/api/users/{id}/password": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_UserDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "DELETE /admin/api/users/{id}/password",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "users"
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_PasswordBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_UserDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /admin/api/users/{id}/password",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "users"
      }
    },
    "/admin/api/users/{id}/sessions": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "revoked": {
                      "minimum": 0,
                      "type": "integer"
                    }
                  },
                  "required": [
                    "revoked"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "DELETE /admin/api/users/{id}/sessions",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "sessions"
      },
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Administrative scope selected by the caller.",
            "in": "header",
            "name": "x-gproxy-admin-scope",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Page10"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /admin/api/users/{id}/sessions",
        "tags": [
          "Management"
        ],
        "x-gproxy-section": "sessions"
      }
    },
    "/alpha/search": {
      "post": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_WebSearchRequestBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_WebSearchResponseBody"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "POST /alpha/search",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "web_search",
            "requestContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Input_WebSearchRequestBody"
                }
              }
            },
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_WebSearchResponseBody"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/healthz": {
      "get": {
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "revision": {
                      "type": "integer"
                    },
                    "status": {
                      "const": "ok"
                    }
                  },
                  "required": [
                    "status",
                    "revision"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [],
        "summary": "GET /healthz",
        "tags": [
          "System"
        ],
        "x-gproxy-section": ""
      }
    },
    "/info": {
      "get": {
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "fontManagement": {
                      "type": "boolean"
                    },
                    "hash": {
                      "type": "string"
                    },
                    "instanceName": {
                      "type": "string"
                    },
                    "version": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "instanceName",
                    "version",
                    "hash",
                    "fontManagement"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [],
        "summary": "GET /info",
        "tags": [
          "System"
        ],
        "x-gproxy-section": ""
      }
    },
    "/portal/api/context": {
      "get": {
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_PortalContextDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /portal/api/context",
        "tags": [
          "Portal"
        ],
        "x-gproxy-section": ""
      }
    },
    "/portal/api/keys": {
      "get": {
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Output_PortalKeyDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /portal/api/keys",
        "tags": [
          "Portal"
        ],
        "x-gproxy-section": ""
      },
      "post": {
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_PortalKeyCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_PortalKeyCreated"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /portal/api/keys",
        "tags": [
          "Portal"
        ],
        "x-gproxy-section": ""
      }
    },
    "/portal/api/keys/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Success without a response body"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "DELETE /portal/api/keys/{id}",
        "tags": [
          "Portal"
        ],
        "x-gproxy-section": ""
      }
    },
    "/portal/api/keys/{id}/rotate": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_PortalKeyCreated"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /portal/api/keys/{id}/rotate",
        "tags": [
          "Portal"
        ],
        "x-gproxy-section": ""
      }
    },
    "/portal/api/keys/{id}/secret": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_PortalKeySecretDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /portal/api/keys/{id}/secret",
        "tags": [
          "Portal"
        ],
        "x-gproxy-section": ""
      }
    },
    "/portal/api/login": {
      "post": {
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_LoginBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "expiresAtMs": {
                      "format": "int64",
                      "type": "integer"
                    },
                    "sessionId": {
                      "type": "string"
                    },
                    "token": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "sessionId",
                    "token",
                    "expiresAtMs"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Success",
            "headers": {
              "Set-Cookie": {
                "description": "Console session cookie",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [],
        "summary": "POST /portal/api/login",
        "tags": [
          "Portal"
        ],
        "x-gproxy-section": ""
      }
    },
    "/portal/api/logout": {
      "post": {
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "endedSession": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "endedSession"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [],
        "summary": "POST /portal/api/logout",
        "tags": [
          "Portal"
        ],
        "x-gproxy-section": ""
      }
    },
    "/portal/api/models": {
      "get": {
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Output_PortalModelDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /portal/api/models",
        "tags": [
          "Portal"
        ],
        "x-gproxy-section": ""
      }
    },
    "/portal/api/oauth-sessions": {
      "get": {
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Output_PortalOAuthSessionDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /portal/api/oauth-sessions",
        "tags": [
          "Portal"
        ],
        "x-gproxy-section": ""
      }
    },
    "/portal/api/oauth-sessions/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Success without a response body"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "DELETE /portal/api/oauth-sessions/{id}",
        "tags": [
          "Portal"
        ],
        "x-gproxy-section": ""
      }
    },
    "/portal/api/oauth/device": {
      "get": {
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "userCode",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_DeviceDetails"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /portal/api/oauth/device",
        "tags": [
          "Portal"
        ],
        "x-gproxy-section": ""
      },
      "post": {
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_DeviceDecisionBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_DeviceDecided"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /portal/api/oauth/device",
        "tags": [
          "Portal"
        ],
        "x-gproxy-section": ""
      }
    },
    "/portal/api/password": {
      "post": {
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_PortalPasswordChange"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "Success without a response body"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /portal/api/password",
        "tags": [
          "Portal"
        ],
        "x-gproxy-section": ""
      }
    },
    "/portal/api/quota": {
      "get": {
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Output_PortalQuotaWindowDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /portal/api/quota",
        "tags": [
          "Portal"
        ],
        "x-gproxy-section": ""
      }
    },
    "/portal/api/requests": {
      "get": {
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Output_PortalRequestDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /portal/api/requests",
        "tags": [
          "Portal"
        ],
        "x-gproxy-section": ""
      }
    },
    "/portal/api/sessions": {
      "get": {
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Output_UserSessionDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /portal/api/sessions",
        "tags": [
          "Portal"
        ],
        "x-gproxy-section": ""
      }
    },
    "/portal/api/usage": {
      "get": {
        "parameters": [
          {
            "description": "One of the caller's own keys. A key that is not theirs matches nothing,\nbecause the user filter is applied as well.",
            "in": "query",
            "name": "apiKeyId",
            "required": false,
            "schema": {
              "default": null,
              "description": "One of the caller's own keys. A key that is not theirs matches nothing,\nbecause the user filter is applied as well.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Bucket width for the trend. Absent means no trend is computed; present\nrequires `toMs`, and without `fromMs` the buckets start at the first\nmatching record.",
            "in": "query",
            "name": "bucketMs",
            "required": false,
            "schema": {
              "default": null,
              "description": "Bucket width for the trend. Absent means no trend is computed; present\nrequires `toMs`, and without `fromMs` the buckets start at the first\nmatching record.",
              "format": "int64",
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Admin surface only: the share of one credential's attempts. A portal\nrefuses it for the same reason it refuses `groupBy: credential` —\ncredential ids are the operator's, not the caller's.",
            "in": "query",
            "name": "credentialId",
            "required": false,
            "schema": {
              "default": null,
              "description": "Admin surface only: the share of one credential's attempts. A portal\nrefuses it for the same reason it refuses `groupBy: credential` —\ncredential ids are the operator's, not the caller's.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Inclusive lower bound on `startedAtMs`.",
            "in": "query",
            "name": "fromMs",
            "required": false,
            "schema": {
              "default": null,
              "description": "Inclusive lower bound on `startedAtMs`.",
              "format": "int64",
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Absent means no grouped cut is computed.",
            "in": "query",
            "name": "groupBy",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Input_UsageGroupBy"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "description": "Absent means no grouped cut is computed."
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "model",
            "required": false,
            "schema": {
              "default": null,
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "operation",
            "required": false,
            "schema": {
              "default": null,
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Admin surface only: the share of one upstream provider's attempts.\nA portal refuses it, because it never shows a caller provider ids.",
            "in": "query",
            "name": "providerId",
            "required": false,
            "schema": {
              "default": null,
              "description": "Admin surface only: the share of one upstream provider's attempts.\nA portal refuses it, because it never shows a caller provider ids.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "Exclusive upper bound.",
            "in": "query",
            "name": "toMs",
            "required": false,
            "schema": {
              "default": null,
              "description": "Exclusive upper bound.",
              "format": "int64",
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "Ignored. See the type note.",
            "in": "query",
            "name": "userId",
            "required": false,
            "schema": {
              "default": null,
              "description": "Ignored. See the type note.",
              "type": [
                "string",
                "null"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_PortalUsageDto"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "GET /portal/api/usage",
        "tags": [
          "Portal"
        ],
        "x-gproxy-section": ""
      }
    },
    "/publications/{id}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [],
        "summary": "GET /publications/{id}",
        "tags": [
          "System"
        ],
        "x-gproxy-section": ""
      }
    },
    "/robots.txt": {
      "get": {
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Envelope"
                }
              }
            },
            "description": "Gateway error"
          }
        },
        "security": [],
        "summary": "GET /robots.txt",
        "tags": [
          "System"
        ],
        "x-gproxy-section": ""
      }
    },
    "/upload/v1beta/files": {
      "post": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_UploadFileMetadata"
              }
            },
            "application/octet-stream": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "multipart/related": {
              "schema": {
                "$ref": "#/components/schemas/Input_UploadFileForm3"
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_UploadFileResponseBody"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "POST /upload/v1beta/files",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "gemini",
            "modelParameter": null,
            "operation": "create_file",
            "requestContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Input_UploadFileMetadata"
                }
              },
              "application/octet-stream": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "multipart/related": {
                "schema": {
                  "$ref": "#/components/schemas/Input_UploadFileForm3"
                }
              }
            },
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_UploadFileResponseBody"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1/.well-known/oauth-authorization-server": {
      "get": {
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_AuthorizationServerMetadata"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_OAuthErrorBody"
                }
              }
            },
            "description": "OAuth error"
          }
        },
        "security": [],
        "summary": "GET /v1/.well-known/oauth-authorization-server",
        "tags": [
          "OAuth"
        ],
        "x-gproxy-section": ""
      }
    },
    "/v1/alpha/search": {
      "post": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_WebSearchRequestBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_WebSearchResponseBody"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "POST /v1/alpha/search",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "web_search",
            "requestContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Input_WebSearchRequestBody"
                }
              }
            },
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_WebSearchResponseBody"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1/audio/speech": {
      "post": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_CreateSpeechRequestBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "content": {
              "application/octet-stream": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "audio/*": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "text/event-stream": {
                "schema": {
                  "type": "string"
                },
                "x-event-schema": {
                  "$ref": "#/components/schemas/Output_SpeechAudioEvent"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "POST /v1/audio/speech",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "create_speech",
            "requestContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Input_CreateSpeechRequestBody"
                }
              }
            },
            "responseContent": {
              "application/octet-stream": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "audio/*": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "text/event-stream": {
                "schema": {
                  "type": "string"
                },
                "x-event-schema": {
                  "$ref": "#/components/schemas/Output_SpeechAudioEvent"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1/audio/transcriptions": {
      "post": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/Input_CreateTranscriptionMultipartForm"
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_TranscriptionJson"
                    },
                    {
                      "$ref": "#/components/schemas/Output_TranscriptionVerbose"
                    },
                    {
                      "$ref": "#/components/schemas/Output_TranscriptionDiarized"
                    }
                  ]
                }
              },
              "application/x-subrip": {
                "schema": {
                  "type": "string"
                }
              },
              "text/event-stream": {
                "schema": {
                  "type": "string"
                },
                "x-event-schema": {
                  "$ref": "#/components/schemas/Output_TranscriptionStreamEvent"
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "text/vtt": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "POST /v1/audio/transcriptions",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "create_transcription",
            "requestContent": {
              "multipart/form-data": {
                "schema": {
                  "$ref": "#/components/schemas/Input_CreateTranscriptionMultipartForm"
                }
              }
            },
            "responseContent": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_TranscriptionJson"
                    },
                    {
                      "$ref": "#/components/schemas/Output_TranscriptionVerbose"
                    },
                    {
                      "$ref": "#/components/schemas/Output_TranscriptionDiarized"
                    }
                  ]
                }
              },
              "application/x-subrip": {
                "schema": {
                  "type": "string"
                }
              },
              "text/event-stream": {
                "schema": {
                  "type": "string"
                },
                "x-event-schema": {
                  "$ref": "#/components/schemas/Output_TranscriptionStreamEvent"
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "text/vtt": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1/audio/translations": {
      "post": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/Input_CreateTranslationMultipartForm"
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_TranslationJson"
                    },
                    {
                      "$ref": "#/components/schemas/Output_TranslationVerbose"
                    }
                  ]
                }
              },
              "application/x-subrip": {
                "schema": {
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "text/vtt": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "POST /v1/audio/translations",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "create_translation",
            "requestContent": {
              "multipart/form-data": {
                "schema": {
                  "$ref": "#/components/schemas/Input_CreateTranslationMultipartForm"
                }
              }
            },
            "responseContent": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_TranslationJson"
                    },
                    {
                      "$ref": "#/components/schemas/Output_TranslationVerbose"
                    }
                  ]
                }
              },
              "application/x-subrip": {
                "schema": {
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "text/vtt": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1/audio/voices": {
      "post": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_CreatePromptVoiceRequestBody"
              }
            },
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/Input_CreateSampleVoiceMultipartForm"
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Voice"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "POST /v1/audio/voices",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "create_voice",
            "requestContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Input_CreatePromptVoiceRequestBody"
                }
              },
              "multipart/form-data": {
                "schema": {
                  "$ref": "#/components/schemas/Input_CreateSampleVoiceMultipartForm"
                }
              }
            },
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Voice"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1/chat/completions": {
      "post": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_GenerateContentRequestBody4"
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_GenerateContentResponseBody4"
                }
              },
              "text/event-stream": {
                "schema": {
                  "type": "string"
                },
                "x-event-schema": {
                  "$ref": "#/components/schemas/Output_ChatCompletionChunk"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "POST /v1/chat/completions",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai_chat",
            "modelParameter": null,
            "operation": "generate_content",
            "requestContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Input_GenerateContentRequestBody4"
                }
              }
            },
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_GenerateContentResponseBody4"
                }
              }
            },
            "streaming": "stream_generate_content",
            "streamingResponseContent": {
              "text/event-stream": {
                "schema": {
                  "type": "string"
                },
                "x-event-schema": {
                  "$ref": "#/components/schemas/Output_ChatCompletionChunk"
                }
              }
            },
            "websocket": false
          }
        ]
      }
    },
    "/v1/conversations": {
      "post": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_CreateConversationRequestBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ConversationResponseBody"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "POST /v1/conversations",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "create_conversation",
            "requestContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Input_CreateConversationRequestBody"
                }
              }
            },
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ConversationResponseBody"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1/decisions": {
      "post": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_CreateDecisionRequestBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_CreateDecisionResponseBody"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "POST /v1/decisions",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "create_decision",
            "requestContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Input_CreateDecisionRequestBody"
                }
              }
            },
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_CreateDecisionResponseBody"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1/embeddings": {
      "post": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_CreateEmbeddingRequestBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_CreateEmbeddingResponseBody"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "POST /v1/embeddings",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "create_embedding",
            "requestContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Input_CreateEmbeddingRequestBody"
                }
              }
            },
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_CreateEmbeddingResponseBody"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1/files": {
      "get": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "format": "int64",
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "order",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Input_FileOrder"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "purpose",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "after_id",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "before_id",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "ids",
            "required": false,
            "schema": {
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "scope_id",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          }
        ],
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_ListFilesResponseBody"
                    },
                    {
                      "$ref": "#/components/schemas/Output_ListFilesResponseBody2"
                    }
                  ]
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "GET /v1/files",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "list_files",
            "requestContent": {},
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ListFilesResponseBody"
                }
              }
            },
            "streaming": null,
            "websocket": false
          },
          {
            "dialect": "claude",
            "modelParameter": null,
            "operation": "list_files",
            "requestContent": {},
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ListFilesResponseBody2"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      },
      "post": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/Input_UploadFileForm"
                  },
                  {
                    "$ref": "#/components/schemas/Input_UploadFileForm2"
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_FileObject"
                    },
                    {
                      "$ref": "#/components/schemas/Output_FileMetadata"
                    }
                  ]
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "POST /v1/files",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "create_file",
            "requestContent": {
              "multipart/form-data": {
                "schema": {
                  "$ref": "#/components/schemas/Input_UploadFileForm"
                }
              }
            },
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_FileObject"
                }
              }
            },
            "streaming": null,
            "websocket": false
          },
          {
            "dialect": "claude",
            "modelParameter": null,
            "operation": "create_file",
            "requestContent": {
              "multipart/form-data": {
                "schema": {
                  "$ref": "#/components/schemas/Input_UploadFileForm2"
                }
              }
            },
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_FileMetadata"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1/files/{id}": {
      "delete": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_DeleteFileResponseBody"
                    },
                    {
                      "$ref": "#/components/schemas/Output_DeleteFileResponseBody2"
                    }
                  ]
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "DELETE /v1/files/{id}",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "delete_file",
            "requestContent": {},
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_DeleteFileResponseBody"
                }
              }
            },
            "streaming": null,
            "websocket": false
          },
          {
            "dialect": "claude",
            "modelParameter": null,
            "operation": "delete_file",
            "requestContent": {},
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_DeleteFileResponseBody2"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      },
      "get": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_FileObject"
                    },
                    {
                      "$ref": "#/components/schemas/Output_FileMetadata"
                    }
                  ]
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "GET /v1/files/{id}",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "retrieve_file",
            "requestContent": {},
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_FileObject"
                }
              }
            },
            "streaming": null,
            "websocket": false
          },
          {
            "dialect": "claude",
            "modelParameter": null,
            "operation": "retrieve_file",
            "requestContent": {},
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_FileMetadata"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1/files/{id}/content": {
      "get": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "content": {
              "application/octet-stream": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "GET /v1/files/{id}/content",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "retrieve_file_content",
            "requestContent": {},
            "responseContent": {
              "application/octet-stream": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "streaming": null,
            "websocket": false
          },
          {
            "dialect": "claude",
            "modelParameter": null,
            "operation": "retrieve_file_content",
            "requestContent": {},
            "responseContent": {
              "application/octet-stream": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1/images/edits": {
      "post": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_EditImageJsonBody"
              }
            },
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/Input_EditImageMultipartForm"
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ImagesResponse"
                }
              },
              "text/event-stream": {
                "schema": {
                  "type": "string"
                },
                "x-event-schema": {
                  "$ref": "#/components/schemas/Output_ImageEditStreamEvent"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "POST /v1/images/edits",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "edit_image",
            "requestContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Input_EditImageJsonBody"
                }
              },
              "multipart/form-data": {
                "schema": {
                  "$ref": "#/components/schemas/Input_EditImageMultipartForm"
                }
              }
            },
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ImagesResponse"
                }
              },
              "text/event-stream": {
                "schema": {
                  "type": "string"
                },
                "x-event-schema": {
                  "$ref": "#/components/schemas/Output_ImageEditStreamEvent"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1/images/generations": {
      "post": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_CreateImageRequestBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ImagesResponse"
                }
              },
              "text/event-stream": {
                "schema": {
                  "type": "string"
                },
                "x-event-schema": {
                  "$ref": "#/components/schemas/Output_ImageGenerationStreamEvent"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "POST /v1/images/generations",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "create_image",
            "requestContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Input_CreateImageRequestBody"
                }
              }
            },
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ImagesResponse"
                }
              },
              "text/event-stream": {
                "schema": {
                  "type": "string"
                },
                "x-event-schema": {
                  "$ref": "#/components/schemas/Output_ImageGenerationStreamEvent"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1/live": {
      "get": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [
          {
            "in": "query",
            "name": "model",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "call_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "101": {
            "description": "WebSocket upgrade"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "GET /v1/live",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "connect_realtime",
            "requestContent": {},
            "responseContent": {},
            "streaming": null,
            "websocket": true,
            "websocketMessages": {
              "clientMessage": {
                "$ref": "#/components/schemas/Input_RealtimeClientEvent"
              },
              "serverMessage": {
                "$ref": "#/components/schemas/Output_RealtimeServerEvent"
              }
            }
          }
        ],
        "x-websocket": {
          "clientMessage": {
            "$ref": "#/components/schemas/Input_RealtimeClientEvent"
          },
          "serverMessage": {
            "$ref": "#/components/schemas/Output_RealtimeServerEvent"
          }
        }
      },
      "post": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/Input_CreateLiveCallMultipartForm"
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "content": {
              "application/sdp": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "POST /v1/live",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "create_realtime_call",
            "requestContent": {
              "multipart/form-data": {
                "schema": {
                  "$ref": "#/components/schemas/Input_CreateLiveCallMultipartForm"
                }
              }
            },
            "responseContent": {
              "application/sdp": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1/live/sessions": {
      "get": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [],
        "responses": {
          "101": {
            "description": "WebSocket upgrade"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "GET /v1/live/sessions",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "connect_live",
            "requestContent": {},
            "responseContent": {},
            "streaming": null,
            "websocket": true,
            "websocketMessages": {
              "clientMessage": {
                "$ref": "#/components/schemas/Input_LiveClientEvent"
              },
              "serverMessage": {
                "$ref": "#/components/schemas/Output_LiveServerEvent"
              }
            }
          }
        ],
        "x-websocket": {
          "clientMessage": {
            "$ref": "#/components/schemas/Input_LiveClientEvent"
          },
          "serverMessage": {
            "$ref": "#/components/schemas/Output_LiveServerEvent"
          }
        }
      },
      "post": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_CreateLiveSessionRequestBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_CreateLiveSessionResponseBody"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "POST /v1/live/sessions",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "create_live_session",
            "requestContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Input_CreateLiveSessionRequestBody"
                }
              }
            },
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_CreateLiveSessionResponseBody"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1/live/sessions/{session_id}/attach": {
      "get": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "101": {
            "description": "WebSocket upgrade"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "GET /v1/live/sessions/{session_id}/attach",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "connect_live",
            "requestContent": {},
            "responseContent": {},
            "streaming": null,
            "websocket": true,
            "websocketMessages": {
              "clientMessage": {
                "$ref": "#/components/schemas/Input_LiveClientEvent"
              },
              "serverMessage": {
                "$ref": "#/components/schemas/Output_LiveServerEvent"
              }
            }
          }
        ],
        "x-websocket": {
          "clientMessage": {
            "$ref": "#/components/schemas/Input_LiveClientEvent"
          },
          "serverMessage": {
            "$ref": "#/components/schemas/Output_LiveServerEvent"
          }
        }
      }
    },
    "/v1/live/sessions/{session_id}/hangup": {
      "post": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response without a body"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "POST /v1/live/sessions/{session_id}/hangup",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "hangup_live_session",
            "requestContent": {},
            "responseContent": {},
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1/live/{call_id}": {
      "get": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [
          {
            "in": "path",
            "name": "call_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "model",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "call_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "101": {
            "description": "WebSocket upgrade"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "GET /v1/live/{call_id}",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "connect_realtime",
            "requestContent": {},
            "responseContent": {},
            "streaming": null,
            "websocket": true,
            "websocketMessages": {
              "clientMessage": {
                "$ref": "#/components/schemas/Input_RealtimeClientEvent"
              },
              "serverMessage": {
                "$ref": "#/components/schemas/Output_RealtimeServerEvent"
              }
            }
          }
        ],
        "x-websocket": {
          "clientMessage": {
            "$ref": "#/components/schemas/Input_RealtimeClientEvent"
          },
          "serverMessage": {
            "$ref": "#/components/schemas/Output_RealtimeServerEvent"
          }
        }
      }
    },
    "/v1/messages": {
      "post": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_GenerateContentRequestBody2"
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_GenerateContentResponseBody2"
                }
              },
              "text/event-stream": {
                "schema": {
                  "type": "string"
                },
                "x-event-schema": {
                  "$ref": "#/components/schemas/Output_StreamEvent2"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "POST /v1/messages",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "claude",
            "modelParameter": null,
            "operation": "generate_content",
            "requestContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Input_GenerateContentRequestBody2"
                }
              }
            },
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_GenerateContentResponseBody2"
                }
              }
            },
            "streaming": "stream_generate_content",
            "streamingResponseContent": {
              "text/event-stream": {
                "schema": {
                  "type": "string"
                },
                "x-event-schema": {
                  "$ref": "#/components/schemas/Output_StreamEvent2"
                }
              }
            },
            "websocket": false
          }
        ]
      }
    },
    "/v1/messages/count_tokens": {
      "post": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_CountTokensRequestBody2"
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_CountTokensResponseBody2"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "POST /v1/messages/count_tokens",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "claude",
            "modelParameter": null,
            "operation": "count_tokens",
            "requestContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Input_CountTokensRequestBody2"
                }
              }
            },
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_CountTokensResponseBody2"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1/models": {
      "get": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "after_id",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "before_id",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "format": "int64",
              "type": [
                "integer",
                "null"
              ]
            }
          }
        ],
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_ListModelsResponseBody"
                    },
                    {
                      "$ref": "#/components/schemas/Output_ListModelsResponseBody2"
                    }
                  ]
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "GET /v1/models",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "list_models",
            "requestContent": {},
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ListModelsResponseBody"
                }
              }
            },
            "streaming": null,
            "websocket": false
          },
          {
            "dialect": "claude",
            "modelParameter": null,
            "operation": "list_models",
            "requestContent": {},
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ListModelsResponseBody2"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1/models/{id}": {
      "get": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Model"
                    },
                    {
                      "$ref": "#/components/schemas/Output_ModelInfo"
                    }
                  ]
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "GET /v1/models/{id}",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": "id",
            "operation": "get_model",
            "requestContent": {},
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Model"
                }
              }
            },
            "streaming": null,
            "websocket": false
          },
          {
            "dialect": "claude",
            "modelParameter": "id",
            "operation": "get_model",
            "requestContent": {},
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ModelInfo"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1/moderations": {
      "post": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_CreateModerationRequestBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_CreateModerationResponseBody"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "POST /v1/moderations",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "create_moderation",
            "requestContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Input_CreateModerationRequestBody"
                }
              }
            },
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_CreateModerationResponseBody"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1/oauth/authorize": {
      "get": {
        "description": "Accept: text/html redirects to consent without authentication. JSON details require a console session or management API key.",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "client_id",
            "required": false,
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "The base64url SHA-256 of the client's verifier (RFC 7636 §4.2).",
            "in": "query",
            "name": "code_challenge",
            "required": false,
            "schema": {
              "default": "",
              "description": "The base64url SHA-256 of the client's verifier (RFC 7636 §4.2).",
              "type": "string"
            }
          },
          {
            "description": "Must be `S256`.",
            "in": "query",
            "name": "code_challenge_method",
            "required": false,
            "schema": {
              "default": "",
              "description": "Must be `S256`.",
              "type": "string"
            }
          },
          {
            "description": "Matched **exactly** against `oauth_clients.redirect_uris`.",
            "in": "query",
            "name": "redirect_uri",
            "required": false,
            "schema": {
              "default": "",
              "description": "Matched **exactly** against `oauth_clients.redirect_uris`.",
              "type": "string"
            }
          },
          {
            "description": "Must be `code`. This issuer has no implicit and no hybrid flow.",
            "in": "query",
            "name": "response_type",
            "required": false,
            "schema": {
              "default": "",
              "description": "Must be `code`. This issuer has no implicit and no hybrid flow.",
              "type": "string"
            }
          },
          {
            "description": "Space-delimited, per RFC 6749 §3.3. Empty asks for no scope.",
            "in": "query",
            "name": "scope",
            "required": false,
            "schema": {
              "default": "",
              "description": "Space-delimited, per RFC 6749 §3.3. Empty asks for no scope.",
              "type": "string"
            }
          },
          {
            "description": "Opaque client value, echoed back untouched on both outcomes. It is the\nclient's CSRF defence and this issuer never interprets it.",
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "default": null,
              "description": "Opaque client value, echoed back untouched on both outcomes. It is the\nclient's CSRF defence and this issuer never interprets it.",
              "type": [
                "string",
                "null"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_AuthorizeDetails"
                }
              }
            },
            "description": "Success"
          },
          "302": {
            "description": "Browser consent handoff",
            "headers": {
              "Location": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_OAuthErrorBody"
                }
              }
            },
            "description": "OAuth error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          },
          {}
        ],
        "summary": "GET /v1/oauth/authorize",
        "tags": [
          "OAuth"
        ],
        "x-gproxy-section": ""
      },
      "post": {
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "client_id",
            "required": false,
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "The base64url SHA-256 of the client's verifier (RFC 7636 §4.2).",
            "in": "query",
            "name": "code_challenge",
            "required": false,
            "schema": {
              "default": "",
              "description": "The base64url SHA-256 of the client's verifier (RFC 7636 §4.2).",
              "type": "string"
            }
          },
          {
            "description": "Must be `S256`.",
            "in": "query",
            "name": "code_challenge_method",
            "required": false,
            "schema": {
              "default": "",
              "description": "Must be `S256`.",
              "type": "string"
            }
          },
          {
            "description": "Matched **exactly** against `oauth_clients.redirect_uris`.",
            "in": "query",
            "name": "redirect_uri",
            "required": false,
            "schema": {
              "default": "",
              "description": "Matched **exactly** against `oauth_clients.redirect_uris`.",
              "type": "string"
            }
          },
          {
            "description": "Must be `code`. This issuer has no implicit and no hybrid flow.",
            "in": "query",
            "name": "response_type",
            "required": false,
            "schema": {
              "default": "",
              "description": "Must be `code`. This issuer has no implicit and no hybrid flow.",
              "type": "string"
            }
          },
          {
            "description": "Space-delimited, per RFC 6749 §3.3. Empty asks for no scope.",
            "in": "query",
            "name": "scope",
            "required": false,
            "schema": {
              "default": "",
              "description": "Space-delimited, per RFC 6749 §3.3. Empty asks for no scope.",
              "type": "string"
            }
          },
          {
            "description": "Opaque client value, echoed back untouched on both outcomes. It is the\nclient's CSRF defence and this issuer never interprets it.",
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "default": null,
              "description": "Opaque client value, echoed back untouched on both outcomes. It is the\nclient's CSRF defence and this issuer never interprets it.",
              "type": [
                "string",
                "null"
              ]
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_DecisionBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "location": {
                      "type": "string"
                    },
                    "outcome": {
                      "$ref": "#/components/schemas/Output_AuthorizeOutcome"
                    }
                  },
                  "required": [
                    "location",
                    "outcome"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_OAuthErrorBody"
                }
              }
            },
            "description": "OAuth error"
          }
        },
        "security": [
          {
            "consoleSession": []
          },
          {
            "bearer": []
          },
          {
            "anthropicKey": []
          },
          {
            "googleKey": []
          }
        ],
        "summary": "POST /v1/oauth/authorize",
        "tags": [
          "OAuth"
        ],
        "x-gproxy-section": ""
      }
    },
    "/v1/oauth/device/code": {
      "post": {
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_DeviceCodeRequest"
              }
            },
            "application/x-www-form-urlencoded": {
              "schema": {
                "$ref": "#/components/schemas/Input_DeviceCodeRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_DeviceCodeResponse"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_OAuthErrorBody"
                }
              }
            },
            "description": "OAuth error"
          }
        },
        "security": [],
        "summary": "POST /v1/oauth/device/code",
        "tags": [
          "OAuth"
        ],
        "x-gproxy-section": ""
      }
    },
    "/v1/oauth/metadata": {
      "get": {
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_AuthorizationServerMetadata"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_OAuthErrorBody"
                }
              }
            },
            "description": "OAuth error"
          }
        },
        "security": [],
        "summary": "GET /v1/oauth/metadata",
        "tags": [
          "OAuth"
        ],
        "x-gproxy-section": ""
      }
    },
    "/v1/oauth/revoke": {
      "post": {
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_RevokeRequest"
              }
            },
            "application/x-www-form-urlencoded": {
              "schema": {
                "$ref": "#/components/schemas/Input_RevokeRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "revoked": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "revoked"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_OAuthErrorBody"
                }
              }
            },
            "description": "OAuth error"
          }
        },
        "security": [],
        "summary": "POST /v1/oauth/revoke",
        "tags": [
          "OAuth"
        ],
        "x-gproxy-section": ""
      }
    },
    "/v1/oauth/token": {
      "post": {
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_TokenRequest"
              }
            },
            "application/x-www-form-urlencoded": {
              "schema": {
                "$ref": "#/components/schemas/Input_TokenRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_TokenResponse"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_OAuthErrorBody"
                }
              }
            },
            "description": "OAuth error"
          }
        },
        "security": [],
        "summary": "POST /v1/oauth/token",
        "tags": [
          "OAuth"
        ],
        "x-gproxy-section": ""
      }
    },
    "/v1/realtime": {
      "get": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [
          {
            "in": "query",
            "name": "model",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "call_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "101": {
            "description": "WebSocket upgrade"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "GET /v1/realtime",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "connect_realtime",
            "requestContent": {},
            "responseContent": {},
            "streaming": null,
            "websocket": true,
            "websocketMessages": {
              "clientMessage": {
                "$ref": "#/components/schemas/Input_RealtimeClientEvent"
              },
              "serverMessage": {
                "$ref": "#/components/schemas/Output_RealtimeServerEvent"
              }
            }
          }
        ],
        "x-websocket": {
          "clientMessage": {
            "$ref": "#/components/schemas/Input_RealtimeClientEvent"
          },
          "serverMessage": {
            "$ref": "#/components/schemas/Output_RealtimeServerEvent"
          }
        }
      }
    },
    "/v1/realtime/calls": {
      "post": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/Input_CreateRealtimeCallMultipartForm"
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "content": {
              "application/sdp": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "POST /v1/realtime/calls",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "create_realtime_call",
            "requestContent": {
              "multipart/form-data": {
                "schema": {
                  "$ref": "#/components/schemas/Input_CreateRealtimeCallMultipartForm"
                }
              }
            },
            "responseContent": {
              "application/sdp": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1/realtime/calls/{call_id}/hangup": {
      "post": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [
          {
            "in": "path",
            "name": "call_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response without a body"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "POST /v1/realtime/calls/{call_id}/hangup",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "hangup_realtime_call",
            "requestContent": {},
            "responseContent": {},
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1/realtime/client_secrets": {
      "post": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_CreateRealtimeClientSecretRequestBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_CreateRealtimeClientSecretResponseBody"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "POST /v1/realtime/client_secrets",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "create_realtime_client_secret",
            "requestContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Input_CreateRealtimeClientSecretRequestBody"
                }
              }
            },
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_CreateRealtimeClientSecretResponseBody"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1/rerank": {
      "post": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_RerankRequestBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_RerankResponseBody"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "POST /v1/rerank",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "rerank",
            "requestContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Input_RerankRequestBody"
                }
              }
            },
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_RerankResponseBody"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1/responses": {
      "get": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [],
        "responses": {
          "101": {
            "description": "WebSocket upgrade"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "GET /v1/responses",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai_responses_websocket",
            "modelParameter": null,
            "operation": "generate_content",
            "requestContent": {},
            "responseContent": {},
            "streaming": null,
            "websocket": true,
            "websocketMessages": {
              "clientMessage": {
                "$ref": "#/components/schemas/Input_RequestMessage"
              },
              "serverMessage": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/Output_ServerMessage"
                  },
                  {
                    "$ref": "#/components/schemas/Output_ErrorMessage"
                  }
                ]
              }
            }
          }
        ],
        "x-websocket": {
          "clientMessage": {
            "$ref": "#/components/schemas/Input_RequestMessage"
          },
          "serverMessage": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Output_ServerMessage"
              },
              {
                "$ref": "#/components/schemas/Output_ErrorMessage"
              }
            ]
          }
        }
      },
      "post": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_GenerateContentRequestBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_GenerateContentResponseBody"
                }
              },
              "text/event-stream": {
                "schema": {
                  "type": "string"
                },
                "x-event-schema": {
                  "$ref": "#/components/schemas/Output_StreamEvent"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "POST /v1/responses",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "generate_content",
            "requestContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Input_GenerateContentRequestBody"
                }
              }
            },
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_GenerateContentResponseBody"
                }
              }
            },
            "streaming": "stream_generate_content",
            "streamingResponseContent": {
              "text/event-stream": {
                "schema": {
                  "type": "string"
                },
                "x-event-schema": {
                  "$ref": "#/components/schemas/Output_StreamEvent"
                }
              }
            },
            "websocket": false
          }
        ]
      }
    },
    "/v1/responses/compact": {
      "post": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_CompactRequestBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_CompactResponseBody"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "POST /v1/responses/compact",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "compact_content",
            "requestContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Input_CompactRequestBody"
                }
              }
            },
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_CompactResponseBody"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1/responses/input_tokens": {
      "post": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_CountTokensRequestBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_CountTokensResponseBody"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "POST /v1/responses/input_tokens",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "count_tokens",
            "requestContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Input_CountTokensRequestBody"
                }
              }
            },
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_CountTokensResponseBody"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1/search": {
      "post": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_WebSearchRequestBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_WebSearchResponseBody"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "POST /v1/search",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "web_search",
            "requestContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Input_WebSearchRequestBody"
                }
              }
            },
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_WebSearchResponseBody"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1/videos": {
      "get": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "format": "int64",
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "order",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Input_NativeVideoListOrder"
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        ],
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_NativeListVideosResponseBody"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "GET /v1/videos",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "list_videos",
            "requestContent": {},
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_NativeListVideosResponseBody"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      },
      "post": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_NativeCreateVideoRequestBody"
              }
            },
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/Input_NativeCreateVideoMultipartForm"
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_NativeVideo"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "POST /v1/videos",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "create_video",
            "requestContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Input_NativeCreateVideoRequestBody"
                }
              },
              "multipart/form-data": {
                "schema": {
                  "$ref": "#/components/schemas/Input_NativeCreateVideoMultipartForm"
                }
              }
            },
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_NativeVideo"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1/videos/{id}": {
      "delete": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_NativeDeleteVideoResponseBody"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "DELETE /v1/videos/{id}",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "delete_video",
            "requestContent": {},
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_NativeDeleteVideoResponseBody"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      },
      "get": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_NativeVideo"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "GET /v1/videos/{id}",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "retrieve_video",
            "requestContent": {},
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_NativeVideo"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1/videos/{id}/content": {
      "get": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "variant",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Input_NativeVideoDownloadVariant"
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        ],
        "responses": {
          "2XX": {
            "content": {
              "application/octet-stream": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "GET /v1/videos/{id}/content",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "download_video_content",
            "requestContent": {},
            "responseContent": {
              "application/octet-stream": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1beta/files": {
      "get": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "pageSize",
            "required": false,
            "schema": {
              "format": "int32",
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "pageToken",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          }
        ],
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ListFilesResponseBody3"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "GET /v1beta/files",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "gemini",
            "modelParameter": null,
            "operation": "list_files",
            "requestContent": {},
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ListFilesResponseBody3"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      },
      "post": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_UploadFileMetadata"
              }
            },
            "application/octet-stream": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "multipart/related": {
              "schema": {
                "$ref": "#/components/schemas/Input_UploadFileForm3"
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_UploadFileResponseBody"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "POST /v1beta/files",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "gemini",
            "modelParameter": null,
            "operation": "create_file",
            "requestContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Input_UploadFileMetadata"
                }
              },
              "application/octet-stream": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "multipart/related": {
                "schema": {
                  "$ref": "#/components/schemas/Input_UploadFileForm3"
                }
              }
            },
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_UploadFileResponseBody"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1beta/files/{id}": {
      "delete": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_DeleteFileResponseBody3"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "DELETE /v1beta/files/{id}",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "gemini",
            "modelParameter": null,
            "operation": "delete_file",
            "requestContent": {},
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_DeleteFileResponseBody3"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      },
      "get": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_File"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "GET /v1beta/files/{id}",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "gemini",
            "modelParameter": null,
            "operation": "retrieve_file",
            "requestContent": {},
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_File"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1beta/files/{id}:download": {
      "get": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "content": {
              "application/octet-stream": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "GET /v1beta/files/{id}:download",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "gemini",
            "modelParameter": null,
            "operation": "retrieve_file_content",
            "requestContent": {},
            "responseContent": {
              "application/octet-stream": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1beta/models": {
      "get": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "pageSize",
            "required": false,
            "schema": {
              "format": "int64",
              "type": [
                "integer",
                "null"
              ]
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "pageToken",
            "required": false,
            "schema": {
              "type": [
                "string",
                "null"
              ]
            }
          }
        ],
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ListModelsResponseBody3"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "GET /v1beta/models",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "gemini",
            "modelParameter": null,
            "operation": "list_models",
            "requestContent": {},
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_ListModelsResponseBody3"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1beta/models/{id}": {
      "get": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Model2"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "GET /v1beta/models/{id}",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "gemini",
            "modelParameter": "id",
            "operation": "get_model",
            "requestContent": {},
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_Model2"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1beta/models/{model}:batchEmbedContents": {
      "post": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [
          {
            "in": "path",
            "name": "model",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_BatchEmbedContentsRequestBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_BatchEmbedContentsResponseBody"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "POST /v1beta/models/{model}:batchEmbedContents",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "gemini",
            "modelParameter": "model",
            "operation": "batch_create_embedding",
            "requestContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Input_BatchEmbedContentsRequestBody"
                }
              }
            },
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_BatchEmbedContentsResponseBody"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1beta/models/{model}:countTokens": {
      "post": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [
          {
            "in": "path",
            "name": "model",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_CountTokensRequestBody3"
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_CountTokensResponseBody3"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "POST /v1beta/models/{model}:countTokens",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "gemini",
            "modelParameter": "model",
            "operation": "count_tokens",
            "requestContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Input_CountTokensRequestBody3"
                }
              }
            },
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_CountTokensResponseBody3"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1beta/models/{model}:embedContent": {
      "post": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [
          {
            "in": "path",
            "name": "model",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_EmbedContentRequestBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_EmbedContentResponseBody"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "POST /v1beta/models/{model}:embedContent",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "gemini",
            "modelParameter": "model",
            "operation": "create_embedding",
            "requestContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Input_EmbedContentRequestBody"
                }
              }
            },
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_EmbedContentResponseBody"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1beta/models/{model}:generateContent": {
      "post": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [
          {
            "in": "path",
            "name": "model",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_GenerateContentRequestBody3"
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_GenerateContentResponseBody3"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "POST /v1beta/models/{model}:generateContent",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "gemini",
            "modelParameter": "model",
            "operation": "generate_content",
            "requestContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Input_GenerateContentRequestBody3"
                }
              }
            },
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_GenerateContentResponseBody3"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/v1beta/models/{model}:streamGenerateContent": {
      "post": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [
          {
            "in": "path",
            "name": "model",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "alt",
            "required": false,
            "schema": {
              "enum": [
                "sse",
                "json"
              ],
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_GenerateContentRequestBody3"
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Output_GenerateContentResponseBody3"
                  },
                  "type": "array"
                }
              },
              "text/event-stream": {
                "schema": {
                  "type": "string"
                },
                "x-event-schema": {
                  "$ref": "#/components/schemas/Output_GenerateContentResponseBody3"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "POST /v1beta/models/{model}:streamGenerateContent",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "gemini",
            "modelParameter": "model",
            "operation": "stream_generate_content",
            "requestContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Input_GenerateContentRequestBody3"
                }
              }
            },
            "responseContent": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Output_GenerateContentResponseBody3"
                  },
                  "type": "array"
                }
              },
              "text/event-stream": {
                "schema": {
                  "type": "string"
                },
                "x-event-schema": {
                  "$ref": "#/components/schemas/Output_GenerateContentResponseBody3"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    },
    "/ws/v1beta/BidiGenerateContent": {
      "get": {
        "description": "Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.",
        "parameters": [],
        "responses": {
          "101": {
            "description": "WebSocket upgrade"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "GET /ws/v1beta/BidiGenerateContent",
        "tags": [
          "Forwarding"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "gemini",
            "modelParameter": null,
            "operation": "connect_realtime",
            "requestContent": {},
            "responseContent": {},
            "streaming": null,
            "websocket": true,
            "websocketMessages": {
              "clientMessage": {
                "$ref": "#/components/schemas/Input_LiveClientMessage"
              },
              "serverMessage": {
                "$ref": "#/components/schemas/Output_LiveServerMessage"
              }
            }
          }
        ],
        "x-websocket": {
          "clientMessage": {
            "$ref": "#/components/schemas/Input_LiveClientMessage"
          },
          "serverMessage": {
            "$ref": "#/components/schemas/Output_LiveServerMessage"
          }
        }
      }
    },
    "/{provider}/v1/memories/trace_summarize": {
      "post": {
        "description": "Only available on a Codex provider mount. The provider parameter is the configured provider name.",
        "parameters": [
          {
            "in": "path",
            "name": "provider",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_MemorySummarizeRequestBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_MemorySummarizeResponseBody"
                }
              }
            },
            "description": "Successful protocol response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Output_Envelope"
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_ErrorDetail"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Output_ErrorEvent"
                        },
                        {
                          "properties": {
                            "type": {
                              "const": "error"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "properties": {
                        "error": {
                          "$ref": "#/components/schemas/Output_GenerateContentError"
                        }
                      },
                      "required": [
                        "error"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Gateway or upstream error"
          }
        },
        "summary": "POST /{provider}/v1/memories/trace_summarize",
        "tags": [
          "Codex provider"
        ],
        "x-gproxy-routes": [
          {
            "dialect": "openai",
            "modelParameter": null,
            "operation": "summarize_memory",
            "requestContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Input_MemorySummarizeRequestBody"
                }
              }
            },
            "responseContent": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Output_MemorySummarizeResponseBody"
                }
              }
            },
            "streaming": null,
            "websocket": false
          }
        ]
      }
    }
  },
  "security": [
    {
      "bearer": []
    },
    {
      "anthropicKey": []
    },
    {
      "googleKey": []
    },
    {
      "queryKey": []
    }
  ]
}
