---
title: "Read the organization prompt policy"
---

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

# Read the organization prompt policy

Path: CloudRaker Workspace API › Playbooks

`GET /agent-policy`

The organization’s additive-only prompt policy: short text prepended and appended to every agent’s standing instructions. It ADDS rules — it can never remove or weaken a platform safety, evidence, approval or tool rule, and the agent is told so explicitly. Authorization: any authenticated org member. Response `{ data: { prepend, append, version } }`, zeroed when no policy has been set.

## Authentication

- `bearerAuth`, http, header `Authorization`

## Code samples

### cURL

```bash
curl --request GET \
  --url https://api.cloudraker.com/agent-policy \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.cloudraker.com/agent-policy';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.cloudraker.com/agent-policy"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

The organization prompt policy.

#### Example

```json
{
  "data": {
    "prepend": "string",
    "append": "string",
    "version": -9007199254740991
  }
}
```

- `data` (`getAgentPolicy.response.200.data`; object, required)
  - `prepend` (`getAgentPolicy.response.200.data.prepend`; string, required)
    - maxLength 2000
  - `append` (`getAgentPolicy.response.200.data.append`; string, required)
    - maxLength 2000
  - `version` (`getAgentPolicy.response.200.data.version`; integer, required)
    - min -9007199254740991; max 9007199254740991


Source: https://docs.cloudraker.com/workspace/api/playbooks/get-agent-policy/index.md
