Skip to main content
GET
/
material-sourcing-configs
/
{id}
/
versions
List versions of a material sourcing config
curl --request GET \
  --url https://api.demo.cula.earth/tracking/v1/material-sourcing-configs/{id}/versions \
  --header 'Authorization: Bearer <token>' \
  --header 'Cula-Organisation-Id: <cula-organisation-id>'
{
  "data": [
    {
      "id": "scv_01kqzcjrpyf27tgefhb58rc9d4",
      "config_id": "stc_01kqzcjrpyf27tgeeekpvvx0zt",
      "name": "Corn Harvest",
      "published_at": "2026-01-15T08:00:00Z",
      "data_point_configs": [
        {
          "id": "dpc_01kqzcjrpyf27tgeu7c16b3dct",
          "name": "Weight gross",
          "type": "amount",
          "is_mandatory": true,
          "accepts_input": true,
          "default_input_value": "<string>",
          "amount_base": "weight",
          "validation": {},
          "select_config": {
            "options": [
              {
                "label": "<string>",
                "value": "<string>"
              }
            ]
          }
        }
      ],
      "output_config": {
        "id": "mcc_01kqzcjrpyf27tgenyy2stmy5z",
        "name": "Corn Payload",
        "data_point_configs": [
          {
            "id": "dpc_01kqzcjrpyf27tgeu7c16b3dct",
            "name": "Weight gross",
            "type": "amount",
            "is_mandatory": true,
            "accepts_input": true,
            "default_input_value": "<string>",
            "amount_base": "weight",
            "validation": {},
            "select_config": {
              "options": [
                {
                  "label": "<string>",
                  "value": "<string>"
                }
              ]
            }
          }
        ]
      },
      "next_version_id": null
    }
  ]
}

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.

Path Parameters

id
string
required

Cula-assigned resource ID in TypeID format (e.g. stp_01kqzcjrpxf27tge33jwvjhkff). Alternatively, pass your external ID prefixed with ext- (e.g. ext-MY-STEP-001). The ext- prefix is unambiguous because TypeIDs use _ separators and never start with ext-.

Response

List of config versions.

data
object[]
required