> ## 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 runs as a signed before-and-after Proof Report: output per GPU, latency against your limits, cost per million tokens where the price is known, answer quality, and the verified saving



## OpenAPI

````yaml /openapi.json get /api/v1/optimization/proof-report
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/proof-report:
    get:
      tags:
        - Inference optimization
      summary: >-
        Read finished runs as a signed before-and-after Proof Report: output per
        GPU, latency against your limits, cost per million tokens where the
        price is known, answer quality, and the verified saving
      operationId: getProofReport
      parameters:
        - description: >-
            1 to 16 finished campaign IDs, comma-separated: the runs of the
            engagement. Runs of one model on one traffic and GPU form one
            workload, one run per load.
          in: query
          name: campaigns
          required: true
          schema:
            maxLength: 2048
            minLength: 1
            type: string
        - description: >-
            The report's title, one line of at most 120 characters. Defaults to
            Proof Report.
          in: query
          name: title
          required: false
          schema:
            maxLength: 120
            type: string
        - description: Who the report is prepared for, one line of at most 120 characters.
          in: query
          name: prepared_for
          required: false
          schema:
            maxLength: 120
            type: string
        - description: >-
            json (the default) returns the signed envelope; markdown and html
            return the same report rendered for print, as an attachment.
          in: query
          name: format
          required: false
          schema:
            enum:
              - json
              - markdown
              - html
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProofReportEnvelope'
            text/html:
              schema:
                description: >-
                  The report as one self-contained, print-ready HTML page: no
                  scripts or network requests.
                type: string
            text/markdown:
              schema:
                description: The report as Markdown, ready to print or convert to PDF.
                type: string
          description: Success
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Typed API error
      security:
        - bearerAuth: []
