---
title: "Simulate Action"
method: POST
path: "/v1/actions/simulate"
tags: ["audit"]
---

# Simulate Action

`POST /v1/actions/simulate`

## Request

- Base URL: `https://api.usekeel.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.usekeel.io/v1/actions/simulate`
- Auth: none declared

Dry-run authorization. Side-effect-free -- no reservations or audit events.

## Headers

- `Authorization` string, nullable
- `X-Org-Id` string, nullable

## Request body

- SimulateActionRequest: Request body for POST /v1/actions/simulate.
  - `principal_id` string, required
  - `action` string, required
  - `workspace_id` string, nullable

## Response `200`

Successful Response

- SimulateActionResponse
  - `decision` string, required
  - `denial_reasons` string[], required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/usekeel/apis/keel-api.md) · [All operations](https://skmtc.dev/usekeel/apis/keel-api/llms.txt) · [OpenAPI document](https://skmtc.dev/usekeel/apis/keel-api/revisions/3191ca10b0ab?raw)
