Skip to main content
GET
/
measurements
List measurements
curl --request GET \
  --url https://api.demo.cula.earth/tracking/v1/measurements \
  --header 'Authorization: Bearer <token>' \
  --header 'Cula-Organisation-Id: <cula-organisation-id>'
{
  "data": [
    {
      "id": "msr_01kqzcjrpyf27tge77evmjmnqw",
      "external_id": "GC-RAWGAS-FLOW",
      "name": "Rawgas Upgrade 1 Flow Rates",
      "site": {
        "id": "ste_01kqzcjrpyf27tge6smsbnhkh5",
        "external_id": "GC-SITE-REFINERY"
      },
      "machine": {
        "id": "mch_01kqzcjrpyf27tge77evmjmnqw",
        "external_id": "GC-RAWGAS-UPGRADE"
      }
    },
    {
      "id": "msr_01kqzcjrpyf27tge9dnvsqv8t2",
      "external_id": "GC-RAWGAS-TEMP",
      "name": "Rawgas Upgrade 1 Temperatures",
      "site": {
        "id": "ste_01kqzcjrpyf27tge6smsbnhkh5",
        "external_id": "GC-SITE-REFINERY"
      },
      "machine": {
        "id": "mch_01kqzcjrpyf27tge77evmjmnqw",
        "external_id": "GC-RAWGAS-UPGRADE"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

OAuth2 client credentials flow. Exchange your client_id and client_secret for a short-lived access token, then pass it as a Bearer token in the Authorization header.

Headers

Cula-Organisation-Id
string
required

Organisation ID that scopes this request. The authenticated consumer must be authorized for this organisation. Omitting this header returns 400; passing an unauthorised org returns 403.

Query Parameters

site
string

Filter by site ID or ext-{externalId}.

machine
string

Filter by machine ID or ext-{externalId}.

Response

List of measurements.

data
object[]
required