VoIRequest
Provide prior_id OR prior_tuple, and at least one of sample_design.n or (cost_per_observation + max_n).
Properties
| Name | Type | Description |
|---|---|---|
| prior_id | string | |
| prior_tuple | object | |
| loss_function | object | |
| sample_design | object | |
| cost_per_observation | number | |
| max_n | integer | |
| seed | integer |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/peopleprincipia-com/json-schema/peopleprincipia-com-vo-irequest-schema.json",
"title": "VoIRequest",
"description": "Provide prior_id OR prior_tuple, and at least one of sample_design.n or (cost_per_observation + max_n).",
"x-generated": "2026-11-21",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/peopleprincipia-com-analytics-api-openapi.yml#/components/schemas/VoIRequest",
"type": "object",
"required": [
"loss_function"
],
"properties": {
"prior_id": {
"type": "string"
},
"prior_tuple": {
"type": "object",
"properties": {
"from": {
"type": "string"
},
"predicate": {
"$ref": "#/$defs/Predicate"
},
"to": {
"type": "string"
}
}
},
"loss_function": {
"oneOf": [
{
"type": "object",
"properties": {
"type": {
"const": "squared_error"
}
}
},
{
"type": "object",
"properties": {
"type": {
"const": "absolute_error"
}
}
},
{
"type": "object",
"required": [
"type",
"threshold",
"cost_above",
"cost_below"
],
"properties": {
"type": {
"const": "linear_decision"
},
"threshold": {
"type": "number"
},
"cost_above": {
"type": "number"
},
"cost_below": {
"type": "number"
}
}
}
]
},
"sample_design": {
"type": "object",
"properties": {
"n": {
"type": "integer"
},
"measurement_sigma": {
"type": "number"
}
}
},
"cost_per_observation": {
"type": "number"
},
"max_n": {
"type": "integer"
},
"seed": {
"type": "integer"
}
},
"$defs": {
"Predicate": {
"type": "string",
"enum": [
"predicts",
"moderates",
"mediates",
"correlates",
"causes"
]
}
}
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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
curl "https://apis.io/api/v1/json-schemas/peopleprincipia-com-vo-irequest"
curl "https://apis.io/api/v1/json-schemas?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.