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

# Retrieve workspace members

> Returns the list of members linked to a workspace in the authenticated user's company. This endpoint can only be used by company-level admins or higher.



## OpenAPI

````yaml /api-reference/openapi-v3-company.yaml get /api/v3/company/workspaces/{id}/members
openapi: 3.0.3
info:
  title: Paradigm API
  version: xenial-xerus (v3-company)
  description: >-
    A versatile and adaptable tool designed to integrate Generative AI into your
    applications
servers:
  - url: https://paradigm.lighton.ai
security: []
tags:
  - name: Workspaces
    description: Operations about workspaces
paths:
  /api/v3/company/workspaces/{id}/members:
    get:
      tags:
        - Workspaces
      summary: Retrieve workspace members
      description: >-
        Returns the list of members linked to a workspace in the authenticated
        user's company. This endpoint can only be used by company-level admins
        or higher.
      operationId: api_v3_company_workspaces_members_retrieve
      parameters:
        - in: path
          name: id
          schema:
            type: integer
          required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkspaceMembersV3Response'
          description: ''
        '401':
          content:
            application/json:
              schema:
                description: Unauthenticated
          description: ''
        '403':
          content:
            application/json:
              schema:
                description: Unauthorized
          description: ''
        '404':
          content:
            application/json:
              schema:
                description: Not Found
          description: ''
      security:
        - bearerAuth: []
components:
  schemas:
    WorkspaceMembersV3Response:
      type: object
      description: V3 Response serializer for workspace members.
      properties:
        users:
          type: array
          items:
            $ref: '#/components/schemas/UserMember'
        groups:
          type: array
          items:
            $ref: '#/components/schemas/GroupMember'
      required:
        - groups
        - users
    UserMember:
      type: object
      properties:
        id:
          type: integer
        email:
          type: string
        role:
          type: string
      required:
        - email
        - id
        - role
    GroupMember:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
        role:
          type: string
      required:
        - id
        - name
        - role
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Bearer authentication header of the form `Bearer <token>`, where
        `<token>` is your auth token.

````