Skip to content
Public API
Esc
↑↓navigate↵open⌘Jpreview

List blanks

List filters are passed as query parameters — see the conventions in the introduction.

GET/blank
Authorization
AuthorizationAPI key · headerrequired

The Incoming Secret value (<secretId>.<random>), with or without a Bearer prefix.

Responses
200

OK.

Array of Blank
idstring

Blank ID

appIdstring

Application ID

namestring

Blank name

materialNamestring

Material name

materialIdstring

Material ID

blankSidstring

Blank SID (autogenerated, read-only)

shapestring

Shape: bar or rod

shapePropertiesobject

Object with width, length, thickness (bar) or diameter, length (rod)

sellPricenumber

Sell price

minLeadTimenumber

Minimum lead time

401

Authentication failed. All causes return this identical response.

codeinteger
messagestring
typestring
default

Downstream errors pass through verbatim; x-error-source names the failing service.

codeinteger
messagestring
typestring
Try it
Server
Authorization
Request
curl -X GET 'https://next.amfg.ai/engine-service/public-api/v1/blank' \
  -H 'Authorization: YOUR_API_KEY'
Response
[
  {
    "id": "1",
    "appId": "1677",
    "name": "25 x 35 x 40 mm",
    "materialName": "CNC material",
    "materialId": "363",
    "blankSid": "PRODUCT-0001",
    "shape": "bar",
    "shapeProperties": {
      "width": 35,
      "length": 40,
      "thickness": 25
    },
    "sellPrice": 10.15,
    "minLeadTime": 50
  }
]