> ## Documentation Index
> Fetch the complete documentation index at: https://gproxy.leenhawk.com/llms.txt
> Use this file to discover all available pages before exploring further.

# POST /alpha/search

> 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.



## OpenAPI

````yaml /generated/openapi.json post /alpha/search
openapi: 3.1.0
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.2.1
servers: []
security:
  - bearer: []
  - anthropicKey: []
  - googleKey: []
  - queryKey: []
paths:
  /alpha/search:
    post:
      tags:
        - Forwarding
      summary: POST /alpha/search
      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
components:
  schemas:
    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
    Output_WebSearchResponseBody:
      additionalProperties: true
      properties:
        encrypted_output:
          type:
            - string
            - 'null'
        output:
          type: string
        results:
          items: true
          type:
            - array
            - 'null'
      required:
        - output
      type: object
    Output_Envelope:
      properties:
        error:
          $ref: '#/components/schemas/Output_EnvelopeBody'
      required:
        - error
      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_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
    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'
        literature_search_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_SearchInput:
      anyOf:
        - type: string
        - items:
            $ref: '#/components/schemas/Input_ClientResponseItem'
          type: array
    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_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
    Output_EnvelopeBody:
      properties:
        code:
          type: string
        message:
          type: string
      required:
        - code
        - message
      type: object
    Output_StreamError:
      additionalProperties: true
      properties:
        message:
          type: string
        type:
          $ref: '#/components/schemas/Output_StreamErrorType'
      required:
        - type
        - message
      type: object
    Input_ClickOperation:
      additionalProperties: true
      properties:
        id:
          format: uint64
          minimum: 0
          type: integer
        ref_id:
          type: string
      required:
        - ref_id
        - id
      type: object
    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_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_OpenOperation:
      additionalProperties: true
      properties:
        lineno:
          format: uint64
          minimum: 0
          type:
            - integer
            - 'null'
        ref_id:
          type: string
      required:
        - ref_id
      type: object
    Input_SearchResponseLength:
      enum:
        - short
        - medium
        - long
      type: string
    Input_ScreenshotOperation:
      additionalProperties: true
      properties:
        pageno:
          format: uint64
          minimum: 0
          type: integer
        ref_id:
          type: string
      required:
        - ref_id
        - pageno
      type: object
    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_TimeOperation:
      additionalProperties: true
      properties:
        utc_offset:
          type: string
      required:
        - utc_offset
      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_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_ReasoningContext2:
      enum:
        - auto
        - current_turn
        - all_turns
      type: string
    Input_ReasoningSummary2:
      enum:
        - auto
        - concise
        - detailed
        - none
      type: string
    Input_AllowedCaller3:
      enum:
        - direct
        - shell
        - code_interpreter
      type: string
    Input_ExternalWebAccess:
      anyOf:
        - type: boolean
        - $ref: '#/components/schemas/Input_ExternalWebAccessMode'
    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_SearchContextSize3:
      enum:
        - low
        - medium
        - high
      type: string
    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
    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
    Input_FinanceAssetType:
      enum:
        - equity
        - fund
        - crypto
        - index
      type: string
    Input_SportsFunction:
      enum:
        - schedule
        - standings
      type: string
    Input_SportsLeague:
      enum:
        - nba
        - wnba
        - nfl
        - nhl
        - mlb
        - epl
        - ncaamb
        - ncaawb
        - ipl
      type: string
    Input_SportsToolName:
      enum:
        - sports
      type: string
    Input_ClientAdditionalTools:
      additionalProperties: true
      properties:
        id:
          type:
            - string
            - 'null'
        role:
          type: string
        tools:
          items: true
          type: array
      required:
        - role
        - tools
      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_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_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_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_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_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_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_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_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_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_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_ClientConfigurationUpdate:
      additionalProperties: true
      properties:
        reasoning:
          $ref: '#/components/schemas/Input_ConfigurationReasoning2'
      required:
        - reasoning
      type: object
    Input_ClientCompactionTrigger:
      additionalProperties: true
      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_ResponseItemOther:
      additionalProperties: true
      type: object
    Input_ExternalWebAccessMode:
      enum:
        - cached
        - indexed
        - live
      type: string
    Input_LocationType:
      enum:
        - approximate
      type: string
    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_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_MessagePhase2:
      enum:
        - commentary
        - final_answer
      type: string
    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_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_ReasoningItemReasoningSummary:
      oneOf:
        - $ref: '#/components/schemas/Input_ReasoningItemReasoningSummarySummaryText'
          properties:
            type:
              const: summary_text
              type: string
          required:
            - type
          type: object
    Input_LocalShellAction2:
      oneOf:
        - $ref: '#/components/schemas/Input_LocalShellExecAction'
          properties:
            type:
              const: exec
              type: string
          required:
            - type
          type: object
    Input_LocalShellStatus:
      enum:
        - completed
        - in_progress
        - incomplete
      type: string
    Input_FunctionCallOutputBody:
      anyOf:
        - type: string
        - items:
            $ref: '#/components/schemas/Input_FunctionCallOutputContentItem'
          type: array
    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_ConfigurationReasoning2:
      additionalProperties: true
      properties:
        effort:
          type: string
      required:
        - effort
      type: object
    Input_ContentItemInputText:
      additionalProperties: true
      properties:
        text:
          type: string
      required:
        - text
      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_ContentItemInputAudio:
      anyOf:
        - properties:
            audio_url:
              type: string
          required:
            - audio_url
          type: object
        - properties:
            file_id:
              type: string
          required:
            - file_id
          type: object
      description: Audio input supplied inline or by uploaded file ID.
      type: object
      unevaluatedProperties: true
    Input_ContentItemOutputText:
      additionalProperties: true
      properties:
        text:
          type: string
      required:
        - text
      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_AgentMessageInputContentInputText:
      additionalProperties: true
      properties:
        text:
          type: string
      required:
        - text
      type: object
    Input_AgentMessageInputContentEncryptedContent:
      additionalProperties: true
      properties:
        encrypted_content:
          type: string
      required:
        - encrypted_content
      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_ReasoningItemReasoningSummarySummaryText:
      additionalProperties: true
      properties:
        text:
          type: string
      required:
        - text
      type: object
    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_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_WebSearchActionSearch:
      additionalProperties: true
      properties:
        queries:
          items:
            type: string
          type:
            - array
            - 'null'
        query:
          type:
            - string
            - 'null'
      type: object
    Input_WebSearchActionOpenPage:
      additionalProperties: true
      properties:
        url:
          type:
            - string
            - 'null'
      type: object
    Input_WebSearchActionFindInPage:
      additionalProperties: true
      properties:
        pattern:
          type:
            - string
            - 'null'
        url:
          type:
            - string
            - 'null'
      type: object
    Input_WebSearchActionOther:
      additionalProperties: true
      type: object
    Input_ImageDetail3:
      enum:
        - auto
        - low
        - high
        - original
      type: string
    Input_ToolResultSources:
      anyOf:
        - items:
            $ref: '#/components/schemas/Input_ToolResultSource'
          type: array
        - $ref: '#/components/schemas/Input_ParseFailed'
    Input_FunctionCallOutputContentItemInputText:
      additionalProperties: true
      properties:
        text:
          type: string
      required:
        - text
      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_FunctionCallOutputContentItemInputAudio:
      additionalProperties: true
      properties:
        audio_url:
          type: string
      required:
        - audio_url
      type: object
    Input_FunctionCallOutputContentItemEncryptedContent:
      additionalProperties: true
      properties:
        encrypted_content:
          type: string
      required:
        - encrypted_content
      type: object
    Input_ToolResultSource:
      additionalProperties: true
      properties:
        id:
          type: string
        type:
          type: string
      required:
        - type
        - id
      type: object
    Input_ParseFailed:
      enum:
        - parse_failed
      type: string
  securitySchemes:
    bearer:
      scheme: bearer
      type: http
    anthropicKey:
      in: header
      name: x-api-key
      type: apiKey
    googleKey:
      in: header
      name: x-goog-api-key
      type: apiKey
    queryKey:
      in: query
      name: key
      type: apiKey

````

## Related topics

- [POST /v1/alpha/search](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1alphasearch.md)
- [POST /v1/search](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1search.md)
- [Routing & Endpoints](https://gproxy.leenhawk.com/reference/routing-table.md)
- [POST /v1/oauth/revoke](https://gproxy.leenhawk.com/api-reference/oauth/post-v1oauthrevoke.md)
- [POST /v1/messages](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1messages.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.