{"uid":"cap_jZwb_RIyyY5pc1sBE2RTx","slug":"first-ruble-agent-svg-cutting-paths-preflight-api-bafacabb","name":"First Ruble Agent — SVG Cutting Paths 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/cutting-paths?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_XeYiZU9JSXNcRAdu5hMQi","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 normalized polyline cutting paths for print production issues such as open paths, near-duplicate nodes, tiny segments, and gap closability.","exampleAgentPrompt":"Can you preflight these cutting paths for me — I have 5 paths in millimeter coordinates, and I want to flag any open paths or near-duplicate nodes within 0.1 mm, tiny segments shorter than 0.5 mm, and auto-closeable gaps within 0.2 mm?","exampleUseCases":[{"title":"Vinyl decal production check","prompt":"I have a set of 12 vinyl decal cutting paths in mm coordinates — please check them for open paths, any near-nodes within 0.15 mm, and segments shorter than 0.3 mm before I send them to the cutter."},{"title":"Laser cut sheet preflight","prompt":"Before I send this laser cutting job out, can you inspect my 30 polyline paths for open contours, near-duplicate nodes within 0.1 mm, and gaps that could be closed within 0.25 mm?"},{"title":"Die-cut packaging path review","prompt":"Run a preflight on my packaging die-cut paths — I've got 8 normalized polyline paths and want to catch any tiny segments under 0.5 mm or nodes that are closer than 0.2 mm to each other."}],"resultDescription":"Returns a JSON object with an array of issues, each containing a code (e.g. 'open_path') and the affected pathId, plus an overall status field (e.g. 'review_required' or 'ok') indicating whether the paths passed or need attention.","failureModes":["Paths array exceeds 128 items — request rejected","Points not in normalized mm coordinate format — validation error","Tolerance parameters set to zero or negative — rejected by exclusiveMinimum constraint","Malformed path objects missing required id or points fields — parse error","Empty paths array — may return no issues or an error depending on server validation"],"whenToPreferThis":"Use this endpoint when you need automated heuristic inspection of normalized polyline cutting path geometry — particularly to catch open paths, near-duplicate nodes, tiny segments, or uncloseable gaps before submitting files to a cutting device or print vendor. It is distinct from full SVG preflight (which checks raster elements, live text, transparency, etc.) and focuses specifically on path geometry in millimeter space.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T21:43:53.544Z","isFirstParty":false,"canonicalSlug":"first-ruble-agent-svg-cutting-paths-preflight-api-bafacabb"}