SVG READYAGENT API
SVG READY · PRE-FLIGHT API

Catch common SVG issues before they ship.

Send SVG source and get a compact JSON report on accessibility names, sizing, active content, and external references. Preview a fixed synthetic report before integrating. Built for design tools, CI jobs, and AI agents.

Try the sample

$0.01 USDC · Base, Monad, or Polygon · x402

GET /api/v1/svg-preflight/demo returns a fixed synthetic demonstration report. It does not analyze submitted artwork.

Analyze an SVG

$0.05 USDC · Base, Monad, or Polygon · x402

POST /api/v1/svg-preflight

JSON body: {"svg":"<svg>...</svg>"}. Maximum request size: 1 MiB.

Free service check

GET /health

Returns status and version; it does not process or charge for an SVG report.

Private source handling

SVG source is processed in memory and is not saved by the application. Do not send confidential artwork to any hosted service unless you are authorized to share it.

Request example

POST analyzes your SVG source. An unpaid call shows the x402 payment challenge. Use an x402-compatible client to pay and retry; a plain curl command will not sign a payment.

curl -i https://svgready.bakongi.chatgpt.site/api/v1/svg-preflight \
  -H 'content-type: application/json' \
  -d '{"svg":"<svg viewBox=\"0 0 24 24\"><path d=\"...\"/></svg>"}'

The report uses heuristic checks. It is not a full XML/SVG standards validator, accessibility certification, or security guarantee. A request submitted with payment may be charged even when its input is rejected.

See a sample report

Two synthetic SVG examples show the kind of file-by-file findings and JSON summary the preflight returns. The examples are illustrative and are not from a customer library.