# Simulate a policy against a store's scripts (no changes)

> POST /policies/{id}/simulate endpoint of the Proteside API: parameters, request body, responses and code samples.

URL: https://docs.proteside.com/en/docs/api/reference/policies/simulatePolicy

## Method and route

`POST /policies/{id}/simulate`

## Parameters

- `id` (path, `string`, required)
- `org_id` (query, `string`): Partners only (`orgs:manage`): act on this child organization. May also be sent as `org_id` in JSON bodies.

## Request body

- `store_id` (`string`): Required for organization-level policies

## Responses

- `200`: Simulation
- `400`: Validation error
- `404`: Not found in the acting organization

Full OpenAPI specification: https://app.proteside.com/api/v1/openapi.json
