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

# Proxy Request

> Make an authenticated HTTP request through a native toolkit's API. The system injects the connection's credentials automatically.



## OpenAPI

````yaml POST /proxy/tools/proxy
openapi: 3.1.0
info:
  title: Kylon Tools API
  description: >-
    Kylon Tools API for searching, authenticating, inspecting, executing,
    proxying, and uploading files for connected tools.
  version: 1.0.0
servers:
  - url: https://api.kylon.io
    description: Production
security:
  - apiKey: []
paths:
  /proxy/tools/proxy:
    post:
      tags:
        - Execution
      summary: Proxy request
      description: >-
        Make an authenticated HTTP request through a native toolkit's API. The
        system injects the connection's credentials automatically.
      operationId: proxyRequest
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                toolkit:
                  type: string
                  description: Toolkit slug.
                method:
                  type: string
                  enum:
                    - GET
                    - POST
                    - PUT
                    - PATCH
                    - DELETE
                  description: HTTP method.
                url:
                  type: string
                  description: >-
                    Full URL to request. Must match the toolkit's registered
                    base URL.
                headers:
                  type: object
                  additionalProperties:
                    type: string
                  description: Additional HTTP headers.
                body:
                  description: Request body (for POST/PUT/PATCH).
                connection_id:
                  type: string
                  description: Which connection to use.
              required:
                - toolkit
                - method
                - url
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExecutionResult'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  schemas:
    ExecutionResult:
      type: object
      properties:
        data:
          description: Tool execution result data.
        error:
          type:
            - string
            - 'null'
          description: Error message if execution failed.
        successful:
          type: boolean
      required:
        - data
        - error
        - successful
    Error:
      type: object
      properties:
        error:
          type: string
      required:
        - error
  responses:
    BadRequest:
      description: Bad request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Unauthorized - invalid or missing API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        API key for authentication. Can also be passed as `Authorization: Bearer
        <token>`.

````