API referenceGrants
`GET /grants` — list the org's scope grants, with optional filters.
GET
/grantsQuery Parameters
subject_type?string
Filter by subject kind (user, team, app)
subject_id?string
Filter by subject id
resource_id?string
Filter to grants whose target is this resource id
Response Body
application/json
curl -X GET "https://example.com/grants"{ "data": [ { "created_at": "string", "granted_by": "string", "id": "string", "scope": "string", "subject_id": "string", "subject_type": "user", "target": "string", "updated_at": "string" } ], "page": 0, "page_size": 0, "total": 0, "total_pages": 0}