$ man production-readiness-score
/production-readiness-score
PRICE / CALL
$0.10
USDC · base mainnet · scheme: exact
──────────────────────────────────────────────────────────────────────────────
NAME
production-readiness-score — scores production readiness for a repo in one call, aggregating the prooflayer cluster
SYNOPSIS
POST https://x402.agentutility.ai/production-readiness-score
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION
Scores production readiness for a repo in one call, aggregating the Prooflayer cluster. Calls all 5 component scanners (secrets-exposure-check, deploy-config-risk, db-migration-risk, dep-risk-summary, prompt-injection-surface) in parallel in-process and rolls findings into a weighted composite score (default weights: secrets 0.30, migrations 0.20, deps 0.20, deploy 0.15, prompt 0.15). Returns composite 0-100, production_grade (production-ready | needs-review | risky | do-not-ship), per-component sub-scores, top-N deduped findings sorted by severity + score_contribution, and a Venice plain-English verdict. Dual input: {repo: 'owner/name'} or {files: [{path, content}, ...]}. Optional 'weights' override (each in [0,0.5], proportionally normalized) and 'max_findings' (default 10, cap 50). Use it as an AI app deploy gate, repo prod-risk composite, one-call audit, unified production readiness API, or vibe-coded app safety scan.
OUTPUT — response shape
| field | type | description |
|---|
| score | number | Weighted composite production-readiness score from 0-100 across all 5 Prooflayer component scanners. |
| risk_level | string | Risk bucket derived from the composite score (e.g. low, medium, high, critical). |
| production_grade | string | Deploy verdict: production-ready, needs-review, risky, or do-not-ship. |
| component_scores | object | Per-scanner sub-scores keyed by component (secrets, migrations, deps, deploy, prompt). |
| weights_used | object | Actual weights applied per component after normalization, defaults or caller overrides. |
| findings | array | Top-N deduped findings sorted by severity and score_contribution, capped by max_findings (default 10). |
| signals | object | Raw per-component signal counts and flags (e.g. secrets found, risky migrations, vulnerable deps). |
| summary | string | Venice plain-English verdict explaining the grade and the biggest risks to fix before shipping. |
| metadata | object | Run metadata: repo or file count, components called, latency per scanner, and weights source. |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/production-readiness-score \
-H 'Content-Type: application/json' \
-d '{ }'first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster
npx -y @agentutility/mcp-<cluster>
# Required: EVM private key with USDC on Base
export X402_PRIVATE_KEY=0x...
# Then call the production-readiness-score tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- securityproduction-readinessauditai-safetyprooflayer
- env
- VENICE_API_KEY
- methods
- POST
- cluster
- prooflayer
- price
- $0.10 USDC per call
ADJACENT — other endpoints in prooflayer