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

# Read finished campaigns, one per load, as a verdict per load band with the band table a per-server switch serves from



## OpenAPI

````yaml /openapi.json get /api/v1/optimization/band-study
openapi: 3.1.0
info:
  description: >-
    Durable, authenticated control-plane operations. Mutation responses may
    outlive the requesting client.
  title: InferCrane Control API
  version: 2.3.1
servers:
  - description: Local InferCrane API and gateway
    url: http://127.0.0.1:18000
security: []
tags:
  - name: Admission
  - name: Adoption
  - name: Agents
  - name: Alerts
  - name: Async inference
  - name: Audit
  - name: Autopilot
  - name: Benchmarks
  - name: Billing
  - name: Billing administration
  - name: Burst Guard
  - name: Capacity intelligence
  - name: Changes
  - name: Compute
  - name: Context Passport
  - name: Data
  - name: Deployments
  - name: Diagnostics
  - name: Endpoints
  - name: External capacity
  - name: FinOps
  - name: Identity
  - name: Inference
  - name: Inference Lab
  - name: Inference decisions
  - name: Inference optimization
  - name: Infrastructure
  - name: Marketplace administration
  - name: Migration Proof
  - name: Model API administration
  - name: Model APIs
  - name: Model artifacts
  - name: Model catalog
  - name: Monitoring
  - name: Notifications
  - name: Operations
  - name: Planning
  - name: Providers
  - name: Recipes
  - name: Release Guard
  - name: Release evidence
  - name: Replay
  - name: Revisions
  - name: Routing
  - name: Sandboxes
  - name: Scaling
  - name: Secrets
  - name: System
  - name: Targets
  - name: Training lineage
  - name: Workspace administration
paths:
  /api/v1/optimization/band-study:
    get:
      tags:
        - Inference optimization
      summary: >-
        Read finished campaigns, one per load, as a verdict per load band with
        the band table a per-server switch serves from
      operationId: getOptimizationBandStudy
      parameters:
        - description: >-
            2 to 8 campaign IDs, comma-separated: one finished campaign per
            load, with the same model, current setup, and objective.
          in: query
          name: campaigns
          required: true
          schema:
            maxLength: 1024
            minLength: 3
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OptimizationBandStudy'
          description: Success
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Typed API error
      security:
        - bearerAuth: []
components:
  schemas:
    OptimizationBandStudy:
      additionalProperties: false
      description: >-
        Each finished campaign is its load band's verdict: its judge's winner,
        confirmed on fresh servers, or the current setup kept. Setups are keyed
        by what they serve (model, engine, flags, environment, GPUs), so one
        setup has one key across campaigns.
      properties:
        campaigns:
          items:
            additionalProperties: false
            properties:
              band:
                type: string
              id:
                type: string
              outcome:
                type: string
            required:
              - id
              - band
              - outcome
            type: object
          type: array
        current:
          type: string
        model:
          type: string
        schema_version:
          enum:
            - infercrane.dev/band-study/v1
          type: string
        setups:
          additionalProperties:
            additionalProperties: false
            properties:
              args:
                items:
                  type: string
                type: array
              engine:
                type: string
              engine_version:
                type: string
              env:
                additionalProperties:
                  type: string
                type: object
              label:
                type: string
            required:
              - label
              - engine
              - engine_version
              - args
            type: object
          type: object
        verdict:
          additionalProperties: false
          properties:
            bands:
              items:
                additionalProperties: false
                properties:
                  copy_gain:
                    type: number
                  copy_inside_noise:
                    type: boolean
                  current:
                    type: number
                  decision:
                    enum:
                      - winner
                      - keep_current
                      - no_decision
                      - unknown
                    type: string
                  key:
                    type: string
                  kind:
                    type: string
                  load:
                    type: integer
                  noise_floor:
                    type: number
                  reason:
                    type: string
                  repeats_steady:
                    type: boolean
                  setups:
                    items:
                      additionalProperties: false
                      properties:
                        ahead:
                          type: boolean
                        gain:
                          type:
                            - number
                            - 'null'
                        held_back:
                          type: string
                        id:
                          type: string
                        output_gain:
                          type:
                            - number
                            - 'null'
                      required:
                        - id
                        - gain
                        - output_gain
                        - ahead
                      type: object
                    type: array
                  spread:
                    type: number
                  winner:
                    type: string
                required:
                  - key
                  - kind
                  - load
                  - current
                  - spread
                  - noise_floor
                  - repeats_steady
                  - decision
                  - setups
                  - reason
                type: object
              type: array
            metric:
              type: string
            reason:
              type: string
            summary:
              enum:
                - one_setup
                - setup_per_band
                - incomplete
              type: string
            switch_bands:
              description: >-
                The band table a per-server switch serves from; present only
                when every band decided and the bands are one kind of traffic.
              items:
                additionalProperties: false
                properties:
                  engine:
                    type: string
                  up_to:
                    description: >-
                      The band's largest load in requests at once; absent for
                      the last band, above every other.
                    minimum: 1
                    type: integer
                required:
                  - engine
                type: object
              type: array
            winners:
              additionalProperties:
                type: string
              type: object
          required:
            - metric
            - bands
            - summary
            - winners
            - reason
          type: object
      required:
        - schema_version
        - model
        - current
        - campaigns
        - setups
        - verdict
      type: object
    ErrorEnvelope:
      properties:
        error:
          $ref: '#/components/schemas/Error'
      required:
        - error
      type: object
    Error:
      properties:
        category:
          type: string
        code:
          type: string
        message:
          type: string
        remediation:
          type: string
        request_id:
          type: string
        retryable:
          type: boolean
      required:
        - code
        - message
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

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