---
title: "Execute the default decision  given an input"
method: POST
path: "/"
---

# Execute the default decision  given an input

`POST /`

## Query parameters

- `pretty` boolean

## Headers

- `Accept-Encoding` 'gzip'

## Request body

- union — Arbitrary JSON used within your policies by accessing `input`
  - boolean
  - string
  - number
  - unknown[]
    - unknown
  - object

## Response `200`

Success.
Evaluating the default policy has the same response behavior as a successful policy evaluation, but with only the result as the response.

- union — The base or virtual document referred to by the URL path. If the path is undefined, this key will be omitted.
  - boolean
  - string
  - number
  - unknown[]
    - unknown
  - object

## Other responses

- `400` — Bad Request
- `404` — The policy at the specified location is undefined.
- `500` — Server Error

---

[API](https://skmtc.dev/open-policy-agent/apis/eopa-rest-api.md) · [All operations](https://skmtc.dev/open-policy-agent/apis/eopa-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/open-policy-agent/eopa-rest-api/revisions/040f3d9e6786/schema)
