Skip to main content
GET
/
measurements
/
units
List Measurement Units
curl --request GET \
  --url https://v1.api.flux-os.com/measurements/units \
  --header 'x-api-key: <api-key>' \
  --header 'x-user-id: <api-key>'
{
  "data": [
    {
      "name": "<string>",
      "abbreviation": "<string>",
      "id": "<string>",
      "html_symbol": null,
      "type": "VOLUME"
    }
  ],
  "meta": {
    "current_page": 123,
    "total_pages": 123,
    "total_items": 123,
    "per_page": 123
  }
}

Authorizations

x-api-key
string
header
required
x-user-id
string
header
required

Query Parameters

page
integer
default:1

Page number for pagination

Required range: x >= 1
name
string

Filter by measurement unit name

abbreviation
string

Filter by measurement unit abbreviation

type
enum<string>

Filter by measurement unit type

Available options:
VOLUME,
TEMPERATURE,
DIMENSIONLESS,
DENSITY,
DISTANCE,
PRESSURE,
VISCOSITY,
MASS RATIO,
ENERGY,
FLOW RATE,
POWER,
PARTICLE SIZE

Response

A paginated list of measurement units.

data
object[]
meta
object