Skip to content

Log a procedure run

POST
/v1/procedures/{policyId}/runs
curl --request POST \
--url https://api.varman.io/v1/procedures/pol_abc123def456/runs \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <X-API-Key>' \
--data '{ "completedSteps": [ "Export the access list", "Remove leavers" ], "notes": "Two leavers removed from AWS. Ticket OPS-112." }'

Records that the procedure was carried out now by the calling member, with the steps completed and optional notes. Runs are append-only execution evidence.

policyId
required
string

Example

pol_abc123def456

Procedure id (a policy with kind procedure)

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

Steps completed in this run, by exact step text. Unknown steps are ignored.

Array<string>

Example

[
"Export the access list",
"Remove leavers"
]
notes

What happened in this run: findings, exceptions, links to evidence.

string

Example

Two leavers removed from AWS. Ticket OPS-112.