Skip to main content
GET
Get the app-availability policy
Returns the current mode and rules. Use it before you replace the policy. Related guide: App connections: connect agents to apps.
Availability: Cloud · Enterprise (self-hosted). Not available on the Community edition: a self-hosted deployment needs ENTERPRISE_ENABLED=true, otherwise the endpoint answers 403 with error.type: "enterprise_license_required".

Authorizations

Authorization
string
header
required

A workspace API key (oc_…) or organization API key (oc_org_…). Workspace-scoped endpoints called with an organization key also need X-Workspace-Id.

Response

The policy

mode
enum<string>
Available options:
open,
restricted
rules
object[]