Check action
check_actionDry-run a proposed AI agent action against organization policies to preview ALLOW, REVIEW, or BLOCK before acting; no events are recorded.
Instructions
Use for what-if questions when you are not about to act. Dry-run a proposed action against the organization policies (POST /v1/policies/test, one case, stored policies). This skips the PII scan and records nothing: no security event and no audit entry. There is no content field and no DLP scan. The result has no event id and no finalDecision. decide_action is the call that records a decision. Dry runs are limited to 60 requests per minute per key. test_policies covers up to 200 cases in one call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | Agent name. The dry run does not accept agentId. | |
| action | Yes | Event action. Allowed values: READ_DATA, WRITE_DATA, DELETE_DATA, EXPORT_DATA, SEND_EMAIL. | |
| resource | Yes | Resource name. The dry run does not accept resourceId. | |
| destination | No | Where the data goes. Allowed values: INTERNAL, EXTERNAL_EMAIL, EXTERNAL_API. | |
| recordsAffected | No | How many records the action would touch. Optional. 0 to 100000000. | |
| containsSensitiveData | No | Hint for policy conditions. This call does not scan content. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | One result per case. |