> ## 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 Object Permissions

> Browse grants on secrets and live connections.

Filter with `resource_type=secret` or `resource_type=live_connection` to look at one axis at a time, or with `secret`, `live_connection`, `user`, `group`, and `permission_level` to narrow further. `search` matches a secret's key or a live connection's slug.

```bash theme={null}
curl --request GET \
  --url "https://api.nekt.ai/api/v1/organization/object-permissions/?resource_type=secret&expand=user,secret" \
  --header "x-api-key: YOUR_API_KEY"
```

Revoked grants are never returned.


## OpenAPI

````yaml GET /api/v1/organization/object-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/organization/object-permissions/:
    get:
      tags:
        - v1
      description: >-
        Grants CRUD for the "Others" axis (secrets), mirroring
        LakehousePermissionsViewSet.


        The recipients listing lives in object_permission_recipients.py,
        mirroring the

        lakehouse permission.py / permission_recipients.py split.
      operationId: v1_organization_object_permissions_list
      parameters:
        - in: query
          name: group
          schema:
            type: string
            format: uuid
        - in: query
          name: live_connection
          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: resource_type
          schema:
            type: string
            enum:
              - live_connection
              - secret
          description: |-
            Resource type

            * `secret` - secret
            * `live_connection` - live_connection
        - name: search
          required: false
          in: query
          description: A search term.
          schema:
            type: string
        - in: query
          name: secret
          schema:
            type: string
            format: uuid
        - in: query
          name: user
          schema:
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedObjectPermissionList'
          description: ''
      security:
        - ApiKeyAuth: []
components:
  schemas:
    PaginatedObjectPermissionList:
      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/ObjectPermission'
    ObjectPermission:
      type: object
      description: A grant of access to a secret or a live connection.
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
        permission_level:
          $ref: '#/components/schemas/PermissionLevelEnum'
        tool_scope:
          nullable: true
          description: >-
            Live connections only: subset of the connection's available tools
            this access may use (NULL = the full available set, tracking it as
            it changes; MANAGER grants are always NULL)
        created_at:
          type: string
          format: date-time
          readOnly: true
        updated_at:
          type: string
          format: date-time
          readOnly: true
        user:
          type: string
          readOnly: true
          description: User (Expandable)
        group:
          type: string
          readOnly: true
          description: Group (Expandable)
        secret:
          type: string
          readOnly: true
          description: Secret (Expandable)
        live_connection:
          type: string
          readOnly: true
          description: Live connection (Expandable)
        granted_by:
          type: string
          readOnly: true
          description: Granted by (Expandable)
      required:
        - created_at
        - granted_by
        - group
        - id
        - live_connection
        - permission_level
        - secret
        - 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'''

````