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

# List account model inventory

> List account-observed models and exact routes with current server readiness, import completeness and counts before pagination. Observations remain separate from tested model records.



## OpenAPI

````yaml /openapi/solverapi.openapi.json get /v1/model-inventory
openapi: 3.1.0
info:
  description: >-
    Run approved AI models under data, cost, and time limits. A cost limit can
    stop another provider call after recorded spend reaches the limit; it cannot
    reverse a call already in progress. Each finished run returns a receipt
    naming the selected model and provider without including the prompt or model
    output. Use the model catalog for what your organization can run now.
    Provider secrets never appear in API requests or responses. Retry a mutation
    with the same Idempotency-Key and the same request body.
  title: Millwork API
  version: 1.0.0
servers:
  - url: https://api.getmillwork.dev
security: []
tags:
  - description: >-
      Submit work, check its status, cancel it, and read the result. The API
      calls each run an execution.
    name: Runs
  - description: >-
      Register an asynchronous coding agent and manage its repository-bound
      credentials.
    name: Review Composer
  - description: Connect a repository to this organization through the Millwork GitHub App.
    name: GitHub review connections
  - description: A record of how a run was handled, without prompt or result content.
    name: Receipts
  - description: Models this organization can use now.
    name: Models
  - description: Providers and sign-in methods that can be connected.
    name: Available providers
  - description: Provider accounts connected to this organization.
    name: Provider connections
  - description: >-
      Observed account models, exact routes, current readiness, import recovery
      and bounded permission plans. Observations are separate from tested model
      records.
    name: Account model inventory
  - description: >-
      Confirm and recover explicit permission for one exact account route and
      task envelope. Permission does not run a model or record a test.
    name: Exact route permissions
  - description: >-
      One-time browser steps for connecting a provider without sending its
      secret in an API request.
    name: Secure credential setup
  - description: Exact models and provider routes available through connected accounts.
    name: Provider models
  - description: Create, label, list, and revoke organization API keys.
    name: API keys
  - description: Organization members and invitations.
    name: Members
  - description: Metered usage and quota state.
    name: Usage
  - description: Account, plan and allowance snapshot.
    name: Account
  - description: Checkout, billing portal and billing profile.
    name: Billing
  - description: Webhook endpoints, deliveries and replay.
    name: Webhooks
  - description: Organization-scoped compliance export.
    name: Compliance export
  - description: >-
      Models, agents, and skills Millwork can choose for a run. The API calls
      each one an arm.
    name: Registered options
  - description: >-
      Checks that score output and can stop, retry, or choose another option
      within the request policy.
    name: Output checks
  - description: Routing proposals and their review lifecycle.
    name: Repair proposals
  - description: Aggregate evaluation trend and repair history.
    name: Evaluation
  - description: Publisher and release identity records for supported models.
    name: Model definitions
  - description: >-
      Protected provider-credential references. Secret material never appears in
      this API.
    name: Credential references
  - description: Dashboard browser sign-in, sign-up, session lookup, and sign-out.
    name: Browser access
  - description: >-
      Record and recover support requests from the signed-in human session.
      Notification delivery is separate from request status.
    name: Support requests
  - description: Read-only demo session setup.
    name: Demo
  - description: Machine setup and the authenticated organization profile.
    name: Organizations
  - description: Eligible immutable starter presets and typed blockers.
    name: Tenant templates
  - description: Stateless starter plan resolution. No write and no provider call.
    name: Tenant template plans
  - description: Durable starter applications that resume instead of restarting.
    name: Tenant template applications
