Skip to main content
GET
What one subject holds in the organization, from grant. (owner/admin/auditor)

Authorizations

Authorization
string
header
required

Supabase JWT token in Authorization: Bearer header

Path Parameters

org_id
string
required

Organization identifier (e.g. org-abc12345)

Query Parameters

subject
string
required

The subject whose holdings are read, as a grant. typed id: user: or service: then [A-Za-z0-9_-]{1,128}, or agent:mnm- then [a-z0-9-]{1,120}.

Maximum string length: 136
Pattern: ^(?:(?:user|service):[A-Za-z0-9_-]{1,128}|agent:mnm-[a-z0-9-]{1,120})$

Response

The subject's holdings in the organization

counts
object[]
required
holdings
object[]
required
approximate
boolean
required