List KPIs
GET
/v1/kpis
const url = 'https://api.varman.io/v1/kpis?controlId=ctl_abc123';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.varman.io/v1/kpis?controlId=ctl_abc123' \ --header 'X-API-Key: <X-API-Key>'Returns security KPIs with their last 12 results, latest value, health (on_track, at_risk, missed, measurement_due, no_data) and counts per health. Filter by controlId to get the KPIs that give evidence for a control.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”X-Organization-Id
string
Query Parameters
Section titled “Query Parameters”controlId
string
Example
ctl_abc123Only KPIs linked to this control