paths:
  /v1/model-inventory:
    get:
      tags:
        - Account model inventory
      summary: List account model inventory
      description: >-
        List account-observed models and exact routes with current server
        readiness, import completeness and counts before pagination.
        Observations remain separate from tested model records.
      operationId: getModelInventory
      parameters:
        - in: query
          name: access_lane
          required: false
          schema:
            enum:
              - byok
              - millwork_pool
        - in: query
          name: connection_id
          required: false
          schema:
            maxLength: 200
            type: string
        - in: query
          name: source_id
          required: false
          schema:
            maxLength: 200
            type: string
        - in: query
          name: q
          required: false
          schema:
            maxLength: 200
            type: string
        - in: query
          name: readiness
          required: false
          schema:
            enum:
              - ready
              - needs_action
              - not_available
        - in: query
          name: publisher_id
          required: false
          schema:
            maxLength: 200
            type: string
        - in: query
          name: model_group_key
          required: false
          schema:
            maxLength: 512
            type: string
        - in: query
          name: cursor
          required: false
          schema:
            maxLength: 2048
            type: string
        - in: query
          name: limit
          required: false
          schema:
            maximum: 200
            minimum: 1
            type: integer
        - in: query
          name: view
          required: false
          schema:
            enum:
              - routes
              - models
        - in: query
          name: include_tested
          required: false
          schema:
            type: boolean
        - in: query
          name: snapshot_digest
          required: false
          schema:
            pattern: ^[a-f0-9]{64}$
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                additionalProperties: false
                properties:
                  catalog_routes:
                    items:
                      oneOf:
                        - additionalProperties: false
                          properties:
                            catalog:
                              additionalProperties: true
                              type: object
                            kind:
                              enum:
                                - tested
                          required:
                            - kind
                            - catalog
                          type: object
                        - additionalProperties: false
                          properties:
                            inventory:
                              additionalProperties: false
                              properties:
                                added:
                                  additionalProperties: false
                                  properties:
                                    arm_ids:
                                      items:
                                        type: string
                                      type: array
                                    model_deployment_id:
                                      anyOf:
                                        - type: string
                                        - type: 'null'
                                    registrations:
                                      items:
                                        additionalProperties: false
                                        properties:
                                          arm_id:
                                            type: string
                                          authority_id:
                                            type: string
                                          model_deployment_id:
                                            type: string
                                        required:
                                          - arm_id
                                          - authority_id
                                          - model_deployment_id
                                        type: object
                                      type: array
                                  required:
                                    - arm_ids
                                    - model_deployment_id
                                    - registrations
                                  type: object
                                authorization:
                                  anyOf:
                                    - additionalProperties: false
                                      properties:
                                        arm_registration_template:
                                          additionalProperties: false
                                          properties:
                                            capability_tags:
                                              items:
                                                type: string
                                              type: array
                                            cost_class:
                                              $ref: '#/components/schemas/CostClass'
                                            data_class_grants:
                                              items:
                                                $ref: '#/components/schemas/DataClass'
                                              type: array
                                            display_name:
                                              type: string
                                            kind:
                                              enum:
                                                - model
                                            route_authority_id:
                                              type: string
                                          required:
                                            - kind
                                            - display_name
                                            - route_authority_id
                                            - capability_tags
                                            - data_class_grants
                                            - cost_class
                                          type: object
                                        authority_id:
                                          type: string
                                        authority_revision:
                                          minimum: 0
                                          type: integer
                                        binding_revision:
                                          minimum: 0
                                          type: integer
                                        bound:
                                          additionalProperties: false
                                          properties:
                                            anthropic_evidence:
                                              additionalProperties: false
                                              properties:
                                                evidence_refs:
                                                  items:
                                                    type: string
                                                  type: array
                                                expires_at:
                                                  type: string
                                                input_usd_per_token:
                                                  type: string
                                                output_usd_per_token:
                                                  type: string
                                                proof_digest:
                                                  type: string
                                                request_usd:
                                                  type: string
                                                resolved_model_ids:
                                                  items:
                                                    type: string
                                                  type: array
                                                version:
                                                  enum:
                                                    - anthropic.messages/v1
                                              required:
                                                - version
                                                - proof_digest
                                                - evidence_refs
                                                - expires_at
                                                - resolved_model_ids
                                                - input_usd_per_token
                                                - output_usd_per_token
                                                - request_usd
                                              type: object
                                            assumptions:
                                              items:
                                                type: string
                                              type: array
                                            class_evidence:
                                              additionalProperties: false
                                              properties:
                                                evidence_refs:
                                                  items:
                                                    type: string
                                                  type: array
                                                expected_provider:
                                                  type: string
                                                expires_at:
                                                  type: string
                                                meter_limits:
                                                  items:
                                                    additionalProperties: false
                                                    properties:
                                                      maximum_volume:
                                                        minimum: 0
                                                        type: integer
                                                      meter:
                                                        type: string
                                                      usage_field:
                                                        enum:
                                                          - prompt_tokens
                                                          - completion_tokens
                                                          - uncached_prompt_tokens
                                                          - visible_completion_tokens
                                                          - >-
                                                            completion_tokens_details.reasoning_tokens
                                                          - prompt_tokens_details.cached_tokens
                                                          - prompt_tokens_details.cache_write_tokens
                                                          - request
                                                    required:
                                                      - meter
                                                      - usage_field
                                                      - maximum_volume
                                                    type: object
                                                  type: array
                                                partitions:
                                                  items:
                                                    additionalProperties: false
                                                    properties:
                                                      maximum_volume:
                                                        minimum: 0
                                                        type: integer
                                                      partition:
                                                        type: string
                                                      usage_fields:
                                                        items:
                                                          type: string
                                                        type: array
                                                    required:
                                                      - partition
                                                      - usage_fields
                                                      - maximum_volume
                                                    type: object
                                                  type: array
                                                proof_digest:
                                                  type: string
                                                reasoning_maximum_tokens:
                                                  minimum: 0
                                                  type: integer
                                                reasoning_mode:
                                                  enum:
                                                    - disabled
                                                    - shared_completion
                                                    - independent
                                                resolved_model_ids:
                                                  items:
                                                    type: string
                                                  type: array
                                                revision:
                                                  type: string
                                                version:
                                                  enum:
                                                    - openrouter.classes/v1
                                              required:
                                                - version
                                                - revision
                                                - proof_digest
                                                - evidence_refs
                                                - expires_at
                                                - resolved_model_ids
                                                - expected_provider
                                                - reasoning_mode
                                                - reasoning_maximum_tokens
                                                - meter_limits
                                                - partitions
                                              type: object
                                            input_volume_tokens:
                                              minimum: 0
                                              type: integer
                                            meters:
                                              items:
                                                additionalProperties: false
                                                properties:
                                                  maximum_microusd:
                                                    minimum: 0
                                                    type: integer
                                                  maximum_volume:
                                                    minimum: 0
                                                    type: integer
                                                  meter:
                                                    type: string
                                                  rate_usd:
                                                    type: string
                                                required:
                                                  - meter
                                                  - maximum_volume
                                                  - rate_usd
                                                  - maximum_microusd
                                                type: object
                                              type: array
                                            output_volume_tokens:
                                              minimum: 0
                                              type: integer
                                            provider_maximum_microusd:
                                              minimum: 0
                                              type: integer
                                            rate_digest:
                                              type: string
                                            source_contract_revision:
                                              type: string
                                          required:
                                            - provider_maximum_microusd
                                            - input_volume_tokens
                                            - output_volume_tokens
                                            - meters
                                            - rate_digest
                                            - source_contract_revision
                                            - assumptions
                                          type: object
                                        connection_id:
                                          type: string
                                        expires_at:
                                          type: string
                                        issued_at:
                                          type: string
                                        item_id:
                                          type: string
                                        model_deployment_id:
                                          type: string
                                        observation_revision:
                                          type: string
                                        plan_digest:
                                          type: string
                                        planner_version:
                                          type: string
                                        policy_revision:
                                          minimum: 0
                                          type: integer
                                        prepared_request:
                                          oneOf:
                                            - additionalProperties: false
                                              properties:
                                                max_tokens:
                                                  minimum: 0
                                                  type: integer
                                                model:
                                                  type: string
                                                provider:
                                                  additionalProperties: false
                                                  properties:
                                                    allow_fallbacks:
                                                      enum:
                                                        - false
                                                    data_collection:
                                                      enum:
                                                        - deny
                                                    max_price:
                                                      additionalProperties:
                                                        type: number
                                                      type: object
                                                    only:
                                                      items:
                                                        type: string
                                                      type: array
                                                    order:
                                                      items:
                                                        type: string
                                                      type: array
                                                    require_parameters:
                                                      enum:
                                                        - true
                                                  required:
                                                    - only
                                                    - order
                                                    - allow_fallbacks
                                                    - require_parameters
                                                    - data_collection
                                                    - max_price
                                                  type: object
                                                reasoning:
                                                  oneOf:
                                                    - additionalProperties: false
                                                      properties:
                                                        effort:
                                                          enum:
                                                            - none
                                                      required:
                                                        - effort
                                                      type: object
                                                    - additionalProperties: false
                                                      properties:
                                                        enabled:
                                                          enum:
                                                            - true
                                                      required:
                                                        - enabled
                                                      type: object
                                                    - additionalProperties: false
                                                      properties:
                                                        max_tokens:
                                                          minimum: 1
                                                          type: integer
                                                      required:
                                                        - max_tokens
                                                      type: object
                                                stream:
                                                  enum:
                                                    - false
                                                usage:
                                                  additionalProperties: false
                                                  properties:
                                                    include:
                                                      enum:
                                                        - true
                                                  required:
                                                    - include
                                                  type: object
                                              required:
                                                - model
                                                - stream
                                                - max_tokens
                                                - provider
                                                - usage
                                              type: object
                                            - additionalProperties: false
                                              properties:
                                                api_version:
                                                  enum:
                                                    - '2026-10-21'
                                                inference_geo:
                                                  enum:
                                                    - global
                                                max_tokens:
                                                  minimum: 1
                                                  type: integer
                                                model:
                                                  type: string
                                                protocol:
                                                  enum:
                                                    - anthropic_messages
                                                service_tier:
                                                  enum:
                                                    - standard_only
                                                stream:
                                                  enum:
                                                    - false
                                                thinking:
                                                  additionalProperties: false
                                                  properties:
                                                    type:
                                                      enum:
                                                        - disabled
                                                        - adaptive
                                                  required:
                                                    - type
                                                  type: object
                                              required:
                                                - protocol
                                                - api_version
                                                - model
                                                - stream
                                                - max_tokens
                                                - service_tier
                                                - inference_geo
                                                - thinking
                                              type: object
                                        route_id:
                                          type: string
                                        source_id:
                                          type: string
                                        state:
                                          enum:
                                            - authorized
                                            - expired
                                            - revoked
                                        task_envelope:
                                          additionalProperties: false
                                          properties:
                                            data_classes:
                                              items:
                                                $ref: '#/components/schemas/DataClass'
                                              minItems: 1
                                              type: array
                                              uniqueItems: true
                                            max_input_tokens:
                                              minimum: 1
                                              type: integer
                                            max_output_tokens:
                                              minimum: 1
                                              type: integer
                                            max_reasoning_tokens:
                                              minimum: 1
                                              type: integer
                                            max_runtime_s:
                                              minimum: 1
                                              type: integer
                                          required:
                                            - max_input_tokens
                                            - max_output_tokens
                                            - max_runtime_s
                                            - data_classes
                                          type: object
                                        testing:
                                          additionalProperties: false
                                          properties:
                                            evidence_ref:
                                              anyOf:
                                                - type: string
                                                - type: 'null'
                                            last_tested_at:
                                              anyOf:
                                                - type: string
                                                - type: 'null'
                                            state:
                                              enum:
                                                - recorded
                                                - not_tested
                                                - unknown
                                          required:
                                            - state
                                            - last_tested_at
                                            - evidence_ref
                                          type: object
                                      required:
                                        - policy_revision
                                        - planner_version
                                        - testing
                                        - source_id
                                        - authority_id
                                        - authority_revision
                                        - model_deployment_id
                                        - item_id
                                        - route_id
                                        - observation_revision
                                        - connection_id
                                        - binding_revision
                                        - plan_digest
                                        - issued_at
                                        - expires_at
                                        - state
                                        - task_envelope
                                        - prepared_request
                                        - bound
                                        - arm_registration_template
                                      type: object
                                    - type: 'null'
                                commercial_owner:
                                  enum:
                                    - customer
                                connection_id:
                                  type: string
                                connection_name:
                                  type: string
                                display_name:
                                  type: string
                                facts:
                                  additionalProperties: false
                                  properties:
                                    alias_target_id:
                                      anyOf:
                                        - type: string
                                        - type: 'null'
                                    anthropic:
                                      additionalProperties: false
                                      properties:
                                        api_version:
                                          enum:
                                            - '2026-10-21'
                                        capabilities:
                                          additionalProperties: false
                                          properties:
                                            effort_levels:
                                              anyOf:
                                                - additionalProperties:
                                                    anyOf:
                                                      - type: boolean
                                                      - type: 'null'
                                                  type: object
                                                - type: 'null'
                                            effort_supported:
                                              anyOf:
                                                - type: boolean
                                                - type: 'null'
                                            image_input:
                                              anyOf:
                                                - type: boolean
                                                - type: 'null'
                                            pdf_input:
                                              anyOf:
                                                - type: boolean
                                                - type: 'null'
                                            structured_outputs:
                                              anyOf:
                                                - type: boolean
                                                - type: 'null'
                                            thinking_supported:
                                              anyOf:
                                                - type: boolean
                                                - type: 'null'
                                            thinking_types:
                                              anyOf:
                                                - additionalProperties:
                                                    anyOf:
                                                      - type: boolean
                                                      - type: 'null'
                                                  type: object
                                                - type: 'null'
                                          required:
                                            - thinking_supported
                                            - thinking_types
                                            - image_input
                                            - pdf_input
                                            - structured_outputs
                                            - effort_supported
                                            - effort_levels
                                          type: object
                                        created_at:
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                        deprecated_at:
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                        lifecycle:
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                        metadata_valid:
                                          type: boolean
                                        model_line:
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                        reader_version:
                                          enum:
                                            - anthropic.inventory/v1
                                        retires_at:
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                      required:
                                        - reader_version
                                        - api_version
                                        - metadata_valid
                                        - lifecycle
                                        - created_at
                                        - deprecated_at
                                        - retires_at
                                        - model_line
                                        - capabilities
                                      type: object
                                    bedrock:
                                      additionalProperties: false
                                      properties:
                                        account_scope_ref:
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                        created_at:
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                        destination_scope:
                                          enum:
                                            - global_routing
                                            - observed_member_regions
                                        foundation_models:
                                          items:
                                            additionalProperties: false
                                            properties:
                                              model_id:
                                                type: string
                                              region:
                                                anyOf:
                                                  - type: string
                                                  - type: 'null'
                                            required:
                                              - model_id
                                              - region
                                            type: object
                                          type: array
                                        invocation_entitlement:
                                          enum:
                                            - unverified
                                        model_lifecycle:
                                          type: 'null'
                                        partition:
                                          enum:
                                            - aws
                                            - aws-us-gov
                                            - aws-cn
                                        profile_binding_ref:
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                        profile_id:
                                          type: string
                                        profile_resource:
                                          enum:
                                            - inference-profile
                                            - application-inference-profile
                                        profile_status:
                                          enum:
                                            - ACTIVE
                                            - UNKNOWN
                                        profile_type:
                                          anyOf:
                                            - enum:
                                                - SYSTEM_DEFINED
                                                - APPLICATION
                                            - type: 'null'
                                        reader_version:
                                          enum:
                                            - bedrock.inventory/v1
                                        scope:
                                          enum:
                                            - bound_profile_only
                                        scope_reason:
                                          enum:
                                            - single_profile_only
                                        source_region:
                                          type: string
                                        updated_at:
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                        whole_account_inventory:
                                          enum:
                                            - false
                                      required:
                                        - reader_version
                                        - scope
                                        - whole_account_inventory
                                        - scope_reason
                                        - partition
                                        - source_region
                                        - account_scope_ref
                                        - profile_binding_ref
                                        - profile_id
                                        - profile_resource
                                        - profile_type
                                        - profile_status
                                        - created_at
                                        - updated_at
                                        - foundation_models
                                        - destination_scope
                                        - invocation_entitlement
                                        - model_lifecycle
                                      type: object
                                    canonical_id:
                                      anyOf:
                                        - type: string
                                        - type: 'null'
                                    context_length:
                                      anyOf:
                                        - minimum: 0
                                          type: integer
                                        - type: 'null'
                                    data_policy:
                                      additionalProperties: false
                                      properties:
                                        data_collection:
                                          anyOf:
                                            - enum:
                                                - allow
                                                - deny
                                            - type: 'null'
                                      required:
                                        - data_collection
                                      type: object
                                    deepseek:
                                      additionalProperties: false
                                      properties:
                                        anthropic_system_prompt_update:
                                          anyOf:
                                            - enum:
                                                - leading-only
                                                - in-history
                                            - type: 'null'
                                        conflicting_observation_digests:
                                          items:
                                            type: string
                                          type: array
                                        default_effort:
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                        effort_levels:
                                          anyOf:
                                            - items:
                                                type: string
                                              type: array
                                            - type: 'null'
                                        metadata_valid:
                                          type: boolean
                                        modalities_complete:
                                          type: boolean
                                        published_alias_of:
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                        published_evidence_refs:
                                          items:
                                            type: string
                                          type: array
                                        published_facts_checked_on:
                                          type: string
                                        published_facts_revision:
                                          type: string
                                        published_model_version:
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                        reader_version:
                                          enum:
                                            - deepseek.inventory/v1
                                      required:
                                        - reader_version
                                        - metadata_valid
                                        - modalities_complete
                                        - effort_levels
                                        - default_effort
                                        - anthropic_system_prompt_update
                                        - published_model_version
                                        - published_alias_of
                                        - published_facts_revision
                                        - published_facts_checked_on
                                        - published_evidence_refs
                                        - conflicting_observation_digests
                                      type: object
                                    display_name:
                                      type: string
                                    endpoint_model_id:
                                      anyOf:
                                        - type: string
                                        - type: 'null'
                                    endpoint_tag:
                                      anyOf:
                                        - type: string
                                        - type: 'null'
                                    evidence:
                                      additionalProperties: false
                                      properties:
                                        digest:
                                          type: string
                                        observed_at:
                                          type: string
                                        source_url:
                                          type: string
                                      required:
                                        - observed_at
                                        - source_url
                                        - digest
                                      type: object
                                    fireworks:
                                      additionalProperties: false
                                      properties:
                                        active_model_version:
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                        binding_state:
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                        chat_template_present:
                                          anyOf:
                                            - type: boolean
                                            - type: 'null'
                                        connected_account_id:
                                          type: string
                                        create_time:
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                        delete_time:
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                        deployed_model_resource:
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                        deployment_resource:
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                        deployment_state:
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                        deprecation_date:
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                        expire_time:
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                        identity_conflict:
                                          type: boolean
                                        kind:
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                        list_account_id:
                                          type: string
                                        metadata_complete:
                                          type: boolean
                                        model_resource:
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                        model_state:
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                        owner_account_id:
                                          type: string
                                        pricing_plan_id:
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                        public:
                                          anyOf:
                                            - type: boolean
                                            - type: 'null'
                                        reader_version:
                                          enum:
                                            - fireworks.inventory/v1
                                        route_kind:
                                          enum:
                                            - model
                                            - deployment
                                            - lora
                                        sku_rates:
                                          items:
                                            additionalProperties: false
                                            properties:
                                              currency_code:
                                                type: string
                                              mode:
                                                type: string
                                              nanos:
                                                minimum: 0
                                                type: integer
                                              service_tier:
                                                anyOf:
                                                  - type: string
                                                  - type: 'null'
                                              sku:
                                                type: string
                                              unit:
                                                type: string
                                              units:
                                                type: string
                                            required:
                                              - mode
                                              - service_tier
                                              - sku
                                              - unit
                                              - currency_code
                                              - units
                                              - nanos
                                            type: object
                                          type: array
                                        supports_image_input:
                                          anyOf:
                                            - type: boolean
                                            - type: 'null'
                                        supports_serverless:
                                          anyOf:
                                            - type: boolean
                                            - type: 'null'
                                        supports_tools:
                                          anyOf:
                                            - type: boolean
                                            - type: 'null'
                                        update_time:
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                      required:
                                        - reader_version
                                        - connected_account_id
                                        - owner_account_id
                                        - list_account_id
                                        - route_kind
                                        - model_resource
                                        - deployment_resource
                                        - deployed_model_resource
                                        - model_state
                                        - deployment_state
                                        - binding_state
                                        - kind
                                        - public
                                        - supports_serverless
                                        - supports_image_input
                                        - supports_tools
                                        - chat_template_present
                                        - deprecation_date
                                        - create_time
                                        - update_time
                                        - expire_time
                                        - delete_time
                                        - active_model_version
                                        - pricing_plan_id
                                        - metadata_complete
                                        - identity_conflict
                                        - sku_rates
                                      type: object
                                    gemini:
                                      additionalProperties: false
                                      properties:
                                        base_model_id:
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                        model_version:
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                        resource_name:
                                          type: string
                                        supported_generation_methods:
                                          anyOf:
                                            - items:
                                                type: string
                                              type: array
                                            - type: 'null'
                                      required:
                                        - resource_name
                                        - base_model_id
                                        - model_version
                                        - supported_generation_methods
                                      type: object
                                    input_modalities:
                                      items:
                                        type: string
                                      type: array
                                    invocation_id:
                                      type: string
                                    max_completion_tokens:
                                      anyOf:
                                        - minimum: 0
                                          type: integer
                                        - type: 'null'
                                    max_prompt_tokens:
                                      anyOf:
                                        - minimum: 0
                                          type: integer
                                        - type: 'null'
                                    output_modalities:
                                      items:
                                        type: string
                                      type: array
                                    pricing:
                                      additionalProperties:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                      type: object
                                    pricing_conditions: {}
                                    provider_name:
                                      anyOf:
                                        - type: string
                                        - type: 'null'
                                    provider_slug:
                                      anyOf:
                                        - type: string
                                        - type: 'null'
                                    publisher:
                                      anyOf:
                                        - type: string
                                        - type: 'null'
                                    quantization:
                                      anyOf:
                                        - type: string
                                        - type: 'null'
                                    reasoning:
                                      additionalProperties: false
                                      properties:
                                        mandatory:
                                          anyOf:
                                            - type: boolean
                                            - type: 'null'
                                        supported:
                                          anyOf:
                                            - type: boolean
                                            - type: 'null'
                                        supports_max_tokens:
                                          anyOf:
                                            - type: boolean
                                            - type: 'null'
                                      required:
                                        - mandatory
                                        - supported
                                      type: object
                                    region:
                                      anyOf:
                                        - type: string
                                        - type: 'null'
                                    source_metadata:
                                      additionalProperties: false
                                      properties:
                                        created:
                                          anyOf:
                                            - minimum: 0
                                              type: integer
                                            - type: 'null'
                                        kind:
                                          enum:
                                            - openai_model
                                        owned_by:
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                        shutdown_date:
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                      required:
                                        - kind
                                        - created
                                        - owned_by
                                        - shutdown_date
                                      type: object
                                    source_status:
                                      anyOf:
                                        - type: integer
                                        - type: 'null'
                                    supported_parameters:
                                      items:
                                        type: string
                                      type: array
                                    xai:
                                      additionalProperties: false
                                      properties:
                                        alias_targets:
                                          items:
                                            type: string
                                          type: array
                                        aliases:
                                          items:
                                            type: string
                                          type: array
                                        created:
                                          anyOf:
                                            - minimum: 0
                                              type: integer
                                            - type: 'null'
                                        default_reasoning_effort:
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                        detail_complete:
                                          type: boolean
                                        fingerprint:
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                        kind:
                                          enum:
                                            - language
                                            - unknown
                                        long_context_threshold:
                                          anyOf:
                                            - minimum: 0
                                              type: integer
                                            - type: 'null'
                                        modalities_complete:
                                          type: boolean
                                        rate_unit:
                                          enum:
                                            - usd_cents_per_100_million_tokens
                                        reader_version:
                                          enum:
                                            - xai.inventory/v1
                                        reasoning_efforts:
                                          anyOf:
                                            - items:
                                                type: string
                                              type: array
                                            - type: 'null'
                                        search_price:
                                          anyOf:
                                            - minimum: 0
                                              type: integer
                                            - type: 'null'
                                        search_rate_unit:
                                          enum:
                                            - usd_cents_per_100_million_searches
                                        token_rates:
                                          additionalProperties:
                                            anyOf:
                                              - minimum: 0
                                                type: integer
                                              - type: 'null'
                                          type: object
                                        version:
                                          anyOf:
                                            - type: string
                                            - type: 'null'
                                      required:
                                        - reader_version
                                        - kind
                                        - detail_complete
                                        - modalities_complete
                                        - aliases
                                        - alias_targets
                                        - version
                                        - fingerprint
                                        - created
                                        - reasoning_efforts
                                        - default_reasoning_effort
                                        - rate_unit
                                        - token_rates
                                        - search_price
                                        - search_rate_unit
                                        - long_context_threshold
                                      type: object
                                  required:
                                    - invocation_id
                                    - canonical_id
                                    - display_name
                                    - publisher
                                    - input_modalities
                                    - output_modalities
                                    - supported_parameters
                                    - context_length
                                    - max_prompt_tokens
                                    - max_completion_tokens
                                    - provider_name
                                    - provider_slug
                                    - endpoint_tag
                                    - source_status
                                    - endpoint_model_id
                                    - quantization
                                    - region
                                    - pricing
                                    - pricing_conditions
                                    - reasoning
                                    - data_policy
                                    - evidence
                                  type: object
                                invocation_id:
                                  type: string
                                item_id:
                                  type: string
                                location:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                                model_group_key:
                                  type: string
                                observation_revision:
                                  type: string
                                protocol_profile:
                                  anyOf:
                                    - enum:
                                        - openai_chat
                                        - gemini_generate_content
                                        - anthropic_messages
                                    - type: 'null'
                                publisher:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                                readiness:
                                  additionalProperties: false
                                  properties:
                                    blockers:
                                      items:
                                        additionalProperties: false
                                        properties:
                                          action:
                                            type: string
                                          actor:
                                            type: string
                                          code:
                                            enum:
                                              - access_unverified
                                              - binding_revoked
                                              - binding_rotated
                                              - identity_unbound
                                              - policy_disabled
                                              - authority_expired
                                              - price_incomplete
                                              - capability_unverified
                                              - model_details_unverified
                                              - invocation_access_unverified
                                              - source_profile_unproven
                                              - spend_bound_missing
                                              - data_policy_unknown
                                              - task_unsupported
                                              - source_unavailable
                                              - profile_status_unverified
                                              - evidence_expired
                                              - snapshot_changed
                                              - plan_changed
                                              - consent_missing
                                              - quote_expired
                                              - version_incompatible
                                              - unknown_paid
                                              - usage_unreliable
                                              - bound_exceeded
                                            type: string
                                          evidence_refs:
                                            items:
                                              type: string
                                            type: array
                                          message:
                                            type: string
                                        required:
                                          - code
                                          - actor
                                          - action
                                          - message
                                          - evidence_refs
                                        type: object
                                      type: array
                                    disposition:
                                      enum:
                                        - ready
                                        - needs_action
                                        - not_available
                                    evaluated_at:
                                      type: string
                                    planner_version:
                                      type: string
                                    policy_revision:
                                      anyOf:
                                        - minimum: 0
                                          type: integer
                                        - type: 'null'
                                  required:
                                    - disposition
                                    - evaluated_at
                                    - planner_version
                                    - policy_revision
                                    - blockers
                                  type: object
                                route_id:
                                  type: string
                                snapshot_id:
                                  type: string
                                source_id:
                                  type: string
                                testing:
                                  additionalProperties: false
                                  properties:
                                    evidence_ref:
                                      anyOf:
                                        - type: string
                                        - type: 'null'
                                    last_tested_at:
                                      anyOf:
                                        - type: string
                                        - type: 'null'
                                    state:
                                      enum:
                                        - recorded
                                        - not_tested
                                        - unknown
                                  required:
                                    - state
                                    - last_tested_at
                                    - evidence_ref
                                  type: object
                              required:
                                - item_id
                                - route_id
                                - observation_revision
                                - snapshot_id
                                - invocation_id
                                - model_group_key
                                - display_name
                                - publisher
                                - source_id
                                - connection_id
                                - connection_name
                                - protocol_profile
                                - location
                                - commercial_owner
                                - facts
                                - testing
                                - readiness
                                - authorization
                                - added
                              type: object
                            kind:
                              enum:
                                - account_inventory
                          required:
                            - kind
                            - inventory
                          type: object
                    type: array
                  counts:
                    additionalProperties: false
                    properties:
                      added:
                        anyOf:
                          - minimum: 0
                            type: integer
                          - type: 'null'
                      can_add_now:
                        anyOf:
                          - minimum: 0
                            type: integer
                          - type: 'null'
                      listed:
                        anyOf:
                          - minimum: 0
                            type: integer
                          - type: 'null'
                    required:
                      - listed
                      - can_add_now
                      - added
                    type: object
                  items:
                    items:
                      additionalProperties: false
                      properties:
                        connection_id:
                          type: string
                        invocation_id:
                          type: string
                        item_id:
                          type: string
                        model_group_key:
                          type: string
                        routes:
                          items:
                            additionalProperties: false
                            properties:
                              added:
                                additionalProperties: false
                                properties:
                                  arm_ids:
                                    items:
                                      type: string
                                    type: array
                                  model_deployment_id:
                                    anyOf:
                                      - type: string
                                      - type: 'null'
                                  registrations:
                                    items:
                                      additionalProperties: false
                                      properties:
                                        arm_id:
                                          type: string
                                        authority_id:
                                          type: string
                                        model_deployment_id:
                                          type: string
                                      required:
                                        - arm_id
                                        - authority_id
                                        - model_deployment_id
                                      type: object
                                    type: array
                                required:
                                  - arm_ids
                                  - model_deployment_id
                                  - registrations
                                type: object
                              authorization:
                                anyOf:
                                  - additionalProperties: false
                                    properties:
                                      arm_registration_template:
                                        additionalProperties: false
                                        properties:
                                          capability_tags:
                                            items:
                                              type: string
                                            type: array
                                          cost_class:
                                            $ref: '#/components/schemas/CostClass'
                                          data_class_grants:
                                            items:
                                              $ref: '#/components/schemas/DataClass'
                                            type: array
                                          display_name:
                                            type: string
                                          kind:
                                            enum:
                                              - model
                                          route_authority_id:
                                            type: string
                                        required:
                                          - kind
                                          - display_name
                                          - route_authority_id
                                          - capability_tags
                                          - data_class_grants
                                          - cost_class
                                        type: object
                                      authority_id:
                                        type: string
                                      authority_revision:
                                        minimum: 0
                                        type: integer
                                      binding_revision:
                                        minimum: 0
                                        type: integer
                                      bound:
                                        additionalProperties: false
                                        properties:
                                          anthropic_evidence:
                                            additionalProperties: false
                                            properties:
                                              evidence_refs:
                                                items:
                                                  type: string
                                                type: array
                                              expires_at:
                                                type: string
                                              input_usd_per_token:
                                                type: string
                                              output_usd_per_token:
                                                type: string
                                              proof_digest:
                                                type: string
                                              request_usd:
                                                type: string
                                              resolved_model_ids:
                                                items:
                                                  type: string
                                                type: array
                                              version:
                                                enum:
                                                  - anthropic.messages/v1
                                            required:
                                              - version
                                              - proof_digest
                                              - evidence_refs
                                              - expires_at
                                              - resolved_model_ids
                                              - input_usd_per_token
                                              - output_usd_per_token
                                              - request_usd
                                            type: object
                                          assumptions:
                                            items:
                                              type: string
                                            type: array
                                          class_evidence:
                                            additionalProperties: false
                                            properties:
                                              evidence_refs:
                                                items:
                                                  type: string
                                                type: array
                                              expected_provider:
                                                type: string
                                              expires_at:
                                                type: string
                                              meter_limits:
                                                items:
                                                  additionalProperties: false
                                                  properties:
                                                    maximum_volume:
                                                      minimum: 0
                                                      type: integer
                                                    meter:
                                                      type: string
                                                    usage_field:
                                                      enum:
                                                        - prompt_tokens
                                                        - completion_tokens
                                                        - uncached_prompt_tokens
                                                        - visible_completion_tokens
                                                        - >-
                                                          completion_tokens_details.reasoning_tokens
                                                        - prompt_tokens_details.cached_tokens
                                                        - prompt_tokens_details.cache_write_tokens
                                                        - request
                                                  required:
                                                    - meter
                                                    - usage_field
                                                    - maximum_volume
                                                  type: object
                                                type: array
                                              partitions:
                                                items:
                                                  additionalProperties: false
                                                  properties:
                                                    maximum_volume:
                                                      minimum: 0
                                                      type: integer
                                                    partition:
                                                      type: string
                                                    usage_fields:
                                                      items:
                                                        type: string
                                                      type: array
                                                  required:
                                                    - partition
                                                    - usage_fields
                                                    - maximum_volume
                                                  type: object
                                                type: array
                                              proof_digest:
                                                type: string
                                              reasoning_maximum_tokens:
                                                minimum: 0
                                                type: integer
                                              reasoning_mode:
                                                enum:
                                                  - disabled
                                                  - shared_completion
                                                  - independent
                                              resolved_model_ids:
                                                items:
                                                  type: string
                                                type: array
                                              revision:
                                                type: string
                                              version:
                                                enum:
                                                  - openrouter.classes/v1
                                            required:
                                              - version
                                              - revision
                                              - proof_digest
                                              - evidence_refs
                                              - expires_at
                                              - resolved_model_ids
                                              - expected_provider
                                              - reasoning_mode
                                              - reasoning_maximum_tokens
                                              - meter_limits
                                              - partitions
                                            type: object
                                          input_volume_tokens:
                                            minimum: 0
                                            type: integer
                                          meters:
                                            items:
                                              additionalProperties: false
                                              properties:
                                                maximum_microusd:
                                                  minimum: 0
                                                  type: integer
                                                maximum_volume:
                                                  minimum: 0
                                                  type: integer
                                                meter:
                                                  type: string
                                                rate_usd:
                                                  type: string
                                              required:
                                                - meter
                                                - maximum_volume
                                                - rate_usd
                                                - maximum_microusd
                                              type: object
                                            type: array
                                          output_volume_tokens:
                                            minimum: 0
                                            type: integer
                                          provider_maximum_microusd:
                                            minimum: 0
                                            type: integer
                                          rate_digest:
                                            type: string
                                          source_contract_revision:
                                            type: string
                                        required:
                                          - provider_maximum_microusd
                                          - input_volume_tokens
                                          - output_volume_tokens
                                          - meters
                                          - rate_digest
                                          - source_contract_revision
                                          - assumptions
                                        type: object
                                      connection_id:
                                        type: string
                                      expires_at:
                                        type: string
                                      issued_at:
                                        type: string
                                      item_id:
                                        type: string
                                      model_deployment_id:
                                        type: string
                                      observation_revision:
                                        type: string
                                      plan_digest:
                                        type: string
                                      planner_version:
                                        type: string
                                      policy_revision:
                                        minimum: 0
                                        type: integer
                                      prepared_request:
                                        oneOf:
                                          - additionalProperties: false
                                            properties:
                                              max_tokens:
                                                minimum: 0
                                                type: integer
                                              model:
                                                type: string
                                              provider:
                                                additionalProperties: false
                                                properties:
                                                  allow_fallbacks:
                                                    enum:
                                                      - false
                                                  data_collection:
                                                    enum:
                                                      - deny
                                                  max_price:
                                                    additionalProperties:
                                                      type: number
                                                    type: object
                                                  only:
                                                    items:
                                                      type: string
                                                    type: array
                                                  order:
                                                    items:
                                                      type: string
                                                    type: array
                                                  require_parameters:
                                                    enum:
                                                      - true
                                                required:
                                                  - only
                                                  - order
                                                  - allow_fallbacks
                                                  - require_parameters
                                                  - data_collection
                                                  - max_price
                                                type: object
                                              reasoning:
                                                oneOf:
                                                  - additionalProperties: false
                                                    properties:
                                                      effort:
                                                        enum:
                                                          - none
                                                    required:
                                                      - effort
                                                    type: object
                                                  - additionalProperties: false
                                                    properties:
                                                      enabled:
                                                        enum:
                                                          - true
                                                    required:
                                                      - enabled
                                                    type: object
                                                  - additionalProperties: false
                                                    properties:
                                                      max_tokens:
                                                        minimum: 1
                                                        type: integer
                                                    required:
                                                      - max_tokens
                                                    type: object
                                              stream:
                                                enum:
                                                  - false
                                              usage:
                                                additionalProperties: false
                                                properties:
                                                  include:
                                                    enum:
                                                      - true
                                                required:
                                                  - include
                                                type: object
                                            required:
                                              - model
                                              - stream
                                              - max_tokens
                                              - provider
                                              - usage
                                            type: object
                                          - additionalProperties: false
                                            properties:
                                              api_version:
                                                enum:
                                                  - '2026-10-21'
                                              inference_geo:
                                                enum:
                                                  - global
                                              max_tokens:
                                                minimum: 1
                                                type: integer
                                              model:
                                                type: string
                                              protocol:
                                                enum:
                                                  - anthropic_messages
                                              service_tier:
                                                enum:
                                                  - standard_only
                                              stream:
                                                enum:
                                                  - false
                                              thinking:
                                                additionalProperties: false
                                                properties:
                                                  type:
                                                    enum:
                                                      - disabled
                                                      - adaptive
                                                required:
                                                  - type
                                                type: object
                                            required:
                                              - protocol
                                              - api_version
                                              - model
                                              - stream
                                              - max_tokens
                                              - service_tier
                                              - inference_geo
                                              - thinking
                                            type: object
                                      route_id:
                                        type: string
                                      source_id:
                                        type: string
                                      state:
                                        enum:
                                          - authorized
                                          - expired
                                          - revoked
                                      task_envelope:
                                        additionalProperties: false
                                        properties:
                                          data_classes:
                                            items:
                                              $ref: '#/components/schemas/DataClass'
                                            minItems: 1
                                            type: array
                                            uniqueItems: true
                                          max_input_tokens:
                                            minimum: 1
                                            type: integer
                                          max_output_tokens:
                                            minimum: 1
                                            type: integer
                                          max_reasoning_tokens:
                                            minimum: 1
                                            type: integer
                                          max_runtime_s:
                                            minimum: 1
                                            type: integer
                                        required:
                                          - max_input_tokens
                                          - max_output_tokens
                                          - max_runtime_s
                                          - data_classes
                                        type: object
                                      testing:
                                        additionalProperties: false
                                        properties:
                                          evidence_ref:
                                            anyOf:
                                              - type: string
                                              - type: 'null'
                                          last_tested_at:
                                            anyOf:
                                              - type: string
                                              - type: 'null'
                                          state:
                                            enum:
                                              - recorded
                                              - not_tested
                                              - unknown
                                        required:
                                          - state
                                          - last_tested_at
                                          - evidence_ref
                                        type: object
                                    required:
                                      - policy_revision
                                      - planner_version
                                      - testing
                                      - source_id
                                      - authority_id
                                      - authority_revision
                                      - model_deployment_id
                                      - item_id
                                      - route_id
                                      - observation_revision
                                      - connection_id
                                      - binding_revision
                                      - plan_digest
                                      - issued_at
                                      - expires_at
                                      - state
                                      - task_envelope
                                      - prepared_request
                                      - bound
                                      - arm_registration_template
                                    type: object
                                  - type: 'null'
                              commercial_owner:
                                enum:
                                  - customer
                              connection_id:
                                type: string
                              connection_name:
                                type: string
                              display_name:
                                type: string
                              facts:
                                additionalProperties: false
                                properties:
                                  alias_target_id:
                                    anyOf:
                                      - type: string
                                      - type: 'null'
                                  anthropic:
                                    additionalProperties: false
                                    properties:
                                      api_version:
                                        enum:
                                          - '2026-10-21'
                                      capabilities:
                                        additionalProperties: false
                                        properties:
                                          effort_levels:
                                            anyOf:
                                              - additionalProperties:
                                                  anyOf:
                                                    - type: boolean
                                                    - type: 'null'
                                                type: object
                                              - type: 'null'
                                          effort_supported:
                                            anyOf:
                                              - type: boolean
                                              - type: 'null'
                                          image_input:
                                            anyOf:
                                              - type: boolean
                                              - type: 'null'
                                          pdf_input:
                                            anyOf:
                                              - type: boolean
                                              - type: 'null'
                                          structured_outputs:
                                            anyOf:
                                              - type: boolean
                                              - type: 'null'
                                          thinking_supported:
                                            anyOf:
                                              - type: boolean
                                              - type: 'null'
                                          thinking_types:
                                            anyOf:
                                              - additionalProperties:
                                                  anyOf:
                                                    - type: boolean
                                                    - type: 'null'
                                                type: object
                                              - type: 'null'
                                        required:
                                          - thinking_supported
                                          - thinking_types
                                          - image_input
                                          - pdf_input
                                          - structured_outputs
                                          - effort_supported
                                          - effort_levels
                                        type: object
                                      created_at:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                      deprecated_at:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                      lifecycle:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                      metadata_valid:
                                        type: boolean
                                      model_line:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                      reader_version:
                                        enum:
                                          - anthropic.inventory/v1
                                      retires_at:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                    required:
                                      - reader_version
                                      - api_version
                                      - metadata_valid
                                      - lifecycle
                                      - created_at
                                      - deprecated_at
                                      - retires_at
                                      - model_line
                                      - capabilities
                                    type: object
                                  bedrock:
                                    additionalProperties: false
                                    properties:
                                      account_scope_ref:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                      created_at:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                      destination_scope:
                                        enum:
                                          - global_routing
                                          - observed_member_regions
                                      foundation_models:
                                        items:
                                          additionalProperties: false
                                          properties:
                                            model_id:
                                              type: string
                                            region:
                                              anyOf:
                                                - type: string
                                                - type: 'null'
                                          required:
                                            - model_id
                                            - region
                                          type: object
                                        type: array
                                      invocation_entitlement:
                                        enum:
                                          - unverified
                                      model_lifecycle:
                                        type: 'null'
                                      partition:
                                        enum:
                                          - aws
                                          - aws-us-gov
                                          - aws-cn
                                      profile_binding_ref:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                      profile_id:
                                        type: string
                                      profile_resource:
                                        enum:
                                          - inference-profile
                                          - application-inference-profile
                                      profile_status:
                                        enum:
                                          - ACTIVE
                                          - UNKNOWN
                                      profile_type:
                                        anyOf:
                                          - enum:
                                              - SYSTEM_DEFINED
                                              - APPLICATION
                                          - type: 'null'
                                      reader_version:
                                        enum:
                                          - bedrock.inventory/v1
                                      scope:
                                        enum:
                                          - bound_profile_only
                                      scope_reason:
                                        enum:
                                          - single_profile_only
                                      source_region:
                                        type: string
                                      updated_at:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                      whole_account_inventory:
                                        enum:
                                          - false
                                    required:
                                      - reader_version
                                      - scope
                                      - whole_account_inventory
                                      - scope_reason
                                      - partition
                                      - source_region
                                      - account_scope_ref
                                      - profile_binding_ref
                                      - profile_id
                                      - profile_resource
                                      - profile_type
                                      - profile_status
                                      - created_at
                                      - updated_at
                                      - foundation_models
                                      - destination_scope
                                      - invocation_entitlement
                                      - model_lifecycle
                                    type: object
                                  canonical_id:
                                    anyOf:
                                      - type: string
                                      - type: 'null'
                                  context_length:
                                    anyOf:
                                      - minimum: 0
                                        type: integer
                                      - type: 'null'
                                  data_policy:
                                    additionalProperties: false
                                    properties:
                                      data_collection:
                                        anyOf:
                                          - enum:
                                              - allow
                                              - deny
                                          - type: 'null'
                                    required:
                                      - data_collection
                                    type: object
                                  deepseek:
                                    additionalProperties: false
                                    properties:
                                      anthropic_system_prompt_update:
                                        anyOf:
                                          - enum:
                                              - leading-only
                                              - in-history
                                          - type: 'null'
                                      conflicting_observation_digests:
                                        items:
                                          type: string
                                        type: array
                                      default_effort:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                      effort_levels:
                                        anyOf:
                                          - items:
                                              type: string
                                            type: array
                                          - type: 'null'
                                      metadata_valid:
                                        type: boolean
                                      modalities_complete:
                                        type: boolean
                                      published_alias_of:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                      published_evidence_refs:
                                        items:
                                          type: string
                                        type: array
                                      published_facts_checked_on:
                                        type: string
                                      published_facts_revision:
                                        type: string
                                      published_model_version:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                      reader_version:
                                        enum:
                                          - deepseek.inventory/v1
                                    required:
                                      - reader_version
                                      - metadata_valid
                                      - modalities_complete
                                      - effort_levels
                                      - default_effort
                                      - anthropic_system_prompt_update
                                      - published_model_version
                                      - published_alias_of
                                      - published_facts_revision
                                      - published_facts_checked_on
                                      - published_evidence_refs
                                      - conflicting_observation_digests
                                    type: object
                                  display_name:
                                    type: string
                                  endpoint_model_id:
                                    anyOf:
                                      - type: string
                                      - type: 'null'
                                  endpoint_tag:
                                    anyOf:
                                      - type: string
                                      - type: 'null'
                                  evidence:
                                    additionalProperties: false
                                    properties:
                                      digest:
                                        type: string
                                      observed_at:
                                        type: string
                                      source_url:
                                        type: string
                                    required:
                                      - observed_at
                                      - source_url
                                      - digest
                                    type: object
                                  fireworks:
                                    additionalProperties: false
                                    properties:
                                      active_model_version:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                      binding_state:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                      chat_template_present:
                                        anyOf:
                                          - type: boolean
                                          - type: 'null'
                                      connected_account_id:
                                        type: string
                                      create_time:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                      delete_time:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                      deployed_model_resource:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                      deployment_resource:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                      deployment_state:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                      deprecation_date:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                      expire_time:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                      identity_conflict:
                                        type: boolean
                                      kind:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                      list_account_id:
                                        type: string
                                      metadata_complete:
                                        type: boolean
                                      model_resource:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                      model_state:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                      owner_account_id:
                                        type: string
                                      pricing_plan_id:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                      public:
                                        anyOf:
                                          - type: boolean
                                          - type: 'null'
                                      reader_version:
                                        enum:
                                          - fireworks.inventory/v1
                                      route_kind:
                                        enum:
                                          - model
                                          - deployment
                                          - lora
                                      sku_rates:
                                        items:
                                          additionalProperties: false
                                          properties:
                                            currency_code:
                                              type: string
                                            mode:
                                              type: string
                                            nanos:
                                              minimum: 0
                                              type: integer
                                            service_tier:
                                              anyOf:
                                                - type: string
                                                - type: 'null'
                                            sku:
                                              type: string
                                            unit:
                                              type: string
                                            units:
                                              type: string
                                          required:
                                            - mode
                                            - service_tier
                                            - sku
                                            - unit
                                            - currency_code
                                            - units
                                            - nanos
                                          type: object
                                        type: array
                                      supports_image_input:
                                        anyOf:
                                          - type: boolean
                                          - type: 'null'
                                      supports_serverless:
                                        anyOf:
                                          - type: boolean
                                          - type: 'null'
                                      supports_tools:
                                        anyOf:
                                          - type: boolean
                                          - type: 'null'
                                      update_time:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                    required:
                                      - reader_version
                                      - connected_account_id
                                      - owner_account_id
                                      - list_account_id
                                      - route_kind
                                      - model_resource
                                      - deployment_resource
                                      - deployed_model_resource
                                      - model_state
                                      - deployment_state
                                      - binding_state
                                      - kind
                                      - public
                                      - supports_serverless
                                      - supports_image_input
                                      - supports_tools
                                      - chat_template_present
                                      - deprecation_date
                                      - create_time
                                      - update_time
                                      - expire_time
                                      - delete_time
                                      - active_model_version
                                      - pricing_plan_id
                                      - metadata_complete
                                      - identity_conflict
                                      - sku_rates
                                    type: object
                                  gemini:
                                    additionalProperties: false
                                    properties:
                                      base_model_id:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                      model_version:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                      resource_name:
                                        type: string
                                      supported_generation_methods:
                                        anyOf:
                                          - items:
                                              type: string
                                            type: array
                                          - type: 'null'
                                    required:
                                      - resource_name
                                      - base_model_id
                                      - model_version
                                      - supported_generation_methods
                                    type: object
                                  input_modalities:
                                    items:
                                      type: string
                                    type: array
                                  invocation_id:
                                    type: string
                                  max_completion_tokens:
                                    anyOf:
                                      - minimum: 0
                                        type: integer
                                      - type: 'null'
                                  max_prompt_tokens:
                                    anyOf:
                                      - minimum: 0
                                        type: integer
                                      - type: 'null'
                                  output_modalities:
                                    items:
                                      type: string
                                    type: array
                                  pricing:
                                    additionalProperties:
                                      anyOf:
                                        - type: string
                                        - type: 'null'
                                    type: object
                                  pricing_conditions: {}
                                  provider_name:
                                    anyOf:
                                      - type: string
                                      - type: 'null'
                                  provider_slug:
                                    anyOf:
                                      - type: string
                                      - type: 'null'
                                  publisher:
                                    anyOf:
                                      - type: string
                                      - type: 'null'
                                  quantization:
                                    anyOf:
                                      - type: string
                                      - type: 'null'
                                  reasoning:
                                    additionalProperties: false
                                    properties:
                                      mandatory:
                                        anyOf:
                                          - type: boolean
                                          - type: 'null'
                                      supported:
                                        anyOf:
                                          - type: boolean
                                          - type: 'null'
                                      supports_max_tokens:
                                        anyOf:
                                          - type: boolean
                                          - type: 'null'
                                    required:
                                      - mandatory
                                      - supported
                                    type: object
                                  region:
                                    anyOf:
                                      - type: string
                                      - type: 'null'
                                  source_metadata:
                                    additionalProperties: false
                                    properties:
                                      created:
                                        anyOf:
                                          - minimum: 0
                                            type: integer
                                          - type: 'null'
                                      kind:
                                        enum:
                                          - openai_model
                                      owned_by:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                      shutdown_date:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                    required:
                                      - kind
                                      - created
                                      - owned_by
                                      - shutdown_date
                                    type: object
                                  source_status:
                                    anyOf:
                                      - type: integer
                                      - type: 'null'
                                  supported_parameters:
                                    items:
                                      type: string
                                    type: array
                                  xai:
                                    additionalProperties: false
                                    properties:
                                      alias_targets:
                                        items:
                                          type: string
                                        type: array
                                      aliases:
                                        items:
                                          type: string
                                        type: array
                                      created:
                                        anyOf:
                                          - minimum: 0
                                            type: integer
                                          - type: 'null'
                                      default_reasoning_effort:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                      detail_complete:
                                        type: boolean
                                      fingerprint:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                      kind:
                                        enum:
                                          - language
                                          - unknown
                                      long_context_threshold:
                                        anyOf:
                                          - minimum: 0
                                            type: integer
                                          - type: 'null'
                                      modalities_complete:
                                        type: boolean
                                      rate_unit:
                                        enum:
                                          - usd_cents_per_100_million_tokens
                                      reader_version:
                                        enum:
                                          - xai.inventory/v1
                                      reasoning_efforts:
                                        anyOf:
                                          - items:
                                              type: string
                                            type: array
                                          - type: 'null'
                                      search_price:
                                        anyOf:
                                          - minimum: 0
                                            type: integer
                                          - type: 'null'
                                      search_rate_unit:
                                        enum:
                                          - usd_cents_per_100_million_searches
                                      token_rates:
                                        additionalProperties:
                                          anyOf:
                                            - minimum: 0
                                              type: integer
                                            - type: 'null'
                                        type: object
                                      version:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                    required:
                                      - reader_version
                                      - kind
                                      - detail_complete
                                      - modalities_complete
                                      - aliases
                                      - alias_targets
                                      - version
                                      - fingerprint
                                      - created
                                      - reasoning_efforts
                                      - default_reasoning_effort
                                      - rate_unit
                                      - token_rates
                                      - search_price
                                      - search_rate_unit
                                      - long_context_threshold
                                    type: object
                                required:
                                  - invocation_id
                                  - canonical_id
                                  - display_name
                                  - publisher
                                  - input_modalities
                                  - output_modalities
                                  - supported_parameters
                                  - context_length
                                  - max_prompt_tokens
                                  - max_completion_tokens
                                  - provider_name
                                  - provider_slug
                                  - endpoint_tag
                                  - source_status
                                  - endpoint_model_id
                                  - quantization
                                  - region
                                  - pricing
                                  - pricing_conditions
                                  - reasoning
                                  - data_policy
                                  - evidence
                                type: object
                              invocation_id:
                                type: string
                              item_id:
                                type: string
                              location:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              model_group_key:
                                type: string
                              observation_revision:
                                type: string
                              protocol_profile:
                                anyOf:
                                  - enum:
                                      - openai_chat
                                      - gemini_generate_content
                                      - anthropic_messages
                                  - type: 'null'
                              publisher:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              readiness:
                                additionalProperties: false
                                properties:
                                  blockers:
                                    items:
                                      additionalProperties: false
                                      properties:
                                        action:
                                          type: string
                                        actor:
                                          type: string
                                        code:
                                          enum:
                                            - access_unverified
                                            - binding_revoked
                                            - binding_rotated
                                            - identity_unbound
                                            - policy_disabled
                                            - authority_expired
                                            - price_incomplete
                                            - capability_unverified
                                            - model_details_unverified
                                            - invocation_access_unverified
                                            - source_profile_unproven
                                            - spend_bound_missing
                                            - data_policy_unknown
                                            - task_unsupported
                                            - source_unavailable
                                            - profile_status_unverified
                                            - evidence_expired
                                            - snapshot_changed
                                            - plan_changed
                                            - consent_missing
                                            - quote_expired
                                            - version_incompatible
                                            - unknown_paid
                                            - usage_unreliable
                                            - bound_exceeded
                                          type: string
                                        evidence_refs:
                                          items:
                                            type: string
                                          type: array
                                        message:
                                          type: string
                                      required:
                                        - code
                                        - actor
                                        - action
                                        - message
                                        - evidence_refs
                                      type: object
                                    type: array
                                  disposition:
                                    enum:
                                      - ready
                                      - needs_action
                                      - not_available
                                  evaluated_at:
                                    type: string
                                  planner_version:
                                    type: string
                                  policy_revision:
                                    anyOf:
                                      - minimum: 0
                                        type: integer
                                      - type: 'null'
                                required:
                                  - disposition
                                  - evaluated_at
                                  - planner_version
                                  - policy_revision
                                  - blockers
                                type: object
                              route_id:
                                type: string
                              snapshot_id:
                                type: string
                              source_id:
                                type: string
                              testing:
                                additionalProperties: false
                                properties:
                                  evidence_ref:
                                    anyOf:
                                      - type: string
                                      - type: 'null'
                                  last_tested_at:
                                    anyOf:
                                      - type: string
                                      - type: 'null'
                                  state:
                                    enum:
                                      - recorded
                                      - not_tested
                                      - unknown
                                required:
                                  - state
                                  - last_tested_at
                                  - evidence_ref
                                type: object
                            required:
                              - item_id
                              - route_id
                              - observation_revision
                              - snapshot_id
                              - invocation_id
                              - model_group_key
                              - display_name
                              - publisher
                              - source_id
                              - connection_id
                              - connection_name
                              - protocol_profile
                              - location
                              - commercial_owner
                              - facts
                              - testing
                              - readiness
                              - authorization
                              - added
                            type: object
                          type: array
                        source_id:
                          type: string
                      required:
                        - item_id
                        - invocation_id
                        - source_id
                        - connection_id
                        - model_group_key
                        - routes
                      type: object
                    type: array
                  models:
                    items:
                      additionalProperties: false
                      properties:
                        model:
                          additionalProperties: false
                          properties:
                            capability_tags:
                              items:
                                type: string
                              type: array
                            display_name:
                              type: string
                            lifecycle:
                              anyOf:
                                - type: string
                                - type: 'null'
                            model_key:
                              type: string
                            publisher_id:
                              anyOf:
                                - type: string
                                - type: 'null'
                          required:
                            - model_key
                            - display_name
                            - publisher_id
                            - capability_tags
                            - lifecycle
                          type: object
                        model_group_key:
                          type: string
                        route_count:
                          minimum: 0
                          type: integer
                        routes:
                          items:
                            oneOf:
                              - additionalProperties: false
                                properties:
                                  catalog:
                                    additionalProperties: true
                                    type: object
                                  kind:
                                    enum:
                                      - tested
                                required:
                                  - kind
                                  - catalog
                                type: object
                              - additionalProperties: false
                                properties:
                                  inventory:
                                    additionalProperties: false
                                    properties:
                                      added:
                                        additionalProperties: false
                                        properties:
                                          arm_ids:
                                            items:
                                              type: string
                                            type: array
                                          model_deployment_id:
                                            anyOf:
                                              - type: string
                                              - type: 'null'
                                          registrations:
                                            items:
                                              additionalProperties: false
                                              properties:
                                                arm_id:
                                                  type: string
                                                authority_id:
                                                  type: string
                                                model_deployment_id:
                                                  type: string
                                              required:
                                                - arm_id
                                                - authority_id
                                                - model_deployment_id
                                              type: object
                                            type: array
                                        required:
                                          - arm_ids
                                          - model_deployment_id
                                          - registrations
                                        type: object
                                      authorization:
                                        anyOf:
                                          - additionalProperties: false
                                            properties:
                                              arm_registration_template:
                                                additionalProperties: false
                                                properties:
                                                  capability_tags:
                                                    items:
                                                      type: string
                                                    type: array
                                                  cost_class:
                                                    $ref: '#/components/schemas/CostClass'
                                                  data_class_grants:
                                                    items:
                                                      $ref: '#/components/schemas/DataClass'
                                                    type: array
                                                  display_name:
                                                    type: string
                                                  kind:
                                                    enum:
                                                      - model
                                                  route_authority_id:
                                                    type: string
                                                required:
                                                  - kind
                                                  - display_name
                                                  - route_authority_id
                                                  - capability_tags
                                                  - data_class_grants
                                                  - cost_class
                                                type: object
                                              authority_id:
                                                type: string
                                              authority_revision:
                                                minimum: 0
                                                type: integer
                                              binding_revision:
                                                minimum: 0
                                                type: integer
                                              bound:
                                                additionalProperties: false
                                                properties:
                                                  anthropic_evidence:
                                                    additionalProperties: false
                                                    properties:
                                                      evidence_refs:
                                                        items:
                                                          type: string
                                                        type: array
                                                      expires_at:
                                                        type: string
                                                      input_usd_per_token:
                                                        type: string
                                                      output_usd_per_token:
                                                        type: string
                                                      proof_digest:
                                                        type: string
                                                      request_usd:
                                                        type: string
                                                      resolved_model_ids:
                                                        items:
                                                          type: string
                                                        type: array
                                                      version:
                                                        enum:
                                                          - anthropic.messages/v1
                                                    required:
                                                      - version
                                                      - proof_digest
                                                      - evidence_refs
                                                      - expires_at
                                                      - resolved_model_ids
                                                      - input_usd_per_token
                                                      - output_usd_per_token
                                                      - request_usd
                                                    type: object
                                                  assumptions:
                                                    items:
                                                      type: string
                                                    type: array
                                                  class_evidence:
                                                    additionalProperties: false
                                                    properties:
                                                      evidence_refs:
                                                        items:
                                                          type: string
                                                        type: array
                                                      expected_provider:
                                                        type: string
                                                      expires_at:
                                                        type: string
                                                      meter_limits:
                                                        items:
                                                          additionalProperties: false
                                                          properties:
                                                            maximum_volume:
                                                              minimum: 0
                                                              type: integer
                                                            meter:
                                                              type: string
                                                            usage_field:
                                                              enum:
                                                                - prompt_tokens
                                                                - completion_tokens
                                                                - uncached_prompt_tokens
                                                                - visible_completion_tokens
                                                                - >-
                                                                  completion_tokens_details.reasoning_tokens
                                                                - prompt_tokens_details.cached_tokens
                                                                - prompt_tokens_details.cache_write_tokens
                                                                - request
                                                          required:
                                                            - meter
                                                            - usage_field
                                                            - maximum_volume
                                                          type: object
                                                        type: array
                                                      partitions:
                                                        items:
                                                          additionalProperties: false
                                                          properties:
                                                            maximum_volume:
                                                              minimum: 0
                                                              type: integer
                                                            partition:
                                                              type: string
                                                            usage_fields:
                                                              items:
                                                                type: string
                                                              type: array
                                                          required:
                                                            - partition
                                                            - usage_fields
                                                            - maximum_volume
                                                          type: object
                                                        type: array
                                                      proof_digest:
                                                        type: string
                                                      reasoning_maximum_tokens:
                                                        minimum: 0
                                                        type: integer
                                                      reasoning_mode:
                                                        enum:
                                                          - disabled
                                                          - shared_completion
                                                          - independent
                                                      resolved_model_ids:
                                                        items:
                                                          type: string
                                                        type: array
                                                      revision:
                                                        type: string
                                                      version:
                                                        enum:
                                                          - openrouter.classes/v1
                                                    required:
                                                      - version
                                                      - revision
                                                      - proof_digest
                                                      - evidence_refs
                                                      - expires_at
                                                      - resolved_model_ids
                                                      - expected_provider
                                                      - reasoning_mode
                                                      - reasoning_maximum_tokens
                                                      - meter_limits
                                                      - partitions
                                                    type: object
                                                  input_volume_tokens:
                                                    minimum: 0
                                                    type: integer
                                                  meters:
                                                    items:
                                                      additionalProperties: false
                                                      properties:
                                                        maximum_microusd:
                                                          minimum: 0
                                                          type: integer
                                                        maximum_volume:
                                                          minimum: 0
                                                          type: integer
                                                        meter:
                                                          type: string
                                                        rate_usd:
                                                          type: string
                                                      required:
                                                        - meter
                                                        - maximum_volume
                                                        - rate_usd
                                                        - maximum_microusd
                                                      type: object
                                                    type: array
                                                  output_volume_tokens:
                                                    minimum: 0
                                                    type: integer
                                                  provider_maximum_microusd:
                                                    minimum: 0
                                                    type: integer
                                                  rate_digest:
                                                    type: string
                                                  source_contract_revision:
                                                    type: string
                                                required:
                                                  - provider_maximum_microusd
                                                  - input_volume_tokens
                                                  - output_volume_tokens
                                                  - meters
                                                  - rate_digest
                                                  - source_contract_revision
                                                  - assumptions
                                                type: object
                                              connection_id:
                                                type: string
                                              expires_at:
                                                type: string
                                              issued_at:
                                                type: string
                                              item_id:
                                                type: string
                                              model_deployment_id:
                                                type: string
                                              observation_revision:
                                                type: string
                                              plan_digest:
                                                type: string
                                              planner_version:
                                                type: string
                                              policy_revision:
                                                minimum: 0
                                                type: integer
                                              prepared_request:
                                                oneOf:
                                                  - additionalProperties: false
                                                    properties:
                                                      max_tokens:
                                                        minimum: 0
                                                        type: integer
                                                      model:
                                                        type: string
                                                      provider:
                                                        additionalProperties: false
                                                        properties:
                                                          allow_fallbacks:
                                                            enum:
                                                              - false
                                                          data_collection:
                                                            enum:
                                                              - deny
                                                          max_price:
                                                            additionalProperties:
                                                              type: number
                                                            type: object
                                                          only:
                                                            items:
                                                              type: string
                                                            type: array
                                                          order:
                                                            items:
                                                              type: string
                                                            type: array
                                                          require_parameters:
                                                            enum:
                                                              - true
                                                        required:
                                                          - only
                                                          - order
                                                          - allow_fallbacks
                                                          - require_parameters
                                                          - data_collection
                                                          - max_price
                                                        type: object
                                                      reasoning:
                                                        oneOf:
                                                          - additionalProperties: false
                                                            properties:
                                                              effort:
                                                                enum:
                                                                  - none
                                                            required:
                                                              - effort
                                                            type: object
                                                          - additionalProperties: false
                                                            properties:
                                                              enabled:
                                                                enum:
                                                                  - true
                                                            required:
                                                              - enabled
                                                            type: object
                                                          - additionalProperties: false
                                                            properties:
                                                              max_tokens:
                                                                minimum: 1
                                                                type: integer
                                                            required:
                                                              - max_tokens
                                                            type: object
                                                      stream:
                                                        enum:
                                                          - false
                                                      usage:
                                                        additionalProperties: false
                                                        properties:
                                                          include:
                                                            enum:
                                                              - true
                                                        required:
                                                          - include
                                                        type: object
                                                    required:
                                                      - model
                                                      - stream
                                                      - max_tokens
                                                      - provider
                                                      - usage
                                                    type: object
                                                  - additionalProperties: false
                                                    properties:
                                                      api_version:
                                                        enum:
                                                          - '2026-10-21'
                                                      inference_geo:
                                                        enum:
                                                          - global
                                                      max_tokens:
                                                        minimum: 1
                                                        type: integer
                                                      model:
                                                        type: string
                                                      protocol:
                                                        enum:
                                                          - anthropic_messages
                                                      service_tier:
                                                        enum:
                                                          - standard_only
                                                      stream:
                                                        enum:
                                                          - false
                                                      thinking:
                                                        additionalProperties: false
                                                        properties:
                                                          type:
                                                            enum:
                                                              - disabled
                                                              - adaptive
                                                        required:
                                                          - type
                                                        type: object
                                                    required:
                                                      - protocol
                                                      - api_version
                                                      - model
                                                      - stream
                                                      - max_tokens
                                                      - service_tier
                                                      - inference_geo
                                                      - thinking
                                                    type: object
                                              route_id:
                                                type: string
                                              source_id:
                                                type: string
                                              state:
                                                enum:
                                                  - authorized
                                                  - expired
                                                  - revoked
                                              task_envelope:
                                                additionalProperties: false
                                                properties:
                                                  data_classes:
                                                    items:
                                                      $ref: '#/components/schemas/DataClass'
                                                    minItems: 1
                                                    type: array
                                                    uniqueItems: true
                                                  max_input_tokens:
                                                    minimum: 1
                                                    type: integer
                                                  max_output_tokens:
                                                    minimum: 1
                                                    type: integer
                                                  max_reasoning_tokens:
                                                    minimum: 1
                                                    type: integer
                                                  max_runtime_s:
                                                    minimum: 1
                                                    type: integer
                                                required:
                                                  - max_input_tokens
                                                  - max_output_tokens
                                                  - max_runtime_s
                                                  - data_classes
                                                type: object
                                              testing:
                                                additionalProperties: false
                                                properties:
                                                  evidence_ref:
                                                    anyOf:
                                                      - type: string
                                                      - type: 'null'
                                                  last_tested_at:
                                                    anyOf:
                                                      - type: string
                                                      - type: 'null'
                                                  state:
                                                    enum:
                                                      - recorded
                                                      - not_tested
                                                      - unknown
                                                required:
                                                  - state
                                                  - last_tested_at
                                                  - evidence_ref
                                                type: object
                                            required:
                                              - policy_revision
                                              - planner_version
                                              - testing
                                              - source_id
                                              - authority_id
                                              - authority_revision
                                              - model_deployment_id
                                              - item_id
                                              - route_id
                                              - observation_revision
                                              - connection_id
                                              - binding_revision
                                              - plan_digest
                                              - issued_at
                                              - expires_at
                                              - state
                                              - task_envelope
                                              - prepared_request
                                              - bound
                                              - arm_registration_template
                                            type: object
                                          - type: 'null'
                                      commercial_owner:
                                        enum:
                                          - customer
                                      connection_id:
                                        type: string
                                      connection_name:
                                        type: string
                                      display_name:
                                        type: string
                                      facts:
                                        additionalProperties: false
                                        properties:
                                          alias_target_id:
                                            anyOf:
                                              - type: string
                                              - type: 'null'
                                          anthropic:
                                            additionalProperties: false
                                            properties:
                                              api_version:
                                                enum:
                                                  - '2026-10-21'
                                              capabilities:
                                                additionalProperties: false
                                                properties:
                                                  effort_levels:
                                                    anyOf:
                                                      - additionalProperties:
                                                          anyOf:
                                                            - type: boolean
                                                            - type: 'null'
                                                        type: object
                                                      - type: 'null'
                                                  effort_supported:
                                                    anyOf:
                                                      - type: boolean
                                                      - type: 'null'
                                                  image_input:
                                                    anyOf:
                                                      - type: boolean
                                                      - type: 'null'
                                                  pdf_input:
                                                    anyOf:
                                                      - type: boolean
                                                      - type: 'null'
                                                  structured_outputs:
                                                    anyOf:
                                                      - type: boolean
                                                      - type: 'null'
                                                  thinking_supported:
                                                    anyOf:
                                                      - type: boolean
                                                      - type: 'null'
                                                  thinking_types:
                                                    anyOf:
                                                      - additionalProperties:
                                                          anyOf:
                                                            - type: boolean
                                                            - type: 'null'
                                                        type: object
                                                      - type: 'null'
                                                required:
                                                  - thinking_supported
                                                  - thinking_types
                                                  - image_input
                                                  - pdf_input
                                                  - structured_outputs
                                                  - effort_supported
                                                  - effort_levels
                                                type: object
                                              created_at:
                                                anyOf:
                                                  - type: string
                                                  - type: 'null'
                                              deprecated_at:
                                                anyOf:
                                                  - type: string
                                                  - type: 'null'
                                              lifecycle:
                                                anyOf:
                                                  - type: string
                                                  - type: 'null'
                                              metadata_valid:
                                                type: boolean
                                              model_line:
                                                anyOf:
                                                  - type: string
                                                  - type: 'null'
                                              reader_version:
                                                enum:
                                                  - anthropic.inventory/v1
                                              retires_at:
                                                anyOf:
                                                  - type: string
                                                  - type: 'null'
                                            required:
                                              - reader_version
                                              - api_version
                                              - metadata_valid
                                              - lifecycle
                                              - created_at
                                              - deprecated_at
                                              - retires_at
                                              - model_line
                                              - capabilities
                                            type: object
                                          bedrock:
                                            additionalProperties: false
                                            properties:
                                              account_scope_ref:
                                                anyOf:
                                                  - type: string
                                                  - type: 'null'
                                              created_at:
                                                anyOf:
                                                  - type: string
                                                  - type: 'null'
                                              destination_scope:
                                                enum:
                                                  - global_routing
                                                  - observed_member_regions
                                              foundation_models:
                                                items:
                                                  additionalProperties: false
                                                  properties:
                                                    model_id:
                                                      type: string
                                                    region:
                                                      anyOf:
                                                        - type: string
                                                        - type: 'null'
                                                  required:
                                                    - model_id
                                                    - region
                                                  type: object
                                                type: array
                                              invocation_entitlement:
                                                enum:
                                                  - unverified
                                              model_lifecycle:
                                                type: 'null'
                                              partition:
                                                enum:
                                                  - aws
                                                  - aws-us-gov
                                                  - aws-cn
                                              profile_binding_ref:
                                                anyOf:
                                                  - type: string
                                                  - type: 'null'
                                              profile_id:
                                                type: string
                                              profile_resource:
                                                enum:
                                                  - inference-profile
                                                  - application-inference-profile
                                              profile_status:
                                                enum:
                                                  - ACTIVE
                                                  - UNKNOWN
                                              profile_type:
                                                anyOf:
                                                  - enum:
                                                      - SYSTEM_DEFINED
                                                      - APPLICATION
                                                  - type: 'null'
                                              reader_version:
                                                enum:
                                                  - bedrock.inventory/v1
                                              scope:
                                                enum:
                                                  - bound_profile_only
                                              scope_reason:
                                                enum:
                                                  - single_profile_only
                                              source_region:
                                                type: string
                                              updated_at:
                                                anyOf:
                                                  - type: string
                                                  - type: 'null'
                                              whole_account_inventory:
                                                enum:
                                                  - false
                                            required:
                                              - reader_version
                                              - scope
                                              - whole_account_inventory
                                              - scope_reason
                                              - partition
                                              - source_region
                                              - account_scope_ref
                                              - profile_binding_ref
                                              - profile_id
                                              - profile_resource
                                              - profile_type
                                              - profile_status
                                              - created_at
                                              - updated_at
                                              - foundation_models
                                              - destination_scope
                                              - invocation_entitlement
                                              - model_lifecycle
                                            type: object
                                          canonical_id:
                                            anyOf:
                                              - type: string
                                              - type: 'null'
                                          context_length:
                                            anyOf:
                                              - minimum: 0
                                                type: integer
                                              - type: 'null'
                                          data_policy:
                                            additionalProperties: false
                                            properties:
                                              data_collection:
                                                anyOf:
                                                  - enum:
                                                      - allow
                                                      - deny
                                                  - type: 'null'
                                            required:
                                              - data_collection
                                            type: object
                                          deepseek:
                                            additionalProperties: false
                                            properties:
                                              anthropic_system_prompt_update:
                                                anyOf:
                                                  - enum:
                                                      - leading-only
                                                      - in-history
                                                  - type: 'null'
                                              conflicting_observation_digests:
                                                items:
                                                  type: string
                                                type: array
                                              default_effort:
                                                anyOf:
                                                  - type: string
                                                  - type: 'null'
                                              effort_levels:
                                                anyOf:
                                                  - items:
                                                      type: string
                                                    type: array
                                                  - type: 'null'
                                              metadata_valid:
                                                type: boolean
                                              modalities_complete:
                                                type: boolean
                                              published_alias_of:
                                                anyOf:
                                                  - type: string
                                                  - type: 'null'
                                              published_evidence_refs:
                                                items:
                                                  type: string
                                                type: array
                                              published_facts_checked_on:
                                                type: string
                                              published_facts_revision:
                                                type: string
                                              published_model_version:
                                                anyOf:
                                                  - type: string
                                                  - type: 'null'
                                              reader_version:
                                                enum:
                                                  - deepseek.inventory/v1
                                            required:
                                              - reader_version
                                              - metadata_valid
                                              - modalities_complete
                                              - effort_levels
                                              - default_effort
                                              - anthropic_system_prompt_update
                                              - published_model_version
                                              - published_alias_of
                                              - published_facts_revision
                                              - published_facts_checked_on
                                              - published_evidence_refs
                                              - conflicting_observation_digests
                                            type: object
                                          display_name:
                                            type: string
                                          endpoint_model_id:
                                            anyOf:
                                              - type: string
                                              - type: 'null'
                                          endpoint_tag:
                                            anyOf:
                                              - type: string
                                              - type: 'null'
                                          evidence:
                                            additionalProperties: false
                                            properties:
                                              digest:
                                                type: string
                                              observed_at:
                                                type: string
                                              source_url:
                                                type: string
                                            required:
                                              - observed_at
                                              - source_url
                                              - digest
                                            type: object
                                          fireworks:
                                            additionalProperties: false
                                            properties:
                                              active_model_version:
                                                anyOf:
                                                  - type: string
                                                  - type: 'null'
                                              binding_state:
                                                anyOf:
                                                  - type: string
                                                  - type: 'null'
                                              chat_template_present:
                                                anyOf:
                                                  - type: boolean
                                                  - type: 'null'
                                              connected_account_id:
                                                type: string
                                              create_time:
                                                anyOf:
                                                  - type: string
                                                  - type: 'null'
                                              delete_time:
                                                anyOf:
                                                  - type: string
                                                  - type: 'null'
                                              deployed_model_resource:
                                                anyOf:
                                                  - type: string
                                                  - type: 'null'
                                              deployment_resource:
                                                anyOf:
                                                  - type: string
                                                  - type: 'null'
                                              deployment_state:
                                                anyOf:
                                                  - type: string
                                                  - type: 'null'
                                              deprecation_date:
                                                anyOf:
                                                  - type: string
                                                  - type: 'null'
                                              expire_time:
                                                anyOf:
                                                  - type: string
                                                  - type: 'null'
                                              identity_conflict:
                                                type: boolean
                                              kind:
                                                anyOf:
                                                  - type: string
                                                  - type: 'null'
                                              list_account_id:
                                                type: string
                                              metadata_complete:
                                                type: boolean
                                              model_resource:
                                                anyOf:
                                                  - type: string
                                                  - type: 'null'
                                              model_state:
                                                anyOf:
                                                  - type: string
                                                  - type: 'null'
                                              owner_account_id:
                                                type: string
                                              pricing_plan_id:
                                                anyOf:
                                                  - type: string
                                                  - type: 'null'
                                              public:
                                                anyOf:
                                                  - type: boolean
                                                  - type: 'null'
                                              reader_version:
                                                enum:
                                                  - fireworks.inventory/v1
                                              route_kind:
                                                enum:
                                                  - model
                                                  - deployment
                                                  - lora
                                              sku_rates:
                                                items:
                                                  additionalProperties: false
                                                  properties:
                                                    currency_code:
                                                      type: string
                                                    mode:
                                                      type: string
                                                    nanos:
                                                      minimum: 0
                                                      type: integer
                                                    service_tier:
                                                      anyOf:
                                                        - type: string
                                                        - type: 'null'
                                                    sku:
                                                      type: string
                                                    unit:
                                                      type: string
                                                    units:
                                                      type: string
                                                  required:
                                                    - mode
                                                    - service_tier
                                                    - sku
                                                    - unit
                                                    - currency_code
                                                    - units
                                                    - nanos
                                                  type: object
                                                type: array
                                              supports_image_input:
                                                anyOf:
                                                  - type: boolean
                                                  - type: 'null'
                                              supports_serverless:
                                                anyOf:
                                                  - type: boolean
                                                  - type: 'null'
                                              supports_tools:
                                                anyOf:
                                                  - type: boolean
                                                  - type: 'null'
                                              update_time:
                                                anyOf:
                                                  - type: string
                                                  - type: 'null'
                                            required:
                                              - reader_version
                                              - connected_account_id
                                              - owner_account_id
                                              - list_account_id
                                              - route_kind
                                              - model_resource
                                              - deployment_resource
                                              - deployed_model_resource
                                              - model_state
                                              - deployment_state
                                              - binding_state
                                              - kind
                                              - public
                                              - supports_serverless
                                              - supports_image_input
                                              - supports_tools
                                              - chat_template_present
                                              - deprecation_date
                                              - create_time
                                              - update_time
                                              - expire_time
                                              - delete_time
                                              - active_model_version
                                              - pricing_plan_id
                                              - metadata_complete
                                              - identity_conflict
                                              - sku_rates
                                            type: object
                                          gemini:
                                            additionalProperties: false
                                            properties:
                                              base_model_id:
                                                anyOf:
                                                  - type: string
                                                  - type: 'null'
                                              model_version:
                                                anyOf:
                                                  - type: string
                                                  - type: 'null'
                                              resource_name:
                                                type: string
                                              supported_generation_methods:
                                                anyOf:
                                                  - items:
                                                      type: string
                                                    type: array
                                                  - type: 'null'
                                            required:
                                              - resource_name
                                              - base_model_id
                                              - model_version
                                              - supported_generation_methods
                                            type: object
                                          input_modalities:
                                            items:
                                              type: string
                                            type: array
                                          invocation_id:
                                            type: string
                                          max_completion_tokens:
                                            anyOf:
                                              - minimum: 0
                                                type: integer
                                              - type: 'null'
                                          max_prompt_tokens:
                                            anyOf:
                                              - minimum: 0
                                                type: integer
                                              - type: 'null'
                                          output_modalities:
                                            items:
                                              type: string
                                            type: array
                                          pricing:
                                            additionalProperties:
                                              anyOf:
                                                - type: string
                                                - type: 'null'
                                            type: object
                                          pricing_conditions: {}
                                          provider_name:
                                            anyOf:
                                              - type: string
                                              - type: 'null'
                                          provider_slug:
                                            anyOf:
                                              - type: string
                                              - type: 'null'
                                          publisher:
                                            anyOf:
                                              - type: string
                                              - type: 'null'
                                          quantization:
                                            anyOf:
                                              - type: string
                                              - type: 'null'
                                          reasoning:
                                            additionalProperties: false
                                            properties:
                                              mandatory:
                                                anyOf:
                                                  - type: boolean
                                                  - type: 'null'
                                              supported:
                                                anyOf:
                                                  - type: boolean
                                                  - type: 'null'
                                              supports_max_tokens:
                                                anyOf:
                                                  - type: boolean
                                                  - type: 'null'
                                            required:
                                              - mandatory
                                              - supported
                                            type: object
                                          region:
                                            anyOf:
                                              - type: string
                                              - type: 'null'
                                          source_metadata:
                                            additionalProperties: false
                                            properties:
                                              created:
                                                anyOf:
                                                  - minimum: 0
                                                    type: integer
                                                  - type: 'null'
                                              kind:
                                                enum:
                                                  - openai_model
                                              owned_by:
                                                anyOf:
                                                  - type: string
                                                  - type: 'null'
                                              shutdown_date:
                                                anyOf:
                                                  - type: string
                                                  - type: 'null'
                                            required:
                                              - kind
                                              - created
                                              - owned_by
                                              - shutdown_date
                                            type: object
                                          source_status:
                                            anyOf:
                                              - type: integer
                                              - type: 'null'
                                          supported_parameters:
                                            items:
                                              type: string
                                            type: array
                                          xai:
                                            additionalProperties: false
                                            properties:
                                              alias_targets:
                                                items:
                                                  type: string
                                                type: array
                                              aliases:
                                                items:
                                                  type: string
                                                type: array
                                              created:
                                                anyOf:
                                                  - minimum: 0
                                                    type: integer
                                                  - type: 'null'
                                              default_reasoning_effort:
                                                anyOf:
                                                  - type: string
                                                  - type: 'null'
                                              detail_complete:
                                                type: boolean
                                              fingerprint:
                                                anyOf:
                                                  - type: string
                                                  - type: 'null'
                                              kind:
                                                enum:
                                                  - language
                                                  - unknown
                                              long_context_threshold:
                                                anyOf:
                                                  - minimum: 0
                                                    type: integer
                                                  - type: 'null'
                                              modalities_complete:
                                                type: boolean
                                              rate_unit:
                                                enum:
                                                  - usd_cents_per_100_million_tokens
                                              reader_version:
                                                enum:
                                                  - xai.inventory/v1
                                              reasoning_efforts:
                                                anyOf:
                                                  - items:
                                                      type: string
                                                    type: array
                                                  - type: 'null'
                                              search_price:
                                                anyOf:
                                                  - minimum: 0
                                                    type: integer
                                                  - type: 'null'
                                              search_rate_unit:
                                                enum:
                                                  - usd_cents_per_100_million_searches
                                              token_rates:
                                                additionalProperties:
                                                  anyOf:
                                                    - minimum: 0
                                                      type: integer
                                                    - type: 'null'
                                                type: object
                                              version:
                                                anyOf:
                                                  - type: string
                                                  - type: 'null'
                                            required:
                                              - reader_version
                                              - kind
                                              - detail_complete
                                              - modalities_complete
                                              - aliases
                                              - alias_targets
                                              - version
                                              - fingerprint
                                              - created
                                              - reasoning_efforts
                                              - default_reasoning_effort
                                              - rate_unit
                                              - token_rates
                                              - search_price
                                              - search_rate_unit
                                              - long_context_threshold
                                            type: object
                                        required:
                                          - invocation_id
                                          - canonical_id
                                          - display_name
                                          - publisher
                                          - input_modalities
                                          - output_modalities
                                          - supported_parameters
                                          - context_length
                                          - max_prompt_tokens
                                          - max_completion_tokens
                                          - provider_name
                                          - provider_slug
                                          - endpoint_tag
                                          - source_status
                                          - endpoint_model_id
                                          - quantization
                                          - region
                                          - pricing
                                          - pricing_conditions
                                          - reasoning
                                          - data_policy
                                          - evidence
                                        type: object
                                      invocation_id:
                                        type: string
                                      item_id:
                                        type: string
                                      location:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                      model_group_key:
                                        type: string
                                      observation_revision:
                                        type: string
                                      protocol_profile:
                                        anyOf:
                                          - enum:
                                              - openai_chat
                                              - gemini_generate_content
                                              - anthropic_messages
                                          - type: 'null'
                                      publisher:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                      readiness:
                                        additionalProperties: false
                                        properties:
                                          blockers:
                                            items:
                                              additionalProperties: false
                                              properties:
                                                action:
                                                  type: string
                                                actor:
                                                  type: string
                                                code:
                                                  enum:
                                                    - access_unverified
                                                    - binding_revoked
                                                    - binding_rotated
                                                    - identity_unbound
                                                    - policy_disabled
                                                    - authority_expired
                                                    - price_incomplete
                                                    - capability_unverified
                                                    - model_details_unverified
                                                    - invocation_access_unverified
                                                    - source_profile_unproven
                                                    - spend_bound_missing
                                                    - data_policy_unknown
                                                    - task_unsupported
                                                    - source_unavailable
                                                    - profile_status_unverified
                                                    - evidence_expired
                                                    - snapshot_changed
                                                    - plan_changed
                                                    - consent_missing
                                                    - quote_expired
                                                    - version_incompatible
                                                    - unknown_paid
                                                    - usage_unreliable
                                                    - bound_exceeded
                                                  type: string
                                                evidence_refs:
                                                  items:
                                                    type: string
                                                  type: array
                                                message:
                                                  type: string
                                              required:
                                                - code
                                                - actor
                                                - action
                                                - message
                                                - evidence_refs
                                              type: object
                                            type: array
                                          disposition:
                                            enum:
                                              - ready
                                              - needs_action
                                              - not_available
                                          evaluated_at:
                                            type: string
                                          planner_version:
                                            type: string
                                          policy_revision:
                                            anyOf:
                                              - minimum: 0
                                                type: integer
                                              - type: 'null'
                                        required:
                                          - disposition
                                          - evaluated_at
                                          - planner_version
                                          - policy_revision
                                          - blockers
                                        type: object
                                      route_id:
                                        type: string
                                      snapshot_id:
                                        type: string
                                      source_id:
                                        type: string
                                      testing:
                                        additionalProperties: false
                                        properties:
                                          evidence_ref:
                                            anyOf:
                                              - type: string
                                              - type: 'null'
                                          last_tested_at:
                                            anyOf:
                                              - type: string
                                              - type: 'null'
                                          state:
                                            enum:
                                              - recorded
                                              - not_tested
                                              - unknown
                                        required:
                                          - state
                                          - last_tested_at
                                          - evidence_ref
                                        type: object
                                    required:
                                      - item_id
                                      - route_id
                                      - observation_revision
                                      - snapshot_id
                                      - invocation_id
                                      - model_group_key
                                      - display_name
                                      - publisher
                                      - source_id
                                      - connection_id
                                      - connection_name
                                      - protocol_profile
                                      - location
                                      - commercial_owner
                                      - facts
                                      - testing
                                      - readiness
                                      - authorization
                                      - added
                                    type: object
                                  kind:
                                    enum:
                                      - account_inventory
                                required:
                                  - kind
                                  - inventory
                                type: object
                          type: array
                      required:
                        - model_group_key
                        - model
                        - route_count
                        - routes
                      type: object
                    type: array
                  next_cursor:
                    anyOf:
                      - type: string
                      - type: 'null'
                  routes:
                    items:
                      additionalProperties: false
                      properties:
                        added:
                          additionalProperties: false
                          properties:
                            arm_ids:
                              items:
                                type: string
                              type: array
                            model_deployment_id:
                              anyOf:
                                - type: string
                                - type: 'null'
                            registrations:
                              items:
                                additionalProperties: false
                                properties:
                                  arm_id:
                                    type: string
                                  authority_id:
                                    type: string
                                  model_deployment_id:
                                    type: string
                                required:
                                  - arm_id
                                  - authority_id
                                  - model_deployment_id
                                type: object
                              type: array
                          required:
                            - arm_ids
                            - model_deployment_id
                            - registrations
                          type: object
                        authorization:
                          anyOf:
                            - additionalProperties: false
                              properties:
                                arm_registration_template:
                                  additionalProperties: false
                                  properties:
                                    capability_tags:
                                      items:
                                        type: string
                                      type: array
                                    cost_class:
                                      $ref: '#/components/schemas/CostClass'
                                    data_class_grants:
                                      items:
                                        $ref: '#/components/schemas/DataClass'
                                      type: array
                                    display_name:
                                      type: string
                                    kind:
                                      enum:
                                        - model
                                    route_authority_id:
                                      type: string
                                  required:
                                    - kind
                                    - display_name
                                    - route_authority_id
                                    - capability_tags
                                    - data_class_grants
                                    - cost_class
                                  type: object
                                authority_id:
                                  type: string
                                authority_revision:
                                  minimum: 0
                                  type: integer
                                binding_revision:
                                  minimum: 0
                                  type: integer
                                bound:
                                  additionalProperties: false
                                  properties:
                                    anthropic_evidence:
                                      additionalProperties: false
                                      properties:
                                        evidence_refs:
                                          items:
                                            type: string
                                          type: array
                                        expires_at:
                                          type: string
                                        input_usd_per_token:
                                          type: string
                                        output_usd_per_token:
                                          type: string
                                        proof_digest:
                                          type: string
                                        request_usd:
                                          type: string
                                        resolved_model_ids:
                                          items:
                                            type: string
                                          type: array
                                        version:
                                          enum:
                                            - anthropic.messages/v1
                                      required:
                                        - version
                                        - proof_digest
                                        - evidence_refs
                                        - expires_at
                                        - resolved_model_ids
                                        - input_usd_per_token
                                        - output_usd_per_token
                                        - request_usd
                                      type: object
                                    assumptions:
                                      items:
                                        type: string
                                      type: array
                                    class_evidence:
                                      additionalProperties: false
                                      properties:
                                        evidence_refs:
                                          items:
                                            type: string
                                          type: array
                                        expected_provider:
                                          type: string
                                        expires_at:
                                          type: string
                                        meter_limits:
                                          items:
                                            additionalProperties: false
                                            properties:
                                              maximum_volume:
                                                minimum: 0
                                                type: integer
                                              meter:
                                                type: string
                                              usage_field:
                                                enum:
                                                  - prompt_tokens
                                                  - completion_tokens
                                                  - uncached_prompt_tokens
                                                  - visible_completion_tokens
                                                  - >-
                                                    completion_tokens_details.reasoning_tokens
                                                  - prompt_tokens_details.cached_tokens
                                                  - prompt_tokens_details.cache_write_tokens
                                                  - request
                                            required:
                                              - meter
                                              - usage_field
                                              - maximum_volume
                                            type: object
                                          type: array
                                        partitions:
                                          items:
                                            additionalProperties: false
                                            properties:
                                              maximum_volume:
                                                minimum: 0
                                                type: integer
                                              partition:
                                                type: string
                                              usage_fields:
                                                items:
                                                  type: string
                                                type: array
                                            required:
                                              - partition
                                              - usage_fields
                                              - maximum_volume
                                            type: object
                                          type: array
                                        proof_digest:
                                          type: string
                                        reasoning_maximum_tokens:
                                          minimum: 0
                                          type: integer
                                        reasoning_mode:
                                          enum:
                                            - disabled
                                            - shared_completion
                                            - independent
                                        resolved_model_ids:
                                          items:
                                            type: string
                                          type: array
                                        revision:
                                          type: string
                                        version:
                                          enum:
                                            - openrouter.classes/v1
                                      required:
                                        - version
                                        - revision
                                        - proof_digest
                                        - evidence_refs
                                        - expires_at
                                        - resolved_model_ids
                                        - expected_provider
                                        - reasoning_mode
                                        - reasoning_maximum_tokens
                                        - meter_limits
                                        - partitions
                                      type: object
                                    input_volume_tokens:
                                      minimum: 0
                                      type: integer
                                    meters:
                                      items:
                                        additionalProperties: false
                                        properties:
                                          maximum_microusd:
                                            minimum: 0
                                            type: integer
                                          maximum_volume:
                                            minimum: 0
                                            type: integer
                                          meter:
                                            type: string
                                          rate_usd:
                                            type: string
                                        required:
                                          - meter
                                          - maximum_volume
                                          - rate_usd
                                          - maximum_microusd
                                        type: object
                                      type: array
                                    output_volume_tokens:
                                      minimum: 0
                                      type: integer
                                    provider_maximum_microusd:
                                      minimum: 0
                                      type: integer
                                    rate_digest:
                                      type: string
                                    source_contract_revision:
                                      type: string
                                  required:
                                    - provider_maximum_microusd
                                    - input_volume_tokens
                                    - output_volume_tokens
                                    - meters
                                    - rate_digest
                                    - source_contract_revision
                                    - assumptions
                                  type: object
                                connection_id:
                                  type: string
                                expires_at:
                                  type: string
                                issued_at:
                                  type: string
                                item_id:
                                  type: string
                                model_deployment_id:
                                  type: string
                                observation_revision:
                                  type: string
                                plan_digest:
                                  type: string
                                planner_version:
                                  type: string
                                policy_revision:
                                  minimum: 0
                                  type: integer
                                prepared_request:
                                  oneOf:
                                    - additionalProperties: false
                                      properties:
                                        max_tokens:
                                          minimum: 0
                                          type: integer
                                        model:
                                          type: string
                                        provider:
                                          additionalProperties: false
                                          properties:
                                            allow_fallbacks:
                                              enum:
                                                - false
                                            data_collection:
                                              enum:
                                                - deny
                                            max_price:
                                              additionalProperties:
                                                type: number
                                              type: object
                                            only:
                                              items:
                                                type: string
                                              type: array
                                            order:
                                              items:
                                                type: string
                                              type: array
                                            require_parameters:
                                              enum:
                                                - true
                                          required:
                                            - only
                                            - order
                                            - allow_fallbacks
                                            - require_parameters
                                            - data_collection
                                            - max_price
                                          type: object
                                        reasoning:
                                          oneOf:
                                            - additionalProperties: false
                                              properties:
                                                effort:
                                                  enum:
                                                    - none
                                              required:
                                                - effort
                                              type: object
                                            - additionalProperties: false
                                              properties:
                                                enabled:
                                                  enum:
                                                    - true
                                              required:
                                                - enabled
                                              type: object
                                            - additionalProperties: false
                                              properties:
                                                max_tokens:
                                                  minimum: 1
                                                  type: integer
                                              required:
                                                - max_tokens
                                              type: object
                                        stream:
                                          enum:
                                            - false
                                        usage:
                                          additionalProperties: false
                                          properties:
                                            include:
                                              enum:
                                                - true
                                          required:
                                            - include
                                          type: object
                                      required:
                                        - model
                                        - stream
                                        - max_tokens
                                        - provider
                                        - usage
                                      type: object
                                    - additionalProperties: false
                                      properties:
                                        api_version:
                                          enum:
                                            - '2026-10-21'
                                        inference_geo:
                                          enum:
                                            - global
                                        max_tokens:
                                          minimum: 1
                                          type: integer
                                        model:
                                          type: string
                                        protocol:
                                          enum:
                                            - anthropic_messages
                                        service_tier:
                                          enum:
                                            - standard_only
                                        stream:
                                          enum:
                                            - false
                                        thinking:
                                          additionalProperties: false
                                          properties:
                                            type:
                                              enum:
                                                - disabled
                                                - adaptive
                                          required:
                                            - type
                                          type: object
                                      required:
                                        - protocol
                                        - api_version
                                        - model
                                        - stream
                                        - max_tokens
                                        - service_tier
                                        - inference_geo
                                        - thinking
                                      type: object
                                route_id:
                                  type: string
                                source_id:
                                  type: string
                                state:
                                  enum:
                                    - authorized
                                    - expired
                                    - revoked
                                task_envelope:
                                  additionalProperties: false
                                  properties:
                                    data_classes:
                                      items:
                                        $ref: '#/components/schemas/DataClass'
                                      minItems: 1
                                      type: array
                                      uniqueItems: true
                                    max_input_tokens:
                                      minimum: 1
                                      type: integer
                                    max_output_tokens:
                                      minimum: 1
                                      type: integer
                                    max_reasoning_tokens:
                                      minimum: 1
                                      type: integer
                                    max_runtime_s:
                                      minimum: 1
                                      type: integer
                                  required:
                                    - max_input_tokens
                                    - max_output_tokens
                                    - max_runtime_s
                                    - data_classes
                                  type: object
                                testing:
                                  additionalProperties: false
                                  properties:
                                    evidence_ref:
                                      anyOf:
                                        - type: string
                                        - type: 'null'
                                    last_tested_at:
                                      anyOf:
                                        - type: string
                                        - type: 'null'
                                    state:
                                      enum:
                                        - recorded
                                        - not_tested
                                        - unknown
                                  required:
                                    - state
                                    - last_tested_at
                                    - evidence_ref
                                  type: object
                              required:
                                - policy_revision
                                - planner_version
                                - testing
                                - source_id
                                - authority_id
                                - authority_revision
                                - model_deployment_id
                                - item_id
                                - route_id
                                - observation_revision
                                - connection_id
                                - binding_revision
                                - plan_digest
                                - issued_at
                                - expires_at
                                - state
                                - task_envelope
                                - prepared_request
                                - bound
                                - arm_registration_template
                              type: object
                            - type: 'null'
                        commercial_owner:
                          enum:
                            - customer
                        connection_id:
                          type: string
                        connection_name:
                          type: string
                        display_name:
                          type: string
                        facts:
                          additionalProperties: false
                          properties:
                            alias_target_id:
                              anyOf:
                                - type: string
                                - type: 'null'
                            anthropic:
                              additionalProperties: false
                              properties:
                                api_version:
                                  enum:
                                    - '2026-10-21'
                                capabilities:
                                  additionalProperties: false
                                  properties:
                                    effort_levels:
                                      anyOf:
                                        - additionalProperties:
                                            anyOf:
                                              - type: boolean
                                              - type: 'null'
                                          type: object
                                        - type: 'null'
                                    effort_supported:
                                      anyOf:
                                        - type: boolean
                                        - type: 'null'
                                    image_input:
                                      anyOf:
                                        - type: boolean
                                        - type: 'null'
                                    pdf_input:
                                      anyOf:
                                        - type: boolean
                                        - type: 'null'
                                    structured_outputs:
                                      anyOf:
                                        - type: boolean
                                        - type: 'null'
                                    thinking_supported:
                                      anyOf:
                                        - type: boolean
                                        - type: 'null'
                                    thinking_types:
                                      anyOf:
                                        - additionalProperties:
                                            anyOf:
                                              - type: boolean
                                              - type: 'null'
                                          type: object
                                        - type: 'null'
                                  required:
                                    - thinking_supported
                                    - thinking_types
                                    - image_input
                                    - pdf_input
                                    - structured_outputs
                                    - effort_supported
                                    - effort_levels
                                  type: object
                                created_at:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                                deprecated_at:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                                lifecycle:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                                metadata_valid:
                                  type: boolean
                                model_line:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                                reader_version:
                                  enum:
                                    - anthropic.inventory/v1
                                retires_at:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                              required:
                                - reader_version
                                - api_version
                                - metadata_valid
                                - lifecycle
                                - created_at
                                - deprecated_at
                                - retires_at
                                - model_line
                                - capabilities
                              type: object
                            bedrock:
                              additionalProperties: false
                              properties:
                                account_scope_ref:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                                created_at:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                                destination_scope:
                                  enum:
                                    - global_routing
                                    - observed_member_regions
                                foundation_models:
                                  items:
                                    additionalProperties: false
                                    properties:
                                      model_id:
                                        type: string
                                      region:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                    required:
                                      - model_id
                                      - region
                                    type: object
                                  type: array
                                invocation_entitlement:
                                  enum:
                                    - unverified
                                model_lifecycle:
                                  type: 'null'
                                partition:
                                  enum:
                                    - aws
                                    - aws-us-gov
                                    - aws-cn
                                profile_binding_ref:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                                profile_id:
                                  type: string
                                profile_resource:
                                  enum:
                                    - inference-profile
                                    - application-inference-profile
                                profile_status:
                                  enum:
                                    - ACTIVE
                                    - UNKNOWN
                                profile_type:
                                  anyOf:
                                    - enum:
                                        - SYSTEM_DEFINED
                                        - APPLICATION
                                    - type: 'null'
                                reader_version:
                                  enum:
                                    - bedrock.inventory/v1
                                scope:
                                  enum:
                                    - bound_profile_only
                                scope_reason:
                                  enum:
                                    - single_profile_only
                                source_region:
                                  type: string
                                updated_at:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                                whole_account_inventory:
                                  enum:
                                    - false
                              required:
                                - reader_version
                                - scope
                                - whole_account_inventory
                                - scope_reason
                                - partition
                                - source_region
                                - account_scope_ref
                                - profile_binding_ref
                                - profile_id
                                - profile_resource
                                - profile_type
                                - profile_status
                                - created_at
                                - updated_at
                                - foundation_models
                                - destination_scope
                                - invocation_entitlement
                                - model_lifecycle
                              type: object
                            canonical_id:
                              anyOf:
                                - type: string
                                - type: 'null'
                            context_length:
                              anyOf:
                                - minimum: 0
                                  type: integer
                                - type: 'null'
                            data_policy:
                              additionalProperties: false
                              properties:
                                data_collection:
                                  anyOf:
                                    - enum:
                                        - allow
                                        - deny
                                    - type: 'null'
                              required:
                                - data_collection
                              type: object
                            deepseek:
                              additionalProperties: false
                              properties:
                                anthropic_system_prompt_update:
                                  anyOf:
                                    - enum:
                                        - leading-only
                                        - in-history
                                    - type: 'null'
                                conflicting_observation_digests:
                                  items:
                                    type: string
                                  type: array
                                default_effort:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                                effort_levels:
                                  anyOf:
                                    - items:
                                        type: string
                                      type: array
                                    - type: 'null'
                                metadata_valid:
                                  type: boolean
                                modalities_complete:
                                  type: boolean
                                published_alias_of:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                                published_evidence_refs:
                                  items:
                                    type: string
                                  type: array
                                published_facts_checked_on:
                                  type: string
                                published_facts_revision:
                                  type: string
                                published_model_version:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                                reader_version:
                                  enum:
                                    - deepseek.inventory/v1
                              required:
                                - reader_version
                                - metadata_valid
                                - modalities_complete
                                - effort_levels
                                - default_effort
                                - anthropic_system_prompt_update
                                - published_model_version
                                - published_alias_of
                                - published_facts_revision
                                - published_facts_checked_on
                                - published_evidence_refs
                                - conflicting_observation_digests
                              type: object
                            display_name:
                              type: string
                            endpoint_model_id:
                              anyOf:
                                - type: string
                                - type: 'null'
                            endpoint_tag:
                              anyOf:
                                - type: string
                                - type: 'null'
                            evidence:
                              additionalProperties: false
                              properties:
                                digest:
                                  type: string
                                observed_at:
                                  type: string
                                source_url:
                                  type: string
                              required:
                                - observed_at
                                - source_url
                                - digest
                              type: object
                            fireworks:
                              additionalProperties: false
                              properties:
                                active_model_version:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                                binding_state:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                                chat_template_present:
                                  anyOf:
                                    - type: boolean
                                    - type: 'null'
                                connected_account_id:
                                  type: string
                                create_time:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                                delete_time:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                                deployed_model_resource:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                                deployment_resource:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                                deployment_state:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                                deprecation_date:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                                expire_time:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                                identity_conflict:
                                  type: boolean
                                kind:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                                list_account_id:
                                  type: string
                                metadata_complete:
                                  type: boolean
                                model_resource:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                                model_state:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                                owner_account_id:
                                  type: string
                                pricing_plan_id:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                                public:
                                  anyOf:
                                    - type: boolean
                                    - type: 'null'
                                reader_version:
                                  enum:
                                    - fireworks.inventory/v1
                                route_kind:
                                  enum:
                                    - model
                                    - deployment
                                    - lora
                                sku_rates:
                                  items:
                                    additionalProperties: false
                                    properties:
                                      currency_code:
                                        type: string
                                      mode:
                                        type: string
                                      nanos:
                                        minimum: 0
                                        type: integer
                                      service_tier:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                      sku:
                                        type: string
                                      unit:
                                        type: string
                                      units:
                                        type: string
                                    required:
                                      - mode
                                      - service_tier
                                      - sku
                                      - unit
                                      - currency_code
                                      - units
                                      - nanos
                                    type: object
                                  type: array
                                supports_image_input:
                                  anyOf:
                                    - type: boolean
                                    - type: 'null'
                                supports_serverless:
                                  anyOf:
                                    - type: boolean
                                    - type: 'null'
                                supports_tools:
                                  anyOf:
                                    - type: boolean
                                    - type: 'null'
                                update_time:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                              required:
                                - reader_version
                                - connected_account_id
                                - owner_account_id
                                - list_account_id
                                - route_kind
                                - model_resource
                                - deployment_resource
                                - deployed_model_resource
                                - model_state
                                - deployment_state
                                - binding_state
                                - kind
                                - public
                                - supports_serverless
                                - supports_image_input
                                - supports_tools
                                - chat_template_present
                                - deprecation_date
                                - create_time
                                - update_time
                                - expire_time
                                - delete_time
                                - active_model_version
                                - pricing_plan_id
                                - metadata_complete
                                - identity_conflict
                                - sku_rates
                              type: object
                            gemini:
                              additionalProperties: false
                              properties:
                                base_model_id:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                                model_version:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                                resource_name:
                                  type: string
                                supported_generation_methods:
                                  anyOf:
                                    - items:
                                        type: string
                                      type: array
                                    - type: 'null'
                              required:
                                - resource_name
                                - base_model_id
                                - model_version
                                - supported_generation_methods
                              type: object
                            input_modalities:
                              items:
                                type: string
                              type: array
                            invocation_id:
                              type: string
                            max_completion_tokens:
                              anyOf:
                                - minimum: 0
                                  type: integer
                                - type: 'null'
                            max_prompt_tokens:
                              anyOf:
                                - minimum: 0
                                  type: integer
                                - type: 'null'
                            output_modalities:
                              items:
                                type: string
                              type: array
                            pricing:
                              additionalProperties:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              type: object
                            pricing_conditions: {}
                            provider_name:
                              anyOf:
                                - type: string
                                - type: 'null'
                            provider_slug:
                              anyOf:
                                - type: string
                                - type: 'null'
                            publisher:
                              anyOf:
                                - type: string
                                - type: 'null'
                            quantization:
                              anyOf:
                                - type: string
                                - type: 'null'
                            reasoning:
                              additionalProperties: false
                              properties:
                                mandatory:
                                  anyOf:
                                    - type: boolean
                                    - type: 'null'
                                supported:
                                  anyOf:
                                    - type: boolean
                                    - type: 'null'
                                supports_max_tokens:
                                  anyOf:
                                    - type: boolean
                                    - type: 'null'
                              required:
                                - mandatory
                                - supported
                              type: object
                            region:
                              anyOf:
                                - type: string
                                - type: 'null'
                            source_metadata:
                              additionalProperties: false
                              properties:
                                created:
                                  anyOf:
                                    - minimum: 0
                                      type: integer
                                    - type: 'null'
                                kind:
                                  enum:
                                    - openai_model
                                owned_by:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                                shutdown_date:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                              required:
                                - kind
                                - created
                                - owned_by
                                - shutdown_date
                              type: object
                            source_status:
                              anyOf:
                                - type: integer
                                - type: 'null'
                            supported_parameters:
                              items:
                                type: string
                              type: array
                            xai:
                              additionalProperties: false
                              properties:
                                alias_targets:
                                  items:
                                    type: string
                                  type: array
                                aliases:
                                  items:
                                    type: string
                                  type: array
                                created:
                                  anyOf:
                                    - minimum: 0
                                      type: integer
                                    - type: 'null'
                                default_reasoning_effort:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                                detail_complete:
                                  type: boolean
                                fingerprint:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                                kind:
                                  enum:
                                    - language
                                    - unknown
                                long_context_threshold:
                                  anyOf:
                                    - minimum: 0
                                      type: integer
                                    - type: 'null'
                                modalities_complete:
                                  type: boolean
                                rate_unit:
                                  enum:
                                    - usd_cents_per_100_million_tokens
                                reader_version:
                                  enum:
                                    - xai.inventory/v1
                                reasoning_efforts:
                                  anyOf:
                                    - items:
                                        type: string
                                      type: array
                                    - type: 'null'
                                search_price:
                                  anyOf:
                                    - minimum: 0
                                      type: integer
                                    - type: 'null'
                                search_rate_unit:
                                  enum:
                                    - usd_cents_per_100_million_searches
                                token_rates:
                                  additionalProperties:
                                    anyOf:
                                      - minimum: 0
                                        type: integer
                                      - type: 'null'
                                  type: object
                                version:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                              required:
                                - reader_version
                                - kind
                                - detail_complete
                                - modalities_complete
                                - aliases
                                - alias_targets
                                - version
                                - fingerprint
                                - created
                                - reasoning_efforts
                                - default_reasoning_effort
                                - rate_unit
                                - token_rates
                                - search_price
                                - search_rate_unit
                                - long_context_threshold
                              type: object
                          required:
                            - invocation_id
                            - canonical_id
                            - display_name
                            - publisher
                            - input_modalities
                            - output_modalities
                            - supported_parameters
                            - context_length
                            - max_prompt_tokens
                            - max_completion_tokens
                            - provider_name
                            - provider_slug
                            - endpoint_tag
                            - source_status
                            - endpoint_model_id
                            - quantization
                            - region
                            - pricing
                            - pricing_conditions
                            - reasoning
                            - data_policy
                            - evidence
                          type: object
                        invocation_id:
                          type: string
                        item_id:
                          type: string
                        location:
                          anyOf:
                            - type: string
                            - type: 'null'
                        model_group_key:
                          type: string
                        observation_revision:
                          type: string
                        protocol_profile:
                          anyOf:
                            - enum:
                                - openai_chat
                                - gemini_generate_content
                                - anthropic_messages
                            - type: 'null'
                        publisher:
                          anyOf:
                            - type: string
                            - type: 'null'
                        readiness:
                          additionalProperties: false
                          properties:
                            blockers:
                              items:
                                additionalProperties: false
                                properties:
                                  action:
                                    type: string
                                  actor:
                                    type: string
                                  code:
                                    enum:
                                      - access_unverified
                                      - binding_revoked
                                      - binding_rotated
                                      - identity_unbound
                                      - policy_disabled
                                      - authority_expired
                                      - price_incomplete
                                      - capability_unverified
                                      - model_details_unverified
                                      - invocation_access_unverified
                                      - source_profile_unproven
                                      - spend_bound_missing
                                      - data_policy_unknown
                                      - task_unsupported
                                      - source_unavailable
                                      - profile_status_unverified
                                      - evidence_expired
                                      - snapshot_changed
                                      - plan_changed
                                      - consent_missing
                                      - quote_expired
                                      - version_incompatible
                                      - unknown_paid
                                      - usage_unreliable
                                      - bound_exceeded
                                    type: string
                                  evidence_refs:
                                    items:
                                      type: string
                                    type: array
                                  message:
                                    type: string
                                required:
                                  - code
                                  - actor
                                  - action
                                  - message
                                  - evidence_refs
                                type: object
                              type: array
                            disposition:
                              enum:
                                - ready
                                - needs_action
                                - not_available
                            evaluated_at:
                              type: string
                            planner_version:
                              type: string
                            policy_revision:
                              anyOf:
                                - minimum: 0
                                  type: integer
                                - type: 'null'
                          required:
                            - disposition
                            - evaluated_at
                            - planner_version
                            - policy_revision
                            - blockers
                          type: object
                        route_id:
                          type: string
                        snapshot_id:
                          type: string
                        source_id:
                          type: string
                        testing:
                          additionalProperties: false
                          properties:
                            evidence_ref:
                              anyOf:
                                - type: string
                                - type: 'null'
                            last_tested_at:
                              anyOf:
                                - type: string
                                - type: 'null'
                            state:
                              enum:
                                - recorded
                                - not_tested
                                - unknown
                          required:
                            - state
                            - last_tested_at
                            - evidence_ref
                          type: object
                      required:
                        - item_id
                        - route_id
                        - observation_revision
                        - snapshot_id
                        - invocation_id
                        - model_group_key
                        - display_name
                        - publisher
                        - source_id
                        - connection_id
                        - connection_name
                        - protocol_profile
                        - location
                        - commercial_owner
                        - facts
                        - testing
                        - readiness
                        - authorization
                        - added
                      type: object
                    type: array
                  snapshot:
                    anyOf:
                      - additionalProperties: false
                        properties:
                          as_of:
                            type: string
                          binding_revision:
                            minimum: 0
                            type: integer
                          completeness:
                            enum:
                              - complete
                              - partial
                              - importing
                              - failed
                          connection_id:
                            type: string
                          failure_code:
                            anyOf:
                              - type: string
                              - type: 'null'
                          id:
                            type: string
                          observed_count:
                            minimum: 0
                            type: integer
                          scope:
                            enum:
                              - account_observed
                              - bound_profile_observed
                          source_id:
                            type: string
                        required:
                          - id
                          - connection_id
                          - source_id
                          - binding_revision
                          - scope
                          - completeness
                          - as_of
                          - observed_count
                          - failure_code
                        type: object
                      - type: 'null'
                  snapshot_digest:
                    type: string
                  snapshots:
                    items:
                      additionalProperties: false
                      properties:
                        as_of:
                          type: string
                        binding_revision:
                          minimum: 0
                          type: integer
                        completeness:
                          enum:
                            - complete
                            - partial
                            - importing
                            - failed
                        connection_id:
                          type: string
                        failure_code:
                          anyOf:
                            - type: string
                            - type: 'null'
                        id:
                          type: string
                        observed_count:
                          minimum: 0
                          type: integer
                        scope:
                          enum:
                            - account_observed
                            - bound_profile_observed
                        source_id:
                          type: string
                      required:
                        - id
                        - connection_id
                        - source_id
                        - binding_revision
                        - scope
                        - completeness
                        - as_of
                        - observed_count
                        - failure_code
                      type: object
                    type: array
                  totals:
                    additionalProperties: false
                    properties:
                      completeness:
                        enum:
                          - complete
                          - partial
                          - not_imported
                      model_group_total:
                        anyOf:
                          - minimum: 0
                            type: integer
                          - type: 'null'
                      route_total:
                        anyOf:
                          - minimum: 0
                            type: integer
                          - type: 'null'
                    required:
                      - route_total
                      - model_group_total
                      - completeness
                    type: object
                  view:
                    enum:
                      - routes
                      - models
                required:
                  - snapshot
                  - snapshots
                  - counts
                  - totals
                  - items
                  - routes
                  - view
                  - snapshot_digest
                  - next_cursor
                type: object
          description: Default Response
        4XX:
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: >-
            Request failure in RFC 7807 format. The `type` field identifies the
            reason. Validation errors list affected fields. Rate and quota
            errors include `retry_after_s` and the `Retry-After` header.
        5XX:
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: >-
            Server failure in RFC 7807 format. The response does not include
            internal error details.
      security:
        - bearerAuth: []
        - sessionCookie: []
