---
title: "GET /policy"
method: GET
path: "/policy"
tags: ["Policy"]
---

# GET /policy

`GET /policy`

Gets the currently active policy in Oso Cloud. The policy is expressed as a string containing [Polar](https://www.osohq.com/docs/modeling-in-polar/reference) code.

## Query parameters

- `id` integer, nullable

## Response `200`

- GetPolicyResult
  - `policy` Policy
    - `filename` string, nullable
    - `src` string, required

## Other responses

- `default`

---

[API](https://skmtc.net/osohq/apis/oso-cloud-http-api.md) · [All operations](https://skmtc.net/osohq/apis/oso-cloud-http-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/osohq/oso-cloud-http-api/versions/edaea3b218bd/schema)
