Skip to content
NestSolver Docs
Browse the docs

Reference

Export a finished plan

GET /v1/plans/{id}/exports/{format}

A nest's DXF, one sheet's SVG (pick it with ?sheet, from 0), part labels, or the print packet; a load's print packet, CSV or Excel workbook (each item with its loading step, each space's centre of gravity, and what didn't fit), or its pallet labels, which need the Works plan: free. A load has no DXF or SVG.

Headers and parameters

Field Type Meaning
id (path) required string
format (path) required string One of dxf , svg , labels , packet , csv , excel
sheet (query) integer Which sheet an SVG draws, from 0.

Responses

Status When Body
200 The file. —
401 No live API key. Errors
403 A load's pallet labels need the Works plan; `upgrade` names it. Errors
404 No such plan in the key's workspace, or no such export of it: a load has no DXF or SVG, and an SVG no such sheet. Errors
429 More than 300 free calls this minute (60 on Free), or more than 600 calls from this address. Errors
500 Something went wrong on our side; try again. Errors

Example

A sample request:

curl "https://api.nestsolver.com/v1/plans/<id>/exports/dxf" \
  -H "Authorization: Bearer $NESTSOLVER_KEY"