From 6a2d0712f2f936f98ad7eb4d3557cb6c7fb8d3c8 Mon Sep 17 00:00:00 2001 From: OpenRouter SDK Bot Date: Fri, 26 Jun 2026 14:35:30 +0000 Subject: [PATCH] chore: update OpenAPI spec [sdk-bot] --- .speakeasy/in.openapi.yaml | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/.speakeasy/in.openapi.yaml b/.speakeasy/in.openapi.yaml index 66d0ad4..7c8c930 100644 --- a/.speakeasy/in.openapi.yaml +++ b/.speakeasy/in.openapi.yaml @@ -24508,7 +24508,8 @@ paths: description: >- Create a new bring-your-own-key (BYOK) provider credential. The raw key is encrypted at rest and never returned in API responses. Defaults to the authenticated entity's default workspace; use the `workspace_id` body field to - scope to a different workspace. [Management key](/docs/guides/overview/auth/management-api-keys) required. + scope to a different workspace. Treat the raw key as write-only; it is never returned after creation. + [Management key](/docs/guides/overview/auth/management-api-keys) required. operationId: createBYOKKey requestBody: content: @@ -27188,7 +27189,9 @@ paths: - Guardrails x-speakeasy-name-override: get patch: - description: Update an existing guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required. + description: >- + Update an existing guardrail. Collection fields use replace semantics: send the full desired set on every + update. [Management key](/docs/guides/overview/auth/management-api-keys) required. operationId: updateGuardrail parameters: - description: The unique identifier of the guardrail to update @@ -27382,8 +27385,8 @@ paths: type: offsetLimit post: description: >- - Assign multiple API keys to a specific guardrail. [Management - key](/docs/guides/overview/auth/management-api-keys) required. + Assign multiple API keys to a specific guardrail. A key may hold at most one guardrail; assigning replaces any + existing assignment. [Management key](/docs/guides/overview/auth/management-api-keys) required. operationId: bulkAssignKeysToGuardrail parameters: - description: The unique identifier of the guardrail @@ -28735,7 +28738,8 @@ paths: x-speakeasy-name-override: list post: description: >- - Create a new API key for the authenticated user. [Management + Create a new API key for the authenticated user. The plaintext `key` is returned only in this response. Treat it + as a write-only, sensitive value; it cannot be retrieved later. [Management key](/docs/guides/overview/auth/management-api-keys) required. operationId: createKeys requestBody: @@ -33151,12 +33155,14 @@ paths: responses: '200': content: - application/octet-stream: + video/mp4: example: schema: format: binary type: string - description: Video content stream + description: >- + Video content stream. The body is the raw video bytes proxied from the upstream provider, and the + Content-Type reflects the provider media type (video/mp4). '400': content: application/json: @@ -33445,7 +33451,7 @@ paths: delete: description: >- Delete an existing workspace. The default workspace cannot be deleted. Workspaces with active API keys cannot be - deleted. [Management key](/docs/guides/overview/auth/management-api-keys) required. + deleted; remove the keys first. [Management key](/docs/guides/overview/auth/management-api-keys) required. operationId: deleteWorkspace parameters: - description: The workspace ID (UUID) or slug