Zum Inhalt springen
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.

Autorisierungen
AuthorizationstringErforderlich
Abfrageparameter
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
Antworten
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.

Autorisierungen
AuthorizationstringErforderlich
Body
namestring · min: 1Erforderlich

Name of your Machine. Can be changed later

Example: Extruder X
sitestring · uuidErforderlich

UUID of the site this machine belongs to

Antworten
201

Successful Response

application/json
uuidstring · uuidErforderlich
namestringErforderlich
sitestring · uuidErforderlich
genesis_datestring · dateErforderlich
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.

Autorisierungen
AuthorizationstringErforderlich
Pfadparameter
uuidstring · uuidErforderlich
Antworten
200

Successful Response

application/json
uuidstring · uuidErforderlich
namestringErforderlich
sitestring · uuidErforderlich
genesis_datestring · dateErforderlich
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.

Autorisierungen
AuthorizationstringErforderlich
Pfadparameter
uuidstring · uuidErforderlich
Body
namestring · min: 1Optional

Name of your Machine. Can be changed later

Example: Extruder X
Antworten
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"
}

Kein Inhalt

Delete Machine

delete

Delete a machine

Autorisierungen
AuthorizationstringErforderlich
Pfadparameter
machine_uuidstring · uuidErforderlich
Antworten
204

Successful Response

Kein Inhalt

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

Kein Inhalt

Productivity Metrics

post

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

Autorisierungen
AuthorizationstringErforderlich
Pfadparameter
uuidstring · uuidErforderlich
Body
cursorstringOptional
Antworten
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"
  }
}

Zuletzt aktualisiert