API REFERENCE
Shapes and figures
A completed conversion read closely: its facts, each machine's figures, its shapes and anchors, edits tried first.
GET/v1/conversions/{id}/machines
Figures for each machine
A single-line version's figures for each kind of machine: pen (what a pen draws: a few short stretches gone over twice so it lifts less: its lines, the closed ones, its colors, the lines too short to draw cleanly) and once (the file a laser, a blade or CAD draws, each stretch once). With variant, a revision's, under its edits. A version's are made with it; a revision's are made on the first ask, under the long files' wait. A drawing the engine refuses, or too dense to walk in time, is refused (file_not_makeable), final. Both are null for a version that is not single lines. No credit is spent (figures, never the file); a walk made on the first ask counts toward the day's compute (compute_limit_reached).
Path
ididrequired
Query
variantid- A revision of the result (POST /conversions/{id}/variants): its figures, under its edits.
Errors
| Status | Code | What to do |
|---|---|---|
| 404 | not_ | Check the id. Another account's objects read as not found too. |
| 404 | variant_ | Use a variant id this result listed. |
| 409 | conversion_ | Convert the image again. Converting is free. |
| 409 | not_ | Use a live key for it, or test the conversion and its SVG files. |
| 409 | not_ | Wait for it to finish (a webhook, the events stream, or a read), then ask again. |
| 409 | result_ | Convert the image again. |
| 429 | compute_ | Come back after Retry-After (UTC midnight). |
| 429 | derive_ | Nothing was done. Send it again in a moment (Retry-After). |
| 429 | editing_ | Come back after Retry-After (UTC midnight), or take a plan: a customer's editing is its own. |
| 502 | derive_ | Try again. The coarser picture still shows. |
It may also answer the 12 refusals every call here can, listed at the page's end.
Every refusal carries its code and a requestId. Errors and retries.
GET/v1/conversions/{id}/original/facts
What an uploaded SVG was
Every tier, an SVG upload's only, either tool: its anchor points, its size and its colors as the engine read them, and a short-lived link to its points as data. Written at conversion: an upload of another format, one the engine's SVG reader cannot read, or a result made before these existed has none: 404 not_found. A connected app's pass reads the counts alone: its points is null.
Path
ididrequired
Errors
| Status | Code | What to do |
|---|---|---|
| 404 | not_ | Check the id. Another account's objects read as not found too. |
| 409 | conversion_ | Convert the image again. Converting is free. |
| 409 | not_ | Wait for it to finish (a webhook, the events stream, or a read), then ask again. |
| 409 | result_ | Convert the image again. |
It may also answer the 12 refusals every call here can, listed at the page's end.
Every refusal carries its code and a requestId. Errors and retries.
GET/v1/conversions/{id}/facts
The result's facts
Every tier: the engine's facts of the default file, in the ENGINE's names (the same object the site's examples show): the counts a layers panel would sum (anchor points, paths, circles, rectangles, rings, strokes, repeats, elements, the words kept as text) and every color the file draws with what it paints and its share of the frame. lane: whether the upload looks like what VecSnap is built for (in: logos, icons, illustrations) or like a photograph (photo), read by the engine before converting; null when not read (a result converted before it). lineArt: whether the drawing is made of lines, so a single-line version may suit it. plot: a single-line version's figures for a machine.
Path
ididrequired
Errors
| Status | Code | What to do |
|---|---|---|
| 404 | not_ | Check the id. Another account's objects read as not found too. |
| 409 | conversion_ | Convert the image again. Converting is free. |
| 409 | not_ | Use a live key for it, or test the conversion and its SVG files. |
| 409 | not_ | Wait for it to finish (a webhook, the events stream, or a read), then ask again. |
| 409 | result_ | Convert the image again. |
| 429 | compute_ | Come back after Retry-After (UTC midnight). |
| 429 | derive_ | Nothing was done. Send it again in a moment (Retry-After). |
| 429 | editing_ | Come back after Retry-After (UTC midnight), or take a plan: a customer's editing is its own. |
| 502 | derive_ | Try again. The coarser picture still shows. |
It may also answer the 12 refusals every call here can, listed at the page's end.
Every refusal carries its code and a requestId. Errors and retries.
GET/v1/conversions/{id}/cleaned
What a Clean did
Every tier, a Clean's only (tool: clean): the upload's anchor points and the result's, the upload's size, the distance every outline was kept within, and each step that acted, by its setting's name (cleanOptions). A Redraw has none: 404 not_found.
Path
ididrequired
Errors
| Status | Code | What to do |
|---|---|---|
| 404 | not_ | Check the id. Another account's objects read as not found too. |
| 409 | conversion_ | Convert the image again. Converting is free. |
| 409 | not_ | Wait for it to finish (a webhook, the events stream, or a read), then ask again. |
| 409 | result_ | Convert the image again. |
It may also answer the 12 refusals every call here can, listed at the page's end.
Every refusal carries its code and a requestId. Errors and retries.
GET/v1/conversions/{id}/shapes
The result's shapes
Every tier, like the preview: a web file's shapes in the engine's order, and a link to its ID PICTURE at the preview's size: every pixel's color − 1 is the shape on top there, transparent where none is, never a blended pixel. Decode it with color conversion and premultiplying off. Its deeper zoom: POST /conversions/{id}/tiles with the layer ids-{format}. The default web file's is made with the conversion; another's on the first ask; then served.
Path
ididrequired
Query
formatstring- A web file's id; the default web file when left out.
variantid- A revision of the result (POST /conversions/{id}/variants): the same, under its edits and colors (audit
editor-2026-10-27§ 19).
Errors
| Status | Code | What to do |
|---|---|---|
| 404 | not_ | Check the id. Another account's objects read as not found too. |
| 404 | variant_ | Use a variant id this result listed. |
| 409 | conversion_ | Convert the image again. Converting is free. |
| 409 | not_ | Use a live key for it, or test the conversion and its SVG files. |
| 409 | not_ | Wait for it to finish (a webhook, the events stream, or a read), then ask again. |
| 409 | result_ | Convert the image again. |
| 429 | compute_ | Come back after Retry-After (UTC midnight). |
| 429 | derive_ | Nothing was done. Send it again in a moment (Retry-After). |
| 429 | editing_ | Come back after Retry-After (UTC midnight), or take a plan: a customer's editing is its own. |
| 502 | derive_ | Try again. The coarser picture still shows. |
It may also answer the 12 refusals every call here can, listed at the page's end.
Every refusal carries its code and a requestId. Errors and retries.
GET/v1/conversions/{id}/lift
Lift a shape
Every tier, like the preview: two short-lived URLs to MOVE a shape on screen before the move is saved. without is the web file without the shape (its preview with one hide more, never saved), alone the shape alone, every other one hidden and drawn whole where another covered it; both 2048 px on the long side, lying exactly on the preview. shape is its number in a revision's edits (the Shapes table's shape); the ground can only be hidden, never lifted. Moving it is then ONE place edit (POST /conversions/{id}/variants).
Path
ididrequired
Query
shapeintegerrequired- The shape, by its number in a revision's edits (the Shapes table's
shape). formatstring- A web file's id; the web default when left out.
variantid- A revision of the result: the shape under its edits and colors.
Errors
| Status | Code | What to do |
|---|---|---|
| 404 | not_ | Check the id. Another account's objects read as not found too. |
| 404 | variant_ | Use a variant id this result listed. |
| 409 | conversion_ | Convert the image again. Converting is free. |
| 409 | not_ | Use a live key for it, or test the conversion and its SVG files. |
| 409 | not_ | Wait for it to finish (a webhook, the events stream, or a read), then ask again. |
| 409 | result_ | Convert the image again. |
| 429 | compute_ | Come back after Retry-After (UTC midnight). |
| 429 | derive_ | Nothing was done. Send it again in a moment (Retry-After). |
| 429 | editing_ | Come back after Retry-After (UTC midnight), or take a plan: a customer's editing is its own. |
| 502 | derive_ | Try again. The coarser picture still shows. |
It may also answer the 12 refusals every call here can, listed at the page's end.
Every refusal carries its code and a requestId. Errors and retries.
GET/v1/conversions/{id}/anchors
Read a shape's anchors
Once the image is UNLOCKED (402 unlock_required before: the anchors are the file's geometry): a shape's anchor points as data, numbered exactly as the anchor edits name them (point, corner, add_point, delete_point, fillet, saved by POST /conversions/{id}/variants), on the shape as the revision edits it. x and y are in the file's own units (the Shapes table's). reach is the largest fillet radius that fits there (reachExact: every radius up to it fits, between two straight sides); segment the one leaving the anchor (add_point's at is a place on it; an arc takes none). A shape no anchor edit addresses answers an empty list.
Path
ididrequired
Query
shapeintegerrequired- The shape, by its number in a revision's edits (the Shapes table's
shape). formatstring- A web file's id; the web default when left out.
variantid- A revision of the result: the shape under its edits.
Errors
| Status | Code | What to do |
|---|---|---|
| 402 | unlock_ | Unlock it (1 credit, once per image), then send the same request again. |
| 404 | not_ | Check the id. Another account's objects read as not found too. |
| 404 | variant_ | Use a variant id this result listed. |
| 409 | conversion_ | Convert the image again. Converting is free. |
| 409 | not_ | Use a live key for it, or test the conversion and its SVG files. |
| 409 | not_ | Wait for it to finish (a webhook, the events stream, or a read), then ask again. |
| 409 | result_ | Convert the image again. |
| 429 | compute_ | Come back after Retry-After (UTC midnight). |
| 429 | derive_ | Nothing was done. Send it again in a moment (Retry-After). |
| 429 | editing_ | Come back after Retry-After (UTC midnight), or take a plan: a customer's editing is its own. |
| 502 | derive_ | Try again. The coarser picture still shows. |
It may also answer the 12 refusals every call here can, listed at the page's end.
Every refusal carries its code and a requestId. Errors and retries.
GET/v1/conversions/{id}/try
Try edits
Every tier, like the preview: a short-lived URL to the web file's preview with EDITS after a revision's own (or the result's), NEVER saved: what a press would draw before it is pressed. edits is a JSON list of 1 to 8 edits, in a revision's numbering and vocabulary (POST /conversions/{id}/variants); saving the same edits later draws from the same picture. Counted on its own budget, apart from what saving needs. An edit only the engine draws (simplify, round, point, corner, add_point, delete_point, fillet, merge, subtract, intersect, exclude, offset, outline, weight) is tried once the image is unlocked (402 unlock_required before).
Path
ididrequired
Query
editsstringrequired- The edits tried, a JSON list (1 to 8).
formatstring- A web file's id; the web default when left out.
variantid- A revision of the result: the edits tried after its own, under its colors.
Errors
| Status | Code | What to do |
|---|---|---|
| 402 | unlock_ | Unlock it (1 credit, once per image), then send the same request again. |
| 404 | not_ | Check the id. Another account's objects read as not found too. |
| 404 | variant_ | Use a variant id this result listed. |
| 409 | conversion_ | Convert the image again. Converting is free. |
| 409 | not_ | Use a live key for it, or test the conversion and its SVG files. |
| 409 | not_ | Wait for it to finish (a webhook, the events stream, or a read), then ask again. |
| 409 | result_ | Convert the image again. |
| 429 | compute_ | Come back after Retry-After (UTC midnight). |
| 429 | derive_ | Nothing was done. Send it again in a moment (Retry-After). |
| 429 | editing_ | Come back after Retry-After (UTC midnight), or take a plan: a customer's editing is its own. |
| 429 | try_ | Apply the edit without its preview, or come back after Retry-After (UTC midnight). |
| 502 | derive_ | Try again. The coarser picture still shows. |
It may also answer the 12 refusals every call here can, listed at the page's end.
Every refusal carries its code and a requestId. Errors and retries.
Refusals every call here can answer
Each means the same everywhere; every code the API answers has its own entry.
- 400invalid_
idUse the id exactly as the API returned it. - 401invalid_
api_ keyCopy the key again, or make a new one on the developer page. - 401invalid_
passRefresh it, or connect the app to VecSnap again. - 401unauthenticatedSign in again, or send a valid key as Authorization: Bearer.
- 403account_
stoppedWrite to VecSnap's support to talk about it. - 403email_
unverifiedVerify the address with the provider, or sign in with the email code. - 403plan_
requiredChoose Pro, or use test mode: it is free. - 409account_
existsSign in with that account. - 422email_
refusedUse another address. - 429rate_
limitedWait the Retry-After seconds, then send it again. - 500internal_
errorSend it again. If it keeps failing, quote the requestId to support. - 503auth_
unavailableSend it again in a few seconds.