Get decision
get_decisionRetrieve a recorded Vulnify authorization decision by ID and poll until it becomes ALLOW or BLOCK, returning REVIEW if still pending.
Instructions
Read a recorded decision (GET /v1/events/{id}), including a REVIEW. finalDecision is REVIEW while the review is pending, then ALLOW after approval or BLOCK after denial or expiry. decision itself does not change. The finalDecision field is the authoritative result. waitMs polls until finalDecision is ALLOW or BLOCK, or until the bounded wait elapses (30 seconds maximum). waitTimedOut is true when the wait ended and finalDecision is still REVIEW. This does not approve or deny the review.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Decision id returned by decide_action or check_mcp_tool_call. | |
| waitMs | No | When finalDecision is REVIEW, the server polls until finalDecision is ALLOW or BLOCK, or until this many milliseconds pass. Maximum 30000. 0, or omitting the field, returns the current decision immediately. | |
| pollIntervalMs | No | Milliseconds between polls. Default 1000. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Decision id. | |
| waitTimedOut | Yes | True when the wait elapsed and finalDecision is still REVIEW. | |
| finalDecision | Yes | Authoritative result. Allowed values: ALLOW, REVIEW, BLOCK. |