Properties
| Name | Type | Description |
|---|---|---|
| version | integer | |
| fallback | string | What happens to a kind no rule mentions. |
| rules | array | |
| denyTools | array | Tools that may not be called at all, whatever is inside them. |
| allow | array | Literal values that are never sensitive here. A leading "@" exempts a whole domain. These are stored, unlike anything in the audit trail. |
| gatewayAllow | array | Hosts the gateway may forward to. Empty or absent means any public host. A leading "." matches a domain and its subdomains. Private-address rules still apply and cannot be opened up from here. |
| webhook | object | Where to POST when an action is refused. The payload is the audit record, which holds kinds and locations and never values. |
| approvalTtlSeconds | integer | How long a held action waits before it is denied. Expiry is a denial and never a release — an action somebody wanted reviewed must not proceed because nobody had time to review it. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/secureai-one/json-schema/secureai-one-policy-schema.json",
"title": "Policy",
"x-generated": "2026-11-24",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/secureai-one-openapi.json#/components/schemas/Policy",
"type": "object",
"properties": {
"version": {
"type": "integer",
"enum": [
1
]
},
"fallback": {
"type": "string",
"enum": [
"allow",
"redact",
"approve",
"block"
],
"description": "What happens to a kind no rule mentions."
},
"rules": {
"type": "array",
"items": {
"$ref": "#/$defs/Rule"
},
"maxItems": 200
},
"denyTools": {
"type": "array",
"items": {
"type": "string"
},
"description": "Tools that may not be called at all, whatever is inside them."
},
"allow": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 500,
"description": "Literal values that are never sensitive here. A leading \"@\" exempts a whole domain. These are stored, unlike anything in the audit trail."
},
"gatewayAllow": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 200,
"description": "Hosts the gateway may forward to. Empty or absent means any public host. A leading \".\" matches a domain and its subdomains. Private-address rules still apply and cannot be opened up from here."
},
"webhook": {
"type": "object",
"description": "Where to POST when an action is refused. The payload is the audit record, which holds kinds and locations and never values.",
"properties": {
"url": {
"type": "string",
"description": "https only. Private and link-local addresses are refused, as everywhere else."
},
"on": {
"type": "array",
"items": {
"type": "string",
"enum": [
"allow",
"redact",
"block"
]
},
"description": "Which decisions to send. Defaults to blocks only — a notification on every allowed action is one nobody reads."
},
"secret": {
"type": "string",
"maxLength": 200,
"description": "When set, each delivery carries X-Secure-AI-Signature: sha256=<hmac of the body>."
}
},
"required": [
"url"
]
},
"approvalTtlSeconds": {
"type": "integer",
"minimum": 30,
"maximum": 86400,
"description": "How long a held action waits before it is denied. Expiry is a denial and never a release — an action somebody wanted reviewed must not proceed because nobody had time to review it."
}
},
"required": [
"version",
"fallback",
"rules"
],
"$defs": {
"Rule": {
"type": "object",
"description": "One line of policy. When two rules match the same finding, the later one wins.",
"properties": {
"kind": {
"type": "string",
"enum": [
"secret",
"card",
"iban",
"ssn",
"govid",
"email",
"phone",
"address",
"postcode",
"name",
"host"
]
},
"decision": {
"type": "string",
"enum": [
"allow",
"redact",
"approve",
"block"
]
},
"tools": {
"type": "array",
"items": {
"type": "string"
},
"description": "Only these tools. Exact, or a single trailing \"*\". Absent means all."
},
"direction": {
"type": "string",
"enum": [
"outbound",
"inbound"
],
"description": "Absent means both."
}
},
"required": [
"kind",
"decision"
]
}
}
}
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/secureai-one-policy"
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.