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/peopleprincipia-com:peopleprincipia-com-items-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: 3.2.0
info:
title: Principia Registry Items API
version: 0.1.0
description: 'Read API for the **Principia** canonical registry of organizational-science
measurement: constructs, instruments, survey items, citations, effect sizes,
synthesized Bayesian priors, theoretical models, instrument equivalences,
methodology critiques, and interventions.
This document describes the **REST surface** (`/api/v1/*` + `/api/health`).
Principia also exposes a **Model Context Protocol (MCP)** server at
`POST /api/mcp` for AI agents — that surface is JSON-RPC, not REST, and is
documented in `api-consumer-guide.md` (it is summarized here for discovery only).
## Conventions
- All `/api/v1/*` responses are JSON with `Cache-Control: no-store`.
- **List** endpoints return `{ "items": [...], "next_cursor": string | null }`.
- **Single-entity** endpoints return `{ "entity": {...} }`.
- **Errors** return `{ "error": { "code": string, "message": string } }`.
- Pagination is opaque-cursor based: pass the previous response''s
`next_cursor` back as `?cursor=`. `limit` is clamped to 1..500 (default 50).
- Every authenticated response carries `X-RateLimit-Limit`,
`X-RateLimit-Remaining`, and `X-RateLimit-Reset` headers.
- Every route answers errors with the one envelope above, including the
first-party routes under `/api/free`, `/api/support`, `/api/hadl`,
`/api/study-design` and `/api/workspace`, and an unknown path under `/api`
(404 `not_found`). The MCP list tools page with the same `limit` and
`cursor` names and answer `next_cursor`.
## Rate limits
The numbers below are the ones the limiter enforces (counting: sliding
window of the last 60 seconds; REST and MCP share one counter per consumer,
and each MCP `tools/call` counts as one request).
- Unkeyed (free researcher tier): **30 requests per 60 seconds** per client
IP address; `limit` is capped at **5** rows per request; no `cursor`.
- Keyed: **60 requests per 60 seconds** per key by default. A key can be
issued a different rate; `X-RateLimit-Limit` on any response carries the
rate that applies to the caller.
- Feedback form (`POST /api/feedback/...`): **5 submissions per 600 seconds**
per client IP address and entity.
- `X-RateLimit-Reset` is an ISO 8601 UTC timestamp, not epoch seconds.
- Exceeded: HTTP `429` with `Retry-After` in seconds.'
contact:
name: People Analyst / Principia
url: https://peopleprincipia.com
servers:
- url: https://peopleprincipia.com
description: Production
security:
- bearerAuth: []
tags:
- name: Items
description: Canonical survey items (item-level dedup spine)
paths:
/api/v1/canonical-items:
get:
operationId: getCanonicalItems
x-codeSamples:
- lang: Shell
label: curl
source: 'curl -s -H "Authorization: Bearer $PRINCIPIA_API_KEY" "https://peopleprincipia.com/api/v1/canonical-items?limit=5"
'
tags:
- Items
summary: List canonical survey items
parameters:
- $ref: '#/components/parameters/limit'
- $ref: '#/components/parameters/cursor'
responses:
'200':
$ref: '#/components/responses/List'
/api/v1/canonical-items/{id}:
get:
operationId: getCanonicalItemsById
x-codeSamples:
- lang: Shell
label: curl
source: 'curl -s -H "Authorization: Bearer $PRINCIPIA_API_KEY" "https://peopleprincipia.com/api/v1/canonical-items/<id>"
'
tags:
- Items
summary: Get one canonical survey item
description: 'Returns the canonical item with a PRN-067 `norm` property: an `ItemNorm` reference range OR `null` when the item has no norm source (honest empty state).'
parameters:
- $ref: '#/components/parameters/idPath'
responses:
'200':
$ref: '#/components/responses/Entity'
'404':
$ref: '#/components/responses/NotFound'
/api/v1/canonical-items/search:
get:
operationId: getCanonicalItemsSearch
x-codeSamples:
- lang: Shell
label: curl
source: 'curl -s -H "Authorization: Bearer $PRINCIPIA_API_KEY" "https://peopleprincipia.com/api/v1/canonical-items/search?q=leadership&limit=5"
'
tags:
- Items
summary: Search canonical survey items by text
parameters:
- $ref: '#/components/parameters/q'
- name: instrument_id
in: query
schema:
type: string
description: Narrow to items whose source_items[] reference this instrument.
- $ref: '#/components/parameters/limit'
- $ref: '#/components/parameters/cursor'
responses:
'200':
$ref: '#/components/responses/List'
/api/v1/items/{id}/norms:
get:
operationId: getItemsByIdNorms
x-codeSamples:
- lang: Shell
label: curl
source: 'curl -s -H "Authorization: Bearer $PRINCIPIA_API_KEY" "https://peopleprincipia.com/api/v1/items/<id>/norms"
'
tags:
- Items
summary: Item-level normative benchmark — "compared to what?"
description: 'PRN-068. Returns the typical/high/low reference range for one approved
canonical survey item, with its population moderators
(industry/role/region/era), a certainty grade, and an always-present
honesty caveat. The read side of the Living-layer benchmark product
(benchmark-product-design.md): the toolbox survey-orchestrator
(PAT-151/167) renders each item score against how people generally
answer *that specific item*.
`{id}` is the `canonical_item_id` (e.g. CITM_7350938cb42d), 1:1 with a
Reincarnation RID (SPEC §5 Delta 5). Scope: `read:public`.
**`norm: null` is a first-class, documented HONEST EMPTY STATE** — the
item exists but has no norm source yet (item-level norms in the
literature are sparse; the deployment flywheel PRN-065 fills them over
time). It is never a fabricated number. A 200 with `norm: null` is the
expected cold-start response, distinct from a 404 (the id itself doesn''t
resolve).'
parameters:
- $ref: '#/components/parameters/idPath'
responses:
'200':
description: 'The item''s norm (or the honest `norm: null` empty state).'
content:
application/json:
schema:
type: object
required:
- entity
properties:
entity:
$ref: '#/components/schemas/ItemNormEnvelope'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
/api/v1/irt/link:
post:
operationId: postIrtLink
x-codeSamples:
- lang: Shell
label: curl
source: 'curl -s -X POST -H "Authorization: Bearer $PRINCIPIA_API_KEY" -H "Content-Type: application/json" -d ''{"form_x":{},"form_y":{}}'' "https://peopleprincipia.com/api/v1/irt/link"
'
tags:
- Items
summary: Link two IRT forms on shared anchor items
description: 'Requires `Authorization: Bearer ` (read tier). Computes mean/sigma, mean/mean, and Stocking-Lord transforms and optional theta equating.'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- form_x
- form_y
properties:
form_x:
type: object
description: 'Base form with `items: [{a,b[]}]` anchor parameters.'
form_y:
type: object
description: Form to map onto X with same anchor ordering.
equate_theta_y:
type: number
description: Optional form-Y theta to map onto X.
responses:
'200':
$ref: '#/components/responses/Entity'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'405':
$ref: '#/components/responses/MethodNotAllowed'
/api/v1/items/next-best:
post:
operationId: postItemsNextBest
x-codeSamples:
- lang: Shell
label: curl
source: 'curl -s -X POST -H "Authorization: Bearer $PRINCIPIA_API_KEY" -H "Content-Type: application/json" -d ''{"construct_id":"VAR_000405"}'' "https://peopleprincipia.com/api/v1/items/next-best"
'
tags:
- Items
summary: Rank next-best calibrated items for adaptive selection
description: 'Requires `Authorization: Bearer ` (read tier). Returns per-item information at theta plus test information and conditional SE.'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- construct_id
properties:
construct_id:
type: string
theta:
type: number
limit:
type: integer
responses:
'200':
$ref: '#/components/responses/Entity'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'405':
$ref: '#/components/responses/MethodNotAllowed'
/api/v1/items/{id}/irt:
get:
operationId: getItemsByIdIrt
x-codeSamples:
- lang: Shell
label: curl
source: 'curl -s -H "Authorization: Bearer $PRINCIPIA_API_KEY" "https://peopleprincipia.com/api/v1/items/<id>/irt"
'
tags:
- Items
summary: Get IRT parameters for one canonical item
description: 'Requires `Authorization: Bearer ` (read tier). Returns `{ canonical_item_id, irt }`; `irt: null` is the documented honest empty state.'
parameters:
- $ref: '#/components/parameters/idPath'
responses:
'200':
$ref: '#/components/responses/Entity'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
/api/v1/items/{id}/recalibrate:
post:
operationId: postItemsByIdRecalibrate
x-codeSamples:
- lang: Shell
label: curl
source: 'curl -s -X POST -H "Authorization: Bearer $PRINCIPIA_API_KEY" -H "Content-Type: application/json" -d ''{"aggregate":true,"consent_attested":true,"deployment":{}}'' "https://peopleprincipia.com/api/v1/items/<id>/recalibrate"
'
tags:
- Items
summary: Recalibrate an item's IRT parameters from aggregate deployment evidence
description: 'Requires `Authorization: Bearer ` (read tier). Enforces `aggregate: true` and `consent_attested: true`; returns posterior calibration update, not raw-response ingestion.'
parameters:
- $ref: '#/components/parameters/idPath'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- aggregate
- consent_attested
- deployment
properties:
aggregate:
type: boolean
consent_attested:
type: boolean
deployment:
type: object
description: 'Aggregate calibration estimates: `a`, `b[]`, `n`, optional SEs/context.'
responses:
'200':
$ref: '#/components/responses/Entity'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'405':
$ref: '#/components/responses/MethodNotAllowed'
/api/v1/items/changed-since:
get:
operationId: getItemsChangedSince
x-codeSamples:
- lang: Shell
label: curl
source: 'curl -s -H "Authorization: Bearer $PRINCIPIA_API_KEY" "https://peopleprincipia.com/api/v1/items/changed-since?ts=string"
'
tags:
- Items
summary: canonical_survey_item ids changed or retired at or after a timestamp
description: 'PRN-427 / HO-2505 — ships change detection as a runnable command
rather than a prose notice. Returns two disjoint sets: `items_changed`
(ordinary edits, by row-level `updated_at`) and `items_retired`
(Taxonomy Program R5 tombstones, each with `superseded_by` when a
successor exists). A retired id is never also present in
`items_changed`. Pass the response''s `as_of` back as the next poll''s
`ts` so polling is exact rather than overlapping. `basis` names what
was compared, even on an empty (nothing changed yet) result.'
parameters:
- name: ts
in: query
required: true
schema:
type: string
description: ISO 8601 timestamp, e.g. "2026-08-01T00:00:00Z". Absent, empty, or unparseable values are refused with a 400 — never silently treated as the epoch.
responses:
'200':
description: ids changed or retired since `ts`
content:
application/json:
schema:
$ref: '#/components/schemas/ItemsChangedSince'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
components:
responses:
BadRequest:
description: Invalid request (validation, bad cursor, bad enum)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
MethodNotAllowed:
description: Wrong HTTP method (these endpoints are POST-only)
headers:
Allow:
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Entity:
description: Single entity
content:
application/json:
schema:
$ref: '#/components/schemas/EntityEnvelope'
Forbidden:
description: Consumer lacks the required scope
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
List:
description: Paginated list
content:
application/json:
schema:
$ref: '#/components/schemas/ListEnvelope'
Unauthorized:
description: Missing or invalid Bearer key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
NotFound:
description: Entity not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
schemas:
RefusalsWireUnavailable:
type: object
required:
- count
- note
properties:
count:
type: 'null'
note:
type: string
ItemNorm:
type: object
description: 'PRN-067 — normative reference range for a single canonical_survey_item, on the item''s
response scale. A marginal/base-rate prior (the concrete instance of PRN-054): the typical
response before conditioning on any specific person/team. Derived read-side (like the
CanonicalPrior `intervals` block); attached to the canonical-items lookup as a `norm`
property whose value is an ItemNorm OR `null` (a first-class honest empty state — never a
fabricated number — when the item has no norm source). Cold-start: `bootstrap` sources
yield deliberately WIDE, low-grade ranges; the PRN-065 deployment flywheel sharpens them,
fused with literature via PRN-052 `/posterior`.
'
required:
- reference_range
- n_respondents
- grade
- source
- caveat
properties:
reference_range:
type: object
required:
- typical
- high
- low
properties:
typical:
type: array
items:
type: number
minItems: 2
maxItems: 2
description: '[lo, hi] band of typical responses on the item scale.'
high:
type: number
description: Threshold at/above which a response is 'high'.
low:
type: number
description: Threshold at/below which a response is 'low'.
n_respondents:
type: integer
description: Respondents behind the range (0 when prose-bootstrapped).
moderators:
type: object
description: Population the range is conditioned on; absent keys = pooled/unmoderated.
properties:
industry:
type: string
role:
type: string
region:
type: string
era:
type: string
description: Time window the norm describes, e.g. '2015-2024'.
grade:
type: string
enum:
- low
- moderate
- high
description: Certainty in the range itself.
credibility_range:
type:
- array
- 'null'
items:
type: number
description: '[lo, hi] credibility range on the mean response; null when not estimable (e.g. prose bootstrap with no spread).'
source:
type: string
enum:
- literature
- deployment
- bootstrap
description: bootstrap ⇒ rough, prose-derived, wide.
caveat:
type: string
description: Always-present honesty note about scope + limits.
RefusalsWireClasses:
type: object
required:
- grounding
- unresolved_construct
- instrument_facet
- scope
- do_not_mint
- tombstone
- curator_hold
- grounding_basis
- unresolved_construct_basis
- instrument_facet_basis
- scope_basis
- do_not_mint_basis
- tombstone_basis
- curator_hold_basis
properties:
grounding:
type: integer
minimum: 0
unresolved_construct:
type: integer
minimum: 0
instrument_facet:
type: integer
minimum: 0
scope:
type: integer
minimum: 0
do_not_mint:
type: integer
minimum: 0
tombstone:
type: integer
minimum: 0
curator_hold:
type: integer
minimum: 0
grounding_basis:
$ref: '#/components/schemas/RefusalsWireBasis'
unresolved_construct_basis:
$ref: '#/components/schemas/RefusalsWireBasis'
instrument_facet_basis:
$ref: '#/components/schemas/RefusalsWireBasis'
scope_basis:
$ref: '#/components/schemas/RefusalsWireBasis'
do_not_mint_basis:
$ref: '#/components/schemas/RefusalsWireBasis'
tombstone_basis:
$ref: '#/components/schemas/RefusalsWireBasis'
curator_hold_basis:
$ref: '#/components/schemas/RefusalsWireBasis'
ItemNormEnvelope:
type: object
required:
- canonical_item_id
- norm
properties:
canonical_item_id:
type: string
norm:
oneOf:
- $ref: '#/components/schemas/ItemNorm'
- type: 'null'
description: The item's norm, or `null` (the honest cold-start empty state — item exists, no norm source yet).
Error:
type: object
required:
- error
properties:
error:
type: object
required:
- code
- message
properties:
code:
type: string
description: 'Stable machine code: unauthorized | forbidden | rate_limited | bad_request | not_found | bad_cursor | bad_predicate | bad_min_informativeness | bad_min_freshness_score | method_not_allowed | no_prior_synthesized | internal | store_unavailable'
message:
type: string
EntityEnvelope:
type: object
required:
- entity
properties:
entity:
type: object
additionalProperties: true
_refusals:
$ref: '#/components/schemas/RefusalsWireEnvelope'
ListEnvelope:
type: object
required:
- items
- next_cursor
properties:
items:
type: array
items:
type: object
additionalProperties: true
next_cursor:
type:
- string
- 'null'
description: Pass back as ?cursor= for the next page; null on the last page.
_refusals:
$ref: '#/components/schemas/RefusalsWireEnvelope'
note:
type: string
description: PRN-448. Present when the route has something to say about HOW the list was produced (a fan-out hop, an unknown id). Mirrors the X-Principia-Note header, which is Latin-1-sanitised; the body carries the note verbatim.
RefusalsWireEnvelope:
description: PRN-388 — refusal rate per served answer, attached to every successful list/entity JSON response.
oneOf:
- $ref: '#/components/schemas/RefusalsWireBlock'
- $ref: '#/components/schemas/RefusalsWireUnavailable'
RefusalsWireBlock:
type: object
required:
- count
- count_basis
- classes
properties:
count:
type: integer
minimum: 0
count_basis:
$ref: '#/components/schemas/RefusalsWireBasis'
classes:
$ref: '#/components/schemas/RefusalsWireClasses'
RefusalsWireBasis:
type: object
required:
- command
- measured_at
properties:
command:
type: string
measured_at:
type: string
ItemsChangedSince:
type: object
required:
- items_changed
- items_retired
- as_of
- total
- basis
properties:
items_changed:
type: array
items:
type: string
description: canonical_item_id values whose row-level updated_at is >= ts. Never includes a retired id.
items_retired:
type: array
items:
type: object
required:
- id
- reason
properties:
id:
type: string
superseded_by:
type: string
description: Successor canonical_item_id, when one exists.
reason:
type: string
as_of:
type: string
description: Pass back as the next poll's ts for exact (non-overlapping) polling.
total:
type: integer
description: items_changed.length + items_retired.length.
basis:
type: string
description: One sentence naming what was compared, present even when both arrays are empty.
parameters:
idPath:
name: id
in: path
required: true
schema:
type: string
description: Entity identifier.
q:
name: q
in: query
required: true
schema:
type: string
minLength: 1
description: Search query (required).
cursor:
name: cursor
in: query
schema:
type: string
description: Opaque pagination cursor from a prior response's next_cursor.
limit:
name: limit
in: query
schema:
type: integer
minimum: 1
maximum: 500
default: 50
description: Page size (clamped to 1..500).
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: '`Authorization: Bearer <key>`. Keys are provisioned per consumer via
`PRINCIPIA_KEY_*` environment variables and map to a named consumer
(`toolbox`, `pa-site`, `internal`, `toolbox-reincarnation`) with a scope
set. Default scope is `read:public`; `read:internal` and
`write:deployment_evidence` gate specific endpoints.
'