Skip to main content
GET
/
units
JavaScript SDK
const units = await client.units.list();
{
  "items": [
    {
      "externalId": "temperature:deg_c",
      "name": "DEG_C",
      "longName": "degree Celsius",
      "symbol": "°C",
      "aliasNames": [
        "°C",
        "C",
        "deg C",
        "degC",
        "DegC"
      ],
      "quantity": "Temperature",
      "conversion": {
        "multiplier": 1,
        "offset": 273.15
      },
      "source": "qudt.org",
      "sourceReference": "http://qudt.org/vocab/unit/DEG_C"
    }
  ]
}

Authorizations

Authorization
string
header
required

Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.

Response

200 - application/json

Response with a list of units

items
Unit · object[]
required
Last modified on April 23, 2026