Skip to main content

JSON & agent output

--format json

npx prodverdict check access --format json
{
"contract": "access",
"verdict": "fail",
"findings": [
{
"contract": "access",
"severity": "high",
"entity": "user:usr_alice",
"message": "User has an active/trialing Stripe subscription ...",
"fix": "In your Stripe webhook handler ..."
}
],
"evaluatedAt": "2026-06-13T12:00:00.000Z"
}

--format agent

Stable schema for MCP and coding agents (schemaVersion: "1"):

{
"schemaVersion": "1",
"contract": "access",
"verdict": "fail",
"findings": [],
"summary": "1 high-severity access finding",
"nextSteps": ["Fix webhook handler to set has_paid_access=true"],
"exitCode": 1
}

check all --format agent

Returns an array of per-contract results plus rolled-up summary and exitCode.

Doctor agent format

See doctor.