chore: update OpenAPI spec from monorepo (#387)

Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
This commit is contained in:
openrouter-docs-sync[bot]
2026-07-03 15:03:57 +00:00
committed by GitHub
co-authored by OpenRouter SDK Bot
parent ebd01743bc
commit f6c5471023
+129
View File
@@ -10924,6 +10924,29 @@ components:
required:
- data
type: object
ListWorkspaceMembersResponse:
example:
data:
- created_at: '2025-08-24T10:30:00Z'
id: 660e8400-e29b-41d4-a716-446655440000
role: member
user_id: user_abc123
workspace_id: 550e8400-e29b-41d4-a716-446655440000
total_count: 1
properties:
data:
description: List of workspace members
items:
$ref: '#/components/schemas/WorkspaceMember'
type: array
total_count:
description: Total number of members in the workspace
example: 5
type: integer
required:
- data
- total_count
type: object
ListWorkspacesResponse:
example:
data:
@@ -33983,6 +34006,112 @@ paths:
tags:
- Workspaces
x-speakeasy-name-override: setBudget
/workspaces/{id}/members:
get:
description: >-
List all members of a workspace. Returns paginated results. For the default workspace, returns all organization
members (implicit membership). [Management key](/docs/guides/overview/auth/management-api-keys) required.
operationId: listWorkspaceMembers
parameters:
- description: The workspace ID (UUID) or slug
in: path
name: id
required: true
schema:
description: The workspace ID (UUID) or slug
example: production
minLength: 1
type: string
- description: Number of records to skip for pagination
in: query
name: offset
required: false
schema:
description: Number of records to skip for pagination
example: 0
minimum: 0
nullable: true
type: integer
- description: Maximum number of records to return (max 100)
in: query
name: limit
required: false
schema:
description: Maximum number of records to return (max 100)
example: 50
maximum: 100
minimum: 1
type: integer
responses:
'200':
content:
application/json:
example:
data:
- created_at: '2025-08-24T10:30:00Z'
id: 660e8400-e29b-41d4-a716-446655440000
role: member
user_id: user_abc123
workspace_id: 550e8400-e29b-41d4-a716-446655440000
total_count: 1
schema:
$ref: '#/components/schemas/ListWorkspaceMembersResponse'
description: List of workspace members
'401':
content:
application/json:
example:
error:
code: 401
message: Missing Authentication header
schema:
$ref: '#/components/schemas/UnauthorizedResponse'
description: Unauthorized - Authentication required or invalid credentials
'403':
content:
application/json:
example:
error:
code: 403
message: Only management keys can perform this operation
schema:
$ref: '#/components/schemas/ForbiddenResponse'
description: Forbidden - Authentication successful but insufficient permissions
'404':
content:
application/json:
example:
error:
code: 404
message: Resource not found
schema:
$ref: '#/components/schemas/NotFoundResponse'
description: Not Found - Resource does not exist
'500':
content:
application/json:
example:
error:
code: 500
message: Internal Server Error
schema:
$ref: '#/components/schemas/InternalServerResponse'
description: Internal Server Error - Unexpected server error
summary: List workspace members
tags:
- Workspaces
x-speakeasy-name-override: listMembers
x-speakeasy-pagination:
inputs:
- in: parameters
name: offset
type: offset
- in: parameters
name: limit
type: limit
outputs:
results: $.data
type: offsetLimit
/workspaces/{id}/members/add:
post:
description: >-