> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nekt.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Semantic Layer Permissions

> Browse grants on the Semantic Layer.

Filter by `catalog`, `folder`, `document`, `user`, `group`, or `permission_level`.

```bash theme={null}
curl --request GET \
  --url "https://api.nekt.ai/api/v1/semantic-layer/permissions/?expand=user,document" \
  --header "x-api-key: YOUR_API_KEY"
```

Revoked grants are never returned.


## OpenAPI

````yaml GET /api/v1/semantic-layer/permissions/
openapi: 3.0.3
info:
  title: Nekt API
  version: v1
  description: Nekt API Documentation
  contact:
    email: support@nekt.ai
servers:
  - url: https://api.nekt.ai
security: []
paths:
  /api/v1/semantic-layer/permissions/:
    get:
      tags:
        - v1
      description: Grants CRUD, mirroring LakehousePermissionsViewSet.
      operationId: v1_semantic_layer_permissions_list
      parameters:
        - in: query
          name: catalog
          schema:
            type: string
            format: uuid
        - in: query
          name: document
          schema:
            type: string
            format: uuid
        - in: query
          name: folder
          schema:
            type: string
            format: uuid
        - in: query
          name: group
          schema:
            type: string
            format: uuid
        - name: page
          required: false
          in: query
          description: A page number within the paginated result set.
          schema:
            type: integer
        - name: page_size
          required: false
          in: query
          description: Number of results to return per page.
          schema:
            type: integer
        - in: query
          name: permission_level
          schema:
            type: string
            enum:
              - editor
              - manager
              - viewer
          description: |-
            * `manager` - Manager
            * `editor` - Editor
            * `viewer` - Viewer
        - in: query
          name: user
          schema:
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedSemanticLayerPermissionList'
          description: ''
      security:
        - ApiKeyAuth: []
components:
  schemas:
    PaginatedSemanticLayerPermissionList:
      type: object
      required:
        - count
        - results
      properties:
        count:
          type: integer
          example: 123
        next:
          type: string
          nullable: true
          format: uri
          example: http://api.example.org/accounts/?page=4
        previous:
          type: string
          nullable: true
          format: uri
          example: http://api.example.org/accounts/?page=2
        results:
          type: array
          items:
            $ref: '#/components/schemas/SemanticLayerPermission'
    SemanticLayerPermission:
      type: object
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
        user:
          type: string
          readOnly: true
          description: User (Expandable)
        group:
          type: string
          readOnly: true
          description: Group (Expandable)
        permission_level:
          $ref: '#/components/schemas/PermissionLevelEnum'
        catalog:
          type: string
          format: uuid
          readOnly: true
          nullable: true
        folder:
          type: string
          readOnly: true
          description: Folder (Expandable)
        document:
          type: string
          readOnly: true
          description: Document (Expandable)
        granted_by:
          type: string
          readOnly: true
          description: Granted by (Expandable)
        created_at:
          type: string
          format: date-time
          readOnly: true
        updated_at:
          type: string
          format: date-time
          readOnly: true
      required:
        - catalog
        - created_at
        - document
        - folder
        - granted_by
        - group
        - id
        - permission_level
        - updated_at
        - user
    PermissionLevelEnum:
      enum:
        - manager
        - editor
        - viewer
      type: string
      description: |-
        * `manager` - Manager
        * `editor` - Editor
        * `viewer` - Viewer
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: 'API Key authentication. Format: ''x-api-key: api_key'''

````