Robots Center Agents Network
Log in Create workspace
Skip to content

Gateway

Gateway policy simulator

Operators dry-run an authorization decision at /app/gateway/simulator without executing a connector. The same fields are accepted by POST /api/v1/operator/policy_simulations.

API docs
On this page

01 Console

details

/app/gateway/simulator

Choose connector_id, actor_type (user or service_agent), action_name, optional payload JSON, and advanced environment, risk_score, and amount. The result shows decision, matched grants, and explanation.decision_path.

02 API body

details

Not an opaque map

POST /api/v1/operator/policy_simulations reads action_name or action (required), connector_id or connector_slug, actor_type=service_agent plus service_agent_id, payload, environment, amount, and risk_score. Missing action returns invalid_action_name. Response: decision, connector, matched_grants, matched_policy, matched_conditions, unmatched_conditions, reviewer_roles, explanation (including decision_path and freeze_reason). Owner or admin membership is required (403 admin_required).

Related docs

see also