Get a procedure checklist and run log
GET
/v1/procedures/{policyId}/runs
const url = 'https://api.varman.io/v1/procedures/pol_abc123def456/runs';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/procedures/pol_abc123def456/runs \ --header 'X-API-Key: <X-API-Key>'Returns the ordered checklist steps of a procedure and its latest 100 runs (who ran it, when, steps completed and notes), newest first. Use the run log as evidence that the procedure is followed.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”policyId
required
string
Example
pol_abc123def456Procedure id (a policy with kind procedure)
Header Parameters
Section titled “Header Parameters”X-Organization-Id
string