Meta Council Comparison Sets API
The comparison-sets API from Meta Council — 10 operation(s) for comparison-sets.
The comparison-sets API from Meta Council — 10 operation(s) for comparison-sets.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/meta-council-com:meta-council-com-comparison-sets-api"
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.
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: 3.2.0
info:
title: Meta Council Comparison Sets API
description: 'Multi-expert LLM reasoning platform. A query is routed to a panel of expert AI agents (290+ available, 30 pre-built panels), each writing an independent analysis, then a synthesis step combines them into a decision document with executive summary, risk matrix, consensus + dissent, and an action plan.
Authenticate via `Authorization: Bearer ` (user-facing routes) or `Authorization: Bearer mc_...` / `X-API-Key: mc_...` (developer API under `/api/v1/`).
Ticket validation ingestion at `POST /api/tickets/{ticket_id}/scenarios/{scenario_id}/validation-runs` accepts a JWT or an API key carrying the opt-in `tickets:validate` scope; owner and actor identity are always derived from that verified credential.
Smart model routing: requests default to Claude Haiku 4.5 with a self-hosted Qwen fallback. Anonymous calls to `/api/council/run` are rate-limited; programmatic access requires an API key created at `/api/v1/keys`.'
contact:
name: Meta Council
url: https://meta-council.com/
license:
name: Proprietary
version: 0.3.0
tags:
- name: comparison-sets
paths:
/api/comparison-sets:
get:
tags:
- comparison-sets
summary: List Comparison Sets
description: List the caller's sets, newest first.
operationId: list_comparison_sets_api_comparison_sets_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
items:
additionalProperties: true
type: object
type: array
title: Response List Comparison Sets Api Comparison Sets Get
post:
tags:
- comparison-sets
summary: Create Comparison Set
description: Create an empty comparison set owned by the caller.
operationId: create_comparison_set_api_comparison_sets_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateSetRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
additionalProperties: true
type: object
title: Response Create Comparison Set Api Comparison Sets Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/comparison-sets/{set_id}:
get:
tags:
- comparison-sets
summary: Get Comparison Set
description: Read one set and its membership, in stable order.
operationId: get_comparison_set_api_comparison_sets__set_id__get
parameters:
- name: set_id
in: path
required: true
schema:
type: string
title: Set Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Get Comparison Set Api Comparison Sets Set Id Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/comparison-sets/{set_id}/runs:
post:
tags:
- comparison-sets
summary: Add Runs To Set
description: 'Append runs to a set. All-or-nothing.
Every candidate is checked before anything is written, so a refusal leaves
the set exactly as it was. A partially-applied add would silently produce
a different set than the caller asked for — the same failure as dropping a
member quietly, arrived at from the other direction.'
operationId: add_runs_to_set_api_comparison_sets__set_id__runs_post
parameters:
- name: set_id
in: path
required: true
schema:
type: string
title: Set Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/AddRunsRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Add Runs To Set Api Comparison Sets Set Id Runs Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/comparison-sets/{set_id}/eligibility:
get:
tags:
- comparison-sets
summary: Get Comparison Set Eligibility
description: 'Ask whether each named run can still be used, right now.
Deliberately separate from membership and callable without starting a
comparison: an agent has to be able to ask "is this set still usable?"
before spending anything. The answer is recomputed on every call because
it can change — see ``web.comparison_sets``.'
operationId: get_comparison_set_eligibility_api_comparison_sets__set_id__eligibility_get
parameters:
- name: set_id
in: path
required: true
schema:
type: string
title: Set Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Get Comparison Set Eligibility Api Comparison Sets Set Id Eligibility Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/comparison-sets/{set_id}/estimate:
post:
tags:
- comparison-sets
summary: Estimate Comparison For Set
description: 'Price a candidate definition across this set, before anything runs.
[DIF-4]. Read-only in both directions: the candidate is validated and
priced but never saved (no slug required, no template row written), and
the answer is a FORECAST with an advisory decision — this endpoint never
refuses on budget. Enforcement is ``check_comparison_budget``''s job at
execution time, and both read the same ``projected_fit`` predicate, so
the advisory printed here and the gate''s later verdict cannot disagree
on the same inputs.
The projection is the candidate priced once per current member of the
set — the definition-times-set-size multiplication is the point of the
endpoint. An empty set prices to an honest zero.'
operationId: estimate_comparison_for_set_api_comparison_sets__set_id__estimate_post
parameters:
- name: set_id
in: path
required: true
schema:
type: string
title: Set Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ComparisonEstimateRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Estimate Comparison For Set Api Comparison Sets Set Id Estimate Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/comparison-sets/{set_id}/artifacts:
post:
tags:
- comparison-sets
summary: Create Comparison Artifact
description: 'Build and persist one comparison artifact, or refuse with a typed code.
[DIF-6]. The router is transport only: it loads rows and enforces the
gates; every comparison semantic lives in ``web.comparison_artifact`` so
the agent surface [DIF-8] adds later cannot drift from this one.
Gate order, each a typed refusal: the baseline must be a MEMBER of the
set (the set is the yardstick); both runs must be addressable (same
anti-enumeration merge as membership add); both must be terminal (a run
still moving would make the artifact depend on when it was asked); both
must pass ``resolve_run_definition`` — the same gate retry and
eligibility use — because pairing plan steps against a definition the
run cannot be proven to have executed would align deltas to the wrong
plan. Only a verdict that MATCHES releases the workflow object and the
digest this endpoint hands the builder; the artifact''s plan reading is
therefore gated evidence, never a live re-read.
A pairing refusal from the builder surfaces verbatim, with its
structural context, and persists NOTHING: a refused comparison must
leave the store exactly as it was.'
operationId: create_comparison_artifact_api_comparison_sets__set_id__artifacts_post
parameters:
- name: set_id
in: path
required: true
schema:
type: string
title: Set Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateArtifactRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Create Comparison Artifact Api Comparison Sets Set Id Artifacts Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/comparison-sets/{set_id}/artifacts/{artifact_id}:
get:
tags:
- comparison-sets
summary: Get Comparison Artifact
description: 'Read one stored artifact by its own id, scoped to its set and owner.
The body''s ``artifact`` is the parsed content of the stored canonical
bytes — re-serializing it canonically reproduces ``artifact_json``
exactly, which is the round-trip contract [DIF-7] depends on. An
artifact that does not exist and an artifact in someone else''s set
answer byte-identically, for the anti-enumeration reason stated at
``_SET_NOT_FOUND_DETAIL``.'
operationId: get_comparison_artifact_api_comparison_sets__set_id__artifacts__artifact_id__get
parameters:
- name: set_id
in: path
required: true
schema:
type: string
title: Set Id
- name: artifact_id
in: path
required: true
schema:
type: string
title: Artifact Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Get Comparison Artifact Api Comparison Sets Set Id Artifacts Artifact Id Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/comparison-sets/{set_id}/verdict:
post:
tags:
- comparison-sets
summary: Create Comparison Verdict
description: 'Decide accept / inconclusive / rejected over named artifacts. [DIF-7].
Transport only: every decision semantic lives in
``web.comparison_verdict``. The router loads the named artifact rows
(each must exist in THIS set under THIS owner — a miss answers with the
same anti-enumeration 404 the artifact read gives), then loads the runs
they reference ONLY to read the [DIF-2] fingerprints and start times.
A purged run is not an error here: the artifact is the evidence and
outlives its inputs, so a missing run degrades that artifact to
undecided/unmeasured rather than failing the request.
Enforcement point A of INVARIANT 3 lives in the persistence branch
below: only a durable verdict reaches ``db.add``, and the row fields
come exclusively from ``durable_verdict_row_fields`` — point B is the
ORM validator on ``ComparisonVerdict`` itself. An inconclusive verdict
returns its full decision (cause, per-artifact outcomes, confound) and
persists NOTHING.'
operationId: create_comparison_verdict_api_comparison_sets__set_id__verdict_post
parameters:
- name: set_id
in: path
required: true
schema:
type: string
title: Set Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateVerdictRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Create Comparison Verdict Api Comparison Sets Set Id Verdict Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/comparison-sets/{set_id}/verdicts/{verdict_id}:
get:
tags:
- comparison-sets
summary: Get Comparison Verdict
description: 'Read one durable verdict, scoped to its set and owner.
Everything needed to REFUTE the verdict comes back parsed: the artifact
ids and per-artifact outcomes it weighed, the thresholds it applied,
the scope that bounds it, and the drift confound. A verdict that does
not exist and a verdict in someone else''s set answer byte-identically,
for the anti-enumeration reason stated at ``_SET_NOT_FOUND_DETAIL``.
Only durable verdicts can appear here — inconclusive never wrote a row,
which is INVARIANT 3 observable from the read path.'
operationId: get_comparison_verdict_api_comparison_sets__set_id__verdicts__verdict_id__get
parameters:
- name: set_id
in: path
required: true
schema:
type: string
title: Set Id
- name: verdict_id
in: path
required: true
schema:
type: string
title: Verdict Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Get Comparison Verdict Api Comparison Sets Set Id Verdicts Verdict Id Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/comparison-sets/{set_id}/executions:
post:
tags:
- comparison-sets
summary: Create Comparison Execution
description: 'Execute the current definition as a comparison of a recorded run.
[DIF-3]. Transport only: every decision — what may be served, what may be
refused, what gets recorded — lives in ``web.comparison_execution``.
The run this creates is real. It calls providers and it costs money. What it
does not do is act on the outside world a second time: connector steps are
served from the baseline''s recorded responses and agent steps keep only
offline calculation tools.
Gate order, each a typed refusal and each free: the baseline must be a
MEMBER of the set, addressable, and terminal; its workflow must still load
and it must have recorded a definition digest, because a baseline whose plan
cannot be identified cannot be measured against anything. A DIFFERING
definition is expressly not a refusal here — it is the reason to run.
Returns the new run''s identity. The artifact is a separate, later call, so a
caller can inspect the run before deciding to measure it.'
operationId: create_comparison_execution_api_comparison_sets__set_id__executions_post
parameters:
- name: set_id
in: path
required: true
schema:
type: string
title: Set Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateExecutionRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Create Comparison Execution Api Comparison Sets Set Id Executions Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
TemplateParameterInput:
properties:
name:
type: string
maxLength: 40
minLength: 1
pattern: ^[a-z][a-z0-9_]{0,39}$
title: Name
type:
type: string
maxLength: 20
minLength: 1
title: Type
description:
type: string
maxLength: 500
title: Description
default: ''
required:
type: boolean
title: Required
default: false
default:
title: Default
choices:
items:
type: string
maxLength: 200
minLength: 1
type: array
maxItems: 50
title: Choices
additionalProperties: false
type: object
required:
- name
- type
title: TemplateParameterInput
description: 'One declared workflow input, mirroring ACCEPTED_PARAMETER_KEYS.
`default` is typed `Any` on purpose: whether it is valid depends on the
sibling `type` (and on `choices` for an enum), which a per-field annotation
cannot express. The cross-field rules live in `validate_parameter_entries`
so the save path and the load path enforce one implementation.'
CreateArtifactRequest:
properties:
baseline_session_id:
type: string
maxLength: 64
minLength: 1
title: Baseline Session Id
candidate_session_id:
type: string
maxLength: 64
minLength: 1
title: Candidate Session Id
additionalProperties: false
type: object
required:
- baseline_session_id
- candidate_session_id
title: CreateArtifactRequest
description: 'One comparison: a set-member baseline against a candidate run.
Both are session ids — the same addressing the run-read endpoints use.
The baseline must already be a member of the set in the path; the
candidate may be any run the caller owns (typically one a comparison
created, carrying a provenance role).'
CreateSetRequest:
properties:
name:
type: string
maxLength: 200
minLength: 1
title: Name
type: object
required:
- name
title: CreateSetRequest
TemplateSaveRequest:
properties:
name:
type: string
maxLength: 120
minLength: 1
title: Name
description:
type: string
maxLength: 4000
title: Description
default: ''
domain:
type: string
maxLength: 80
minLength: 1
title: Domain
default: general
tags:
items:
type: string
maxLength: 64
minLength: 1
type: array
maxItems: 20
title: Tags
parameters:
items:
$ref: '#/components/schemas/TemplateParameterInput'
type: array
maxItems: 20
title: Parameters
steps:
items:
$ref: '#/components/schemas/TemplateStepInput'
type: array
maxItems: 20
minItems: 1
title: Steps
additionalProperties: false
type: object
required:
- name
- steps
title: TemplateSaveRequest
CreateVerdictRequest:
properties:
artifact_ids:
items:
type: string
type: array
maxItems: 100
minItems: 1
title: Artifact Ids
thresholds:
anyOf:
- $ref: '#/components/schemas/VerdictThresholdsRequest'
- type: 'null'
additionalProperties: false
type: object
required:
- artifact_ids
title: CreateVerdictRequest
description: 'The evidence a verdict is asked over — named artifact ids, never "all".
The caller NAMES its evidence so the durable row''s audit trail is exact:
anyone can later load precisely those artifacts and re-derive the
verdict. An implicit "everything in the set at the time" would make the
evidence set unrecoverable the moment another artifact landed.'
CreateExecutionRequest:
properties:
baseline_session_id:
type: string
maxLength: 64
minLength: 1
title: Baseline Session Id
additionalProperties: false
type: object
required:
- baseline_session_id
title: CreateExecutionRequest
description: 'The recorded run to compare against.
Only the baseline is named. The candidate definition is whatever the
baseline''s workflow says TODAY, which is the question this endpoint answers:
the definition changed, so what is different now? Letting the caller supply
an arbitrary definition would let them compare against something the
platform never saved, and the artifact would carry a digest for a plan no
later reader could load.'
ComparisonEstimateRequest:
properties:
definition:
$ref: '#/components/schemas/TemplateSaveRequest'
additionalProperties: false
type: object
required:
- definition
title: ComparisonEstimateRequest
description: 'A candidate definition to price — validated, never saved.
Reuses ``TemplateSaveRequest`` wholesale so "a definition this endpoint
will price" and "a definition the platform will save" can never drift
apart: whatever the save path would reject, the pricing path rejects
identically, and there is no second definition schema to maintain.'
VerdictThresholdsRequest:
properties:
min_decisive:
anyOf:
- type: integer
maximum: 10000.0
minimum: 1.0
- type: 'null'
title: Min Decisive
max_regressed:
anyOf:
- type: integer
maximum: 10000.0
minimum: 0.0
- type: 'null'
title: Max Regressed
min_improved:
anyOf:
- type: integer
maximum: 10000.0
minimum: 0.0
- type: 'null'
title: Min Improved
additionalProperties: false
type: object
title: VerdictThresholdsRequest
description: 'Optional overrides for the decision rule''s explicit inputs.
Every field defaults to None ON PURPOSE: the actual defaults live in one
place — ``web.comparison_verdict.VerdictThresholds`` — and a second copy
here would drift. Whatever the caller sets is recorded verbatim on any
durable row, so a non-default rule is always visible to a later auditor.'
QualityGateInput:
properties:
schema:
type: string
enum:
- severity_findings/v1
- scope_decision/v1
title: Schema
loop_to:
type: string
maxLength: 100
minLength: 1
pattern: ^[A-Za-z0-9][A-Za-z0-9_.:-]*$
title: Loop To
pass_to:
type: string
maxLength: 100
minLength: 1
pattern: ^(?:__end__|[A-Za-z0-9][A-Za-z0-9_.:-]*)$
title: Pass To
max_iterations:
type: integer
maximum: 5.0
minimum: 1.0
title: Max Iterations
blocking_severities:
items:
type: string
enum:
- P0
- P1
- P2
- P3
- P4
- P5
type: array
maxItems: 6
minItems: 1
title: Blocking Severities
additionalProperties: false
type: object
required:
- schema
- loop_to
- pass_to
- max_iterations
title: QualityGateInput
AddRunsRequest:
properties:
session_ids:
items:
type: string
type: array
minItems: 1
title: Session Ids
type: object
required:
- session_ids
title: AddRunsRequest
TemplateStepInput:
properties:
id:
anyOf:
- type: string
maxLength: 100
minLength: 1
pattern: ^[A-Za-z0-9][A-Za-z0-9_.:-]*$
- type: 'null'
title: Id
step_id:
anyOf:
- type: string
maxLength: 100
minLength: 1
pattern: ^[A-Za-z0-9][A-Za-z0-9_.:-]*$
- type: 'null'
title: Step Id
name:
type: string
maxLength: 120
minLength: 1
title: Name
agent_template:
type: string
maxLength: 100
minLength: 1
pattern: ^[a-z0-9][a-z0-9_-]*$
title: Agent Template
role:
type: string
maxLength: 200
title: Role
default: ''
instruction:
type: string
maxLength: 20000
title: Instruction
default: ''
model:
anyOf:
- type: string
maxLength: 200
minLength: 1
- type: 'null'
title: Model
temperature:
anyOf:
- type: number
maximum: 2.0
minimum: 0.0
- type: 'null'
title: Temperature
max_tokens:
anyOf:
- type: integer
maximum: 65536.0
minimum: 1.0
- type: 'null'
title: Max Tokens
checkpoint:
type: boolean
title: Checkpoint
default: true
human_gate:
type: boolean
title: Human Gate
default: false
next_step:
anyOf:
- type: string
maxLength: 100
minLength: 1
pattern: ^(?:__end__|[A-Za-z0-9][A-Za-z0-9_.:-]*)$
- type: 'null'
title: Next Step
depends_on:
items:
type: string
maxLength: 100
minLength: 1
pattern: ^[A-Za-z0-9][A-Za-z0-9_.:-]*$
type: array
maxItems: 20
title: Depends On
type:
type: string
title: Type
default: agent
params:
additionalProperties: true
type: object
title: Params
tools:
anyOf:
- items:
type: string
type: array
maxItems: 100
- type: 'null'
title: Tools
quality_gate:
anyOf:
- $ref: '#/components/schemas/QualityGateInput'
- type: 'null'
requires_distinct_provider_from:
anyOf:
- type: string
maxLength: 100
minLength: 1
pattern: ^[A-Za-z0-9][A-Za-z0-9_.:-]*$
- type: 'null'
title: Requires Distinct Provider From
additionalProperties: false
type: object
required:
- name
- agent_template
title: TemplateStepInput
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
securitySchemes:
VotingDeveloperBearer:
type: http
description: 'Meta Council developer API key in Authorization: Bearer.'
scheme: bearer
VotingDeveloperApiKey:
type: apiKey
description: Meta Council developer API key in X-API-Key.
in: header
name: X-API-Key
VotingJWTBearer:
type: http
description: Meta Council account access token.
scheme: bearer