components:
  schemas:
    CostClass:
      enum:
        - economy
        - standard
        - premium
    DataClass:
      enum:
        - public
        - sandbox
        - tenant_internal
    Problem:
      additionalProperties: false
      properties:
        blockers:
          items:
            additionalProperties: false
            properties:
              action:
                type: string
              actor:
                type: string
              code:
                enum:
                  - access_unverified
                  - binding_revoked
                  - binding_rotated
                  - identity_unbound
                  - policy_disabled
                  - authority_expired
                  - price_incomplete
                  - capability_unverified
                  - model_details_unverified
                  - invocation_access_unverified
                  - source_profile_unproven
                  - spend_bound_missing
                  - data_policy_unknown
                  - task_unsupported
                  - source_unavailable
                  - profile_status_unverified
                  - evidence_expired
                  - snapshot_changed
                  - plan_changed
                  - consent_missing
                  - quote_expired
                  - version_incompatible
                  - unknown_paid
                  - usage_unreliable
                  - bound_exceeded
                type: string
              evidence_refs:
                items:
                  type: string
                type: array
              message:
                type: string
            required:
              - code
              - actor
              - action
              - message
              - evidence_refs
            type: object
          type: array
        current_offer:
          additionalProperties: false
          properties:
            content_markdown:
              type: string
            display_label:
              type: string
            document_id:
              type: string
            offer_id:
              pattern: ^[a-f0-9]{64}$
              type: string
            published_url:
              format: uri
              type: string
            source_sha256:
              pattern: ^[a-f0-9]{64}$
              type: string
            title:
              type: string
            updated_at:
              format: date-time
              type: string
            version_id:
              type: string
          required:
            - document_id
            - title
            - version_id
            - display_label
            - updated_at
            - source_sha256
            - offer_id
            - content_markdown
            - published_url
          type: object
        current_organization:
          additionalProperties: false
          properties:
            legal_entity_name:
              maxLength: 256
              minLength: 1
              type: string
            profile_revision:
              minimum: 1
              type: integer
          required:
            - profile_revision
            - legal_entity_name
          type: object
        detail:
          description: Short, safe, occurrence-specific description. Never a stack trace.
          type: string
        errors:
          description: Per-field validation failures (validation_failed only).
          items:
            additionalProperties: false
            properties:
              field:
                type: string
              message:
                type: string
            required:
              - field
              - message
            type: object
          type: array
        instance:
          description: Unique id for this occurrence, safe to quote in support requests.
          format: uuid
          type: string
        next_actions:
          items:
            additionalProperties: false
            properties:
              action:
                type: string
              actor:
                type: string
            required:
              - actor
              - action
            type: object
          type: array
        reason:
          enum:
            - agreement_terminated
            - agreement_recovery_required
            - price_changed
          type: string
        reason_code:
          enum:
            - access_unverified
            - binding_revoked
            - binding_rotated
            - identity_unbound
            - policy_disabled
            - authority_expired
            - price_incomplete
            - capability_unverified
            - model_details_unverified
            - invocation_access_unverified
            - source_profile_unproven
            - spend_bound_missing
            - data_policy_unknown
            - task_unsupported
            - source_unavailable
            - profile_status_unverified
            - evidence_expired
            - snapshot_changed
            - plan_changed
            - consent_missing
            - quote_expired
            - version_incompatible
            - unknown_paid
            - usage_unreliable
            - bound_exceeded
          type: string
        retry_after_s:
          description: >-
            Seconds to wait before retrying (rate_limited and quota_exceeded
            only; mirrored as the Retry-After header).
          type: integer
        status:
          description: HTTP status code, duplicated in the body per RFC 7807.
          type: integer
        title:
          description: Human-readable summary of the problem type.
          type: string
        type:
          description: Stable URI that identifies the error type.
          format: uri
          type: string
      required:
        - type
        - title
        - status
        - instance
      type: object
  securitySchemes:
    bearerAuth:
      description: Organization API key for application requests.
      scheme: bearer
      type: http
    sessionCookie:
      description: Dashboard browser session. Do not use this credential in an application.
      in: cookie
      name: solverapi_session
      type: apiKey

````

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