v21

OpenAPI 3.1.0raw.githubusercontent.com2026-08-011060456.0 KB
Permissions

List team permission definitions

Query and filter the permission with team_id, user_id, and permission_id (the equivalent of listing permissions on the Hexclave dashboard)

get/team-permission-definitions

Query parameters

limitinteger

Maximum number of items to return (capped at 200). When set, the response is paginated via cursor.

Maximum number of items to return (capped at 200). When set, the response is paginated via cursor.

cursorstring

Cursor (permission id) to start the next page from. Requires limit to also be set.

Cursor (permission id) to start the next page from. Requires limit to also be set.

querystring

Free-text filter applied to permission id and description (case-insensitive).

Free-text filter applied to permission id and description (case-insensitive).

Response

Successful response

Example response

{
  "items": [
    {
      "id": "read_secret_info",
      "description": "Read secret information",
      "contained_permission_ids": [
        "read_public_info"
      ]
    }
  ],
  "pagination": {
    "next_cursor": "b3d396b8-c574-4c80-97b3-50031675ceb2"
  }
}