Quorum Testing API

Measure a mode against a benchmark set. Long-running.

GitHub OpenAPI

Operations 4

POST /v1/tests Run a Lab test of a mode on known-answer questions #
GET /v1/tests Progress of a test run #
POST /v1/certify Certify a mode — fixed shape, priced per question #
GET /v1/certify Progress of a certification run #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/quorum-dog:quorum-dog-testing-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

quorum-dog-testing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Quorum Testing API
  version: 1.0.0
  summary: Route a question through a panel of frontier models and get one deliberated answer.
  description: 'Quorum''s HTTP API. `POST /v1/chat/completions` is OpenAI-shaped, so most SDKs work by changing the base URL and the model name — the `model` field selects a Quorum **mode** (a configured panel) rather than a single model. An additive `quorum` block on every response carries what the OpenAI shape has no vocabulary for: which engines actually answered, how many rounds ran, whether they converged, and what it cost.


    This document is written from the handler source, not from memory. Where the API does not do something — token streaming, for one — it is marked here rather than left implied.


    Three things that surprise people:


    1. **Requests carrying a browser `Origin` header are rejected with 403.** This API is server-to-server. A real key presented from a browser is treated as a leaked key, not a legitimate call.

    2. **`stream: true` returns 400, not a stream.** Provider token streaming is not implemented; failing loudly beats returning a plain body to a client that is waiting for SSE.

    3. **A deliberation is slow by design.** Measured on production 2026-08-20: p50 28.5s, p90 88.2s, p99 229.3s across 3,845 deliberations. Set your client timeout accordingly, and use `POST /v1/estimate` — free — to decide whether a question is worth the wait before spending it.'
  contact:
    name: Quorum
    url: https://www.quorumllm.com/help
  license:
    name: Proprietary
    url: https://www.quorumllm.com/terms.html
servers:
- url: https://www.quorumllm.com
  description: Production
security:
- ApiKeyAuth: []
tags:
- name: Testing
  description: Measure a mode against a benchmark set. Long-running.
