Skip to main content
GET
/
v0
/
permissions
curl --request GET \
  --url 'https://api.unify.ai/v0/permissions?resource_type=None' \
  --header "Authorization: Bearer $UNIFY_KEY"
{
    "id": "integer",
    "name": "string",
    "description": "string | null",
    "resource_type": "string",
    "action": "string",
    "created_at": "string"
}
List all available permissions, optionally filtered by resource type. :param resource_type: Optional filter by resource type (e.g., ‘project’, ‘interface’). :param session: Database session. :return: List of permissions.

Authorizations

Authorization
string
required
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

resource_type
string | null
curl --request GET \
  --url 'https://api.unify.ai/v0/permissions?resource_type=None' \
  --header "Authorization: Bearer $UNIFY_KEY"
{
    "id": "integer",
    "name": "string",
    "description": "string | null",
    "resource_type": "string",
    "action": "string",
    "created_at": "string"
}