{"uid":"cap_9NqdHqeOqUTGdA-WQOSxs","slug":"anvil-shape-ui-copy-json-verdict-engine-faaf3827","name":"Anvil Shape — UI/Copy/JSON Verdict Engine","description":"Shape a messy UI, copy, page or JSON blob into a guaranteed ship | fix | rewrite verdict.","url":"https://anvil-ten-sigma.vercel.app/v1/shape","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"body":{"type":"object"},"type":{"const":"http"},"method":{"enum":["POST"]},"bodyType":{"type":"string"},"discoverable":{"type":"boolean"}},"additionalProperties":false},"output":{"type":"object"}},"additionalProperties":false},"responseSchema":{"type":"json","example":{"ok":false,"score":72,"issues":[{"fix":"Remove AI filler and ship a concrete claim.","code":"copy.filler","where":"body","severity":"block"}],"schema":"anvil.shape.v1","verdict":"fix","canonical":null}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_tVDregxM3mYa0UVu-1d1x","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a UI, copy, page, or JSON blob and returns a guaranteed ship/fix/rewrite verdict with scored issues and actionable fixes.","exampleAgentPrompt":"Run an Anvil shape audit on this landing page copy — POST it as an HTTP body — and tell me the verdict: ship, fix, or rewrite, along with the score and any blocking issues I need to address before we go live.","exampleUseCases":[{"title":"Pre-launch copy readiness check","prompt":"Before we ship the new pricing page, run it through Anvil and tell me the verdict — ship, fix, or rewrite — plus the quality score and any copy issues flagged as blockers."},{"title":"UI JSON component audit","prompt":"I've got this JSON blob describing our checkout UI — can you send it to Anvil and get back a score and a list of issues with suggested fixes? I want to know if it's shippable as-is."},{"title":"Marketing copy filler detection","prompt":"Check my onboarding email copy with Anvil — I want to know if it's passing or if there's AI filler or vague claims dragging the score down, and what specifically I need to rewrite."}],"resultDescription":"A JSON object containing: a verdict string ('ship', 'fix', or 'rewrite'), a numeric quality score (0–100), an array of issues each with a code, severity, location ('where'), and suggested fix text, and a schema identifier. Blocking issues are flagged with severity 'block'.","failureModes":["Missing required 'input' field returns validation error","Non-POST method enum value rejected at schema level","Malformed or empty body may return low score with generic issues","Payment failure (x402) if USDC balance insufficient — endpoint returns 402 before processing","Ambiguous or empty input content may produce low-confidence verdicts"],"whenToPreferThis":"Choose this endpoint when you need a fast, structured, opinionated verdict on whether UI copy, a page, or a JSON blob is ready to ship — especially when you want machine-readable issue codes with severity levels rather than freeform editorial feedback. Prefer it over generic LLM review when you need a consistent scoring rubric, deterministic 'ship/fix/rewrite' output, and actionable per-issue fix suggestions tied to specific locations in the content.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:38:33.690Z","isFirstParty":false}