Skip to content
NestSolver Docs
Browse the docs

Reference

List saved spaces

GET /v1/spaces

The workspace's saved cartons, pallets and vehicles, each as a space row a load takes, with its id: free.

Headers and parameters

Field Type Meaning
unit (query) string The unit sizes are written in. Without it, the unit the key's owner picked on the web. One of mm , cm , m , in

Responses

Status When Body
200 The saved spaces. Spaces
401 No live API key. Errors
422 A unit outside its choices, named at its field. 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/spaces \
  -H "Authorization: Bearer $NESTSOLVER_KEY"

A 200 answer, required fields only; lists show one item:

{
  "unit": "mm",
  "weight_unit": "kg",
  "spaces": [
    {
      "id": "0192f0c4-7d1e-7c3a-9b2e-5d6f7a8b9c0d",
      "kind": "pallet"
    }
  ]
}