Get approval
Check a change that waited for a person: whether it was approved and ran, was declined or lapsed, and once done, what it returned. Only for changes this key proposed.
/v1/w/{workspace}/approvals/{approvalId}Path parameters
workspacestringrequiredYour workspace’s address name.
approvalIdstringrequiredThe approvalId from the 202 answer, like ap_….
Response
approvalIdstringrequiredstatusstringrequiredpending (waiting for a person), running, done, failed, unknown (the change may or may not have happened: check before trying again), declined, cancelled, expired, or stale (what it changes moved on since; a person refreshes it in Olamma).
toolstringrequiredThe tool the change runs, like publish_release.
previewobjectWhat the approver sees.
expiresAtstringrequireddecidedBystringdecidedAtstringreasonstringWhy it was declined, when the approver said.
resultobjectOnce done: what the change returned, the same as the endpoint would have.
errorstringOnce failed or unknown: what went wrong.
resultRefsstring[]Details
Read your proposal or one from an agent you own, including its decision and result.