Skip to content

Record a KPI result

POST
/v1/kpis/{id}/measurements
curl --request POST \
--url https://api.varman.io/v1/kpis/example/measurements \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <X-API-Key>' \
--data '{ "value": 92.5, "periodDate": "2026-09-30", "notes": "Two people on leave." }'

Records the value for the period containing periodDate (default today). Recording the same period again replaces the earlier value.

id
required
string
X-Organization-Id
string
Media typeapplication/json
object
value
required
number

Example

92.5
periodDate

Any date inside the period being measured. Defaults to today (current period).

string

Example

2026-09-30
notes
string

Example

Two people on leave.