components:
  schemas:
    ProofReportEnvelope:
      additionalProperties: false
      properties:
        report:
          $ref: '#/components/schemas/ProofReport'
        signature:
          description: >-
            Ed25519 signature over report_digest by the control plane's passport
            signing key; null until every run has finished or without a key,
            never made up. Verify a saved response with `infercrane report proof
            verify FILE`.
          oneOf:
            - $ref: '#/components/schemas/OptimizationCampaignReportSignature'
            - type: 'null'
        unsigned_reason:
          description: Why signature is null; absent when the report is signed.
          enum:
            - proof_not_finished
            - signing_key_not_configured
          type: string
      required:
        - report
        - signature
      type: object
    ErrorEnvelope:
      properties:
        error:
          $ref: '#/components/schemas/Error'
      required:
        - error
      type: object
    ProofReport:
      additionalProperties: false
      properties:
        algorithm_version:
          type: string
        claim_rule:
          type: string
        finished:
          type: boolean
        limits:
          items:
            type: string
          type: array
        period:
          additionalProperties: false
          properties:
            from:
              type: string
            to:
              type: string
          required:
            - from
            - to
          type: object
        prepared_for:
          type: string
        report_digest:
          description: >-
            SHA-256 of the compact report JSON with report_digest emptied; it is
            the last member.
          pattern: ^sha256:[0-9a-f]{64}$
          type: string
        schema_version:
          enum:
            - infercrane.dev/proof-report/v1
          type: string
        summary:
          additionalProperties: false
          properties:
            annual_saving_usd:
              type:
                - number
                - 'null'
            cost_per_million_change_percent:
              description: >-
                The smallest cost-per-output-token reduction across the verified
                workloads that state one, in percent; it stands where a price is
                withheld.
              type:
                - number
                - 'null'
            headline:
              type: string
            monthly_saving_usd:
              description: >-
                The sum of every workload's verified monthly saving;
                saving_covers says how many workloads that is.
              type:
                - number
                - 'null'
            output_per_gpu_change_percent:
              type:
                - number
                - 'null'
            saving_assumption:
              type: string
            saving_covers:
              type: string
            verified_workloads:
              type: integer
            workloads:
              type: integer
          required:
            - headline
            - workloads
            - verified_workloads
            - monthly_saving_usd
            - annual_saving_usd
            - output_per_gpu_change_percent
          type: object
        title:
          type: string
        unknown:
          items:
            type: string
          type: array
        workloads:
          items:
            additionalProperties: false
            properties:
              cost_per_million_change_percent:
                type:
                  - number
                  - 'null'
              gpu_hours_change_percent:
                type:
                  - number
                  - 'null'
              loads:
                additionalProperties: false
                properties:
                  bands:
                    items:
                      additionalProperties: false
                      properties:
                        decision:
                          enum:
                            - winner
                            - keep_current
                            - no_decision
                            - unknown
                          type: string
                        load:
                          type: integer
                        reason:
                          type: string
                        winner:
                          type: string
                      required:
                        - load
                        - decision
                        - reason
                      type: object
                    type: array
                  metric:
                    type: string
                  reason:
                    type: string
                  summary:
                    enum:
                      - one_setup
                      - setup_per_band
                      - incomplete
                    type: string
                required:
                  - metric
                  - summary
                  - reason
                  - bands
                type: object
              loads_reason:
                type: string
              model:
                type: string
              monthly_saving_usd:
                description: >-
                  The smallest verified monthly saving across the workload's
                  loads; null unless every load verified one.
                type:
                  - number
                  - 'null'
              name:
                type: string
              output_per_gpu_change_percent:
                type:
                  - number
                  - 'null'
              runs:
                items:
                  additionalProperties: false
                  properties:
                    after:
                      oneOf:
                        - additionalProperties: false
                          properties:
                            accelerator:
                              type: string
                            accelerator_count:
                              type:
                                - integer
                                - 'null'
                            args:
                              items:
                                type: string
                              type: array
                            engine:
                              type: string
                            engine_version:
                              type: string
                            env:
                              additionalProperties:
                                type: string
                              type: object
                            hourly_usd_per_replica:
                              description: >-
                                The hourly price of one replica recorded with
                                the measurement, as price_source names it: a
                                price the customer supplied, a provider's list
                                price, or the customer's own account's; never an
                                InferCrane price. Null when none was recorded,
                                or when price_withheld is set.
                              type:
                                - number
                                - 'null'
                            image_digest:
                              type: string
                            label:
                              type: string
                            model:
                              type: string
                            price_source:
                              type: string
                            price_withheld:
                              description: >-
                                hourly_usd_per_replica and price_source are
                                empty. Set when the setup ran on InferCrane's
                                managed compute, priced at InferCrane's rate,
                                which reports do not show; absent otherwise.
                              enum:
                                - infercrane_rate
                              type: string
                            provider:
                              type: string
                            region:
                              type: string
                          required:
                            - label
                            - model
                            - engine
                            - engine_version
                            - args
                            - accelerator
                            - accelerator_count
                            - hourly_usd_per_replica
                          type: object
                        - type: 'null'
                    baseline:
                      additionalProperties: false
                      properties:
                        basis:
                          type: string
                        candidate_runs:
                          type: integer
                        control_runs:
                          type: integer
                        fresh_servers:
                          type: boolean
                        label:
                          type: string
                        noise_floor_percent:
                          type:
                            - number
                            - 'null'
                        reason:
                          type: string
                      required:
                        - label
                        - basis
                        - control_runs
                        - candidate_runs
                        - noise_floor_percent
                        - fresh_servers
                      type: object
                    before:
                      oneOf:
                        - additionalProperties: false
                          properties:
                            accelerator:
                              type: string
                            accelerator_count:
                              type:
                                - integer
                                - 'null'
                            args:
                              items:
                                type: string
                              type: array
                            engine:
                              type: string
                            engine_version:
                              type: string
                            env:
                              additionalProperties:
                                type: string
                              type: object
                            hourly_usd_per_replica:
                              description: >-
                                The hourly price of one replica recorded with
                                the measurement, as price_source names it: a
                                price the customer supplied, a provider's list
                                price, or the customer's own account's; never an
                                InferCrane price. Null when none was recorded,
                                or when price_withheld is set.
                              type:
                                - number
                                - 'null'
                            image_digest:
                              type: string
                            label:
                              type: string
                            model:
                              type: string
                            price_source:
                              type: string
                            price_withheld:
                              description: >-
                                hourly_usd_per_replica and price_source are
                                empty. Set when the setup ran on InferCrane's
                                managed compute, priced at InferCrane's rate,
                                which reports do not show; absent otherwise.
                              enum:
                                - infercrane_rate
                              type: string
                            provider:
                              type: string
                            region:
                              type: string
                          required:
                            - label
                            - model
                            - engine
                            - engine_version
                            - args
                            - accelerator
                            - accelerator_count
                            - hourly_usd_per_replica
                          type: object
                        - type: 'null'
                    campaign_id:
                      type: string
                    claim:
                      additionalProperties: false
                      properties:
                        change_percent:
                          type:
                            - number
                            - 'null'
                        claim:
                          enum:
                            - shown
                            - not shown
                          type: string
                        disclosures:
                          description: >-
                            The sentences a technique's claim carries, word for
                            word from its measured result; empty for a setup no
                            technique made. Show them wherever the claim is
                            shown.
                          items:
                            type: string
                          type: array
                        metric:
                          type: string
                        missing:
                          description: What a "shown" claim still needs, in words.
                          items:
                            type: string
                          type: array
                        noise_floor_percent:
                          type:
                            - number
                            - 'null'
                        technique:
                          type: string
                      required:
                        - claim
                        - change_percent
                        - noise_floor_percent
                        - missing
                        - disclosures
                      type: object
                    evidence:
                      additionalProperties: false
                      properties:
                        records:
                          items:
                            additionalProperties: false
                            properties:
                              digest:
                                type: string
                              id:
                                type: string
                              kind:
                                type: string
                              subject:
                                type: string
                            required:
                              - kind
                              - digest
                            type: object
                          type: array
                        report_digest:
                          type: string
                        report_path:
                          type: string
                        verify:
                          type: string
                      required:
                        - report_digest
                        - report_path
                        - verify
                        - records
                      type: object
                    finished:
                      type: boolean
                    headline:
                      type: string
                    load:
                      type:
                        - integer
                        - 'null'
                    numbers:
                      items:
                        additionalProperties: false
                        properties:
                          after:
                            type:
                              - number
                              - 'null'
                          basis:
                            type: string
                          before:
                            type:
                              - number
                              - 'null'
                          change_percent:
                            type:
                              - number
                              - 'null'
                          decision:
                            enum:
                              - improved
                              - regressed
                              - no_measurable_difference
                              - unchanged
                              - unknown
                            type: string
                          higher_is_better:
                            type: boolean
                          key:
                            type: string
                          label:
                            type: string
                          noise_floor_percent:
                            type:
                              - number
                              - 'null'
                          reason:
                            type: string
                          unit:
                            type: string
                          withheld:
                            description: >-
                              A cost value is null and the decision stands. Set
                              when the setup ran on InferCrane's managed
                              compute, priced at InferCrane's rate, which
                              reports do not show; absent otherwise.
                            enum:
                              - infercrane_rate
                            type: string
                        required:
                          - key
                          - label
                          - unit
                          - higher_is_better
                          - before
                          - after
                          - change_percent
                          - noise_floor_percent
                          - decision
                          - basis
                        type: object
                      type: array
                    objective:
                      type: string
                    objective_metric:
                      type: string
                    outcome:
                      enum:
                        - winner_selected
                        - baseline_kept
                        - no_winner
                        - in_progress
                        - cancelled
                      type: string
                    quality:
                      additionalProperties: false
                      properties:
                        after_score:
                          type:
                            - number
                            - 'null'
                        answer_rule:
                          description: >-
                            How the task set was read: held_within_1_point for a
                            setup that changes answers, within_margin otherwise.
                          type: string
                        answer_verdict:
                          type: string
                        basis:
                          type: string
                        before_score:
                          type:
                            - number
                            - 'null'
                        delta:
                          type:
                            - number
                            - 'null'
                        eval:
                          type: string
                        method:
                          type: string
                        prompts:
                          type:
                            - integer
                            - 'null'
                        reason:
                          type: string
                        servers_each:
                          type:
                            - integer
                            - 'null'
                        verdict:
                          enum:
                            - PASS
                            - WATCH
                            - BLOCK
                            - UNKNOWN
                          type: string
                      required:
                        - verdict
                        - basis
                        - prompts
                        - before_score
                        - after_score
                        - delta
                        - servers_each
                      type: object
                    rerun:
                      description: >-
                        Commands that measure the run again from the same
                        request; NEW_RUN is the ID the first prints.
                      items:
                        type: string
                      type: array
                    saving:
                      additionalProperties: false
                      properties:
                        annual_saving_usd:
                          description: 'Twelve months at the captured rate: a projection.'
                          type:
                            - number
                            - 'null'
                        assumption:
                          type: string
                        cost_per_million_change_percent:
                          type:
                            - number
                            - 'null'
                        gpu_hours_change_percent:
                          type:
                            - number
                            - 'null'
                        monthly_cost_after_usd:
                          type:
                            - number
                            - 'null'
                        monthly_cost_before_usd:
                          type:
                            - number
                            - 'null'
                        monthly_gpu_hours_after:
                          type:
                            - number
                            - 'null'
                        monthly_gpu_hours_before:
                          type:
                            - number
                            - 'null'
                        monthly_output_tokens:
                          type:
                            - number
                            - 'null'
                        monthly_saving_usd:
                          type:
                            - number
                            - 'null'
                        monthly_unavailable_reason:
                          type: string
                        output_per_gpu_change_percent:
                          type:
                            - number
                            - 'null'
                        reasons:
                          items:
                            type: string
                          type: array
                        state:
                          description: >-
                            verified only when the claim is shown, answers
                            passed, no guard held the setup back, and output per
                            GPU or cost per output token improved beyond the
                            noise; the amounts are null otherwise.
                          enum:
                            - verified
                            - not_shown
                            - none
                            - in_progress
                          type: string
                        withheld:
                          description: >-
                            The dollar amounts are null; the percentages and the
                            state stand. Set when the setup ran on InferCrane's
                            managed compute, priced at InferCrane's rate, which
                            reports do not show; absent otherwise.
                          enum:
                            - infercrane_rate
                          type: string
                      required:
                        - state
                        - reasons
                        - output_per_gpu_change_percent
                        - cost_per_million_change_percent
                        - gpu_hours_change_percent
                        - monthly_output_tokens
                        - monthly_gpu_hours_before
                        - monthly_gpu_hours_after
                        - monthly_cost_before_usd
                        - monthly_cost_after_usd
                        - monthly_saving_usd
                        - annual_saving_usd
                      type: object
                    simulated_accelerator:
                      type: boolean
                    targets:
                      items:
                        additionalProperties: false
                        properties:
                          after:
                            type:
                              - number
                              - 'null'
                          after_met:
                            type:
                              - boolean
                              - 'null'
                          at_most:
                            type: boolean
                          before:
                            type:
                              - number
                              - 'null'
                          before_met:
                            type:
                              - boolean
                              - 'null'
                          explanation:
                            type: string
                          key:
                            enum:
                              - ttft_p95_ms
                              - tpot_p95_ms
                              - error_rate
                              - output_tokens_per_second
                            type: string
                          label:
                            type: string
                          limit:
                            type: number
                          unit:
                            type: string
                        required:
                          - key
                          - label
                          - unit
                          - limit
                          - at_most
                          - before
                          - after
                          - before_met
                          - after_met
                        type: object
                      type: array
                    warnings:
                      items:
                        type: string
                      type: array
                    workload:
                      additionalProperties: false
                      properties:
                        method:
                          type: string
                        profile:
                          type: string
                        requests_per_run:
                          type:
                            - integer
                            - 'null'
                        shape_digest:
                          pattern: ^sha256:[0-9a-f]{64}$
                          type: string
                        source:
                          type: string
                      required:
                        - source
                        - requests_per_run
                      type: object
                  required:
                    - campaign_id
                    - load
                    - finished
                    - outcome
                    - headline
                    - objective
                    - simulated_accelerator
                    - before
                    - after
                    - workload
                    - baseline
                    - numbers
                    - targets
                    - quality
                    - claim
                    - saving
                    - evidence
                    - rerun
                    - warnings
                  type: object
                type: array
              summary:
                type: string
              traffic:
                type: string
              verdict:
                enum:
                  - verified_at_every_load
                  - verified_at_some_loads
                  - not_shown
                  - no_saving
                  - in_progress
                type: string
            required:
              - name
              - model
              - traffic
              - verdict
              - summary
              - runs
              - monthly_saving_usd
              - output_per_gpu_change_percent
              - cost_per_million_change_percent
              - gpu_hours_change_percent
            type: object
          type: array
      required:
        - schema_version
        - algorithm_version
        - title
        - period
        - finished
        - summary
        - claim_rule
        - workloads
        - limits
        - unknown
        - report_digest
      type: object
    OptimizationCampaignReportSignature:
      additionalProperties: false
      properties:
        algorithm:
          enum:
            - Ed25519-SHA256
          type: string
        digest:
          description: >-
            The report's report_digest: SHA-256 of the compact report JSON with
            report_digest emptied.
          pattern: ^sha256:[0-9a-f]{64}$
          type: string
        key_id:
          description: >-
            sha256: and the first 8 bytes of the SHA-256 of the public key; the
            same key ID Inference Passports carry.
          pattern: ^sha256:[0-9a-f]{16}$
          type: string
        public_key:
          description: >-
            Base64 Ed25519 public key. Compare it, or its key ID, with the key
            the control plane's operator publishes.
          type: string
        signature:
          description: Base64 Ed25519 signature over the 32 digest bytes.
          type: string
      required:
        - algorithm
        - key_id
        - public_key
        - digest
        - signature
      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.