AtlaSent — Verify Permit
verify_permitVerify a signed permit before executing a protected action, blocking expired, invalid, replayed, or mismatched tokens to enforce fail-closed authorization.
Instructions
Call this AFTER evaluate returns allow and BEFORE the protected native side effect. It verifies the permit for the presented execution context. Proceed only when valid is true; expired, invalid, replayed, mismatched, or error outcomes must block the action.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor_id | Yes | Identifier for the user or service account the agent is acting on behalf of. | |
| approvals | No | Approval identifiers already obtained for this action (e.g. ticket IDs, reviewer handles). | |
| target_id | No | Target resource the permit is bound to (e.g. service name, artifact id, tool-call target). Presenting a different target at verify yields a binding mismatch. | |
| action_type | Yes | Canon-backed action type (for example production.deploy, agent.tool.invoke, access.grant). Use atlasent_lookup_action to discover governed Action Types. | |
| environment | Yes | Target environment for the action (e.g. production, staging, development). | |
| payload_hash | No | Hash of the exact executed payload (tool-call arguments / artifact digest). Bind it at evaluate via execution_payload_hash; presenting a different hash at verify yields PAYLOAD_MISMATCH. | |
| permit_token | Yes | The permit_token returned by a prior evaluate call. | |
| change_window | No | ISO-8601 time window during which the change is permitted (e.g. 2025-01-15T02:00:00Z/PT4H). |