Get a KPI
GET
/v1/kpis/{id}
const url = 'https://api.varman.io/v1/kpis/example';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/example \ --header 'X-API-Key: <X-API-Key>'Returns one KPI with its result history, current health, objective and the controls and requirements it gives evidence for.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Header Parameters
Section titled “Header Parameters”X-Organization-Id
string