# Anvil Shape — UI/Copy/JSON Verdict Engine

> Anvil Shape — UI/Copy/JSON Verdict Engine is a paid API for AI agents from anvil-ten-sigma.vercel.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Analyzes a UI, copy, page, or JSON blob and returns a guaranteed ship/fix/rewrite verdict with scored issues and actionable fixes.

## Facts

- Endpoint: POST https://anvil-ten-sigma.vercel.app/v1/shape
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/anvil-shape-ui-copy-json-verdict-engine-faaf3827
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9NqdHqeOqUTGdA-WQOSxs

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability anvil-shape-ui-copy-json-verdict-engine-faaf3827 -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Shape a messy UI, copy, page or JSON blob into a guaranteed ship | fix | rewrite verdict.

## Output

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'.

## Request schema (JSON Schema)

```json
{
 "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
}
```

## Response schema (JSON Schema)

```json
{
 "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
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/anvil-shape-ui-copy-json-verdict-engine-faaf3827/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from anvil-ten-sigma.vercel.app](https://www.zero.xyz/host/anvil-ten-sigma.vercel.app/llms.txt)
