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

Timeseries

Get timeseries data

post

Returns paginated timeseries data for one or more variables of the same machine in a tabular structure, where the first column always represents the timestamp of a row and the following columns hold the variables' data for the given timestamp: e.g. [time, variable_uuid_1, variable_uuid_2, variable_uuid_3].

Note: The sequence of variables from the request is preserved in the response:

A request for ?variables=A,B will yield response data with columns [time, A, B], whereas ?variables=B,A will yield response data with columns [time, B, A].

Authorizations
AuthorizationstringRequired
Body
machinestringRequired

A UUID for a machine

startstring Β· date-timeRequired

Datetime with timezone in ISO Format e.g. '2000-01-01T09:04:41.783348+00:00'

endstring Β· date-timeRequired

Datetime with timezone in ISO Format e.g. '2000-01-02T09:04:41.783348+00:00'

resampling_intervalinteger Β· min: 10 Β· max: 604800 Β· nullableOptional
cursorstringOptional
limitinteger Β· min: 1 Β· max: 10000Optional

Caps the page size. Defaults to 10000, which is also the maximum; a value below 1 or above 10000 is rejected. A resampled query may return fewer rows per page. A row counts against the limit even when every requested variable in it is null.

Default: 10000
Responses
200

Successful Response

application/json
post/v2/timeseries
POST /api/v2/timeseries HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 230

{
  "machine": "text",
  "start": "2026-01-01T00:00:00.000Z",
  "end": "2026-01-01T00:00:00.000Z",
  "resampling_interval": 1,
  "variables": [
    {
      "uuid": "123e4567-e89b-12d3-a456-426614174000",
      "resampling_method": "first"
    }
  ],
  "cursor": "text",
  "limit": 10000
}
{
  "metadata": {
    "next_cursor": "text"
  },
  "data": {
    "columns": [
      "time",
      "79a590fc-622d-490a-9df2-1527d5cdf082",
      "0fc7a383-521e-4ba3-82fb-24225e74c93c"
    ],
    "records": [
      [
        "2023-01-03T14:00:00.0+00:00",
        1,
        2
      ],
      [
        "2023-01-03T14:00:10.0+00:00",
        2,
        3
      ]
    ]
  }
}

Last updated