Skip to main content
GET
Get a connection's grants
Availability: Cloud · Community (self-hosted) · Enterprise (self-hosted)

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.

Path Parameters

connectionId
string
required

Response

Per-agent grants for the connection

Which agents hold a grant for one connection (the reverse orientation of AgentGrants).

connectionId
string
agents
object[]