Skip to content

Commit 7efd03f

Browse files
openrouter-docs-sync[bot]OpenRouter SDK Bot
andauthored
chore: update OpenAPI spec from monorepo (#373)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
1 parent e1b89f5 commit 7efd03f

1 file changed

Lines changed: 14 additions & 8 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24508,7 +24508,8 @@ paths:
2450824508
description: >-
2450924509
Create a new bring-your-own-key (BYOK) provider credential. The raw key is encrypted at rest and never returned
2451024510
in API responses. Defaults to the authenticated entity's default workspace; use the `workspace_id` body field to
24511-
scope to a different workspace. [Management key](/docs/guides/overview/auth/management-api-keys) required.
24511+
scope to a different workspace. Treat the raw key as write-only; it is never returned after creation.
24512+
[Management key](/docs/guides/overview/auth/management-api-keys) required.
2451224513
operationId: createBYOKKey
2451324514
requestBody:
2451424515
content:
@@ -27188,7 +27189,9 @@ paths:
2718827189
- Guardrails
2718927190
x-speakeasy-name-override: get
2719027191
patch:
27191-
description: Update an existing guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required.
27192+
description: >-
27193+
Update an existing guardrail. Collection fields use replace semantics: send the full desired set on every
27194+
update. [Management key](/docs/guides/overview/auth/management-api-keys) required.
2719227195
operationId: updateGuardrail
2719327196
parameters:
2719427197
- description: The unique identifier of the guardrail to update
@@ -27382,8 +27385,8 @@ paths:
2738227385
type: offsetLimit
2738327386
post:
2738427387
description: >-
27385-
Assign multiple API keys to a specific guardrail. [Management
27386-
key](/docs/guides/overview/auth/management-api-keys) required.
27388+
Assign multiple API keys to a specific guardrail. A key may hold at most one guardrail; assigning replaces any
27389+
existing assignment. [Management key](/docs/guides/overview/auth/management-api-keys) required.
2738727390
operationId: bulkAssignKeysToGuardrail
2738827391
parameters:
2738927392
- description: The unique identifier of the guardrail
@@ -28735,7 +28738,8 @@ paths:
2873528738
x-speakeasy-name-override: list
2873628739
post:
2873728740
description: >-
28738-
Create a new API key for the authenticated user. [Management
28741+
Create a new API key for the authenticated user. The plaintext `key` is returned only in this response. Treat it
28742+
as a write-only, sensitive value; it cannot be retrieved later. [Management
2873928743
key](/docs/guides/overview/auth/management-api-keys) required.
2874028744
operationId: createKeys
2874128745
requestBody:
@@ -33151,12 +33155,14 @@ paths:
3315133155
responses:
3315233156
'200':
3315333157
content:
33154-
application/octet-stream:
33158+
video/mp4:
3315533159
example: <binary video data>
3315633160
schema:
3315733161
format: binary
3315833162
type: string
33159-
description: Video content stream
33163+
description: >-
33164+
Video content stream. The body is the raw video bytes proxied from the upstream provider, and the
33165+
Content-Type reflects the provider media type (video/mp4).
3316033166
'400':
3316133167
content:
3316233168
application/json:
@@ -33445,7 +33451,7 @@ paths:
3344533451
delete:
3344633452
description: >-
3344733453
Delete an existing workspace. The default workspace cannot be deleted. Workspaces with active API keys cannot be
33448-
deleted. [Management key](/docs/guides/overview/auth/management-api-keys) required.
33454+
deleted; remove the keys first. [Management key](/docs/guides/overview/auth/management-api-keys) required.
3344933455
operationId: deleteWorkspace
3345033456
parameters:
3345133457
- description: The workspace ID (UUID) or slug

0 commit comments

Comments
 (0)