Skip to content
Hexel StudioDocs

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

cursoroptional string

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

limitoptional integerdefault: 10

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

Headers

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

200Organization-scoped result.OrgPolicySuggestionPage

deploymentsarray of object
drafts_enabledoptional boolean
next_cursoroptional string

Errors

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