Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Machines

Get Machines

get

Returns a list of machines in your organization.

Authorizations
AuthorizationstringRequired
Query parameters
sitestring · uuid[] · max: 50 · nullableOptional
cursorstringOptional
limitinteger · min: 1 · max: 1000Optional

Caps the page size. Defaults to 1000, which is also the maximum; a value below 1 or above 1000 is rejected.

Default: 1000
Responses
200

Successful Response

application/json
get/v2/machines
GET /api/v2/machines HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
  "data": [
    {
      "uuid": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text",
      "site": "123e4567-e89b-12d3-a456-426614174000",
      "genesis_date": "2026-01-01"
    }
  ],
  "metadata": {
    "next_cursor": "text"
  }
}

Create Machine

post

Create a new machine.

Authorizations
AuthorizationstringRequired
Body
namestring · min: 1Required

Name of your Machine. Can be changed later

Example: Extruder X
sitestring · uuidRequired

UUID of the site this machine belongs to

Responses
201

Successful Response

application/json
uuidstring · uuidRequired
namestringRequired
sitestring · uuidRequired
genesis_datestring · dateRequired
post/v2/machines
POST /api/v2/machines HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 67

{
  "name": "Extruder X",
  "site": "123e4567-e89b-12d3-a456-426614174000"
}
{
  "uuid": "123e4567-e89b-12d3-a456-426614174000",
  "name": "text",
  "site": "123e4567-e89b-12d3-a456-426614174000",
  "genesis_date": "2026-01-01"
}

Get Machine

get

Returns details for a specific machine.

Authorizations
AuthorizationstringRequired
Path parameters
uuidstring · uuidRequired
Responses
200

Successful Response

application/json
uuidstring · uuidRequired
namestringRequired
sitestring · uuidRequired
genesis_datestring · dateRequired
get/v2/machines/{uuid}
GET /api/v2/machines/{uuid} HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
  "uuid": "123e4567-e89b-12d3-a456-426614174000",
  "name": "text",
  "site": "123e4567-e89b-12d3-a456-426614174000",
  "genesis_date": "2026-01-01"
}

Update Machine

patch

Update a machine.

Authorizations
AuthorizationstringRequired
Path parameters
uuidstring · uuidRequired
Body
namestring · min: 1Optional

Name of your Machine. Can be changed later

Example: Extruder X
Responses
200

Successful Response

application/json
anyOptional
patch/v2/machines/{uuid}
PATCH /api/v2/machines/{uuid} HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 21

{
  "name": "Extruder X"
}

No content

Delete Machine

delete

Delete a machine

Authorizations
AuthorizationstringRequired
Path parameters
machine_uuidstring · uuidRequired
Responses
204

Successful Response

No content

delete/v2/machines/{machine_uuid}
DELETE /api/v2/machines/{machine_uuid} HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*

No content

Productivity Metrics

post

Get productivity metrics for a specific machine over a set of datetime ranges.

Authorizations
AuthorizationstringRequired
Path parameters
uuidstring · uuidRequired
Body
cursorstringOptional
Responses
200

Successful Response

application/json
post/v2/machines/{uuid}/productivity-metrics
POST /api/v2/machines/{uuid}/productivity-metrics HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 107

{
  "datetime_ranges": [
    {
      "start": "2026-01-01T00:00:00.000Z",
      "end": "2026-01-01T00:00:00.000Z"
    }
  ],
  "cursor": "text"
}
{
  "data": [
    {
      "start": "2026-01-01T00:00:00.000Z",
      "end": "2026-01-01T00:00:00.000Z",
      "availability": {
        "score": 1,
        "time_loss": 1,
        "time_total": 1,
        "time_loss_no_order": 1,
        "time_loss_during_order": 1
      },
      "performance": {
        "score": 1,
        "time_loss": 1,
        "time_total": 1
      },
      "quality": {
        "score": 1,
        "time_loss": 1,
        "time_total": 1
      },
      "productivity": {
        "score": 1,
        "time_loss": 1,
        "time_total": 1
      },
      "quantity_scrap": {
        "unit": "text",
        "value": 1
      },
      "quantity_yield": {
        "unit": "text",
        "value": 1
      },
      "quantity_total": {
        "unit": "text",
        "value": 1
      },
      "quantity_no_order": {
        "unit": "text",
        "value": 1
      },
      "quantity_during_order_without_quality": {
        "unit": "text",
        "value": 1
      },
      "data_quality": {
        "data_coverage": 1,
        "duration_missing_data": 1,
        "runs_missing_scrap": 1
      }
    }
  ],
  "metadata": {
    "next_cursor": "text"
  }
}

Last updated