---
title: "Get the organization's computer rules"
method: GET
path: "/v1/org/computer-rules"
tags: ["Organizations"]
---

# Get the organization's computer rules

`GET /v1/org/computer-rules`

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/org/computer-rules`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Shows what the organization allows for tasks and for running code on another computer. Active members may read these rules when Computers is on.

## Response `200`

The computer rules.

- OrganizationComputerRulesResponse
  - `rules` OrganizationComputerRules, required
    - `sessions` 'off' | 'created' | 'all', required
    - `runCode` boolean, required
    - `requireSandboxOnPersonal` boolean, required
  - `runCodeChosen` boolean, required

## Other responses

- `401`: Sign in required.
- `404`: The organization was not found, or Computers is off.

## Changes

- **2026-11-28** `974b1bd609d3`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/org/computer-rules/get.md)

---

[API](https://skmtc.dev/openworklabs/apis/den-api.md) - [All operations](https://skmtc.dev/openworklabs/apis/den-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openworklabs/apis/den-api/revisions/84fb0f99fb95?raw)
