Commit a gated action
commit_gated_actionAsk whether an action of this kind is authorized. Ogen says yes only when it is sure; anything else waits for a person, and it never guesses. Ogen never performs the action itself — your own system does that once this says yes. An unregistered kind is refused. Free tier: only the demo kinds. Record: any registered kind. Once a person confirms, calling again with the same kind returns disposition "released" and a release_ticket — give it to the system that runs the action.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Optional: the arguments you will run the action with. Ogen keeps only their fingerprint, for the release ticket a confirmation issues. | |
| kind | Yes | An action kind, e.g. one registered with register_action. | |
| principal | No | THE HOSTED REQUESTER: required when this kind was registered with approver "principal" — the hold then waits for the person named here, never a registered approver. Refused for any other kind. Nothing but the address. |