Properties
| Name | Type | Description |
|---|---|---|
| policy | object | The constraints to check. State at least one of licence, origin, residency, commercial_use: an empty policy is a 400, never a clean pass. |
| require_no_undetermined | booleannull | true turns any undetermined row into a 422 undetermined_present instead of a 200. |
| models | arraynull | Model ids to check; omit for the catalogue. Unknown is a 400. |
| platforms | arraynull | Platform ids to check on; omit for every listed one. |
| verdicts | arraynull | Filters the rows returned. summary still counts every row. |
| limit | integer | Pages result only; summary is never paged. |
| offset | integer |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/modelspec-dev/json-schema/modelspec-dev-policy-check-request-schema.json",
"title": "PolicyCheckRequest",
"x-generated": "2026-11-19",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/modelspec-dev-openapi.yaml#/components/schemas/PolicyCheckRequest",
"type": "object",
"additionalProperties": false,
"required": [
"policy"
],
"properties": {
"policy": {
"description": "The constraints to check. State at least one of licence, origin, residency, commercial_use: an empty policy is a 400, never a clean pass.",
"type": "object",
"additionalProperties": false,
"anyOf": [
{
"required": [
"licence"
]
},
{
"required": [
"origin"
]
},
{
"required": [
"residency"
]
},
{
"required": [
"commercial_use"
]
}
],
"properties": {
"name": {
"description": "Optional label, echoed back.",
"type": [
"string",
"null"
]
},
"licence": {
"description": "Matched against the card's license_type. A card naming no licence is undetermined, never allowed.",
"type": "object",
"additionalProperties": false,
"anyOf": [
{
"required": [
"allowed"
],
"properties": {
"allowed": {
"type": "array",
"minItems": 1
}
}
},
{
"required": [
"prohibited"
],
"properties": {
"prohibited": {
"type": "array",
"minItems": 1
}
}
}
],
"properties": {
"allowed": {
"type": [
"array",
"null"
],
"items": {
"type": "string",
"minLength": 1
}
},
"prohibited": {
"type": [
"array",
"null"
],
"items": {
"type": "string",
"minLength": 1
}
}
}
},
"origin": {
"description": "Country codes, as the card records origin_country. A blank country is undetermined, never allowed.",
"type": "object",
"additionalProperties": false,
"anyOf": [
{
"required": [
"permitted_countries"
],
"properties": {
"permitted_countries": {
"type": "array",
"minItems": 1
}
}
},
{
"required": [
"prohibited_countries"
],
"properties": {
"prohibited_countries": {
"type": "array",
"minItems": 1
}
}
}
],
"properties": {
"permitted_countries": {
"type": [
"array",
"null"
],
"items": {
"type": "string",
"minLength": 1
}
},
"prohibited_countries": {
"type": [
"array",
"null"
],
"items": {
"type": "string",
"minLength": 1
}
}
}
},
"residency": {
"description": "Regions spelled as the platform publishes them. Matched literally: no country is mapped onto a cloud region.",
"type": "object",
"additionalProperties": false,
"required": [
"required_regions"
],
"properties": {
"required_regions": {
"type": "array",
"minItems": 1,
"items": {
"type": "string",
"minLength": 1
}
},
"match": {
"type": "string",
"enum": [
"any",
"all"
],
"default": "any"
}
}
},
"commercial_use": {
"description": "`required: false` is a 400; omit the block instead. A conditional grant fails unless accept_restricted is true, and carries its condition text either way.",
"type": "object",
"additionalProperties": false,
"properties": {
"required": {
"type": [
"boolean",
"null"
],
"enum": [
true,
null
],
"default": true
},
"accept_restricted": {
"type": [
"boolean",
"null"
],
"default": false
}
}
}
}
},
"require_no_undetermined": {
"description": "true turns any undetermined row into a 422 undetermined_present instead of a 200.",
"type": [
"boolean",
"null"
],
"default": false
},
"models": {
"description": "Model ids to check; omit for the catalogue. Unknown is a 400.",
"type": [
"array",
"null"
],
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 500
},
"platforms": {
"description": "Platform ids to check on; omit for every listed one.",
"type": [
"array",
"null"
],
"items": {
"type": "string",
"enum": [
"ai21_labs",
"aws_bedrock",
"azure_ai_foundry",
"baidu_ernie",
"bytedance_doubao",
"cerebras",
"chatgpt",
"claude_ai",
"cohere",
"copilot_microsoft",
"cursor",
"deepinfra",
"deepseek",
"fireworks_ai",
"gemini_app",
"github_copilot",
"google_vertex_ai",
"gpt4all",
"grok_xai",
"groq",
"huggingface",
"ibm_watsonx",
"jan_ai",
"kaggle_models",
"lm_studio",
"meta_ai",
"minimax",
"mistral_plateforme",
"mlx_community",
"modelscope",
"moonshot_kimi",
"nvidia_nim",
"ollama",
"open_webui",
"openrouter",
"perplexity",
"poe",
"qwen_alibaba",
"raycast",
"replicate",
"sambanova",
"samsung_gauss",
"snowflake_cortex",
"stability_ai",
"tencent_hunyuan",
"tii_falcon",
"together_ai",
"upstage_solar",
"zero_one_ai",
"zhipu_glm"
]
}
},
"verdicts": {
"description": "Filters the rows returned. summary still counts every row.",
"type": [
"array",
"null"
],
"items": {
"type": "string",
"enum": [
"pass",
"fail",
"undetermined"
]
}
},
"limit": {
"description": "Pages result only; summary is never paged.",
"type": "integer",
"minimum": 0,
"maximum": 500,
"default": 50
},
"offset": {
"type": "integer",
"minimum": 0,
"default": 0
}
}
}
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
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/modelspec-dev-policy-check-request"
All schemas
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.