---
title: "List organization policy suggestions"
url: https://hexelstudio.com/docs/api/titan/management/list-organization-policy-suggestions
---

# List organization policy suggestions

**GET** `/titan/management/policy/suggestions`

The open policy suggestions of one page of the caller's organization's deployments, in the deployments list's order: each provisioned deployment with what GET .../deployments/{id}/policy/suggestions lists for it (the console's inbox makes one call). A deployment whose list cannot be read is listed with that list's code in error (for example POLICY_SIGNALS_UNAVAILABLE or FORBIDDEN) and no suggestions. Same permission and switch as the per-deployment list; each deployment's signals are read with the caller's own token.

## Query parameters

- `cursor: optional string`

  Opaque organization-scoped cursor from next_cursor (the deployments list's).

- `limit: optional integer`

  Deployments read for this page; a deployment that is not provisioned is left out, so a page may list fewer.

  Default: `10`

## Headers

- `Authorization: string`

  `Bearer <token>`. A Hexel Studio access token for a member or a service user of your organization (or send a service user's API key as X-API-Key).

## Returns

`200` Organization-scoped result. (`OrgPolicySuggestionPage`)

- `deployments: array of object`

  - `base_source_digest: string`

  - `deployment_id: string`

  - `drafts_enabled: optional boolean`

  - `enforcement_deployment_id: string`

  - `error: optional string`

  - `evidence_truncated: boolean`

  - `suggestions: array of object`

    - `evidence: optional object`

      - `count: optional integer`

      - `first_at: optional string`

      - `last_at: string`

      - `sessions: optional integer`

      - `window_days: integer`

    - `evidence_digest: string`

    - `group: optional object`

      - `agent_id: string`

      - `capability_id: string`

      - `delegated: boolean`

      - `deployment_id: string`

      - `operation: string`

      - `resource_id: optional string`

      - `resource_type: string`

    - `kind: string`

    - `options: array of object`

      - `approval_profile_required: boolean`

      - `option: string`

    - `rule_ids: array of string`

    - `suggestion_id: string`

    - `template: optional object`

      - `capability_bundle_digest: string`

      - `capability_bundle_generation: integer`

      - `name: string`

      - `rules_digest: string`

      - `template_id: string`

      - `template_version: integer`

    - `text: optional string`

  - `templates_unavailable: optional boolean`

- `drafts_enabled: optional boolean`

- `next_cursor: optional string`

## Errors

- `400` Invalid query (only cursor and limit, each at most once; limit 1-25) or cursor.
- `401` Missing or invalid authenticated context.
- `403` Organization mismatch, or titan:policy:read is denied.
- `404` NOT_FOUND while the caller's organization does not have policy suggestions.
- `405` HTTP method is not supported on this route.
- `503` Local storage unavailable.

## Example

```bash
curl --request GET \
  --url 'https://api.hexelstudio.com/v1/titan/management/policy/suggestions' \
  --header "Authorization: Bearer $ACCESS_TOKEN"
```

### Response (200)

```json
{
  "deployments": [
    {
      "base_source_digest": "string",
      "deployment_id": "string",
      "drafts_enabled": true,
      "enforcement_deployment_id": "string",
      "error": "string",
      "evidence_truncated": true,
      "suggestions": [
        {
          "evidence": {
            "count": 0,
            "first_at": "2026-01-01T00:00:00Z",
            "last_at": "2026-01-01T00:00:00Z",
            "sessions": 0,
            "window_days": 0
          },
          "evidence_digest": "string",
          "group": {
            "agent_id": "string",
            "capability_id": "string",
            "delegated": true,
            "deployment_id": "string",
            "operation": "string",
            "resource_id": "string",
            "resource_type": "string"
          },
          "kind": "string",
          "options": [
            {
              "approval_profile_required": true,
              "option": "string"
            }
          ],
          "rule_ids": [
            "string"
          ],
          "suggestion_id": "string",
          "template": {
            "capability_bundle_digest": "string",
            "capability_bundle_generation": 0,
            "name": "string",
            "rules_digest": "string",
            "template_id": "string",
            "template_version": 0
          },
          "text": "string"
        }
      ],
      "templates_unavailable": true
    }
  ],
  "drafts_enabled": true,
  "next_cursor": "string"
}
```

### Response (400)

```json
{
  "error": {
    "billing_url": "string",
    "code": "string",
    "message": "string"
  }
}
```

### Response (401)

```json
{
  "error": {
    "billing_url": "string",
    "code": "string",
    "message": "string"
  }
}
```

### Response (403)

```json
{
  "error": {
    "billing_url": "string",
    "code": "string",
    "message": "string"
  }
}
```

### Response (404)

```json
{
  "error": {
    "billing_url": "string",
    "code": "string",
    "message": "string"
  }
}
```

### Response (405)

```json
{
  "error": {
    "billing_url": "string",
    "code": "string",
    "message": "string"
  }
}
```

### Response (503)

```json
{
  "error": {
    "billing_url": "string",
    "code": "string",
    "message": "string"
  }
}
```
