---
title: "Get a memory proposal"
---

> 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.

# Get a memory proposal

Path: CloudRaker Workspace API › Organization Settings

`GET /organization/assistant-policy/proposals/{n}`

Returns one proposal with its file changes.

## Authentication

- `bearerAuth`, http, header `Authorization`

## Path parameters

- `n` (`getOrganizationAssistantPolicyProposal.path.n`; integer, required)
  - min 1; max 9007199254740991

## Code samples

### cURL

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

### TypeScript

```typescript
const url = 'https://api.cloudraker.com/organization/assistant-policy/proposals/<n>';
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/organization/assistant-policy/proposals/<n>"

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

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

print(response.text)
```

## Responses

### 200

Get a memory proposal

#### Example

```json
{
  "data": {
    "number": 0,
    "from": "string",
    "into": "string",
    "state": "open",
    "title": "string",
    "author": {
      "name": "string",
      "email": "string"
    },
    "createdAt": "string",
    "mergedSha": "string",
    "compare": {
      "property1": null,
      "property2": null
    }
  }
}
```

- `data` (`getOrganizationAssistantPolicyProposal.response.200.data`; object, required)
  - `number` (`getOrganizationAssistantPolicyProposal.response.200.data.number`; number, required)
  - `from` (`getOrganizationAssistantPolicyProposal.response.200.data.from`; string, required)
  - `into` (`getOrganizationAssistantPolicyProposal.response.200.data.into`; string, required)
  - `state` (`getOrganizationAssistantPolicyProposal.response.200.data.state`; string, required)
    - one of `"open"`, `"merged"`, `"closed"`
  - `title` (`getOrganizationAssistantPolicyProposal.response.200.data.title`; string, required)
  - `author` (`getOrganizationAssistantPolicyProposal.response.200.data.author`; object, required)
    - `name` (`getOrganizationAssistantPolicyProposal.response.200.data.author.name`; string, required)
    - `email` (`getOrganizationAssistantPolicyProposal.response.200.data.author.email`; string, required)
  - `createdAt` (`getOrganizationAssistantPolicyProposal.response.200.data.createdAt`; string, required)
  - `compare` (`getOrganizationAssistantPolicyProposal.response.200.data.compare`; any of, required) — The proposed file changes; null when the proposed branch is gone.
    - any of: `map<unknown>`, `null`
  - `mergedSha` (`getOrganizationAssistantPolicyProposal.response.200.data.mergedSha`; string, optional)

### 400

Validation Error

#### Example

```json
{
  "success": false,
  "error": [
    null
  ],
  "data": null
}
```

- `success` (`getOrganizationAssistantPolicyProposal.response.400.success`; boolean, required)
  - one of `false`
- `error` (`getOrganizationAssistantPolicyProposal.response.400.error`; array<unknown>, required)
- `data` (`getOrganizationAssistantPolicyProposal.response.400.data`; unknown, required)

### 403

`forbidden`: only an organization administrator may edit the assistant policy.

#### Example

```json
{
  "error": "string",
  "error_code": "string",
  "issues": [
    {
      "path": "string",
      "code": "string",
      "message": "string"
    }
  ]
}
```

- `error` (`getOrganizationAssistantPolicyProposal.response.403.error`; string, required) — The sentence a human reads.
- `error_code` (`getOrganizationAssistantPolicyProposal.response.403.error_code`; string, required) — The stable snake_case branch key.
- `issues` (`getOrganizationAssistantPolicyProposal.response.403.issues`; array<object>, optional) — Per-field detail, present only on a validation failure.
  - `path` (`getOrganizationAssistantPolicyProposal.response.403.issues.path`; string, required)
  - `code` (`getOrganizationAssistantPolicyProposal.response.403.issues.code`; string, required)
  - `message` (`getOrganizationAssistantPolicyProposal.response.403.issues.message`; string, required)


Source: https://docs.cloudraker.com/workspace/api/organization-settings/get-organization-assistant-policy-proposal/index.md
