Glossary

Policy-as-Code

Policy-as-code is the practice of expressing a verification rule set — the categories, the per-criterion checks, the severity, and what gates a pass or fail — as plain, editable, version-controlled configuration rather than hard-coded or opaque model behavior.

In VerifyAI, a policy is a structured JSON object: a list of outcome categories (for example "Good Parking" / "Bad Parking" / "Poor Photo"), a list of criteria the model evaluates ("vehicle clearly visible", "not blocking sidewalk", "not in roadway"), and per-criterion settings for severity and whether the criterion is required. The same policy object is what you save and then reference by ID when you call the verify endpoint.

Treating the rules as code has practical benefits. You can diff a policy in code review, version it alongside the rest of your stack, and tune it city-by-city or SOP-by-SOP without retraining a model or shipping new firmware. When a city changes its designated-parking requirement, you edit the policy text — not the integration.

Policy-as-code is what lets one verification API serve very different jobs from the same plumbing: a parking policy, a vehicle-damage policy, and a proof-of-delivery policy are all just different configurations. Ready-made starting points live in the policy template gallery, and the city-parking-policy guide shows how to encode designated-zone and corral rules.

Learn more

Related terms

See it on a real photo

Start free in the sandbox — $5 in credit, no card required. Verify your first image against a policy in minutes.

Get in Touch

Questions about pricing, integrations, or custom deployments? We'd love to hear from you.