Skip to content

Create a KPI

POST
/v1/kpis
curl --request POST \
--url https://api.varman.io/v1/kpis \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <X-API-Key>' \
--data '{ "name": "Security awareness training completion", "description": {}, "unit": "percent", "direction": "higher_better", "target": 95, "warningThreshold": 85, "frequency": "monthly", "dataSource": {}, "objectiveId": "sobj_abc123", "ownerMemberId": "mem_abc123" }'

Create a KPI in Varman. Set ISO 27001 security objectives, track KPIs per period, compute values from platform data and link results to controls as evidence.

X-Organization-Id
string
Media typeapplication/json
object
name
required
string

Example

Security awareness training completion
description
object
unit
required
string
Allowed values: percent count days hours currency
direction
required
string
Allowed values: higher_better lower_better
target
required
number

Example

95
warningThreshold

Value between target and failure that counts as at risk. Null means none.

object

Example

85
frequency
required
string
Allowed values: monthly quarterly annually
dataSource

Where the number comes from

object
objectiveId
object

Example

sobj_abc123
ownerMemberId
object

Example

mem_abc123