@@ -10924,6 +10924,29 @@ components:
1092410924 required:
1092510925 - data
1092610926 type: object
10927+ ListWorkspaceMembersResponse:
10928+ example:
10929+ data:
10930+ - created_at: '2025-08-24T10:30:00Z'
10931+ id: 660e8400-e29b-41d4-a716-446655440000
10932+ role: member
10933+ user_id: user_abc123
10934+ workspace_id: 550e8400-e29b-41d4-a716-446655440000
10935+ total_count: 1
10936+ properties:
10937+ data:
10938+ description: List of workspace members
10939+ items:
10940+ $ref: '#/components/schemas/WorkspaceMember'
10941+ type: array
10942+ total_count:
10943+ description: Total number of members in the workspace
10944+ example: 5
10945+ type: integer
10946+ required:
10947+ - data
10948+ - total_count
10949+ type: object
1092710950 ListWorkspacesResponse:
1092810951 example:
1092910952 data:
@@ -33983,6 +34006,112 @@ paths:
3398334006 tags:
3398434007 - Workspaces
3398534008 x-speakeasy-name-override: setBudget
34009+ /workspaces/{id}/members:
34010+ get:
34011+ description: >-
34012+ List all members of a workspace. Returns paginated results. For the default workspace, returns all organization
34013+ members (implicit membership). [Management key](/docs/guides/overview/auth/management-api-keys) required.
34014+ operationId: listWorkspaceMembers
34015+ parameters:
34016+ - description: The workspace ID (UUID) or slug
34017+ in: path
34018+ name: id
34019+ required: true
34020+ schema:
34021+ description: The workspace ID (UUID) or slug
34022+ example: production
34023+ minLength: 1
34024+ type: string
34025+ - description: Number of records to skip for pagination
34026+ in: query
34027+ name: offset
34028+ required: false
34029+ schema:
34030+ description: Number of records to skip for pagination
34031+ example: 0
34032+ minimum: 0
34033+ nullable: true
34034+ type: integer
34035+ - description: Maximum number of records to return (max 100)
34036+ in: query
34037+ name: limit
34038+ required: false
34039+ schema:
34040+ description: Maximum number of records to return (max 100)
34041+ example: 50
34042+ maximum: 100
34043+ minimum: 1
34044+ type: integer
34045+ responses:
34046+ '200':
34047+ content:
34048+ application/json:
34049+ example:
34050+ data:
34051+ - created_at: '2025-08-24T10:30:00Z'
34052+ id: 660e8400-e29b-41d4-a716-446655440000
34053+ role: member
34054+ user_id: user_abc123
34055+ workspace_id: 550e8400-e29b-41d4-a716-446655440000
34056+ total_count: 1
34057+ schema:
34058+ $ref: '#/components/schemas/ListWorkspaceMembersResponse'
34059+ description: List of workspace members
34060+ '401':
34061+ content:
34062+ application/json:
34063+ example:
34064+ error:
34065+ code: 401
34066+ message: Missing Authentication header
34067+ schema:
34068+ $ref: '#/components/schemas/UnauthorizedResponse'
34069+ description: Unauthorized - Authentication required or invalid credentials
34070+ '403':
34071+ content:
34072+ application/json:
34073+ example:
34074+ error:
34075+ code: 403
34076+ message: Only management keys can perform this operation
34077+ schema:
34078+ $ref: '#/components/schemas/ForbiddenResponse'
34079+ description: Forbidden - Authentication successful but insufficient permissions
34080+ '404':
34081+ content:
34082+ application/json:
34083+ example:
34084+ error:
34085+ code: 404
34086+ message: Resource not found
34087+ schema:
34088+ $ref: '#/components/schemas/NotFoundResponse'
34089+ description: Not Found - Resource does not exist
34090+ '500':
34091+ content:
34092+ application/json:
34093+ example:
34094+ error:
34095+ code: 500
34096+ message: Internal Server Error
34097+ schema:
34098+ $ref: '#/components/schemas/InternalServerResponse'
34099+ description: Internal Server Error - Unexpected server error
34100+ summary: List workspace members
34101+ tags:
34102+ - Workspaces
34103+ x-speakeasy-name-override: listMembers
34104+ x-speakeasy-pagination:
34105+ inputs:
34106+ - in: parameters
34107+ name: offset
34108+ type: offset
34109+ - in: parameters
34110+ name: limit
34111+ type: limit
34112+ outputs:
34113+ results: $.data
34114+ type: offsetLimit
3398634115 /workspaces/{id}/members/add:
3398734116 post:
3398834117 description: >-
0 commit comments