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

# Fusion

> Ask two or three distinct chat models and return their answers plus a synthesis in one non-streaming response. Accepts organization API keys or CLI inference OAuth credentials; an active paid Fusion entitlement is required. Each participant and the synthesis are billed independently and enforce credential spend caps. HTTP 200 can contain complete, partial, or failed status; inspect per-model errors. All-Confidential sets are supported, but mixed Confidential sets, Encrypted requests, and function tools are rejected. Browser sessions retain CSRF protection.

See the [guide](/api/api-reference/chat-and-text/chat-fusion) for authentication, examples, and usage rules.


## OpenAPI

````yaml openapi.json POST /api/v1/chat/fusion
openapi: 3.1.0
info:
  contact:
    email: developers@trynito.ai
    name: Nito Developer Support
    url: https://docs.trynito.ai/support
  description: >-
    Nito developer API: inference, Fusion, model catalog, attestation, web
    retrieval, document parsing, API key management, balance, rate-limit
    snapshots, and MCP.
  termsOfService: https://trynito.ai/terms
  title: Nito API
  version: '2026-07-01'
servers:
  - description: Configured gateway
    url: https://app.trynito.ai
security: []
tags:
  - description: >-
      OpenAI Chat Completions-compatible inference routes backed by gateway
      routing, billing, privacy, and streaming controls.
    name: Chat
  - description: >-
      Stateless OpenAI Responses-compatible shims for agent clients, including
      the compact output-item endpoint used by standalone compaction flows.
    name: Responses
  - description: >-
      Anthropic Messages-compatible request, response, token-count, and
      streaming surfaces mapped into canonical gateway contracts.
    name: Messages
  - description: >-
      Model discovery and browser model-picker metadata for safe logical model
      selection.
    name: Models
  - description: >-
      Request-local Attestation metadata for supported Attestable models in the
      Confidential and Encrypted tiers.
    name: Attestation
  - description: >-
      Streamable HTTP MCP transport documented with resource-bound bearer-token
      authentication.
    name: MCP
  - description: >-
      Standalone, credential-authenticated web search and fetch without an
      inference model.
    name: Web
  - description: >-
      OAuth-authorized organization API key administration with explicit consent
      and current owner/admin authorization.
    name: API Keys
  - description: >-
      Browser billing, usage, referral, balance, auto top-up, and x402 funding
      surfaces using integer nanos.
    name: Billing
externalDocs:
  description: Nito developer documentation
  url: https://docs.trynito.ai/nito
