---
title: "policies"
---

> Documentation Index
> Fetch the complete documentation index at: https://buildrforge.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# policies

Path: Forge API

Manage the org's policies, org and repo alike, written as TypeScript. Each change appends a version and applies from the next request. managePolicies on the org decides every policy, and on a repo that repo's.

## Operations

- [listOrgPolicies](https://buildrforge.com/docs/api/list-org-policies/) — `GET /orgs/{org_id}/policies`
- [createOrgPolicy](https://buildrforge.com/docs/api/create-org-policy/) — `POST /orgs/{org_id}/policies`
- [checkOrgPolicy](https://buildrforge.com/docs/api/check-org-policy/) — `POST /orgs/{org_id}/policy-checks`
- [getOrgPolicy](https://buildrforge.com/docs/api/get-org-policy/) — `GET /orgs/{org_id}/policies/{policy_id}`
- [deleteOrgPolicy](https://buildrforge.com/docs/api/delete-org-policy/) — `DELETE /orgs/{org_id}/policies/{policy_id}`
- [listOrgPolicyVersions](https://buildrforge.com/docs/api/list-org-policy-versions/) — `GET /orgs/{org_id}/policies/{policy_id}/versions`
- [createOrgPolicyVersion](https://buildrforge.com/docs/api/create-org-policy-version/) — `POST /orgs/{org_id}/policies/{policy_id}/versions`
- [checkOrgPolicySimulation](https://buildrforge.com/docs/api/check-org-policy-simulation/) — `POST /orgs/{org_id}/policy-simulations`
- [checkOrgPolicyExplanation](https://buildrforge.com/docs/api/check-org-policy-explanation/) — `POST /orgs/{org_id}/policy-explanations`
- [checkOrgPolicyDiff](https://buildrforge.com/docs/api/check-org-policy-diff/) — `POST /orgs/{org_id}/policy-diffs`
- [restoreOrgPolicyVersion](https://buildrforge.com/docs/api/restore-org-policy-version/) — `POST /orgs/{org_id}/policies/{policy_id}/versions/{version_id}/restore`


Source: https://buildrforge.com/docs/api/tags/policies/index.md
