Commentary · Schema
AgentInboxPolicySimulation
CompanyAI AgentsHuman-in-the-loopCode ReviewDocument ReviewMarkdownPull RequestsMCPDeveloper ToolsCollaboration
Properties
| Name | Type | Description |
|---|---|---|
| definition | object | |
| entryId | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/commentary-dev/json-schema/commentary-dev-agent-inbox-policy-simulation-schema.json",
"title": "AgentInboxPolicySimulation",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/commentary-dev-inbox-api-openapi.yml#/components/schemas/AgentInboxPolicySimulation",
"type": "object",
"additionalProperties": false,
"required": [
"definition",
"entryId"
],
"properties": {
"definition": {
"$ref": "#/$defs/InboxAttentionPolicyDefinition"
},
"entryId": {
"type": "string"
}
},
"$defs": {
"InboxAttentionPolicyCondition": {
"oneOf": [
{
"type": "object",
"additionalProperties": false,
"required": [
"kind",
"clause"
],
"properties": {
"kind": {
"const": "clause"
},
"clause": {
"type": "object",
"additionalProperties": false,
"required": [
"field",
"operator",
"value"
],
"properties": {
"field": {
"type": "string",
"enum": [
"workspace",
"interaction_type",
"resource_type",
"source_category",
"agent",
"recipient",
"role",
"status",
"priority_band",
"deadline_window",
"age_days",
"business_hours"
]
},
"operator": {
"type": "string",
"enum": [
"is",
"is_not",
"in",
"gte",
"lte"
]
},
"value": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "array",
"maxItems": 12,
"items": {
"type": "string"
}
}
]
}
}
}
}
},
{
"type": "object",
"additionalProperties": false,
"required": [
"kind",
"conditions"
],
"properties": {
"kind": {
"type": "string",
"enum": [
"all",
"any"
]
},
"conditions": {
"type": "array",
"minItems": 1,
"maxItems": 24,
"items": {
"$ref": "#/$defs/InboxAttentionPolicyCondition"
}
}
}
},
{
"type": "object",
"additionalProperties": false,
"required": [
"kind",
"condition"
],
"properties": {
"kind": {
"const": "not"
},
"condition": {
"$ref": "#/$defs/InboxAttentionPolicyCondition"
}
}
}
]
},
"InboxAttentionPolicyDefinition": {
"type": "object",
"additionalProperties": false,
"required": [
"schemaVersion",
"condition",
"effects"
],
"properties": {
"schemaVersion": {
"const": 1
},
"condition": {
"$ref": "#/$defs/InboxAttentionPolicyCondition"
},
"effects": {
"type": "array",
"minItems": 1,
"maxItems": 8,
"items": {
"$ref": "#/$defs/InboxAttentionPolicyEffect"
}
}
}
},
"InboxAttentionPolicyEffect": {
"oneOf": [
{
"type": "object",
"additionalProperties": false,
"required": [
"kind",
"points"
],
"properties": {
"kind": {
"const": "rank_adjustment"
},
"points": {
"type": "integer",
"minimum": -100,
"maximum": 100
}
}
},
{
"type": "object",
"additionalProperties": false,
"required": [
"kind",
"queueId"
],
"properties": {
"kind": {
"const": "route"
},
"queueId": {
"type": "string"
}
}
},
{
"type": "object",
"additionalProperties": false,
"required": [
"kind",
"recipientId"
],
"properties": {
"kind": {
"const": "assign"
},
"recipientId": {
"type": "string"
}
}
},
{
"type": "object",
"additionalProperties": false,
"required": [
"kind",
"preference"
],
"properties": {
"kind": {
"const": "notification_preference"
},
"preference": {
"type": "string",
"enum": [
"in_app",
"digest",
"none"
]
}
}
},
{
"type": "object",
"additionalProperties": false,
"required": [
"kind",
"durationMinutes"
],
"properties": {
"kind": {
"const": "snooze"
},
"durationMinutes": {
"type": "integer",
"enum": [
15,
60,
240,
1440,
10080
]
}
}
},
{
"type": "object",
"additionalProperties": false,
"required": [
"kind",
"afterMinutes"
],
"properties": {
"kind": {
"const": "resurface"
},
"afterMinutes": {
"type": "integer",
"enum": [
15,
60,
240,
1440,
10080
]
}
}
}
]
}
}
}
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/commentary-dev-agent-inbox-policy-simulation"
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.