paths:
  /api/v1/chat/fusion:
    post:
      tags:
        - Chat
      summary: Create a Fusion completion
      description: >-
        Ask two or three distinct chat models and return their answers plus a
        synthesis in one non-streaming response. Accepts organization API keys
        or CLI inference OAuth credentials; an active paid Fusion entitlement is
        required. Each participant and the synthesis are billed independently
        and enforce credential spend caps. HTTP 200 can contain complete,
        partial, or failed status; inspect per-model errors. All-Confidential
        sets are supported, but mixed Confidential sets, Encrypted requests, and
        function tools are rejected. Browser sessions retain CSRF protection.
      operationId: createChatFusionCompletion
      requestBody:
        content:
          application/json:
            example:
              messages:
                - content: Compare the options briefly.
                  role: user
              models:
                - openai/gpt-5.5
                - anthropic/claude-sonnet-4
            schema:
              $ref: '#/components/schemas/FusionRequest'
          multipart/form-data:
            example:
              request: >-
                {"models":["openai/gpt-5.5","anthropic/claude-sonnet-4"],"messages":[{"role":"user","content":"Compare
                the options briefly."}]}
            schema:
              $ref: '#/components/schemas/FusionMultipartRequest'
        description: >-
          Request payload for `createChatFusionCompletion`. Examples use
          placeholder-safe values and do not include real secrets or private
          prompt content.
        required: true
      responses:
        '200':
          content:
            application/json:
              example:
                created: 1778268600
                judge: openai/gpt-5.5
                models:
                  - finish_reason: stop
                    id: openai/gpt-5.5
                    latency_ms: 800
                    model: openai/gpt-5.5
                    output: Option A is concise.
                    prompt_tokens: 12
                    tokens: 6
                  - finish_reason: stop
                    id: anthropic/claude-sonnet-4
                    latency_ms: 950
                    model: anthropic/claude-sonnet-4
                    output: Option B allows more flexibility.
                    prompt_tokens: 14
                    tokens: 8
                object: fusion.completion
                status: complete
                synthesis: Both options are viable.
                synthesis_prompt_tokens: 30
                synthesis_tokens: 12
              schema:
                $ref: '#/components/schemas/FusionResponse'
          description: OK
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/RateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/RateLimitRemaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/RateLimitReset'
        '400':
          content:
            application/json:
              example:
                error:
                  code: invalid_request
                  message: The request is invalid.
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Invalid request
        '401':
          content:
            application/json:
              example:
                error:
                  code: unauthorized
                  message: authentication required
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Authentication required
        '402':
          content:
            application/json:
              example:
                error:
                  code: payment_required
                  message: >-
                    billing credits or an active subscription are required for
                    this request
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Payment required
        '403':
          content:
            application/json:
              example:
                error:
                  code: forbidden
                  message: credential is not authorized for this operation
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '429':
          content:
            application/json:
              examples:
                insufficient_quota:
                  summary: Billing balance or free-tier quota exhausted
                  value:
                    error:
                      code: insufficient_quota
                      message: insufficient billing balance
                rate_limited:
                  summary: Gateway or provider rate limit exceeded
                  value:
                    error:
                      code: rate_limited
                      message: rate limited
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Rate limited or insufficient quota
          headers:
            Retry-After:
              description: >-
                Seconds to wait before retrying when the gateway can compute a
                retry window.
              example: '60'
              schema:
                type: string
            X-RateLimit-Limit:
              $ref: '#/components/headers/RateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/RateLimitRemaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/RateLimitReset'
        '500':
          content:
            application/json:
              example:
                error:
                  code: internal_error
                  message: internal error
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal server error
        '503':
          content:
            application/json:
              example:
                error:
                  code: unavailable
                  message: service unavailable
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Service unavailable
      security:
        - PublicApiBearer: []
        - PublicApiKeyHeader: []
        - CliOAuthBearer: []
components:
  schemas:
    FusionRequest:
      additionalProperties: false
      description: >-
        Schema for `FusionRequest` values returned by or accepted by the Nito
        gateway.
      example:
        messages:
          - content: Compare the options briefly.
            role: user
        models:
          - openai/gpt-5.5
          - anthropic/claude-sonnet-4
      properties:
        max_tokens:
          description: The `max_tokens` field on `FusionRequest`.
          example: 12
          type: integer
        messages:
          description: The `messages` field on `FusionRequest`.
          example: []
          items:
            description: >-
              Nested schema within `FusionRequest` for
              `FusionRequest.messages.items`.
            oneOf:
              - additionalProperties: false
                description: >-
                  Nested schema within `FusionRequest` for
                  `FusionRequest.messages.items.oneOf[0]`.
                properties:
                  content:
                    description: The `content` field on `FusionRequest`.
                    example: Say hello.
                    oneOf:
                      - description: >-
                          Nested schema within `FusionRequest` for
                          `FusionRequest.messages.items.oneOf[0].content.oneOf[0]`.
                        type: string
                      - description: >-
                          Nested schema within `FusionRequest` for
                          `FusionRequest.messages.items.oneOf[0].content.oneOf[1]`.
                        items:
                          description: >-
                            Nested schema within `FusionRequest` for
                            `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items`.
                          oneOf:
                            - additionalProperties: false
                              description: >-
                                Nested schema within `FusionRequest` for
                                `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[0]`.
                              properties:
                                cache_control:
                                  additionalProperties: true
                                  description: >-
                                    The `cache_control` field on
                                    `FusionRequest`.
                                  example: {}
                                  type: object
                                text:
                                  description: The `text` field on `FusionRequest`.
                                  example: Say hello.
                                  pattern: .*\S.*
                                  type: string
                                type:
                                  const: text
                                  description: The `type` field on `FusionRequest`.
                                  example: text
                                  type: string
                              required:
                                - type
                                - text
                              type: object
                            - additionalProperties: false
                              anyOf:
                                - description: >-
                                    Nested schema within `FusionRequest` for
                                    `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[1].anyOf[0]`.
                                  properties:
                                    image_url:
                                      description: >-
                                        The `image_url` field on
                                        `FusionRequest`.
                                      example: https://example.com/callback
                                      properties:
                                        url:
                                          description: The `url` field on `FusionRequest`.
                                          example: https://example.com/callback
                                          oneOf:
                                            - description: >-
                                                Nested schema within `FusionRequest` for
                                                `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[1].anyOf[0].image_url.url.oneOf[0]`.
                                              pattern: >-
                                                ^[Dd][Aa][Tt][Aa]:image/[A-Za-z0-9.+-]+(?:;[^\s,;=]+=[^\s,;]+)*;[Bb][Aa][Ss][Ee]64,[A-Za-z0-9+/=_-]+$
                                              type: string
                                            - description: >-
                                                Nested schema within `FusionRequest` for
                                                `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[1].anyOf[0].image_url.url.oneOf[1]`.
                                              pattern: >-
                                                ^[Hh][Tt][Tt][Pp][Ss]://(?!(?:[Ll][Oo][Cc][Aa][Ll][Hh][Oo][Ss][Tt]|[Ii][Pp]6-[Ll][Oo][Cc][Aa][Ll][Hh][Oo][Ss][Tt]|[Ii][Pp]6-[Ll][Oo][Oo][Pp][Bb][Aa][Cc][Kk]|[Mm][Ee][Tt][Aa][Dd][Aa][Tt][Aa]\.[Gg][Oo][Oo][Gg][Ll][Ee]\.[Ii][Nn][Tt][Ee][Rr][Nn][Aa][Ll]|[Mm][Ee][Tt][Aa][Dd][Aa][Tt][Aa]\.[Gg][Oo][Oo][Gg])(?::[0-9]+)?(?:[/?#]|$))(?!(?:0|10|127|22[4-9]|23[0-9])(?:\.[0-9]{1,3}){3}(?::[0-9]+)?(?:[/?#]|$))(?!(?:169\.254|192\.168)(?:\.[0-9]{1,3}){2}(?::[0-9]+)?(?:[/?#]|$))(?!(?:172\.(?:1[6-9]|2[0-9]|3[0-1]))(?:\.[0-9]{1,3}){2}(?::[0-9]+)?(?:[/?#]|$))(?!(?:\[(?![23][0-9A-Fa-f]{0,3}:)[0-9A-Fa-f:.]+\])(?::[0-9]+)?(?:[/?#]|$))[^@\s/?#]+(?::[0-9]+)?(?:[/?#]\S*)?$
                                              type: string
                                - description: >-
                                    Nested schema within `FusionRequest` for
                                    `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[1].anyOf[1]`.
                                  properties:
                                    image_url:
                                      description: >-
                                        The `image_url` field on
                                        `FusionRequest`.
                                      example: https://example.com/callback
                                      properties:
                                        url:
                                          description: The `url` field on `FusionRequest`.
                                          example: https://example.com/callback
                                          pattern: >-
                                            ^[A-Za-z0-9+/=_\s-]*[A-Za-z0-9+/=_-][A-Za-z0-9+/=_\s-]*$
                                          type: string
                                  required:
                                    - media_type
                                - description: >-
                                    Nested schema within `FusionRequest` for
                                    `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[1].anyOf[2]`.
                                  properties:
                                    image_url:
                                      description: >-
                                        The `image_url` field on
                                        `FusionRequest`.
                                      example: https://example.com/callback
                                      properties:
                                        url:
                                          description: The `url` field on `FusionRequest`.
                                          example: https://example.com/callback
                                          pattern: >-
                                            ^[A-Za-z0-9+/=_\s-]*[A-Za-z0-9+/=_-][A-Za-z0-9+/=_\s-]*$
                                          type: string
                                      required:
                                        - media_type
                              description: >-
                                Nested schema within `FusionRequest` for
                                `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[1]`.
                              properties:
                                cache_control:
                                  additionalProperties: true
                                  description: >-
                                    The `cache_control` field on
                                    `FusionRequest`.
                                  example: {}
                                  type: object
                                image_url:
                                  additionalProperties: false
                                  description: The `image_url` field on `FusionRequest`.
                                  example: {}
                                  properties:
                                    detail:
                                      description: The `detail` field on `FusionRequest`.
                                      example: example
                                      type: string
                                    media_type:
                                      description: >-
                                        The `media_type` field on
                                        `FusionRequest`.
                                      example: example
                                      pattern: .*\S.*
                                      type: string
                                    url:
                                      description: The `url` field on `FusionRequest`.
                                      example: https://example.com/callback
                                      oneOf:
                                        - description: >-
                                            Nested schema within `FusionRequest` for
                                            `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[1].image_url.url.oneOf[0]`.
                                          pattern: >-
                                            ^[Dd][Aa][Tt][Aa]:image/[A-Za-z0-9.+-]+(?:;[^\s,;=]+=[^\s,;]+)*;[Bb][Aa][Ss][Ee]64,[A-Za-z0-9+/=_-]+$
                                          type: string
                                        - description: >-
                                            Nested schema within `FusionRequest` for
                                            `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[1].image_url.url.oneOf[1]`.
                                          pattern: >-
                                            ^[Hh][Tt][Tt][Pp][Ss]://(?!(?:[Ll][Oo][Cc][Aa][Ll][Hh][Oo][Ss][Tt]|[Ii][Pp]6-[Ll][Oo][Cc][Aa][Ll][Hh][Oo][Ss][Tt]|[Ii][Pp]6-[Ll][Oo][Oo][Pp][Bb][Aa][Cc][Kk]|[Mm][Ee][Tt][Aa][Dd][Aa][Tt][Aa]\.[Gg][Oo][Oo][Gg][Ll][Ee]\.[Ii][Nn][Tt][Ee][Rr][Nn][Aa][Ll]|[Mm][Ee][Tt][Aa][Dd][Aa][Tt][Aa]\.[Gg][Oo][Oo][Gg])(?::[0-9]+)?(?:[/?#]|$))(?!(?:0|10|127|22[4-9]|23[0-9])(?:\.[0-9]{1,3}){3}(?::[0-9]+)?(?:[/?#]|$))(?!(?:169\.254|192\.168)(?:\.[0-9]{1,3}){2}(?::[0-9]+)?(?:[/?#]|$))(?!(?:172\.(?:1[6-9]|2[0-9]|3[0-1]))(?:\.[0-9]{1,3}){2}(?::[0-9]+)?(?:[/?#]|$))(?!(?:\[(?![23][0-9A-Fa-f]{0,3}:)[0-9A-Fa-f:.]+\])(?::[0-9]+)?(?:[/?#]|$))[^@\s/?#]+(?::[0-9]+)?(?:[/?#]\S*)?$
                                          type: string
                                        - description: >-
                                            Nested schema within `FusionRequest` for
                                            `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[1].image_url.url.oneOf[2]`.
                                          pattern: >-
                                            ^[A-Za-z0-9+/=_\s-]*[A-Za-z0-9+/=_-][A-Za-z0-9+/=_\s-]*$
                                          type: string
                                  required:
                                    - url
                                  type: object
                                media_type:
                                  description: The `media_type` field on `FusionRequest`.
                                  example: example
                                  pattern: .*\S.*
                                  type: string
                                type:
                                  const: image_url
                                  description: The `type` field on `FusionRequest`.
                                  example: image_url
                                  type: string
                              required:
                                - type
                                - image_url
                              type: object
                            - additionalProperties: false
                              anyOf:
                                - description: >-
                                    Nested schema within `FusionRequest` for
                                    `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[2].anyOf[0]`.
                                  required:
                                    - file
                                - description: >-
                                    Nested schema within `FusionRequest` for
                                    `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[2].anyOf[1]`.
                                  required:
                                    - file_url
                                - description: >-
                                    Nested schema within `FusionRequest` for
                                    `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[2].anyOf[2]`.
                                  required:
                                    - file_data
                              description: >-
                                Nested schema within `FusionRequest` for
                                `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[2]`.
                              properties:
                                cache_control:
                                  additionalProperties: true
                                  description: >-
                                    The `cache_control` field on
                                    `FusionRequest`.
                                  example: {}
                                  type: object
                                file:
                                  additionalProperties: false
                                  anyOf:
                                    - description: >-
                                        Nested schema within `FusionRequest` for
                                        `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[2].file.anyOf[0]`.
                                      required:
                                        - file_url
                                    - description: >-
                                        Nested schema within `FusionRequest` for
                                        `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[2].file.anyOf[1]`.
                                      required:
                                        - file_data
                                  description: The `file` field on `FusionRequest`.
                                  example: {}
                                  properties:
                                    cache_control:
                                      additionalProperties: true
                                      description: >-
                                        The `cache_control` field on
                                        `FusionRequest`.
                                      example: {}
                                      type: object
                                    file_data:
                                      description: >-
                                        The `file_data` field on
                                        `FusionRequest`.
                                      example: example
                                      oneOf:
                                        - description: >-
                                            Nested schema within `FusionRequest` for
                                            `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[2].file.file_data.oneOf[0]`.
                                          pattern: >-
                                            ^[Dd][Aa][Tt][Aa]:(?:[A-Za-z0-9.+-]+/[A-Za-z0-9.+-]+)?(?:;[^\s,;=]+=[^\s,;]+)*(?:;[Bb][Aa][Ss][Ee]64)?,[\s\S]*$
                                          type: string
                                        - description: >-
                                            Nested schema within `FusionRequest` for
                                            `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[2].file.file_data.oneOf[1]`.
                                          pattern: >-
                                            ^[Hh][Tt][Tt][Pp][Ss]://(?!(?:[Ll][Oo][Cc][Aa][Ll][Hh][Oo][Ss][Tt]|[Ii][Pp]6-[Ll][Oo][Cc][Aa][Ll][Hh][Oo][Ss][Tt]|[Ii][Pp]6-[Ll][Oo][Oo][Pp][Bb][Aa][Cc][Kk]|[Mm][Ee][Tt][Aa][Dd][Aa][Tt][Aa]\.[Gg][Oo][Oo][Gg][Ll][Ee]\.[Ii][Nn][Tt][Ee][Rr][Nn][Aa][Ll]|[Mm][Ee][Tt][Aa][Dd][Aa][Tt][Aa]\.[Gg][Oo][Oo][Gg])(?::[0-9]+)?(?:[/?#]|$))(?!(?:0|10|127|22[4-9]|23[0-9])(?:\.[0-9]{1,3}){3}(?::[0-9]+)?(?:[/?#]|$))(?!(?:169\.254|192\.168)(?:\.[0-9]{1,3}){2}(?::[0-9]+)?(?:[/?#]|$))(?!(?:172\.(?:1[6-9]|2[0-9]|3[0-1]))(?:\.[0-9]{1,3}){2}(?::[0-9]+)?(?:[/?#]|$))(?!(?:\[(?![23][0-9A-Fa-f]{0,3}:)[0-9A-Fa-f:.]+\])(?::[0-9]+)?(?:[/?#]|$))[^@\s/?#]+(?::[0-9]+)?(?:[/?#]\S*)?$
                                          type: string
                                        - description: >-
                                            Nested schema within `FusionRequest` for
                                            `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[2].file.file_data.oneOf[2]`.
                                          pattern: >-
                                            ^[A-Za-z0-9+/=_\s-]*[A-Za-z0-9+/=_-][A-Za-z0-9+/=_\s-]*$
                                          type: string
                                    file_url:
                                      description: The `file_url` field on `FusionRequest`.
                                      example: https://example.com/callback
                                      oneOf:
                                        - description: >-
                                            Nested schema within `FusionRequest` for
                                            `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[2].file.file_url.oneOf[0]`.
                                          pattern: >-
                                            ^[Dd][Aa][Tt][Aa]:(?:[A-Za-z0-9.+-]+/[A-Za-z0-9.+-]+)?(?:;[^\s,;=]+=[^\s,;]+)*(?:;[Bb][Aa][Ss][Ee]64)?,[\s\S]*$
                                          type: string
                                        - description: >-
                                            Nested schema within `FusionRequest` for
                                            `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[2].file.file_url.oneOf[1]`.
                                          pattern: >-
                                            ^[Hh][Tt][Tt][Pp][Ss]://(?!(?:[Ll][Oo][Cc][Aa][Ll][Hh][Oo][Ss][Tt]|[Ii][Pp]6-[Ll][Oo][Cc][Aa][Ll][Hh][Oo][Ss][Tt]|[Ii][Pp]6-[Ll][Oo][Oo][Pp][Bb][Aa][Cc][Kk]|[Mm][Ee][Tt][Aa][Dd][Aa][Tt][Aa]\.[Gg][Oo][Oo][Gg][Ll][Ee]\.[Ii][Nn][Tt][Ee][Rr][Nn][Aa][Ll]|[Mm][Ee][Tt][Aa][Dd][Aa][Tt][Aa]\.[Gg][Oo][Oo][Gg])(?::[0-9]+)?(?:[/?#]|$))(?!(?:0|10|127|22[4-9]|23[0-9])(?:\.[0-9]{1,3}){3}(?::[0-9]+)?(?:[/?#]|$))(?!(?:169\.254|192\.168)(?:\.[0-9]{1,3}){2}(?::[0-9]+)?(?:[/?#]|$))(?!(?:172\.(?:1[6-9]|2[0-9]|3[0-1]))(?:\.[0-9]{1,3}){2}(?::[0-9]+)?(?:[/?#]|$))(?!(?:\[(?![23][0-9A-Fa-f]{0,3}:)[0-9A-Fa-f:.]+\])(?::[0-9]+)?(?:[/?#]|$))[^@\s/?#]+(?::[0-9]+)?(?:[/?#]\S*)?$
                                          type: string
                                        - description: >-
                                            Nested schema within `FusionRequest` for
                                            `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[2].file.file_url.oneOf[2]`.
                                          pattern: >-
                                            ^[A-Za-z0-9+/=_\s-]*[A-Za-z0-9+/=_-][A-Za-z0-9+/=_\s-]*$
                                          type: string
                                    filename:
                                      description: The `filename` field on `FusionRequest`.
                                      example: example
                                      type: string
                                  type: object
                                file_data:
                                  description: The `file_data` field on `FusionRequest`.
                                  example: example
                                  oneOf:
                                    - description: >-
                                        Nested schema within `FusionRequest` for
                                        `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[2].file_data.oneOf[0]`.
                                      pattern: >-
                                        ^[Dd][Aa][Tt][Aa]:(?:[A-Za-z0-9.+-]+/[A-Za-z0-9.+-]+)?(?:;[^\s,;=]+=[^\s,;]+)*(?:;[Bb][Aa][Ss][Ee]64)?,[\s\S]*$
                                      type: string
                                    - description: >-
                                        Nested schema within `FusionRequest` for
                                        `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[2].file_data.oneOf[1]`.
                                      pattern: >-
                                        ^[Hh][Tt][Tt][Pp][Ss]://(?!(?:[Ll][Oo][Cc][Aa][Ll][Hh][Oo][Ss][Tt]|[Ii][Pp]6-[Ll][Oo][Cc][Aa][Ll][Hh][Oo][Ss][Tt]|[Ii][Pp]6-[Ll][Oo][Oo][Pp][Bb][Aa][Cc][Kk]|[Mm][Ee][Tt][Aa][Dd][Aa][Tt][Aa]\.[Gg][Oo][Oo][Gg][Ll][Ee]\.[Ii][Nn][Tt][Ee][Rr][Nn][Aa][Ll]|[Mm][Ee][Tt][Aa][Dd][Aa][Tt][Aa]\.[Gg][Oo][Oo][Gg])(?::[0-9]+)?(?:[/?#]|$))(?!(?:0|10|127|22[4-9]|23[0-9])(?:\.[0-9]{1,3}){3}(?::[0-9]+)?(?:[/?#]|$))(?!(?:169\.254|192\.168)(?:\.[0-9]{1,3}){2}(?::[0-9]+)?(?:[/?#]|$))(?!(?:172\.(?:1[6-9]|2[0-9]|3[0-1]))(?:\.[0-9]{1,3}){2}(?::[0-9]+)?(?:[/?#]|$))(?!(?:\[(?![23][0-9A-Fa-f]{0,3}:)[0-9A-Fa-f:.]+\])(?::[0-9]+)?(?:[/?#]|$))[^@\s/?#]+(?::[0-9]+)?(?:[/?#]\S*)?$
                                      type: string
                                    - description: >-
                                        Nested schema within `FusionRequest` for
                                        `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[2].file_data.oneOf[2]`.
                                      pattern: >-
                                        ^[A-Za-z0-9+/=_\s-]*[A-Za-z0-9+/=_-][A-Za-z0-9+/=_\s-]*$
                                      type: string
                                file_url:
                                  description: The `file_url` field on `FusionRequest`.
                                  example: https://example.com/callback
                                  oneOf:
                                    - description: >-
                                        Nested schema within `FusionRequest` for
                                        `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[2].file_url.oneOf[0]`.
                                      pattern: >-
                                        ^[Dd][Aa][Tt][Aa]:(?:[A-Za-z0-9.+-]+/[A-Za-z0-9.+-]+)?(?:;[^\s,;=]+=[^\s,;]+)*(?:;[Bb][Aa][Ss][Ee]64)?,[\s\S]*$
                                      type: string
                                    - description: >-
                                        Nested schema within `FusionRequest` for
                                        `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[2].file_url.oneOf[1]`.
                                      pattern: >-
                                        ^[Hh][Tt][Tt][Pp][Ss]://(?!(?:[Ll][Oo][Cc][Aa][Ll][Hh][Oo][Ss][Tt]|[Ii][Pp]6-[Ll][Oo][Cc][Aa][Ll][Hh][Oo][Ss][Tt]|[Ii][Pp]6-[Ll][Oo][Oo][Pp][Bb][Aa][Cc][Kk]|[Mm][Ee][Tt][Aa][Dd][Aa][Tt][Aa]\.[Gg][Oo][Oo][Gg][Ll][Ee]\.[Ii][Nn][Tt][Ee][Rr][Nn][Aa][Ll]|[Mm][Ee][Tt][Aa][Dd][Aa][Tt][Aa]\.[Gg][Oo][Oo][Gg])(?::[0-9]+)?(?:[/?#]|$))(?!(?:0|10|127|22[4-9]|23[0-9])(?:\.[0-9]{1,3}){3}(?::[0-9]+)?(?:[/?#]|$))(?!(?:169\.254|192\.168)(?:\.[0-9]{1,3}){2}(?::[0-9]+)?(?:[/?#]|$))(?!(?:172\.(?:1[6-9]|2[0-9]|3[0-1]))(?:\.[0-9]{1,3}){2}(?::[0-9]+)?(?:[/?#]|$))(?!(?:\[(?![23][0-9A-Fa-f]{0,3}:)[0-9A-Fa-f:.]+\])(?::[0-9]+)?(?:[/?#]|$))[^@\s/?#]+(?::[0-9]+)?(?:[/?#]\S*)?$
                                      type: string
                                    - description: >-
                                        Nested schema within `FusionRequest` for
                                        `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[2].file_url.oneOf[2]`.
                                      pattern: >-
                                        ^[A-Za-z0-9+/=_\s-]*[A-Za-z0-9+/=_-][A-Za-z0-9+/=_\s-]*$
                                      type: string
                                filename:
                                  description: The `filename` field on `FusionRequest`.
                                  example: example
                                  type: string
                                type:
                                  description: The `type` field on `FusionRequest`.
                                  enum:
                                    - file
                                    - input_file
                                  example: file
                                  type: string
                              required:
                                - type
                              type: object
                        type: array
                      - description: >-
                          Nested schema within `FusionRequest` for
                          `FusionRequest.messages.items.oneOf[0].content.oneOf[2]`.
                        type: 'null'
                  role:
                    description: The `role` field on `FusionRequest`.
                    enum:
                      - system
                      - developer
                      - user
                    example: system
                    type: string
                required:
                  - role
                type: object
              - additionalProperties: false
                description: >-
                  Nested schema within `FusionRequest` for
                  `FusionRequest.messages.items.oneOf[1]`.
                properties:
                  content:
                    description: The `content` field on `FusionRequest`.
                    example: Say hello.
                    oneOf:
                      - description: >-
                          Nested schema within `FusionRequest` for
                          `FusionRequest.messages.items.oneOf[0].content.oneOf[0]`.
                        type: string
                      - description: >-
                          Nested schema within `FusionRequest` for
                          `FusionRequest.messages.items.oneOf[0].content.oneOf[1]`.
                        items:
                          description: >-
                            Nested schema within `FusionRequest` for
                            `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items`.
                          oneOf:
                            - additionalProperties: false
                              description: >-
                                Nested schema within `FusionRequest` for
                                `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[0]`.
                              properties:
                                cache_control:
                                  additionalProperties: true
                                  description: >-
                                    The `cache_control` field on
                                    `FusionRequest`.
                                  example: {}
                                  type: object
                                text:
                                  description: The `text` field on `FusionRequest`.
                                  example: Say hello.
                                  pattern: .*\S.*
                                  type: string
                                type:
                                  const: text
                                  description: The `type` field on `FusionRequest`.
                                  example: text
                                  type: string
                              required:
                                - type
                                - text
                              type: object
                            - additionalProperties: false
                              anyOf:
                                - description: >-
                                    Nested schema within `FusionRequest` for
                                    `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[1].anyOf[0]`.
                                  properties:
                                    image_url:
                                      description: >-
                                        The `image_url` field on
                                        `FusionRequest`.
                                      example: https://example.com/callback
                                      properties:
                                        url:
                                          description: The `url` field on `FusionRequest`.
                                          example: https://example.com/callback
                                          oneOf:
                                            - description: >-
                                                Nested schema within `FusionRequest` for
                                                `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[1].anyOf[0].image_url.url.oneOf[0]`.
                                              pattern: >-
                                                ^[Dd][Aa][Tt][Aa]:image/[A-Za-z0-9.+-]+(?:;[^\s,;=]+=[^\s,;]+)*;[Bb][Aa][Ss][Ee]64,[A-Za-z0-9+/=_-]+$
                                              type: string
                                            - description: >-
                                                Nested schema within `FusionRequest` for
                                                `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[1].anyOf[0].image_url.url.oneOf[1]`.
                                              pattern: >-
                                                ^[Hh][Tt][Tt][Pp][Ss]://(?!(?:[Ll][Oo][Cc][Aa][Ll][Hh][Oo][Ss][Tt]|[Ii][Pp]6-[Ll][Oo][Cc][Aa][Ll][Hh][Oo][Ss][Tt]|[Ii][Pp]6-[Ll][Oo][Oo][Pp][Bb][Aa][Cc][Kk]|[Mm][Ee][Tt][Aa][Dd][Aa][Tt][Aa]\.[Gg][Oo][Oo][Gg][Ll][Ee]\.[Ii][Nn][Tt][Ee][Rr][Nn][Aa][Ll]|[Mm][Ee][Tt][Aa][Dd][Aa][Tt][Aa]\.[Gg][Oo][Oo][Gg])(?::[0-9]+)?(?:[/?#]|$))(?!(?:0|10|127|22[4-9]|23[0-9])(?:\.[0-9]{1,3}){3}(?::[0-9]+)?(?:[/?#]|$))(?!(?:169\.254|192\.168)(?:\.[0-9]{1,3}){2}(?::[0-9]+)?(?:[/?#]|$))(?!(?:172\.(?:1[6-9]|2[0-9]|3[0-1]))(?:\.[0-9]{1,3}){2}(?::[0-9]+)?(?:[/?#]|$))(?!(?:\[(?![23][0-9A-Fa-f]{0,3}:)[0-9A-Fa-f:.]+\])(?::[0-9]+)?(?:[/?#]|$))[^@\s/?#]+(?::[0-9]+)?(?:[/?#]\S*)?$
                                              type: string
                                - description: >-
                                    Nested schema within `FusionRequest` for
                                    `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[1].anyOf[1]`.
                                  properties:
                                    image_url:
                                      description: >-
                                        The `image_url` field on
                                        `FusionRequest`.
                                      example: https://example.com/callback
                                      properties:
                                        url:
                                          description: The `url` field on `FusionRequest`.
                                          example: https://example.com/callback
                                          pattern: >-
                                            ^[A-Za-z0-9+/=_\s-]*[A-Za-z0-9+/=_-][A-Za-z0-9+/=_\s-]*$
                                          type: string
                                  required:
                                    - media_type
                                - description: >-
                                    Nested schema within `FusionRequest` for
                                    `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[1].anyOf[2]`.
                                  properties:
                                    image_url:
                                      description: >-
                                        The `image_url` field on
                                        `FusionRequest`.
                                      example: https://example.com/callback
                                      properties:
                                        url:
                                          description: The `url` field on `FusionRequest`.
                                          example: https://example.com/callback
                                          pattern: >-
                                            ^[A-Za-z0-9+/=_\s-]*[A-Za-z0-9+/=_-][A-Za-z0-9+/=_\s-]*$
                                          type: string
                                      required:
                                        - media_type
                              description: >-
                                Nested schema within `FusionRequest` for
                                `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[1]`.
                              properties:
                                cache_control:
                                  additionalProperties: true
                                  description: >-
                                    The `cache_control` field on
                                    `FusionRequest`.
                                  example: {}
                                  type: object
                                image_url:
                                  additionalProperties: false
                                  description: The `image_url` field on `FusionRequest`.
                                  example: {}
                                  properties:
                                    detail:
                                      description: The `detail` field on `FusionRequest`.
                                      example: example
                                      type: string
                                    media_type:
                                      description: >-
                                        The `media_type` field on
                                        `FusionRequest`.
                                      example: example
                                      pattern: .*\S.*
                                      type: string
                                    url:
                                      description: The `url` field on `FusionRequest`.
                                      example: https://example.com/callback
                                      oneOf:
                                        - description: >-
                                            Nested schema within `FusionRequest` for
                                            `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[1].image_url.url.oneOf[0]`.
                                          pattern: >-
                                            ^[Dd][Aa][Tt][Aa]:image/[A-Za-z0-9.+-]+(?:;[^\s,;=]+=[^\s,;]+)*;[Bb][Aa][Ss][Ee]64,[A-Za-z0-9+/=_-]+$
                                          type: string
                                        - description: >-
                                            Nested schema within `FusionRequest` for
                                            `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[1].image_url.url.oneOf[1]`.
                                          pattern: >-
                                            ^[Hh][Tt][Tt][Pp][Ss]://(?!(?:[Ll][Oo][Cc][Aa][Ll][Hh][Oo][Ss][Tt]|[Ii][Pp]6-[Ll][Oo][Cc][Aa][Ll][Hh][Oo][Ss][Tt]|[Ii][Pp]6-[Ll][Oo][Oo][Pp][Bb][Aa][Cc][Kk]|[Mm][Ee][Tt][Aa][Dd][Aa][Tt][Aa]\.[Gg][Oo][Oo][Gg][Ll][Ee]\.[Ii][Nn][Tt][Ee][Rr][Nn][Aa][Ll]|[Mm][Ee][Tt][Aa][Dd][Aa][Tt][Aa]\.[Gg][Oo][Oo][Gg])(?::[0-9]+)?(?:[/?#]|$))(?!(?:0|10|127|22[4-9]|23[0-9])(?:\.[0-9]{1,3}){3}(?::[0-9]+)?(?:[/?#]|$))(?!(?:169\.254|192\.168)(?:\.[0-9]{1,3}){2}(?::[0-9]+)?(?:[/?#]|$))(?!(?:172\.(?:1[6-9]|2[0-9]|3[0-1]))(?:\.[0-9]{1,3}){2}(?::[0-9]+)?(?:[/?#]|$))(?!(?:\[(?![23][0-9A-Fa-f]{0,3}:)[0-9A-Fa-f:.]+\])(?::[0-9]+)?(?:[/?#]|$))[^@\s/?#]+(?::[0-9]+)?(?:[/?#]\S*)?$
                                          type: string
                                        - description: >-
                                            Nested schema within `FusionRequest` for
                                            `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[1].image_url.url.oneOf[2]`.
                                          pattern: >-
                                            ^[A-Za-z0-9+/=_\s-]*[A-Za-z0-9+/=_-][A-Za-z0-9+/=_\s-]*$
                                          type: string
                                  required:
                                    - url
                                  type: object
                                media_type:
                                  description: The `media_type` field on `FusionRequest`.
                                  example: example
                                  pattern: .*\S.*
                                  type: string
                                type:
                                  const: image_url
                                  description: The `type` field on `FusionRequest`.
                                  example: image_url
                                  type: string
                              required:
                                - type
                                - image_url
                              type: object
                            - additionalProperties: false
                              anyOf:
                                - description: >-
                                    Nested schema within `FusionRequest` for
                                    `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[2].anyOf[0]`.
                                  required:
                                    - file
                                - description: >-
                                    Nested schema within `FusionRequest` for
                                    `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[2].anyOf[1]`.
                                  required:
                                    - file_url
                                - description: >-
                                    Nested schema within `FusionRequest` for
                                    `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[2].anyOf[2]`.
                                  required:
                                    - file_data
                              description: >-
                                Nested schema within `FusionRequest` for
                                `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[2]`.
                              properties:
                                cache_control:
                                  additionalProperties: true
                                  description: >-
                                    The `cache_control` field on
                                    `FusionRequest`.
                                  example: {}
                                  type: object
                                file:
                                  additionalProperties: false
                                  anyOf:
                                    - description: >-
                                        Nested schema within `FusionRequest` for
                                        `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[2].file.anyOf[0]`.
                                      required:
                                        - file_url
                                    - description: >-
                                        Nested schema within `FusionRequest` for
                                        `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[2].file.anyOf[1]`.
                                      required:
                                        - file_data
                                  description: The `file` field on `FusionRequest`.
                                  example: {}
                                  properties:
                                    cache_control:
                                      additionalProperties: true
                                      description: >-
                                        The `cache_control` field on
                                        `FusionRequest`.
                                      example: {}
                                      type: object
                                    file_data:
                                      description: >-
                                        The `file_data` field on
                                        `FusionRequest`.
                                      example: example
                                      oneOf:
                                        - description: >-
                                            Nested schema within `FusionRequest` for
                                            `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[2].file.file_data.oneOf[0]`.
                                          pattern: >-
                                            ^[Dd][Aa][Tt][Aa]:(?:[A-Za-z0-9.+-]+/[A-Za-z0-9.+-]+)?(?:;[^\s,;=]+=[^\s,;]+)*(?:;[Bb][Aa][Ss][Ee]64)?,[\s\S]*$
                                          type: string
                                        - description: >-
                                            Nested schema within `FusionRequest` for
                                            `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[2].file.file_data.oneOf[1]`.
                                          pattern: >-
                                            ^[Hh][Tt][Tt][Pp][Ss]://(?!(?:[Ll][Oo][Cc][Aa][Ll][Hh][Oo][Ss][Tt]|[Ii][Pp]6-[Ll][Oo][Cc][Aa][Ll][Hh][Oo][Ss][Tt]|[Ii][Pp]6-[Ll][Oo][Oo][Pp][Bb][Aa][Cc][Kk]|[Mm][Ee][Tt][Aa][Dd][Aa][Tt][Aa]\.[Gg][Oo][Oo][Gg][Ll][Ee]\.[Ii][Nn][Tt][Ee][Rr][Nn][Aa][Ll]|[Mm][Ee][Tt][Aa][Dd][Aa][Tt][Aa]\.[Gg][Oo][Oo][Gg])(?::[0-9]+)?(?:[/?#]|$))(?!(?:0|10|127|22[4-9]|23[0-9])(?:\.[0-9]{1,3}){3}(?::[0-9]+)?(?:[/?#]|$))(?!(?:169\.254|192\.168)(?:\.[0-9]{1,3}){2}(?::[0-9]+)?(?:[/?#]|$))(?!(?:172\.(?:1[6-9]|2[0-9]|3[0-1]))(?:\.[0-9]{1,3}){2}(?::[0-9]+)?(?:[/?#]|$))(?!(?:\[(?![23][0-9A-Fa-f]{0,3}:)[0-9A-Fa-f:.]+\])(?::[0-9]+)?(?:[/?#]|$))[^@\s/?#]+(?::[0-9]+)?(?:[/?#]\S*)?$
                                          type: string
                                        - description: >-
                                            Nested schema within `FusionRequest` for
                                            `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[2].file.file_data.oneOf[2]`.
                                          pattern: >-
                                            ^[A-Za-z0-9+/=_\s-]*[A-Za-z0-9+/=_-][A-Za-z0-9+/=_\s-]*$
                                          type: string
                                    file_url:
                                      description: The `file_url` field on `FusionRequest`.
                                      example: https://example.com/callback
                                      oneOf:
                                        - description: >-
                                            Nested schema within `FusionRequest` for
                                            `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[2].file.file_url.oneOf[0]`.
                                          pattern: >-
                                            ^[Dd][Aa][Tt][Aa]:(?:[A-Za-z0-9.+-]+/[A-Za-z0-9.+-]+)?(?:;[^\s,;=]+=[^\s,;]+)*(?:;[Bb][Aa][Ss][Ee]64)?,[\s\S]*$
                                          type: string
                                        - description: >-
                                            Nested schema within `FusionRequest` for
                                            `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[2].file.file_url.oneOf[1]`.
                                          pattern: >-
                                            ^[Hh][Tt][Tt][Pp][Ss]://(?!(?:[Ll][Oo][Cc][Aa][Ll][Hh][Oo][Ss][Tt]|[Ii][Pp]6-[Ll][Oo][Cc][Aa][Ll][Hh][Oo][Ss][Tt]|[Ii][Pp]6-[Ll][Oo][Oo][Pp][Bb][Aa][Cc][Kk]|[Mm][Ee][Tt][Aa][Dd][Aa][Tt][Aa]\.[Gg][Oo][Oo][Gg][Ll][Ee]\.[Ii][Nn][Tt][Ee][Rr][Nn][Aa][Ll]|[Mm][Ee][Tt][Aa][Dd][Aa][Tt][Aa]\.[Gg][Oo][Oo][Gg])(?::[0-9]+)?(?:[/?#]|$))(?!(?:0|10|127|22[4-9]|23[0-9])(?:\.[0-9]{1,3}){3}(?::[0-9]+)?(?:[/?#]|$))(?!(?:169\.254|192\.168)(?:\.[0-9]{1,3}){2}(?::[0-9]+)?(?:[/?#]|$))(?!(?:172\.(?:1[6-9]|2[0-9]|3[0-1]))(?:\.[0-9]{1,3}){2}(?::[0-9]+)?(?:[/?#]|$))(?!(?:\[(?![23][0-9A-Fa-f]{0,3}:)[0-9A-Fa-f:.]+\])(?::[0-9]+)?(?:[/?#]|$))[^@\s/?#]+(?::[0-9]+)?(?:[/?#]\S*)?$
                                          type: string
                                        - description: >-
                                            Nested schema within `FusionRequest` for
                                            `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[2].file.file_url.oneOf[2]`.
                                          pattern: >-
                                            ^[A-Za-z0-9+/=_\s-]*[A-Za-z0-9+/=_-][A-Za-z0-9+/=_\s-]*$
                                          type: string
                                    filename:
                                      description: The `filename` field on `FusionRequest`.
                                      example: example
                                      type: string
                                  type: object
                                file_data:
                                  description: The `file_data` field on `FusionRequest`.
                                  example: example
                                  oneOf:
                                    - description: >-
                                        Nested schema within `FusionRequest` for
                                        `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[2].file_data.oneOf[0]`.
                                      pattern: >-
                                        ^[Dd][Aa][Tt][Aa]:(?:[A-Za-z0-9.+-]+/[A-Za-z0-9.+-]+)?(?:;[^\s,;=]+=[^\s,;]+)*(?:;[Bb][Aa][Ss][Ee]64)?,[\s\S]*$
                                      type: string
                                    - description: >-
                                        Nested schema within `FusionRequest` for
                                        `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[2].file_data.oneOf[1]`.
                                      pattern: >-
                                        ^[Hh][Tt][Tt][Pp][Ss]://(?!(?:[Ll][Oo][Cc][Aa][Ll][Hh][Oo][Ss][Tt]|[Ii][Pp]6-[Ll][Oo][Cc][Aa][Ll][Hh][Oo][Ss][Tt]|[Ii][Pp]6-[Ll][Oo][Oo][Pp][Bb][Aa][Cc][Kk]|[Mm][Ee][Tt][Aa][Dd][Aa][Tt][Aa]\.[Gg][Oo][Oo][Gg][Ll][Ee]\.[Ii][Nn][Tt][Ee][Rr][Nn][Aa][Ll]|[Mm][Ee][Tt][Aa][Dd][Aa][Tt][Aa]\.[Gg][Oo][Oo][Gg])(?::[0-9]+)?(?:[/?#]|$))(?!(?:0|10|127|22[4-9]|23[0-9])(?:\.[0-9]{1,3}){3}(?::[0-9]+)?(?:[/?#]|$))(?!(?:169\.254|192\.168)(?:\.[0-9]{1,3}){2}(?::[0-9]+)?(?:[/?#]|$))(?!(?:172\.(?:1[6-9]|2[0-9]|3[0-1]))(?:\.[0-9]{1,3}){2}(?::[0-9]+)?(?:[/?#]|$))(?!(?:\[(?![23][0-9A-Fa-f]{0,3}:)[0-9A-Fa-f:.]+\])(?::[0-9]+)?(?:[/?#]|$))[^@\s/?#]+(?::[0-9]+)?(?:[/?#]\S*)?$
                                      type: string
                                    - description: >-
                                        Nested schema within `FusionRequest` for
                                        `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[2].file_data.oneOf[2]`.
                                      pattern: >-
                                        ^[A-Za-z0-9+/=_\s-]*[A-Za-z0-9+/=_-][A-Za-z0-9+/=_\s-]*$
                                      type: string
                                file_url:
                                  description: The `file_url` field on `FusionRequest`.
                                  example: https://example.com/callback
                                  oneOf:
                                    - description: >-
                                        Nested schema within `FusionRequest` for
                                        `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[2].file_url.oneOf[0]`.
                                      pattern: >-
                                        ^[Dd][Aa][Tt][Aa]:(?:[A-Za-z0-9.+-]+/[A-Za-z0-9.+-]+)?(?:;[^\s,;=]+=[^\s,;]+)*(?:;[Bb][Aa][Ss][Ee]64)?,[\s\S]*$
                                      type: string
                                    - description: >-
                                        Nested schema within `FusionRequest` for
                                        `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[2].file_url.oneOf[1]`.
                                      pattern: >-
                                        ^[Hh][Tt][Tt][Pp][Ss]://(?!(?:[Ll][Oo][Cc][Aa][Ll][Hh][Oo][Ss][Tt]|[Ii][Pp]6-[Ll][Oo][Cc][Aa][Ll][Hh][Oo][Ss][Tt]|[Ii][Pp]6-[Ll][Oo][Oo][Pp][Bb][Aa][Cc][Kk]|[Mm][Ee][Tt][Aa][Dd][Aa][Tt][Aa]\.[Gg][Oo][Oo][Gg][Ll][Ee]\.[Ii][Nn][Tt][Ee][Rr][Nn][Aa][Ll]|[Mm][Ee][Tt][Aa][Dd][Aa][Tt][Aa]\.[Gg][Oo][Oo][Gg])(?::[0-9]+)?(?:[/?#]|$))(?!(?:0|10|127|22[4-9]|23[0-9])(?:\.[0-9]{1,3}){3}(?::[0-9]+)?(?:[/?#]|$))(?!(?:169\.254|192\.168)(?:\.[0-9]{1,3}){2}(?::[0-9]+)?(?:[/?#]|$))(?!(?:172\.(?:1[6-9]|2[0-9]|3[0-1]))(?:\.[0-9]{1,3}){2}(?::[0-9]+)?(?:[/?#]|$))(?!(?:\[(?![23][0-9A-Fa-f]{0,3}:)[0-9A-Fa-f:.]+\])(?::[0-9]+)?(?:[/?#]|$))[^@\s/?#]+(?::[0-9]+)?(?:[/?#]\S*)?$
                                      type: string
                                    - description: >-
                                        Nested schema within `FusionRequest` for
                                        `FusionRequest.messages.items.oneOf[0].content.oneOf[1].items.oneOf[2].file_url.oneOf[2]`.
                                      pattern: >-
                                        ^[A-Za-z0-9+/=_\s-]*[A-Za-z0-9+/=_-][A-Za-z0-9+/=_\s-]*$
                                      type: string
                                filename:
                                  description: The `filename` field on `FusionRequest`.
                                  example: example
                                  type: string
                                type:
                                  description: The `type` field on `FusionRequest`.
                                  enum:
                                    - file
                                    - input_file
                                  example: file
                                  type: string
                              required:
                                - type
                              type: object
                        type: array
                      - description: >-
                          Nested schema within `FusionRequest` for
                          `FusionRequest.messages.items.oneOf[0].content.oneOf[2]`.
                        type: 'null'
                  role:
                    const: assistant
                    description: The `role` field on `FusionRequest`.
                    example: assistant
                    type: string
                  tool_calls:
                    description: The `tool_calls` field on `FusionRequest`.
                    example: []
                    items:
                      additionalProperties: false
                      description: >-
                        Nested schema within `FusionRequest` for
                        `FusionRequest.messages.items.oneOf[1].tool_calls.items`.
                      properties:
                        function:
                          additionalProperties: false
                          description: The `function` field on `FusionRequest`.
                          example: {}
                          properties:
                            arguments:
                              contentMediaType: application/json
                              description: The `arguments` field on `FusionRequest`.
                              example: example
                              pattern: .*\S.*
                              type: string
                            name:
                              description: The `name` field on `FusionRequest`.
                              example: example
                              pattern: .*\S.*
                              type: string
                          required:
                            - name
                            - arguments
                          type: object
                        id:
                          description: The `id` field on `FusionRequest`.
                          example: 00000000-0000-4000-8000-000000000001
                          pattern: .*\S.*
                          type: string
                        type:
                          const: function
                          description: The `type` field on `FusionRequest`.
                          example: function
                          type: string
                      required:
                        - id
                        - type
                        - function
                      type: object
                    type: array
                required:
                  - role
                type: object
              - additionalProperties: false
                description: >-
                  Nested schema within `FusionRequest` for
                  `FusionRequest.messages.items.oneOf[2]`.
                properties:
                  content:
                    description: The `content` field on `FusionRequest`.
                    example: Say hello.
                    oneOf:
                      - description: >-
                          Nested schema within `FusionRequest` for
                          `FusionRequest.messages.items.oneOf[2].content.oneOf[0]`.
                        type: string
                      - description: >-
                          Nested schema within `FusionRequest` for
                          `FusionRequest.messages.items.oneOf[2].content.oneOf[1]`.
                        items:
                          description: >-
                            Nested schema within `FusionRequest` for
                            `FusionRequest.messages.items.oneOf[2].content.oneOf[1].items`.
                          oneOf:
                            - additionalProperties: false
                              description: >-
                                Nested schema within `FusionRequest` for
                                `FusionRequest.messages.items.oneOf[2].content.oneOf[1].items.oneOf[0]`.
                              properties:
                                cache_control:
                                  additionalProperties: true
                                  description: >-
                                    The `cache_control` field on
                                    `FusionRequest`.
                                  example: {}
                                  type: object
                                text:
                                  description: The `text` field on `FusionRequest`.
                                  example: Say hello.
                                  pattern: .*\S.*
                                  type: string
                                type:
                                  const: text
                                  description: The `type` field on `FusionRequest`.
                                  example: text
                                  type: string
                              required:
                                - type
                                - text
                              type: object
                            - additionalProperties: false
                              anyOf:
                                - description: >-
                                    Nested schema within `FusionRequest` for
                                    `FusionRequest.messages.items.oneOf[2].content.oneOf[1].items.oneOf[1].anyOf[0]`.
                                  properties:
                                    image_url:
                                      description: >-
                                        The `image_url` field on
                                        `FusionRequest`.
                                      example: https://example.com/callback
                                      properties:
                                        url:
                                          description: The `url` field on `FusionRequest`.
                                          example: https://example.com/callback
                                          oneOf:
                                            - description: >-
                                                Nested schema within `FusionRequest` for
                                                `FusionRequest.messages.items.oneOf[2].content.oneOf[1].items.oneOf[1].anyOf[0].image_url.url.oneOf[0]`.
                                              pattern: >-
                                                ^[Dd][Aa][Tt][Aa]:image/[A-Za-z0-9.+-]+(?:;[^\s,;=]+=[^\s,;]+)*;[Bb][Aa][Ss][Ee]64,[A-Za-z0-9+/=_-]+$
                                              type: string
                                            - description: >-
                                                Nested schema within `FusionRequest` for
                                                `FusionRequest.messages.items.oneOf[2].content.oneOf[1].items.oneOf[1].anyOf[0].image_url.url.oneOf[1]`.
                                              pattern: >-
                                                ^[Hh][Tt][Tt][Pp][Ss]://(?!(?:[Ll][Oo][Cc][Aa][Ll][Hh][Oo][Ss][Tt]|[Ii][Pp]6-[Ll][Oo][Cc][Aa][Ll][Hh][Oo][Ss][Tt]|[Ii][Pp]6-[Ll][Oo][Oo][Pp][Bb][Aa][Cc][Kk]|[Mm][Ee][Tt][Aa][Dd][Aa][Tt][Aa]\.[Gg][Oo][Oo][Gg][Ll][Ee]\.[Ii][Nn][Tt][Ee][Rr][Nn][Aa][Ll]|[Mm][Ee][Tt][Aa][Dd][Aa][Tt][Aa]\.[Gg][Oo][Oo][Gg])(?::[0-9]+)?(?:[/?#]|$))(?!(?:0|10|127|22[4-9]|23[0-9])(?:\.[0-9]{1,3}){3}(?::[0-9]+)?(?:[/?#]|$))(?!(?:169\.254|192\.168)(?:\.[0-9]{1,3}){2}(?::[0-9]+)?(?:[/?#]|$))(?!(?:172\.(?:1[6-9]|2[0-9]|3[0-1]))(?:\.[0-9]{1,3}){2}(?::[0-9]+)?(?:[/?#]|$))(?!(?:\[(?![23][0-9A-Fa-f]{0,3}:)[0-9A-Fa-f:.]+\])(?::[0-9]+)?(?:[/?#]|$))[^@\s/?#]+(?::[0-9]+)?(?:[/?#]\S*)?$
                                              type: string
                                - description: >-
                                    Nested schema within `FusionRequest` for
                                    `FusionRequest.messages.items.oneOf[2].content.oneOf[1].items.oneOf[1].anyOf[1]`.
                                  properties:
                                    image_url:
                                      description: >-
                                        The `image_url` field on
                                        `FusionRequest`.
                                      example: https://example.com/callback
                                      properties:
                                        url:
                                          description: The `url` field on `FusionRequest`.
                                          example: https://example.com/callback
                                          pattern: >-
                                            ^[A-Za-z0-9+/=_\s-]*[A-Za-z0-9+/=_-][A-Za-z0-9+/=_\s-]*$
                                          type: string
                                  required:
                                    - media_type
                                - description: >-
                                    Nested schema within `FusionRequest` for
                                    `FusionRequest.messages.items.oneOf[2].content.oneOf[1].items.oneOf[1].anyOf[2]`.
                                  properties:
                                    image_url:
                                      description: >-
                                        The `image_url` field on
                                        `FusionRequest`.
                                      example: https://example.com/callback
                                      properties:
                                        url:
                                          description: The `url` field on `FusionRequest`.
                                          example: https://example.com/callback
                                          pattern: >-
                                            ^[A-Za-z0-9+/=_\s-]*[A-Za-z0-9+/=_-][A-Za-z0-9+/=_\s-]*$
                                          type: string
                                      required:
                                        - media_type
                              description: >-
                                Nested schema within `FusionRequest` for
                                `FusionRequest.messages.items.oneOf[2].content.oneOf[1].items.oneOf[1]`.
                              properties:
                                cache_control:
                                  additionalProperties: true
                                  description: >-
                                    The `cache_control` field on
                                    `FusionRequest`.
                                  example: {}
                                  type: object
                                image_url:
                                  additionalProperties: false
                                  description: The `image_url` field on `FusionRequest`.
                                  example: {}
                                  properties:
                                    detail:
                                      description: The `detail` field on `FusionRequest`.
                                      example: example
                                      type: string
                                    media_type:
                                      description: >-
                                        The `media_type` field on
                                        `FusionRequest`.
                                      example: example
                                      pattern: .*\S.*
                                      type: string
                                    url:
                                      description: The `url` field on `FusionRequest`.
                                      example: https://example.com/callback
                                      oneOf:
                                        - description: >-
                                            Nested schema within `FusionRequest` for
                                            `FusionRequest.messages.items.oneOf[2].content.oneOf[1].items.oneOf[1].image_url.url.oneOf[0]`.
                                          pattern: >-
                                            ^[Dd][Aa][Tt][Aa]:image/[A-Za-z0-9.+-]+(?:;[^\s,;=]+=[^\s,;]+)*;[Bb][Aa][Ss][Ee]64,[A-Za-z0-9+/=_-]+$
                                          type: string
                                        - description: >-
                                            Nested schema within `FusionRequest` for
                                            `FusionRequest.messages.items.oneOf[2].content.oneOf[1].items.oneOf[1].image_url.url.oneOf[1]`.
                                          pattern: >-
                                            ^[Hh][Tt][Tt][Pp][Ss]://(?!(?:[Ll][Oo][Cc][Aa][Ll][Hh][Oo][Ss][Tt]|[Ii][Pp]6-[Ll][Oo][Cc][Aa][Ll][Hh][Oo][Ss][Tt]|[Ii][Pp]6-[Ll][Oo][Oo][Pp][Bb][Aa][Cc][Kk]|[Mm][Ee][Tt][Aa][Dd][Aa][Tt][Aa]\.[Gg][Oo][Oo][Gg][Ll][Ee]\.[Ii][Nn][Tt][Ee][Rr][Nn][Aa][Ll]|[Mm][Ee][Tt][Aa][Dd][Aa][Tt][Aa]\.[Gg][Oo][Oo][Gg])(?::[0-9]+)?(?:[/?#]|$))(?!(?:0|10|127|22[4-9]|23[0-9])(?:\.[0-9]{1,3}){3}(?::[0-9]+)?(?:[/?#]|$))(?!(?:169\.254|192\.168)(?:\.[0-9]{1,3}){2}(?::[0-9]+)?(?:[/?#]|$))(?!(?:172\.(?:1[6-9]|2[0-9]|3[0-1]))(?:\.[0-9]{1,3}){2}(?::[0-9]+)?(?:[/?#]|$))(?!(?:\[(?![23][0-9A-Fa-f]{0,3}:)[0-9A-Fa-f:.]+\])(?::[0-9]+)?(?:[/?#]|$))[^@\s/?#]+(?::[0-9]+)?(?:[/?#]\S*)?$
                                          type: string
                                        - description: >-
                                            Nested schema within `FusionRequest` for
                                            `FusionRequest.messages.items.oneOf[2].content.oneOf[1].items.oneOf[1].image_url.url.oneOf[2]`.
                                          pattern: >-
                                            ^[A-Za-z0-9+/=_\s-]*[A-Za-z0-9+/=_-][A-Za-z0-9+/=_\s-]*$
                                          type: string
                                  required:
                                    - url
                                  type: object
                                media_type:
                                  description: The `media_type` field on `FusionRequest`.
                                  example: example
                                  pattern: .*\S.*
                                  type: string
                                type:
                                  const: image_url
                                  description: The `type` field on `FusionRequest`.
                                  example: image_url
                                  type: string
                              required:
                                - type
                                - image_url
                              type: object
                            - additionalProperties: false
                              anyOf:
                                - description: >-
                                    Nested schema within `FusionRequest` for
                                    `FusionRequest.messages.items.oneOf[2].content.oneOf[1].items.oneOf[2].anyOf[0]`.
                                  required:
                                    - file
                                - description: >-
                                    Nested schema within `FusionRequest` for
                                    `FusionRequest.messages.items.oneOf[2].content.oneOf[1].items.oneOf[2].anyOf[1]`.
                                  required:
                                    - file_url
                                - description: >-
                                    Nested schema within `FusionRequest` for
                                    `FusionRequest.messages.items.oneOf[2].content.oneOf[1].items.oneOf[2].anyOf[2]`.
                                  required:
                                    - file_data
                              description: >-
                                Nested schema within `FusionRequest` for
                                `FusionRequest.messages.items.oneOf[2].content.oneOf[1].items.oneOf[2]`.
                              properties:
                                cache_control:
                                  additionalProperties: true
                                  description: >-
                                    The `cache_control` field on
                                    `FusionRequest`.
                                  example: {}
                                  type: object
                                file:
                                  additionalProperties: false
                                  anyOf:
                                    - description: >-
                                        Nested schema within `FusionRequest` for
                                        `FusionRequest.messages.items.oneOf[2].content.oneOf[1].items.oneOf[2].file.anyOf[0]`.
                                      required:
                                        - file_url
                                    - description: >-
                                        Nested schema within `FusionRequest` for
                                        `FusionRequest.messages.items.oneOf[2].content.oneOf[1].items.oneOf[2].file.anyOf[1]`.
                                      required:
                                        - file_data
                                  description: The `file` field on `FusionRequest`.
                                  example: {}
                                  properties:
                                    cache_control:
                                      additionalProperties: true
                                      description: >-
                                        The `cache_control` field on
                                        `FusionRequest`.
                                      example: {}
                                      type: object
                                    file_data:
                                      description: >-
                                        The `file_data` field on
                                        `FusionRequest`.
                                      example: example
                                      oneOf:
                                        - description: >-
                                            Nested schema within `FusionRequest` for
                                            `FusionRequest.messages.items.oneOf[2].content.oneOf[1].items.oneOf[2].file.file_data.oneOf[0]`.
                                          pattern: >-
                                            ^[Dd][Aa][Tt][Aa]:(?:[A-Za-z0-9.+-]+/[A-Za-z0-9.+-]+)?(?:;[^\s,;=]+=[^\s,;]+)*(?:;[Bb][Aa][Ss][Ee]64)?,[\s\S]*$
                                          type: string
                                        - description: >-
                                            Nested schema within `FusionRequest` for
                                            `FusionRequest.messages.items.oneOf[2].content.oneOf[1].items.oneOf[2].file.file_data.oneOf[1]`.
                                          pattern: >-
                                            ^[Hh][Tt][Tt][Pp][Ss]://(?!(?:[Ll][Oo][Cc][Aa][Ll][Hh][Oo][Ss][Tt]|[Ii][Pp]6-[Ll][Oo][Cc][Aa][Ll][Hh][Oo][Ss][Tt]|[Ii][Pp]6-[Ll][Oo][Oo][Pp][Bb][Aa][Cc][Kk]|[Mm][Ee][Tt][Aa][Dd][Aa][Tt][Aa]\.[Gg][Oo][Oo][Gg][Ll][Ee]\.[Ii][Nn][Tt][Ee][Rr][Nn][Aa][Ll]|[Mm][Ee][Tt][Aa][Dd][Aa][Tt][Aa]\.[Gg][Oo][Oo][Gg])(?::[0-9]+)?(?:[/?#]|$))(?!(?:0|10|127|22[4-9]|23[0-9])(?:\.[0-9]{1,3}){3}(?::[0-9]+)?(?:[/?#]|$))(?!(?:169\.254|192\.168)(?:\.[0-9]{1,3}){2}(?::[0-9]+)?(?:[/?#]|$))(?!(?:172\.(?:1[6-9]|2[0-9]|3[0-1]))(?:\.[0-9]{1,3}){2}(?::[0-9]+)?(?:[/?#]|$))(?!(?:\[(?![23][0-9A-Fa-f]{0,3}:)[0-9A-Fa-f:.]+\])(?::[0-9]+)?(?:[/?#]|$))[^@\s/?#]+(?::[0-9]+)?(?:[/?#]\S*)?$
                                          type: string
                                        - description: >-
                                            Nested schema within `FusionRequest` for
                                            `FusionRequest.messages.items.oneOf[2].content.oneOf[1].items.oneOf[2].file.file_data.oneOf[2]`.
                                          pattern: >-
                                            ^[A-Za-z0-9+/=_\s-]*[A-Za-z0-9+/=_-][A-Za-z0-9+/=_\s-]*$
                                          type: string
                                    file_url:
                                      description: The `file_url` field on `FusionRequest`.
                                      example: https://example.com/callback
                                      oneOf:
                                        - description: >-
                                            Nested schema within `FusionRequest` for
                                            `FusionRequest.messages.items.oneOf[2].content.oneOf[1].items.oneOf[2].file.file_url.oneOf[0]`.
                                          pattern: >-
                                            ^[Dd][Aa][Tt][Aa]:(?:[A-Za-z0-9.+-]+/[A-Za-z0-9.+-]+)?(?:;[^\s,;=]+=[^\s,;]+)*(?:;[Bb][Aa][Ss][Ee]64)?,[\s\S]*$
                                          type: string
                                        - description: >-
                                            Nested schema within `FusionRequest` for
                                            `FusionRequest.messages.items.oneOf[2].content.oneOf[1].items.oneOf[2].file.file_url.oneOf[1]`.
                                          pattern: >-
                                            ^[Hh][Tt][Tt][Pp][Ss]://(?!(?:[Ll][Oo][Cc][Aa][Ll][Hh][Oo][Ss][Tt]|[Ii][Pp]6-[Ll][Oo][Cc][Aa][Ll][Hh][Oo][Ss][Tt]|[Ii][Pp]6-[Ll][Oo][Oo][Pp][Bb][Aa][Cc][Kk]|[Mm][Ee][Tt][Aa][Dd][Aa][Tt][Aa]\.[Gg][Oo][Oo][Gg][Ll][Ee]\.[Ii][Nn][Tt][Ee][Rr][Nn][Aa][Ll]|[Mm][Ee][Tt][Aa][Dd][Aa][Tt][Aa]\.[Gg][Oo][Oo][Gg])(?::[0-9]+)?(?:[/?#]|$))(?!(?:0|10|127|22[4-9]|23[0-9])(?:\.[0-9]{1,3}){3}(?::[0-9]+)?(?:[/?#]|$))(?!(?:169\.254|192\.168)(?:\.[0-9]{1,3}){2}(?::[0-9]+)?(?:[/?#]|$))(?!(?:172\.(?:1[6-9]|2[0-9]|3[0-1]))(?:\.[0-9]{1,3}){2}(?::[0-9]+)?(?:[/?#]|$))(?!(?:\[(?![23][0-9A-Fa-f]{0,3}:)[0-9A-Fa-f:.]+\])(?::[0-9]+)?(?:[/?#]|$))[^@\s/?#]+(?::[0-9]+)?(?:[/?#]\S*)?$
                                          type: string
                                        - description: >-
                                            Nested schema within `FusionRequest` for
                                            `FusionRequest.messages.items.oneOf[2].content.oneOf[1].items.oneOf[2].file.file_url.oneOf[2]`.
                                          pattern: >-
                                            ^[A-Za-z0-9+/=_\s-]*[A-Za-z0-9+/=_-][A-Za-z0-9+/=_\s-]*$
                                          type: string
                                    filename:
                                      description: The `filename` field on `FusionRequest`.
                                      example: example
                                      type: string
                                  type: object
                                file_data:
                                  description: The `file_data` field on `FusionRequest`.
                                  example: example
                                  oneOf:
                                    - description: >-
                                        Nested schema within `FusionRequest` for
                                        `FusionRequest.messages.items.oneOf[2].content.oneOf[1].items.oneOf[2].file_data.oneOf[0]`.
                                      pattern: >-
                                        ^[Dd][Aa][Tt][Aa]:(?:[A-Za-z0-9.+-]+/[A-Za-z0-9.+-]+)?(?:;[^\s,;=]+=[^\s,;]+)*(?:;[Bb][Aa][Ss][Ee]64)?,[\s\S]*$
                                      type: string
                                    - description: >-
                                        Nested schema within `FusionRequest` for
                                        `FusionRequest.messages.items.oneOf[2].content.oneOf[1].items.oneOf[2].file_data.oneOf[1]`.
                                      pattern: >-
                                        ^[Hh][Tt][Tt][Pp][Ss]://(?!(?:[Ll][Oo][Cc][Aa][Ll][Hh][Oo][Ss][Tt]|[Ii][Pp]6-[Ll][Oo][Cc][Aa][Ll][Hh][Oo][Ss][Tt]|[Ii][Pp]6-[Ll][Oo][Oo][Pp][Bb][Aa][Cc][Kk]|[Mm][Ee][Tt][Aa][Dd][Aa][Tt][Aa]\.[Gg][Oo][Oo][Gg][Ll][Ee]\.[Ii][Nn][Tt][Ee][Rr][Nn][Aa][Ll]|[Mm][Ee][Tt][Aa][Dd][Aa][Tt][Aa]\.[Gg][Oo][Oo][Gg])(?::[0-9]+)?(?:[/?#]|$))(?!(?:0|10|127|22[4-9]|23[0-9])(?:\.[0-9]{1,3}){3}(?::[0-9]+)?(?:[/?#]|$))(?!(?:169\.254|192\.168)(?:\.[0-9]{1,3}){2}(?::[0-9]+)?(?:[/?#]|$))(?!(?:172\.(?:1[6-9]|2[0-9]|3[0-1]))(?:\.[0-9]{1,3}){2}(?::[0-9]+)?(?:[/?#]|$))(?!(?:\[(?![23][0-9A-Fa-f]{0,3}:)[0-9A-Fa-f:.]+\])(?::[0-9]+)?(?:[/?#]|$))[^@\s/?#]+(?::[0-9]+)?(?:[/?#]\S*)?$
                                      type: string
                                    - description: >-
                                        Nested schema within `FusionRequest` for
                                        `FusionRequest.messages.items.oneOf[2].content.oneOf[1].items.oneOf[2].file_data.oneOf[2]`.
                                      pattern: >-
                                        ^[A-Za-z0-9+/=_\s-]*[A-Za-z0-9+/=_-][A-Za-z0-9+/=_\s-]*$
                                      type: string
                                file_url:
                                  description: The `file_url` field on `FusionRequest`.
                                  example: https://example.com/callback
                                  oneOf:
                                    - description: >-
                                        Nested schema within `FusionRequest` for
                                        `FusionRequest.messages.items.oneOf[2].content.oneOf[1].items.oneOf[2].file_url.oneOf[0]`.
                                      pattern: >-
                                        ^[Dd][Aa][Tt][Aa]:(?:[A-Za-z0-9.+-]+/[A-Za-z0-9.+-]+)?(?:;[^\s,;=]+=[^\s,;]+)*(?:;[Bb][Aa][Ss][Ee]64)?,[\s\S]*$
                                      type: string
                                    - description: >-
                                        Nested schema within `FusionRequest` for
                                        `FusionRequest.messages.items.oneOf[2].content.oneOf[1].items.oneOf[2].file_url.oneOf[1]`.
                                      pattern: >-
                                        ^[Hh][Tt][Tt][Pp][Ss]://(?!(?:[Ll][Oo][Cc][Aa][Ll][Hh][Oo][Ss][Tt]|[Ii][Pp]6-[Ll][Oo][Cc][Aa][Ll][Hh][Oo][Ss][Tt]|[Ii][Pp]6-[Ll][Oo][Oo][Pp][Bb][Aa][Cc][Kk]|[Mm][Ee][Tt][Aa][Dd][Aa][Tt][Aa]\.[Gg][Oo][Oo][Gg][Ll][Ee]\.[Ii][Nn][Tt][Ee][Rr][Nn][Aa][Ll]|[Mm][Ee][Tt][Aa][Dd][Aa][Tt][Aa]\.[Gg][Oo][Oo][Gg])(?::[0-9]+)?(?:[/?#]|$))(?!(?:0|10|127|22[4-9]|23[0-9])(?:\.[0-9]{1,3}){3}(?::[0-9]+)?(?:[/?#]|$))(?!(?:169\.254|192\.168)(?:\.[0-9]{1,3}){2}(?::[0-9]+)?(?:[/?#]|$))(?!(?:172\.(?:1[6-9]|2[0-9]|3[0-1]))(?:\.[0-9]{1,3}){2}(?::[0-9]+)?(?:[/?#]|$))(?!(?:\[(?![23][0-9A-Fa-f]{0,3}:)[0-9A-Fa-f:.]+\])(?::[0-9]+)?(?:[/?#]|$))[^@\s/?#]+(?::[0-9]+)?(?:[/?#]\S*)?$
                                      type: string
                                    - description: >-
                                        Nested schema within `FusionRequest` for
                                        `FusionRequest.messages.items.oneOf[2].content.oneOf[1].items.oneOf[2].file_url.oneOf[2]`.
                                      pattern: >-
                                        ^[A-Za-z0-9+/=_\s-]*[A-Za-z0-9+/=_-][A-Za-z0-9+/=_\s-]*$
                                      type: string
                                filename:
                                  description: The `filename` field on `FusionRequest`.
                                  example: example
                                  type: string
                                type:
                                  description: The `type` field on `FusionRequest`.
                                  enum:
                                    - file
                                    - input_file
                                  example: file
                                  type: string
                              required:
                                - type
                              type: object
                        type: array
                      - description: >-
                          Nested schema within `FusionRequest` for
                          `FusionRequest.messages.items.oneOf[2].content.oneOf[2]`.
                        type: 'null'
                  role:
                    const: tool
                    description: The `role` field on `FusionRequest`.
                    example: tool
                    type: string
                  tool_call_id:
                    description: The `tool_call_id` field on `FusionRequest`.
                    example: 00000000-0000-4000-8000-000000000001
                    pattern: .*\S.*
                    type: string
                required:
                  - role
                  - tool_call_id
                type: object
          minItems: 1
          type: array
        models:
          description: The `models` field on `FusionRequest`.
          example: []
          items:
            description: >-
              Nested schema within `FusionRequest` for
              `FusionRequest.models.items`.
            pattern: .*\S.*
            type: string
          maxItems: 3
          minItems: 2
          type: array
          uniqueItems: true
        temperature:
          description: The `temperature` field on `FusionRequest`.
          example: 0.5
          type: number
        tools:
          allOf:
            - contains:
                anyOf:
                  - description: >-
                      Nested schema within `FusionRequest` for
                      `FusionRequest.tools.allOf[0].contains.anyOf[0]`.
                    properties:
                      type:
                        const: web_search
                        description: The `type` field on `FusionRequest`.
                        example: web_search
                        type: string
                    required:
                      - type
                  - description: >-
                      Nested schema within `FusionRequest` for
                      `FusionRequest.tools.allOf[0].contains.anyOf[1]`.
                    properties:
                      TYPE:
                        const: web_search
                        description: The `TYPE` field on `FusionRequest`.
                        example: web_search
                        type: string
                    required:
                      - TYPE
                description: >-
                  Nested schema within `FusionRequest` for
                  `FusionRequest.tools.allOf[0].contains`.
                type: object
              description: >-
                Nested schema within `FusionRequest` for
                `FusionRequest.tools.allOf[0]`.
              maxContains: 1
              minContains: 0
            - contains:
                anyOf:
                  - description: >-
                      Nested schema within `FusionRequest` for
                      `FusionRequest.tools.allOf[1].contains.anyOf[0]`.
                    properties:
                      type:
                        const: web_fetch
                        description: The `type` field on `FusionRequest`.
                        example: web_fetch
                        type: string
                    required:
                      - type
                  - description: >-
                      Nested schema within `FusionRequest` for
                      `FusionRequest.tools.allOf[1].contains.anyOf[1]`.
                    properties:
                      TYPE:
                        const: web_fetch
                        description: The `TYPE` field on `FusionRequest`.
                        example: web_fetch
                        type: string
                    required:
                      - TYPE
                description: >-
                  Nested schema within `FusionRequest` for
                  `FusionRequest.tools.allOf[1].contains`.
                type: object
              description: >-
                Nested schema within `FusionRequest` for
                `FusionRequest.tools.allOf[1]`.
              maxContains: 1
              minContains: 0
            - contains:
                anyOf:
                  - description: >-
                      Nested schema within `FusionRequest` for
                      `FusionRequest.tools.allOf[2].contains.anyOf[0]`.
                    properties:
                      type:
                        const: openrouter:web_search
                        description: The `type` field on `FusionRequest`.
                        example: openrouter:web_search
                        type: string
                    required:
                      - type
                  - description: >-
                      Nested schema within `FusionRequest` for
                      `FusionRequest.tools.allOf[2].contains.anyOf[1]`.
                    properties:
                      TYPE:
                        const: openrouter:web_search
                        description: The `TYPE` field on `FusionRequest`.
                        example: openrouter:web_search
                        type: string
                    required:
                      - TYPE
                description: >-
                  Nested schema within `FusionRequest` for
                  `FusionRequest.tools.allOf[2].contains`.
                type: object
              description: >-
                Nested schema within `FusionRequest` for
                `FusionRequest.tools.allOf[2]`.
              maxContains: 1
              minContains: 0
            - contains:
                anyOf:
                  - description: >-
                      Nested schema within `FusionRequest` for
                      `FusionRequest.tools.allOf[3].contains.anyOf[0]`.
                    properties:
                      type:
                        const: openrouter:web_fetch
                        description: The `type` field on `FusionRequest`.
                        example: openrouter:web_fetch
                        type: string
                    required:
                      - type
                  - description: >-
                      Nested schema within `FusionRequest` for
                      `FusionRequest.tools.allOf[3].contains.anyOf[1]`.
                    properties:
                      TYPE:
                        const: openrouter:web_fetch
                        description: The `TYPE` field on `FusionRequest`.
                        example: openrouter:web_fetch
                        type: string
                    required:
                      - TYPE
                description: >-
                  Nested schema within `FusionRequest` for
                  `FusionRequest.tools.allOf[3].contains`.
                type: object
              description: >-
                Nested schema within `FusionRequest` for
                `FusionRequest.tools.allOf[3]`.
              maxContains: 1
              minContains: 0
          description: The `tools` field on `FusionRequest`.
          example: []
          items:
            additionalProperties: false
            description: >-
              Nested schema within `FusionRequest` for
              `FusionRequest.tools.items`.
            properties:
              parameters:
                additionalProperties: true
                description: The `parameters` field on `FusionRequest`.
                example: {}
                type: object
              type:
                description: The `type` field on `FusionRequest`.
                enum:
                  - web_search
                  - web_fetch
                  - openrouter:web_search
                  - openrouter:web_fetch
                example: web_search
                type: string
            required:
              - type
            type: object
          type: array
        top_p:
          description: The `top_p` field on `FusionRequest`.
          example: 0.5
          type: number
        user:
          description: The `user` field on `FusionRequest`.
          example: example
          type: string
        web_fetch:
          description: The `web_fetch` field on `FusionRequest`.
          example: true
          type: boolean
        web_search:
          description: The `web_search` field on `FusionRequest`.
          example: true
          oneOf:
            - description: >-
                Nested schema within `FusionRequest` for
                `FusionRequest.web_search.oneOf[0]`.
              type: boolean
            - additionalProperties: false
              description: >-
                Nested schema within `FusionRequest` for
                `FusionRequest.web_search.oneOf[1]`.
              properties:
                country:
                  description: The `country` field on `FusionRequest`.
                  example: US
                  type: string
                freshness:
                  description: The `freshness` field on `FusionRequest`.
                  example: example
                  type: string
                location:
                  additionalProperties: false
                  description: The `location` field on `FusionRequest`.
                  example: {}
                  properties:
                    city:
                      description: The `city` field on `FusionRequest`.
                      example: example
                      type: string
                    country:
                      description: The `country` field on `FusionRequest`.
                      example: US
                      type: string
                    latitude:
                      description: The `latitude` field on `FusionRequest`.
                      example: 0.5
                      type: number
                    longitude:
                      description: The `longitude` field on `FusionRequest`.
                      example: 0.5
                      type: number
                    postal_code:
                      description: The `postal_code` field on `FusionRequest`.
                      example: example
                      type: string
                    region:
                      description: The `region` field on `FusionRequest`.
                      example: example
                      type: string
                    state:
                      description: The `state` field on `FusionRequest`.
                      example: example
                      type: string
                    timezone:
                      description: The `timezone` field on `FusionRequest`.
                      example: example
                      type: string
                  type: object
                max_context_tokens:
                  description: The `max_context_tokens` field on `FusionRequest`.
                  example: 12
                  minimum: 0
                  type: integer
                max_sources:
                  description: The `max_sources` field on `FusionRequest`.
                  example: 1
                  minimum: 0
                  type: integer
                mode:
                  description: The `mode` field on `FusionRequest`.
                  enum:
                    - 'off'
                    - auto
                    - 'on'
                  example: 'off'
                  type: string
                research:
                  default: false
                  description: >-
                    Opt into bounded model-led research rounds before the final
                    answer. Ordinary search retrieves context and answers
                    without intermediate research generations.
                  example: true
                  type: boolean
                retrieval_mode:
                  description: The `retrieval_mode` field on `FusionRequest`.
                  enum:
                    - llm_context
                    - web_search
                    - web_fetch
                  example: llm_context
                  type: string
                safesearch:
                  description: The `safesearch` field on `FusionRequest`.
                  enum:
                    - 'off'
                    - moderate
                    - strict
                  example: 'off'
                  type: string
                search_lang:
                  description: The `search_lang` field on `FusionRequest`.
                  example: example
                  type: string
              type: object
            - description: >-
                Nested schema within `FusionRequest` for
                `FusionRequest.web_search.oneOf[2]`.
              type: 'null'
      required:
        - models
        - messages
      type: object
    FusionMultipartRequest:
      additionalProperties: false
      description: >-
        Schema for `FusionMultipartRequest` values returned by or accepted by
        the Nito gateway.
      example:
        request: >-
          {"models":["openai/gpt-5.5","anthropic/claude-sonnet-4"],"messages":[{"role":"user","content":"Compare
          the options briefly."}]}
      maxProperties: 11
      patternProperties:
        ^attachment\.[A-Za-z0-9_-]{1,64}$:
          description: >-
            Optional image file part referenced from the request body by
            attachment ID.
          example: example
          format: binary
          type: string
      properties:
        request:
          description: JSON-encoded request body part.
          example: example
          type: string
      required:
        - request
      type: object
    FusionResponse:
      description: >-
        Schema for `FusionResponse` values returned by or accepted by the Nito
        gateway.
      example:
        created: 1778268600
        judge: openai/gpt-5.5
        models:
          - finish_reason: stop
            id: openai/gpt-5.5
            latency_ms: 800
            model: openai/gpt-5.5
            output: Option A is concise.
            prompt_tokens: 12
            tokens: 6
          - finish_reason: stop
            id: anthropic/claude-sonnet-4
            latency_ms: 950
            model: anthropic/claude-sonnet-4
            output: Option B allows more flexibility.
            prompt_tokens: 14
            tokens: 8
        object: fusion.completion
        status: complete
        synthesis: Both options are viable.
        synthesis_prompt_tokens: 30
        synthesis_tokens: 12
      properties:
        created:
          description: The `created` field on `FusionResponse`.
          example: 1778268600
          type: integer
        free_tier:
          $ref: '#/components/schemas/FreeTierStatus'
          description: The `free_tier` field on `FusionResponse`.
          example: example
        judge:
          description: The `judge` field on `FusionResponse`.
          example: example
          type: string
        models:
          description: The `models` field on `FusionResponse`.
          example: []
          items:
            description: >-
              Nested schema within `FusionResponse` for
              `FusionResponse.models.items`.
            properties:
              attestation:
                $ref: '#/components/schemas/AttestationReport'
                description: The `attestation` field on `FusionResponse`.
                example: example
              error:
                description: The `error` field on `FusionResponse`.
                example: example
                type: string
              error_code:
                description: The `error_code` field on `FusionResponse`.
                enum:
                  - invalid_request
                  - model_unavailable
                  - unauthorized
                  - forbidden
                  - insufficient_quota
                  - payment_required
                  - rate_limited
                  - unavailable
                  - provider_error
                  - internal_error
                example: invalid_request
                type: string
              finish_reason:
                description: The `finish_reason` field on `FusionResponse`.
                example: example
                type: string
              id:
                description: The `id` field on `FusionResponse`.
                example: 00000000-0000-4000-8000-000000000001
                type: string
              latency_ms:
                description: The `latency_ms` field on `FusionResponse`.
                example: 1
                type: integer
              model:
                description: The `model` field on `FusionResponse`.
                example: openai/gpt-5.5
                type: string
              output:
                description: The `output` field on `FusionResponse`.
                example: example
                type: string
              prompt_tokens:
                description: The `prompt_tokens` field on `FusionResponse`.
                example: 12
                type: integer
              provider:
                description: The `provider` field on `FusionResponse`.
                example: example
                type: string
              tokens:
                description: The `tokens` field on `FusionResponse`.
                example: 12
                type: integer
              web_search:
                description: The `web_search` field on `FusionResponse`.
                example: {}
                properties:
                  error:
                    description: The `error` field on `FusionResponse`.
                    example: {}
                    properties:
                      message:
                        description: The `message` field on `FusionResponse`.
                        example: example
                        type: string
                      type:
                        description: The `type` field on `FusionResponse`.
                        example: example
                        type: string
                    required:
                      - type
                      - message
                    type: object
                  provider_request_count:
                    description: The `provider_request_count` field on `FusionResponse`.
                    example: 1
                    minimum: 0
                    type: integer
                  retrieval_mode:
                    description: The `retrieval_mode` field on `FusionResponse`.
                    enum:
                      - llm_context
                      - web_search
                      - web_fetch
                    example: llm_context
                    type: string
                  sources:
                    description: The `sources` field on `FusionResponse`.
                    example: []
                    items:
                      description: >-
                        Nested schema within `FusionResponse` for
                        `FusionResponse.models.items.web_search.sources.items`.
                      properties:
                        date:
                          description: The `date` field on `FusionResponse`.
                          example: '2026-07-07T00:00:00Z'
                          type: string
                        domain:
                          description: The `domain` field on `FusionResponse`.
                          example: example
                          type: string
                        id:
                          description: The `id` field on `FusionResponse`.
                          example: 1
                          type: integer
                        snippet:
                          description: The `snippet` field on `FusionResponse`.
                          example: example
                          type: string
                        title:
                          description: The `title` field on `FusionResponse`.
                          example: example
                          type: string
                        url:
                          description: The `url` field on `FusionResponse`.
                          example: https://example.com/callback
                          type: string
                      required:
                        - id
                        - title
                        - url
                        - domain
                      type: object
                    type: array
                  used:
                    description: The `used` field on `FusionResponse`.
                    example: true
                    type: boolean
                required:
                  - used
                type: object
              web_tool_use:
                description: The `web_tool_use` field on `FusionResponse`.
                example: {}
                properties:
                  evidence:
                    description: The `evidence` field on `FusionResponse`.
                    enum:
                      - reported
                      - inferred
                      - unknown
                    example: reported
                    type: string
                  fetch_requests:
                    description: The `fetch_requests` field on `FusionResponse`.
                    example: 1
                    type: integer
                  search_requests:
                    description: The `search_requests` field on `FusionResponse`.
                    example: 1
                    type: integer
                  search_results:
                    description: The `search_results` field on `FusionResponse`.
                    example: 1
                    type: integer
                required:
                  - evidence
                  - search_requests
                  - search_results
                  - fetch_requests
                type: object
            type: object
          type: array
        object:
          description: The `object` field on `FusionResponse`.
          enum:
            - fusion.completion
          example: fusion.completion
          type: string
        status:
          description: The `status` field on `FusionResponse`.
          enum:
            - complete
            - partial
            - failed
          example: complete
          type: string
        synthesis:
          description: The `synthesis` field on `FusionResponse`.
          example: example
          type: string
        synthesis_attestation:
          $ref: '#/components/schemas/AttestationReport'
          description: The `synthesis_attestation` field on `FusionResponse`.
          example: '2026-07-07T00:00:00Z'
        synthesis_prompt_tokens:
          description: The `synthesis_prompt_tokens` field on `FusionResponse`.
          example: 12
          type: integer
        synthesis_tokens:
          description: The `synthesis_tokens` field on `FusionResponse`.
          example: 12
          type: integer
      required:
        - object
        - created
        - status
        - judge
        - synthesis
        - synthesis_prompt_tokens
        - synthesis_tokens
        - models
      type: object
    ErrorResponse:
      description: >-
        Schema for `ErrorResponse` values returned by or accepted by the Nito
        gateway.
      example:
        error:
          code: invalid_request
          message: The request is invalid.
          param: model
      properties:
        error:
          $ref: '#/components/schemas/Error'
          description: The `error` field on `ErrorResponse`.
          example: example
      required:
        - error
      type: object
    FreeTierStatus:
      description: >-
        Schema for `FreeTierStatus` values returned by or accepted by the Nito
        gateway.
      example:
        configured: true
        free_plan: true
        image:
          limit: 1
          remaining: 1
        reason: example
        reset_at: '2026-07-07T00:00:00Z'
        text:
          limit: 1
          remaining: 1
      properties:
        configured:
          description: The `configured` field on `FreeTierStatus`.
          example: true
          type: boolean
        free_plan:
          description: The `free_plan` field on `FreeTierStatus`.
          example: true
          type: boolean
        image:
          description: The `image` field on `FreeTierStatus`.
          example: {}
          properties:
            limit:
              description: The `limit` field on `FreeTierStatus`.
              example: 1
              type: integer
            remaining:
              description: The `remaining` field on `FreeTierStatus`.
              example: 1
              type: integer
          required:
            - limit
            - remaining
          type: object
        reason:
          description: The `reason` field on `FreeTierStatus`.
          example: example
          type: string
        reset_at:
          description: The `reset_at` field on `FreeTierStatus`.
          example: '2026-07-07T00:00:00Z'
          type: string
        text:
          description: The `text` field on `FreeTierStatus`.
          example: {}
          properties:
            limit:
              description: The `limit` field on `FreeTierStatus`.
              example: 1
              type: integer
            remaining:
              description: The `remaining` field on `FreeTierStatus`.
              example: 1
              type: integer
          required:
            - limit
            - remaining
          type: object
      required:
        - configured
        - free_plan
      type: object
    AttestationReport:
      description: >-
        Schema for `AttestationReport` values returned by or accepted by the
        Nito gateway.
      example:
        attestation_available: true
        evidence:
          redacted: true
        model: phala/gpt-oss-20b:confidential
        model_public_key: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
        nonce: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
        object: attestation
        privacy_tier: confidential
        proof_format: provider_report
        provider_model_id: phala/gpt-oss-20b
        signing_address: '0x0000000000000000000000000000000000000000'
        signing_algo: ed25519
        signing_key: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
        verified: false
      properties:
        attestation_available:
          description: The `attestation_available` field on `AttestationReport`.
          example: true
          type: boolean
        attestation_subject:
          description: The `attestation_subject` field on `AttestationReport`.
          example: example
          type: string
        evidence:
          additionalProperties: true
          description: The `evidence` field on `AttestationReport`.
          example: {}
          type: object
        model:
          description: Routed attested model ID returned for the request.
          example: phala/gpt-oss-20b:confidential
          type: string
        model_public_key:
          description: >-
            Public key material for the attested model. Provider-observed and
            unverified in the current server release: sourced from the raw
            provider envelope, useful as a hint for consumers that verify
            `evidence` locally.
          example: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
          type: string
        nonce:
          description: >-
            32-byte hexadecimal challenge for this attestation request. Always
            populated in a successful response — the value the caller supplied
            verbatim if they passed one, or the value the server generated for
            callers who omitted it. Clients performing their own evidence
            verification compare this challenge against the nonce bound inside
            the Intel TDX `report_data`; a provider-echoed wire nonce that
            differs from the challenge is rejected upstream with HTTP 503 and
            never reaches this envelope.
          example: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
          type: string
        object:
          description: The `object` field on `AttestationReport`.
          enum:
            - attestation
          example: attestation
          type: string
        privacy_tier:
          description: The `privacy_tier` field on `AttestationReport`.
          enum:
            - confidential
            - encrypted
          example: confidential
          type: string
        proof_format:
          description: The `proof_format` field on `AttestationReport`.
          example: example
          type: string
        provider_model_id:
          description: The `provider_model_id` field on `AttestationReport`.
          example: 00000000-0000-4000-8000-000000000001
          type: string
        signing_address:
          description: >-
            Signing address (e.g. gateway- or model-bound signer) for the
            attested model. Provider-observed and unverified in the current
            server release: sourced from the raw provider envelope, useful as a
            hint for consumers that verify `evidence` locally.
          example: '0x0000000000000000000000000000000000000000'
          type: string
        signing_algo:
          description: >-
            Signature algorithm identifier for the attested model's signing key.
            Provider-observed and unverified in the current server release:
            sourced from the raw provider envelope, useful as a hint for
            consumers that verify `evidence` locally.
          example: ed25519
          type: string
        signing_key:
          description: >-
            Public signing key material for the attested model, mirrored from
            `model_public_key`. Provider-observed and unverified in the current
            server release: sourced from the raw provider envelope, useful as a
            hint for consumers that verify `evidence` locally.
          example: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
          type: string
        verified:
          description: >-
            Always false in the current server release: the in-band
            pinned-authority verifier was removed and clients that need
            cryptographic assurance verify `evidence` themselves.
          example: false
          type: boolean
        verifier_provenance:
          description: >-
            Always empty in the current server release. Preserved in the
            envelope for wire-contract compatibility with previously-persisted
            client state; the pinned-authority verifier path no longer runs on
            the server.
          example: ''
          type: string
      required:
        - object
        - model
        - provider_model_id
        - privacy_tier
        - attestation_available
        - verified
        - evidence
      type: object
    Error:
      description: Schema for `Error` values returned by or accepted by the Nito gateway.
      example:
        code: example
        message: example
        operation_id: 00000000-0000-4000-8000-000000000001
        param: example
      properties:
        code:
          description: The `code` field on `Error`.
          example: example
          type: string
        message:
          description: The `message` field on `Error`.
          example: example
          type: string
        operation_id:
          description: The `operation_id` field on `Error`.
          example: 00000000-0000-4000-8000-000000000001
          type: string
        param:
          description: The `param` field on `Error`.
          example: example
          type: string
      required:
        - message
        - code
      type: object
  headers:
    RateLimitLimit:
      description: Maximum requests for the controlling gateway request-rate bucket.
      schema:
        type: string
    RateLimitRemaining:
      description: >-
        Additional requests immediately available in the controlling gateway
        request-rate bucket.
      schema:
        type: string
    RateLimitReset:
      description: >-
        UTC Unix epoch seconds, rounded up, when the controlling gateway
        request-rate bucket is fully replenished.
      schema:
        type: string
  securitySchemes:
    PublicApiBearer:
      description: 'Org API key as Authorization: Bearer z_sk_...'
      scheme: bearer
      type: http
    PublicApiKeyHeader:
      description: Org API-key compatibility header. CLI and MCP tokens are rejected here.
      in: header
      name: X-API-Key
      type: apiKey
    CliOAuthBearer:
      description: 'OAuth CLI access token as Authorization: Bearer nito_cli_...'
      scheme: bearer
      type: http

````

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