Properties
| Name | Type | Description |
|---|---|---|
| name | string | Rule name |
| rule_id | string | Unique rule identifier |
| description | stringnull | |
| cel_expression | stringnull | CEL filter expression |
| phase | string | Evaluation phase: pre or post. A post-phase rule cannot carry a require_approval action |
| status | string | Rule status: enabled, disabled, or tentative |
| priority | integer | |
| principal_scope | object | |
| resource_scope | object | |
| actions | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/sealgate-ai/json-schema/sealgate-ai-create-policy-request-schema.json",
"title": "CreatePolicyRequest",
"x-generated": "2026-10-30",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/sealgate-ai-management-openapi.json#/components/schemas/CreatePolicyRequest",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Rule name"
},
"rule_id": {
"type": "string",
"description": "Unique rule identifier"
},
"description": {
"type": [
"string",
"null"
]
},
"cel_expression": {
"type": [
"string",
"null"
],
"description": "CEL filter expression"
},
"phase": {
"type": "string",
"default": "pre",
"description": "Evaluation phase: pre or post. A post-phase rule cannot carry a require_approval action"
},
"status": {
"type": "string",
"default": "enabled",
"description": "Rule status: enabled, disabled, or tentative"
},
"priority": {
"type": "integer",
"default": 0
},
"principal_scope": {
"oneOf": [
{
"$ref": "#/$defs/PrincipalScope"
},
{
"type": "null"
}
]
},
"resource_scope": {
"oneOf": [
{
"$ref": "#/$defs/ResourceScope"
},
{
"type": "null"
}
]
},
"actions": {
"type": "array",
"items": {
"$ref": "#/$defs/PolicyAction"
}
}
},
"required": [
"name",
"rule_id"
],
"$defs": {
"PolicyAction": {
"type": "object",
"properties": {
"action_type": {
"type": "string",
"description": "Action type: block, require_approval, allow_override, mark_private, mark_untrusted, mark_write, set_acl, add_tag"
},
"acl_level": {
"type": [
"string",
"null"
],
"description": "ACL level for set_acl action"
},
"tag_key": {
"type": [
"string",
"null"
]
},
"tag_value": {
"type": [
"string",
"null"
]
},
"block_reason": {
"type": [
"string",
"null"
]
},
"approval_reason": {
"type": [
"string",
"null"
],
"description": "Plain-language reason shown to the human deciding"
},
"approval_channels": {
"type": "array",
"items": {
"type": "string"
},
"description": "Channels to pin the approval prompt to"
},
"approval_timeout_s": {
"type": [
"number",
"null"
],
"description": "How long to hold the call awaiting a decision; null uses the server default"
},
"approval_on_timeout": {
"type": [
"string",
"null"
],
"enum": [
"deny",
"allow",
null
],
"description": "What happens when nobody answers in time; null means deny (fail closed). 'allow' is deprecated and reported as 'deny'"
}
},
"required": [
"action_type"
]
},
"PrincipalScope": {
"type": "object",
"properties": {
"is_global": {
"type": "boolean",
"default": true,
"description": "Whether the rule applies to all users"
},
"include_roles": {
"type": "array",
"items": {
"type": "string"
}
},
"include_users": {
"type": "array",
"items": {
"type": "string"
}
},
"exclude_roles": {
"type": "array",
"items": {
"type": "string"
}
},
"exclude_users": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"ResourceScope": {
"type": "object",
"properties": {
"element_types": {
"type": "array",
"items": {
"type": "string"
},
"description": "Element types: tool, resource, prompt"
},
"servers": {
"type": "array",
"items": {
"type": "string"
},
"description": "MCP server names"
},
"name_patterns": {
"type": "array",
"items": {
"type": "string"
},
"description": "Regex patterns for element names"
}
}
}
}
}
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/sealgate-ai-create-policy-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.