Percia · Schema

AgentConfig

Up to 10 concerns plus a request budget. A zone is a polygon of 3 to 12 [x, y] points, each 0..1 (fractions of the frame).

CompanyComputer VisionCameraVideo MonitoringAI AgentsWebhookMCP

Properties

Name Type Description
concerns array
budget object
outputs array Typed values read from the event's keyframe by a language model and stored on the event as `outputs`.
actions array MCP tool calls made after an event is stored. String values in `arguments` may use {{event.reason}}, {{event.concern}}, {{event.at}}, {{event.confidence}}, {{watch.name}}, {{site.name}} and {{outputs.
View JSON Schema on GitHub

JSON Schema

percia-ai-agent-config-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/percia-ai/json-schema/percia-ai-agent-config-schema.json",
  "title": "AgentConfig",
  "description": "Up to 10 concerns plus a request budget. A zone is a polygon of 3 to 12 [x, y] points, each 0..1 (fractions of the frame).",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/percia-ai-openapi.yml#/components/schemas/AgentConfig",
  "type": "object",
  "properties": {
    "concerns": {
      "type": "array",
      "minItems": 1,
      "maxItems": 10,
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Slug, at most 32 characters, unique within the agent."
          },
          "text": {
            "type": "string",
            "description": "5 to 500 characters."
          },
          "kind": {
            "enum": [
              "event",
              "state"
            ]
          },
          "zones": {
            "type": "array",
            "items": {
              "type": "array",
              "items": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              }
            }
          },
          "excludeZones": {
            "type": "array",
            "items": {
              "type": "array",
              "items": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              }
            }
          },
          "ignore": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "minConfidence": {
            "type": "number",
            "minimum": 0.5,
            "maximum": 0.95
          },
          "rearmS": {
            "type": "integer",
            "minimum": 10,
            "maximum": 3600
          },
          "recheckS": {
            "type": "integer",
            "minimum": 5,
            "maximum": 600
          },
          "cooldownS": {
            "type": "integer",
            "minimum": 0,
            "maximum": 86400
          }
        },
        "required": [
          "id",
          "text",
          "kind"
        ]
      }
    },
    "budget": {
      "type": "object",
      "properties": {
        "maxRequestsPerMin": {
          "type": "integer",
          "minimum": 1,
          "maximum": 30,
          "default": 6
        }
      }
    },
    "outputs": {
      "type": "array",
      "maxItems": 10,
      "description": "Typed values read from the event's keyframe by a language model and stored on the event as `outputs`.",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Identifier, at most 32 characters."
          },
          "type": {
            "enum": [
              "string",
              "number",
              "boolean",
              "enum"
            ]
          },
          "description": {
            "type": "string"
          },
          "options": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Required for enum, 2 to 20 values."
          }
        },
        "required": [
          "name",
          "type",
          "description"
        ]
      }
    },
    "actions": {
      "type": "array",
      "maxItems": 5,
      "description": "MCP tool calls made after an event is stored. String values in `arguments` may use {{event.reason}}, {{event.concern}}, {{event.at}}, {{event.confidence}}, {{watch.name}}, {{site.name}} and {{outputs.<name>}}. A secret header is written with `value` and read back as `hasSecret`.",
      "items": {
        "type": "object",
        "properties": {
          "on": {
            "type": "string",
            "description": "\"*\" or a concern id."
          },
          "type": {
            "enum": [
              "mcp"
            ]
          },
          "serverUrl": {
            "type": "string",
            "description": "Public https URL of a streamable-HTTP MCP server."
          },
          "tool": {
            "type": "string"
          },
          "arguments": {
            "type": "object"
          },
          "secretHeader": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "value": {
                "type": "string",
                "description": "Write only."
              },
              "hasSecret": {
                "type": "boolean",
                "description": "Read only."
              }
            },
            "required": [
              "name"
            ]
          }
        },
        "required": [
          "on",
          "type",
          "serverUrl",
          "tool"
        ]
      }
    }
  },
  "required": [
    "concerns"
  ]
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/percia-ai-agent-config"
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.