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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/quorum-dog:quorum-dog-receipts-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
openapi: 3.2.0
info:
title: Quorum Receipts 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: Receipts
description: What actually happened on a past call.
paths:
/v1/receipts/{request_id}:
get:
operationId: getReceipt
tags:
- Receipts
summary: What happened on a past call
description: 'Per-seat models, judge scores, whether a seat fell back to a different engine, latency and cost for a completed request.
Every other endpoint makes Quorum do more; this one makes the *caller* able to do more. An agent that can see judge scores and convergence can escalate, re-ask, or flag for human review — decisions it cannot make from a bare answer string.
Scoped to your organisation in the lookup itself: another org''s `request_id` returns 404, never a partial leak.'
parameters:
- name: request_id
in: path
required: true
schema:
type: string
description: From `quorum.request_id` on a completion response.
- name: include_transcript
in: query
required: false
schema:
type: boolean
default: false
description: Include the full text each seat produced. Off by default — a full transcript is a labelled multi-model comparison dataset, not something handed over merely because a caller knows a request id.
responses:
'200':
description: The receipt, or an explanation of why there is none.
content:
application/json:
schema:
$ref: '#/components/schemas/ReceiptResponse'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
description: No receipt for this `request_id` under this organisation.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
$ref: '#/components/responses/RateLimited'
'500':
$ref: '#/components/responses/ServerError'
'503':
$ref: '#/components/responses/Unavailable'
components:
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'
Receipt:
type: object
properties:
request_id:
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.
mode_config_hash:
type: string
config_version_ran:
type:
- string
- 'null'
description: 'Which version of the Mode answered: `published` (the version the bare name runs), `head` (the Lab version, reached with `:LAB` or before anything is published), `published_degraded` or `head_fallback`. `null` on calls that predate this field.'
config_hash_ran:
type:
- string
- 'null'
description: 'The config hash of the version that answered: the published version''s hash, or for a `head` / `head_fallback` run the hash of the live config as read when the call started. `null` if that read failed or the call predates this field.'
status:
type: string
billed_usd:
type: number
description: 'What this call cost you. BREAKING CHANGE 2026-08-26: this schema and this endpoint also carried a second money field reporting Quorum''s own cost of running the call. It was published in error, it is cost-of-goods data, and it has been removed. `billed_usd` is unchanged and is the only per-call money figure the receipt returns; nothing else in the receipt changed.'
token_charge_usd:
type:
- number
- 'null'
description: 'The engines'' part of `billed_usd`: inference you consumed, at what the provider charged. ADDED 2026-09-08, additive only -- `billed_usd` is unchanged. `token_charge_usd`, the platform fee and `q_surcharge_usd` sum to `billed_usd` on a normal call; when `status` is `capped` the charge was held at the disclosed ceiling and the components will sum to more than you were billed. Both are reported as recorded, never back-derived from the total. `null` on calls made before this split was recorded, which is not the same as $0.00. This is what YOU were charged for tokens; Quorum''s own cost of serving the call is not part of this API.'
cap_credit_usd:
type:
- number
- 'null'
description: The amount by which this call went over its per-call ceiling, credited back to you. The engines, the platform fees and the Mode's fee are recorded whole; `billed_usd` is their sum minus this credit. `0` on a call under the ceiling. `null` on calls recorded before this field existed, which is not the same as $0.00.
charges:
type: object
description: The bill in three parts, as stored. Absent on calls recorded before the engines' cost was stored separately.
properties:
basis:
type: string
const: per_mtok
gateway_usd:
type: number
description: Engines at actual cost. A pass-through.
platform_fee_usd:
type:
- number
- 'null'
mode_fee_usd:
type:
- number
- 'null'
description: The Mode's fee.
cap_credit_usd:
type:
- number
- 'null'
billed_usd:
type:
- number
- 'null'
billed_net:
type:
- object
- 'null'
description: The three parts net of the cap credit.
properties:
gateway_usd:
type: number
platform_fee_usd:
type:
- number
- 'null'
mode_fee_usd:
type:
- number
- 'null'
q_surcharge_usd:
type:
- number
- 'null'
description: The Mode's fee. The field keeps its earlier name. ADDED 2026-09-08, additive only. `null` on calls made before this split was recorded.
prompt_tokens:
type:
- integer
- 'null'
description: 'Input tokens metered on this request, as recorded when it closed. ADDED 2026-09-13, additive only. This is the REQUEST-LEVEL counter and it is deliberately not the sum of `seats[].tokens_in`: the judge, the synthesis and the classifier consumed tokens on the same request and sit on no seat, so adding the array up returns less than was metered. `null` means no count was recorded, which is not the same claim as zero tokens. This is your own consumption, not a cost figure -- what serving the call cost Quorum is not part of this API.'
completion_tokens:
type:
- integer
- 'null'
description: Output tokens metered on this request, as recorded when it closed. ADDED 2026-09-13, additive only. Same request-level scope and the same null-is-not-zero rule as `prompt_tokens`.
rounds:
type:
- integer
- 'null'
seat_count:
type:
- integer
- 'null'
description: How many seats this request convened. ADDED 2026-09-13, additive only. RECORDED WHEN THE REQUEST WAS MADE, not counted from the `seats` array below -- and you want this one rather than `seats.length`, because that array carries one row per seat PER ROUND. A three-seat panel that ran two rounds returns four seat rows, so its length is four and this field is three. Counting the array is what once made a receipt claim a fourth panellist who never sat. `null` on a request whose seat count was not recorded.
payer:
type:
- string
- 'null'
enum:
- plan
- turbo
- plan+turbo
- unbilled
- org
- null
description: 'Who paid for this call. `org`: billed to the organisation''s API account (every API-key call, REST or MCP). The rest are set on calls made through a connected app (OAuth), which bill the person''s plan at real cost with no Mode fee: `plan` (the plan''s usage meter), `turbo` (Turbo balance), `plan+turbo` (Turbo ran short and the plan took the rest) or `unbilled` (the charge could not be written). `null` only on rows that predate this field and on failed or replayed calls where no payer was recorded; it never means the call was free.'
lane:
type:
- string
- 'null'
enum:
- express
- panel
- null
description: 'Which lane answered this call. ADDED 2026-09-10, additive only. `panel` means several engines answered independently and a judge read them. `express` means one engine answered on its own, with no judge and no synthesis pass -- that is a deliberate route for easy questions, not a degraded panel and not an error. USUALLY INFERRED, SOMETIMES EVIDENCED, and the distinction is published rather than glossed. One stored field can name the lane positively: a deliberation that took the express route records `best_seat_judged_by` as `express_lane` on the winning seat''s row. WHEN THAT MARKER IS PRESENT IT IS TRUSTED, because only the express route writes it. WHEN IT IS ABSENT THE LANE IS DERIVED from the rows the deliberation wrote -- one seat, no judge, no synthesis, and no evidence that a second engine was dispatched -- because the marker is incomplete: it is only recorded from 2026-09-08, and only on calls that stored a best seat, so its absence is not a statement that the express route did not run. Two consequences of the derived half, which you should know before you build on it. (1) A Mode configured with a single seat reports `express` even though the express route never ran, because the two are indistinguishable in the record. (2) A panel whose other seats failed without leaving a trace also reports `express`. A marked call has neither ambiguity. `null` means the lane could not be determined -- typically a receipt whose transcript could not be read, or a call older than the rows this is derived from. Treat a derived lane as a strong hint, not as billing-grade provenance. ONE FURTHER SCOPE NOTE, true of every field on this receipt: where a request_id belongs to a conversation that continued, the receipt describes ONE turn of it -- the latest -- and every field agrees on which. It never mixes two turns.'
difficulty_score:
type:
- number
- 'null'
task_type:
type:
- string
- 'null'
hallucination_risk:
type:
- string
- 'null'
minority_insight_likely:
type:
- boolean
- 'null'
best_seat:
type:
- object
- 'null'
properties:
model_used:
type: string
judge_score:
type:
- number
- 'null'
content:
type: string
description: Only with `include_transcript=true`.
seats:
type: array
items:
type: object
properties:
role:
type:
- string
- 'null'
description: 'Which seat this row is: `seat1`, `seat2` or `seat3`. ADDED 2026-09-13, additive only. THIS IS THE ONLY FIELD THAT IDENTIFIES A SEAT, and you need it because this array holds one row per seat PER ROUND -- the same seat answering in round 2 is a second row. Numbering the array by position therefore invents panellists, and `model_used` cannot substitute: two seats may hold the same engine, and a seat that fell back changes engine mid-run. `null` on rows written before this field was published.'
model_used:
type: string
round_number:
type:
- integer
- 'null'
judge_score:
type:
- number
- 'null'
is_best_seat:
type:
- boolean
- 'null'
fallback_used:
type:
- boolean
- 'null'
description: True when the intended engine was unavailable and another took the seat.
original_model:
type:
- string
- 'null'
description: What was meant to sit there, when `fallback_used`.
tokens_in:
type:
- integer
- 'null'
description: 'Input tokens this seat consumed on its own provider call. ADDED 2026-09-08. Per seat, never a running total -- sum the array yourself if you want the deliberation''s input. `null` means no usage was recorded for that seat, which is not the same as zero. Seats only: the judge and the synthesis are not in this array.'
tokens_out:
type:
- integer
- 'null'
description: Output tokens this seat produced on its own provider call. ADDED 2026-09-08. Where a model reasons before answering, the provider bills that thinking as output and it is already inside this number. Per seat, never a running total; `null` means not recorded.
started_at:
type:
- string
- 'null'
format: date-time
description: 'Wall-clock instant this seat''s provider call began. ADDED 2026-09-08, additive only. Use it with `ended_at` to place the seats on one timeline: seats sharing a `started_at` were dispatched together, which `latency_ms` alone cannot tell you. `null` on calls made before this was recorded (2026-09-03).'
ended_at:
type:
- string
- 'null'
format: date-time
description: 'Wall-clock instant this seat''s provider call finished, taken after the response body was read. ADDED 2026-09-08, additive only. `ended_at - started_at` can EXCEED `latency_ms`: latency times only the final attempt, while this window spans every attempt including a generation that was discarded and re-run. Reported as recorded and never derived -- a seat with a `started_at` and a null `ended_at` means the end was not recorded, not that it ended at `started_at + latency_ms`.'
source:
type:
- string
- 'null'
description: The provider that answered this seat, as named on its platform fee line. `null` when no fee line was recorded (plan usage, or calls before 2026-10-07).
real_cost_usd:
type:
- number
- 'null'
description: What the answering source billed for this seat, including its own fees. The platform fee is charged on this figure and never on the Mode's fee. `null` when no fee line was recorded.
fee_rate:
type:
- number
- 'null'
description: The platform fee rate applied to this seat, as a fraction (0.05 = 5%). Set per source; `0` means the fee is waived. `null` when no fee line was recorded.
fee_usd:
type:
- number
- 'null'
description: 'The platform fee charged for this seat: `real_cost_usd * fee_rate`. API-billed calls only; plan usage carries no fee. `null` when no fee line was recorded.'
latency_ms:
type:
- integer
- 'null'
content:
type: string
description: Only with `include_transcript=true`.
staff:
type: object
description: 'The engines that worked on your answer WITHOUT sitting in a seat: the judge that read the seats, the synthesis that wrote the text you received, and the grounding search. ADDED 2026-09-10, additive only -- nothing already in this schema changed. Seats are in `seats`; these are not seats and are deliberately not mixed into that array, so a judge is never counted as one more opinion. Which engine ran and how long it took, and nothing else: no verdict text, no synthesis draft, and no cost figure.'
properties:
judge:
type:
- object
- 'null'
description: The engine that scored the seats and picked the best answer. `null` when no judge ran at all -- which is the normal case on the `express` lane, where there is a single answer and nothing to compare it against. Not an error.
properties:
model_used:
type:
- string
- 'null'
description: The engine that judged. `null` when the judge call was made but the engine was not recorded -- notably a judge call that ran and failed, where naming a model by inference would be a guess. `null` here does not mean no judge ran; the parent object being `null` means that.
latency_ms:
type:
- integer
- 'null'
description: TOTAL time the judge spent on this call, summed across every round it read. A round is one pass in which the seats answer, and the judge reading that pass is part of the round, so a multi-round deliberation has the judge running more than once and this is the sum, not one call. `null` when no duration was recorded, which is not the same as zero.
fallback_used:
type: boolean
description: True when the Mode's configured judge failed and its backup judged instead.
original_model:
type:
- string
- 'null'
description: The configured judge engine, when `fallback_used`.
synthesis:
type:
- object
- 'null'
description: The engine that combined the seats into the single answer you received. `null` when nothing was synthesised -- on the `express` lane one engine answers and its text is shipped as written, and where the seats already agreed there may be nothing to combine. The synthesis is not a deliberation round and is never counted in `rounds`.
properties:
model_used:
type:
- string
- 'null'
description: The engine that wrote the synthesis. `null` when a synthesis ran but its engine was not recorded; older calls stored a placeholder instead of a model name and that is reported as `null` rather than passed through as if it were an engine.
latency_ms:
type:
- integer
- 'null'
description: How long the synthesis took, including any fallback attempt. `null` when not recorded.
fallback_used:
type: boolean
description: True when the configured synthesis engine was unavailable and another wrote the synthesis.
original_model:
type:
- string
- 'null'
description: The configured synthesis engine, when `fallback_used`.
grounding:
type: object
description: 'Whether a web search was run before the seats answered, and by which engine. ALWAYS PRESENT, so that `fired: false` is a statement rather than a gap.'
properties:
fired:
type: boolean
description: 'Whether grounding ran. `false` IS THE ORDINARY ANSWER: grounding is gated by the classifier and most questions do not need a web search, so `false` means it was not called for on this question. It is not a failure, an outage or a missing capability, and it should not be surfaced as one.'
model_used:
type:
- string
- 'null'
description: 'The search engine that grounded the answer, when `fired` is true. `null` whenever `fired` is false, and also when a search ran without its source being recorded. No duration is reported: grounding is dispatched without being waited on, so no meaningful per-call duration exists to publish.'
latency_ms:
type:
- integer
- 'null'
created_at:
type: string
format: date-time
completed_at:
type:
- string
- 'null'
format: date-time
ReceiptResponse:
type: object
properties:
ok:
type: boolean
receipt_available:
type: boolean
description: Present and `false` when the request never produced a deliberation — it failed, or was capped before firing. `reason` says which.
reason:
type: string
receipt:
$ref: '#/components/schemas/Receipt'
responses:
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'
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