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.
openapi: 3.2.0
info:
title: Meta Council History 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: History
paths:
/api/history:
get:
summary: Get History
description: 'Get history — each caller sees only their own sessions.
Prompt histories are private: anonymous callers get an empty list (there
is no cross-user feed here). Admins may pass ?all=true for an operator
view spanning all users, attributed per row; the flag is silently ignored
for everyone else so it leaks nothing about admin tooling.'
operationId: get_history_api_history_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- History
delete:
summary: Clear All History
description: Hard-delete all terminal history for the current user.
operationId: clear_all_history_api_history_delete
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- History
/api/history/{session_id}:
get:
summary: Get History Item
description: Get a specific session — respects privacy.
operationId: get_history_item_api_history__session_id__get
parameters:
- name: session_id
in: path
required: true
schema:
type: string
title: Session Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- History
delete:
summary: Delete History Item
description: Hard-delete one terminal history item and its derived data.
operationId: delete_history_item_api_history__session_id__delete
parameters:
- name: session_id
in: path
required: true
schema:
type: string
title: Session Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- History
/api/history/{session_id}/print:
get:
summary: Get History Print
description: Return a standalone, print-friendly HTML page for a council session.
operationId: get_history_print_api_history__session_id__print_get
parameters:
- name: session_id
in: path
required: true
schema:
type: string
title: Session Id
responses:
'200':
description: Successful Response
content:
text/html:
schema:
type: string
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- History
/api/history/{session_id}/slides:
get:
summary: Get History Slides
description: Return a self-contained slide deck HTML page for a council session.
operationId: get_history_slides_api_history__session_id__slides_get
parameters:
- name: session_id
in: path
required: true
schema:
type: string
title: Session Id
responses:
'200':
description: Successful Response
content:
text/html:
schema:
type: string
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- History
/api/history/{session_id}/privacy:
put:
summary: Toggle Session Privacy
description: Let an owner explicitly publish a session or restore private access.
operationId: toggle_session_privacy_api_history__session_id__privacy_put
parameters:
- name: session_id
in: path
required: true
schema:
type: string
title: Session Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/PrivacyToggle'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- History
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
PrivacyToggle:
properties:
is_private:
type: boolean
title: Is Private
type: object
required:
- is_private
title: PrivacyToggle
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