paths:
  /v1/tests:
    post:
      operationId: createTestRun
      tags:
      - Testing
      summary: Run a Lab test of a mode on known-answer questions
      description: 'The same Lab run a maker launches in the Mode Builder: known-answer questions, graded against their answers, split across the tiers the mode permits, with optional punch-up. Your organisation pays per question: the mode''s normal API price for that question at 25% off, punch-up arms included. The quote is held at launch as a maximum; when the run finishes you are charged only for questions that produced an answer (a fallback answer counts) and the rest is refunded. A mode with no API price for a requested difficulty is refused with 400 `price_unavailable`.


        **Mapping from the earlier request shape:** `buckets` is still accepted and maps `light` to `easy`, `medium` to `medium`, `hard` to `hard`. `judges`, `judge_repeats` and `judging_protocol` are ignored (named back in `ignored`): a known-answer run has no judge panel.


        **This is not a request-response call.** You get a `batch_id` and a `status_url` immediately; poll it for progress and, once graded, the scorecard.


        Send `dry_run: true` for the launcher''s own quote (`quote`) and the price (`billed_usd`) without starting or billing anything. The dry run estimates the price, not the exact questions: the launch draws its own, and the draw also depends on what other runs have already asked, so the same `seed` does not guarantee the same questions.


        Send an `Idempotency-Key` header on a launch. A repeat of the same key returns the original `batch_id` with `idempotent_replay: true` and is never charged twice; a repeat while the first is still launching returns 409.


        **Signed in through a connected app (OAuth)?** The run is billed to your plan instead, exactly as a Mode Builder run is: real cost as each question runs, counted against your plan limits, then Turbo once the plan is used up. No Mode fee or testing price applies. You can test a mode you own or that your organisation owns; a dry run returns `payer: "plan"`, `price_basis: "plan_real_cost"`, `estimated_cost_usd` and whether your plan would block it. A run your plan cannot cover returns 402.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TestRunRequest'
            examples:
              dryRun:
                summary: Price it first
                value:
                  model: QRUM:STAN
                  questions:
                    easy: 10
                    medium: 10
                    hard: 10
                  dry_run: true
      responses:
        '200':
          description: Launched, or priced when `dry_run` was set.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TestRunAccepted'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/ModelNotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/ServerError'
        '503':
          $ref: '#/components/responses/Unavailable'
    get:
      operationId: getTestRun
      tags:
      - Testing
      summary: Progress of a test run
      parameters:
      - name: batch_id
        in: query
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Batch progress and, once complete, results.
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                  batch:
                    type: object
                    additionalProperties: true
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          description: No such batch under this organisation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          $ref: '#/components/responses/RateLimited'
  /v1/certify:
    post:
      operationId: createCertification
      tags:
      - Testing
      summary: Certify a mode — fixed shape, priced per question
      description: 'The certification the Mode Builder runs: 150 held-out known-answer questions, 50 each of easy, medium and hard, dealt across the tiers the mode permits and graded against their answers. Priced like `/v1/tests`: per question, the mode''s normal API price for that question at 25% off, billed to your organisation. Send `punch_up: true` to add the Mode Builder''s punch-up once the certificate is graded; it is quoted, reserved and settled with the certification, priced the same way, and paid by the same payer. Send `dry_run: true` for the quote. The quote is held at launch as a maximum; when the run finishes you are charged only for questions that produced an answer and the rest is refunded.


        Only the organisation that owns the mode can certify it (403 `mode_not_owned` otherwise); an entitled organisation can still test it with `/v1/tests`. Send an `Idempotency-Key` header: a repeat returns the original `batch_id` and is never charged twice.


        The mode must already be listed in the Marketplace. On completion the certified card is pinned exactly as an in-app certification pins it. Poll `status_url`: once graded it carries the scorecard and `certification.pinned`.


        **Signed in through a connected app (OAuth)?** Certification is billed to your plan at real cost, against your plan limits and then Turbo, exactly as an in-app certification is; no per-question org price or Mode fee applies. You can certify a mode you own or that your organisation owns (403 `mode_not_owned` otherwise).'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - model
              properties:
                model:
                  type: string
                  description: The id from /v1/models (a ticker such as QRUM:STAN).
                  examples:
                  - QRUM:STAN
                punch_up:
                  type: boolean
                  default: false
                  description: Once the certificate is graded, fire each lower tier on a higher tier's certification questions. Needs a mode with two tiers (400 `launch_refused` otherwise).
                dry_run:
                  type: boolean
                  default: false
                  description: Return the quote, including any punch-up, without launching or charging anything.
      responses:
        '200':
          description: Certification run launched.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CertificationAccepted'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/ModelNotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/ServerError'
    get:
      operationId: getCertification
      tags:
      - Testing
      summary: Progress of a certification run
      parameters:
      - name: batch_id
        in: query
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Batch progress, plus a `certification` verdict once complete.
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                  batch:
                    type: object
                    additionalProperties: true
                  certification:
                    type: object
                    additionalProperties: true
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          description: No such batch under this organisation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  responses:
    ModelNotFound:
      description: No mode with that id is exposed to this organisation. Call /v1/models to see what is.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    BadRequest:
      description: The request was malformed. `error.code` says how.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: 'The key is real but not permitted: organisation suspended, key lacks the scope, or the request carried a browser `Origin` header.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unavailable:
      description: A dependency was unreachable and the gate failed closed rather than letting the call through unchecked. Retryable.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ServerError:
      description: Our fault. Safe to retry with the same `Idempotency-Key`.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Rate or concurrency ceiling hit. Defaults are 60 requests/minute per key and 5 concurrent requests per organisation. A `Retry-After` header is sent; back off and retry.
      headers:
        Retry-After:
          schema:
            type: integer
          description: Seconds.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Missing, invalid or revoked key. Not retryable — fix the key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      description: OpenAI's error envelope, plus `quorum.request_id` where one exists — so a failure is as traceable as a success.
      properties:
        error:
          type: object
          properties:
            message:
              type: string
            type:
              type: string
              enum:
              - invalid_request_error
              - authentication_error
              - permission_error
              - rate_limit_error
              - api_error
            code:
              type: string
              description: The stable identifier. Branch on this, not on `message`.
              enum:
              - invalid_api_key
              - revoked_api_key
              - org_suspended
              - browser_origin_not_allowed
              - insufficient_scope
              - invalid_model
              - invalid_messages
              - model_not_found
              - stream_not_supported
              - context_length_exceeded
              - request_in_progress
              - missing_request_id
              - receipt_not_found
              - invalid_buckets
              - invalid_bucket
              - invalid_bucket_count
              - too_many_questions
              - invalid_judges
              - method_not_allowed
              - concurrency_limit_exceeded
              - rate_limit_exceeded
              - service_unavailable
              - internal_error
            param:
              type:
              - string
              - 'null'
        quorum:
          type: object
          properties:
            request_id:
              type:
              - string
              - 'null'
    CertificationAccepted:
      type: object
      properties:
        ok:
          type: boolean
        batch_id:
          type: string
          format: uuid
        model:
          type: string
        mode:
          type:
          - string
          - 'null'
          description: The Mode, by its ticker in COMPANY:MODE form (e.g. `QRUM:STAN`), the same name `model` takes. `null` when the Mode has no ticker or the name lookup fails; the call itself is unaffected.
        total_questions:
          type: integer
          const: 150
        billed_usd:
          type: number
          description: 'The maximum held: per question, the mode''s normal API price at 25% off. When the run finishes you are charged only for questions that produced an answer and the rest is refunded.'
        max_usd:
          type: number
          description: The quoted maximum.
        price_basis:
          type: string
        per_difficulty:
          type: object
          additionalProperties: true
          description: Count, per-question price and subtotal.
        status_url:
          type: string
        note:
          type: string
    TestRunAccepted:
      type: object
      properties:
        ok:
          type: boolean
        dry_run:
          type: boolean
        batch_id:
          type: string
          format: uuid
        model:
          type: string
          description: The Mode's ticker; echoes the request when `mode` is `null`.
        mode:
          type:
          - string
          - 'null'
          description: The Mode, by its ticker in COMPANY:MODE form (e.g. `QRUM:STAN`), the same name `model` takes. `null` when the Mode has no ticker or the name lookup fails; the call itself is unaffected.
        total_questions:
          type: integer
        per_difficulty:
          type: object
          additionalProperties: true
          description: Count, per-question price and subtotal per difficulty.
        quote:
          type: object
          additionalProperties: true
          description: 'On a dry run: the launcher''s own estimate (`estimated_cost_usd`, `queue_length`, punch-up figures), the same one the Mode Builder shows.'
        billed_usd:
          type: number
          description: The maximum. On a dry run, what a launch of the same spec holds; on a launch, held from your balance. When the run finishes you are charged only for questions that produced an answer (a fallback answer counts) and the rest is refunded.
        max_usd:
          type: number
          description: The quoted maximum, equal to `billed_usd` at launch.
        discount:
          type: number
          description: 'The multiplier applied to the normal per-question price: 0.75 (25% off).'
        price:
          type: object
          additionalProperties: true
          description: 'On a dry run: `lines` (count, per-question price, subtotal), `questions`, `discount_pct`, `max_total_usd` and what you are charged for.'
        price_basis:
          type: string
        ignored:
          type: array
          items:
            type: string
          description: Earlier request fields that were sent and ignored.
        status_url:
          type: string
        note:
          type: string
    TestRunRequest:
      type: object
      required:
      - model
      description: Send `questions` (or the legacy `buckets`).
      properties:
        model:
          type: string
          examples:
          - QRUM:STAN
        questions:
          type: object
          description: Known-answer questions per difficulty. Each 1–100; 300 total.
          properties:
            easy:
              type: integer
              minimum: 1
              maximum: 100
            medium:
              type: integer
              minimum: 1
              maximum: 100
            hard:
              type: integer
              minimum: 1
              maximum: 100
          additionalProperties: false
        buckets:
          type: object
          deprecated: true
          description: 'Earlier shape, still accepted: light maps to easy, medium to medium, hard to hard.'
          properties:
            light:
              type: integer
              minimum: 1
              maximum: 100
            medium:
              type: integer
              minimum: 1
              maximum: 100
            hard:
              type: integer
              minimum: 1
              maximum: 100
          additionalProperties: false
        tiers:
          type: array
          items:
            type: string
            enum:
            - free
            - plus
            - pro
          description: Tiers to test. Defaults to every tier the mode permits; the questions are split across them.
        punch_up:
          type: boolean
          default: false
          description: Also fire each lower tier on a higher tier's questions. Needs two tiers.
        seed:
          type: string
          description: 'Draw seed. It steers the draw but does not fix it: which questions are drawn also depends on other runs, so a quote and its launch can differ in questions.'
        judges:
          deprecated: true
          description: 'Ignored: a known-answer run has no judge panel.'
        judge_repeats:
          deprecated: true
          description: Ignored.
        judging_protocol:
          deprecated: true
          description: Ignored.
        dry_run:
          type: boolean
          default: false
          description: The launcher's quote and the price only. Nothing runs, nothing is billed.
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: '`Authorization: Bearer qk_live_…` (or `qk_test_…`). Server-to-server only — a request carrying a browser `Origin` header is rejected with 403 `browser_origin_not_allowed`, because a real key sent from a browser is a leaked key.'
externalDocs:
  description: The library
  url: https://www.quorumllm.com/docs