mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-31 12:30:30 +08:00
chore: update OpenAPI spec from monorepo (#373)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
This commit is contained in:
co-authored by
OpenRouter SDK Bot
parent
e1b89f5aaf
commit
7efd03fb3b
@@ -24508,7 +24508,8 @@ paths:
|
|||||||
description: >-
|
description: >-
|
||||||
Create a new bring-your-own-key (BYOK) provider credential. The raw key is encrypted at rest and never returned
|
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
|
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
|
operationId: createBYOKKey
|
||||||
requestBody:
|
requestBody:
|
||||||
content:
|
content:
|
||||||
@@ -27188,7 +27189,9 @@ paths:
|
|||||||
- Guardrails
|
- Guardrails
|
||||||
x-speakeasy-name-override: get
|
x-speakeasy-name-override: get
|
||||||
patch:
|
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
|
operationId: updateGuardrail
|
||||||
parameters:
|
parameters:
|
||||||
- description: The unique identifier of the guardrail to update
|
- description: The unique identifier of the guardrail to update
|
||||||
@@ -27382,8 +27385,8 @@ paths:
|
|||||||
type: offsetLimit
|
type: offsetLimit
|
||||||
post:
|
post:
|
||||||
description: >-
|
description: >-
|
||||||
Assign multiple API keys to a specific guardrail. [Management
|
Assign multiple API keys to a specific guardrail. A key may hold at most one guardrail; assigning replaces any
|
||||||
key](/docs/guides/overview/auth/management-api-keys) required.
|
existing assignment. [Management key](/docs/guides/overview/auth/management-api-keys) required.
|
||||||
operationId: bulkAssignKeysToGuardrail
|
operationId: bulkAssignKeysToGuardrail
|
||||||
parameters:
|
parameters:
|
||||||
- description: The unique identifier of the guardrail
|
- description: The unique identifier of the guardrail
|
||||||
@@ -28735,7 +28738,8 @@ paths:
|
|||||||
x-speakeasy-name-override: list
|
x-speakeasy-name-override: list
|
||||||
post:
|
post:
|
||||||
description: >-
|
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.
|
key](/docs/guides/overview/auth/management-api-keys) required.
|
||||||
operationId: createKeys
|
operationId: createKeys
|
||||||
requestBody:
|
requestBody:
|
||||||
@@ -33151,12 +33155,14 @@ paths:
|
|||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
application/octet-stream:
|
video/mp4:
|
||||||
example: <binary video data>
|
example: <binary video data>
|
||||||
schema:
|
schema:
|
||||||
format: binary
|
format: binary
|
||||||
type: string
|
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':
|
'400':
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
@@ -33445,7 +33451,7 @@ paths:
|
|||||||
delete:
|
delete:
|
||||||
description: >-
|
description: >-
|
||||||
Delete an existing workspace. The default workspace cannot be deleted. Workspaces with active API keys cannot be
|
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
|
operationId: deleteWorkspace
|
||||||
parameters:
|
parameters:
|
||||||
- description: The workspace ID (UUID) or slug
|
- description: The workspace ID (UUID) or slug
|
||||||
|
|||||||
Reference in New Issue
Block a user