{"uid":"cap_gcUOx9KVI014s32Ww9zJ2","slug":"first-ruble-agent-svg-preflight-api-776c0aac","name":"First Ruble Agent — SVG Preflight API","description":"Focused APIs for SVG print risks, fine print details, Bezier clearance, tiny objects and holes, vector quality, cutting contours and native SVG/CorelDRAW EPS curves. From 0.02 USDC per request with x402 on Base. Free fixed samples and MCP discovery. Not a certified production approval.","url":"https://first-ruble-agent.tohaa28.workers.dev/api/vector-health?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"paths":{"type":"array","description":"1..128 explicitly normalized polyline paths: {id,closed,points:[[xMm,yMm],...]}; no raw EPS/SVG"},"closeGapMm":{"type":"number","exclusiveMinimum":0},"nearNodeMm":{"type":"number","exclusiveMinimum":0},"minSegmentMm":{"type":"number","exclusiveMinimum":0}}},"responseSchema":{"type":"json","example":{"issues":[{"code":"open_path","pathId":"tiny-gap"}],"status":"review_required"}},"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_PKtDB8CQfGwQdcXr0NiPp","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":"Heuristically inspects normalized polyline paths from SVG print files to detect open paths, gaps, and near-node issues that could cause printing problems.","exampleAgentPrompt":"Can you run a preflight check on these 12 normalized polyline paths from my print artwork — flag any open paths, gaps smaller than 0.1mm, near nodes within 0.05mm, or segments shorter than 0.2mm?","exampleUseCases":[{"title":"Print shop SVG path quality check","prompt":"Before I send this label design to the printer, can you inspect these 8 polyline paths and flag any open paths or gaps larger than 0.15mm that might cause cutting problems?"},{"title":"Automated preflight in design pipeline","prompt":"I'm building an automated print pipeline — can you check these 50 normalized paths for open paths and near-node issues using a 0.1mm gap tolerance and 0.05mm near-node threshold?"},{"title":"Spot-check die-cut path integrity","prompt":"My die-cut template has some suspicious paths — please inspect all 20 of them for open paths and tiny segments under 0.3mm so I know what needs fixing before we go to press."}],"resultDescription":"Returns a JSON object with an array of issues, each containing an issue code (e.g. 'open_path') and the offending path ID, plus an overall status field (e.g. 'review_required' or presumably 'ok') indicating whether the file needs attention before printing.","failureModes":["Paths array exceeds 128 items — request rejected","Invalid or non-normalized path coordinates — validation error","closeGapMm, nearNodeMm, or minSegmentMm set to zero or negative — rejected by schema","Malformed points array structure — parse error","Payment not provided or insufficient — 402 response blocking access","Heuristic nature means false positives/negatives possible — not a certified prepress check"],"whenToPreferThis":"Choose this endpoint when you need a quick automated heuristic check on normalized polyline path data extracted from SVG print files, especially to catch open paths, near nodes, and tiny segments before sending to press. It is not a full certified prepress solution but provides fast, cheap ($0.05 per call) programmatic feedback for pipeline integration. Prefer it over manual inspection or full prepress suites when speed and automation matter more than certification.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T12:34:36.715Z","isFirstParty":false,"canonicalSlug":"first-ruble-agent-svg-preflight-api-75f895ba"}