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

# List explicit workspace memberships

> Admin-only list of stored assignments, including deny. Omitted members use default_role; organization admins always have organization_admin_role. Join member IDs with the organization roster for profiles.



## OpenAPI

````yaml https://api.thundercompute.com:8443/openapi.json get /workspaces/{workspace_id}/members
openapi: 3.1.0
info:
  contact:
    email: support@thundercompute.com
    name: Thunder Compute API Support
    url: https://thundercompute.com/support
  description: >-
    Retrieve current GPU availability using mode-less spec keys

    Recommended for new integrations. The /status and /v1/status endpoints
    retain their legacy configuration keys for compatibility.
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  termsOfService: http://swagger.io/terms/
  title: Thunder Compute API
  version: '1.0'
servers:
  - description: Production server
    url: https://api.thundercompute.com:8443/v1
  - description: Production server
    url: https://api.thundercompute.com:8443
security: []
externalDocs:
  description: ''
  url: ''
paths:
  /workspaces/{workspace_id}/members:
    get:
      tags:
        - Workspaces
      summary: List explicit workspace memberships
      description: >-
        Admin-only list of stored assignments, including deny. Omitted members
        use default_role; organization admins always have
        organization_admin_role. Join member IDs with the organization roster
        for profiles.
      parameters:
        - description: Workspace ID
          in: path
          name: workspace_id
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/thundertypes.WorkspaceMembersResponse'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/thundertypes.ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/thundertypes.ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/thundertypes.ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/thundertypes.ErrorResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/thundertypes.ErrorResponse'
          description: Internal Server Error
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/thundertypes.ErrorResponse'
          description: Service Unavailable
      security:
        - ApiKeyAuth: []
components:
  schemas:
    thundertypes.WorkspaceMembersResponse:
      properties:
        default_role:
          $ref: '#/components/schemas/thundertypes.WorkspaceRole'
        members:
          items:
            $ref: '#/components/schemas/thundertypes.WorkspaceMembership'
          type: array
          uniqueItems: false
        organization_admin_role:
          $ref: '#/components/schemas/thundertypes.WorkspaceRole'
      type: object
    thundertypes.ErrorResponse:
      properties:
        code:
          example: 400
          type: integer
        error:
          example: invalid_request
          type: string
        message:
          example: The request is malformed
          type: string
      type: object
    thundertypes.WorkspaceRole:
      enum:
        - viewer
        - developer
        - deny
      type: string
      x-enum-varnames:
        - WorkspaceViewer
        - WorkspaceDeveloper
        - WorkspaceDeny
    thundertypes.WorkspaceMembership:
      properties:
        created_at:
          type: string
        member_id:
          type: string
        role:
          $ref: '#/components/schemas/thundertypes.WorkspaceRole'
        updated_at:
          type: string
        updated_by:
          type: string
      type: object
  securitySchemes:
    ApiKeyAuth:
      description: >-
        Bearer token authentication. Provide your API token prefixed with
        "Bearer ", e.g. "Bearer your-api-token".
      in: header
      name: Authorization
      type: apiKey

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.