Approve or deny

Must be a signed-in person. An API key is refused here even though it is accepted everywhere else on this API: a key approving its own agent's action is the agent approving itself with extra steps, and the whole value of the feature is that a human looked.

A decision is final, and an expired approval cannot be approved.

post/approvals/{id}

Request

  • Base URL: https://secureai.one/v1
  • URL: https://secureai.one/v1/approvals/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Request body

decision'approved' | 'denied' required
notestring

Response

The decided approval.

Example response

{
  "approval": {
    "findings": [
      {
        "path": "body.customer.email"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.