mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-30 12:20:57 +08:00
chore: update OpenAPI spec from monorepo (#254)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
This commit is contained in:
co-authored by
OpenRouter SDK Bot
parent
688c063276
commit
752156a9ad
+94
-108
@@ -3473,6 +3473,7 @@ components:
|
|||||||
- f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943
|
- f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
|
maxItems: 100
|
||||||
nullable: true
|
nullable: true
|
||||||
type: array
|
type: array
|
||||||
allowed_models:
|
allowed_models:
|
||||||
@@ -3480,6 +3481,7 @@ components:
|
|||||||
example: null
|
example: null
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
|
maxItems: 100
|
||||||
nullable: true
|
nullable: true
|
||||||
type: array
|
type: array
|
||||||
allowed_user_ids:
|
allowed_user_ids:
|
||||||
@@ -3487,6 +3489,7 @@ components:
|
|||||||
example: null
|
example: null
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
|
maxItems: 100
|
||||||
nullable: true
|
nullable: true
|
||||||
type: array
|
type: array
|
||||||
created_at:
|
created_at:
|
||||||
@@ -3518,92 +3521,7 @@ components:
|
|||||||
nullable: true
|
nullable: true
|
||||||
type: string
|
type: string
|
||||||
provider:
|
provider:
|
||||||
description: >-
|
$ref: '#/components/schemas/BYOKProviderSlug'
|
||||||
The upstream provider this credential authenticates against, as a lowercase slug (e.g. `openai`,
|
|
||||||
`anthropic`, `amazon-bedrock`).
|
|
||||||
enum:
|
|
||||||
- ai21
|
|
||||||
- aion-labs
|
|
||||||
- akashml
|
|
||||||
- alibaba
|
|
||||||
- amazon-bedrock
|
|
||||||
- amazon-nova
|
|
||||||
- ambient
|
|
||||||
- anthropic
|
|
||||||
- arcee-ai
|
|
||||||
- atlas-cloud
|
|
||||||
- avian
|
|
||||||
- azure
|
|
||||||
- baidu
|
|
||||||
- baseten
|
|
||||||
- black-forest-labs
|
|
||||||
- byteplus
|
|
||||||
- cerebras
|
|
||||||
- chutes
|
|
||||||
- cirrascale
|
|
||||||
- clarifai
|
|
||||||
- cloudflare
|
|
||||||
- cohere
|
|
||||||
- crusoe
|
|
||||||
- deepinfra
|
|
||||||
- deepseek
|
|
||||||
- dekallm
|
|
||||||
- featherless
|
|
||||||
- fireworks
|
|
||||||
- friendli
|
|
||||||
- gmicloud
|
|
||||||
- google-ai-studio
|
|
||||||
- google-vertex
|
|
||||||
- groq
|
|
||||||
- hyperbolic
|
|
||||||
- inception
|
|
||||||
- inceptron
|
|
||||||
- inference-net
|
|
||||||
- infermatic
|
|
||||||
- inflection
|
|
||||||
- io-net
|
|
||||||
- ionstream
|
|
||||||
- liquid
|
|
||||||
- mancer
|
|
||||||
- mara
|
|
||||||
- minimax
|
|
||||||
- mistral
|
|
||||||
- modelrun
|
|
||||||
- modular
|
|
||||||
- moonshotai
|
|
||||||
- morph
|
|
||||||
- ncompass
|
|
||||||
- nebius
|
|
||||||
- nex-agi
|
|
||||||
- nextbit
|
|
||||||
- novita
|
|
||||||
- nvidia
|
|
||||||
- open-inference
|
|
||||||
- openai
|
|
||||||
- parasail
|
|
||||||
- perceptron
|
|
||||||
- perplexity
|
|
||||||
- phala
|
|
||||||
- poolside
|
|
||||||
- recraft
|
|
||||||
- reka
|
|
||||||
- relace
|
|
||||||
- sambanova
|
|
||||||
- seed
|
|
||||||
- siliconflow
|
|
||||||
- sourceful
|
|
||||||
- stepfun
|
|
||||||
- streamlake
|
|
||||||
- switchpoint
|
|
||||||
- together
|
|
||||||
- upstage
|
|
||||||
- venice
|
|
||||||
- wandb
|
|
||||||
- xai
|
|
||||||
- xiaomi
|
|
||||||
- z-ai
|
|
||||||
example: openai
|
|
||||||
type: string
|
|
||||||
sort_order:
|
sort_order:
|
||||||
description: Position within the provider — credentials are tried in ascending sort order.
|
description: Position within the provider — credentials are tried in ascending sort order.
|
||||||
example: 0
|
example: 0
|
||||||
@@ -3626,6 +3544,93 @@ components:
|
|||||||
- sort_order
|
- sort_order
|
||||||
- created_at
|
- created_at
|
||||||
type: object
|
type: object
|
||||||
|
BYOKProviderSlug:
|
||||||
|
description: >-
|
||||||
|
The upstream provider this credential authenticates against, as a lowercase slug (e.g. `openai`, `anthropic`,
|
||||||
|
`amazon-bedrock`).
|
||||||
|
enum:
|
||||||
|
- ai21
|
||||||
|
- aion-labs
|
||||||
|
- akashml
|
||||||
|
- alibaba
|
||||||
|
- amazon-bedrock
|
||||||
|
- amazon-nova
|
||||||
|
- ambient
|
||||||
|
- anthropic
|
||||||
|
- arcee-ai
|
||||||
|
- atlas-cloud
|
||||||
|
- avian
|
||||||
|
- azure
|
||||||
|
- baidu
|
||||||
|
- baseten
|
||||||
|
- black-forest-labs
|
||||||
|
- byteplus
|
||||||
|
- cerebras
|
||||||
|
- chutes
|
||||||
|
- cirrascale
|
||||||
|
- clarifai
|
||||||
|
- cloudflare
|
||||||
|
- cohere
|
||||||
|
- crusoe
|
||||||
|
- deepinfra
|
||||||
|
- deepseek
|
||||||
|
- dekallm
|
||||||
|
- featherless
|
||||||
|
- fireworks
|
||||||
|
- friendli
|
||||||
|
- gmicloud
|
||||||
|
- google-ai-studio
|
||||||
|
- google-vertex
|
||||||
|
- groq
|
||||||
|
- hyperbolic
|
||||||
|
- inception
|
||||||
|
- inceptron
|
||||||
|
- inference-net
|
||||||
|
- infermatic
|
||||||
|
- inflection
|
||||||
|
- io-net
|
||||||
|
- ionstream
|
||||||
|
- liquid
|
||||||
|
- mancer
|
||||||
|
- mara
|
||||||
|
- minimax
|
||||||
|
- mistral
|
||||||
|
- modelrun
|
||||||
|
- modular
|
||||||
|
- moonshotai
|
||||||
|
- morph
|
||||||
|
- ncompass
|
||||||
|
- nebius
|
||||||
|
- nex-agi
|
||||||
|
- nextbit
|
||||||
|
- novita
|
||||||
|
- nvidia
|
||||||
|
- open-inference
|
||||||
|
- openai
|
||||||
|
- parasail
|
||||||
|
- perceptron
|
||||||
|
- perplexity
|
||||||
|
- phala
|
||||||
|
- poolside
|
||||||
|
- recraft
|
||||||
|
- reka
|
||||||
|
- relace
|
||||||
|
- sambanova
|
||||||
|
- seed
|
||||||
|
- siliconflow
|
||||||
|
- sourceful
|
||||||
|
- stepfun
|
||||||
|
- streamlake
|
||||||
|
- switchpoint
|
||||||
|
- together
|
||||||
|
- upstage
|
||||||
|
- venice
|
||||||
|
- wandb
|
||||||
|
- xai
|
||||||
|
- xiaomi
|
||||||
|
- z-ai
|
||||||
|
example: openai
|
||||||
|
type: string
|
||||||
ChatAssistantImages:
|
ChatAssistantImages:
|
||||||
description: Generated images from image generation models
|
description: Generated images from image generation models
|
||||||
example:
|
example:
|
||||||
@@ -19759,8 +19764,7 @@ paths:
|
|||||||
/byok/{id}:
|
/byok/{id}:
|
||||||
get:
|
get:
|
||||||
description: >-
|
description: >-
|
||||||
Get a single bring-your-own-key (BYOK) provider credential by its `id`. Defaults to the authenticated entity's
|
Get a single bring-your-own-key (BYOK) provider credential by its `id`. [Management
|
||||||
default workspace; use the `workspace_id` query parameter to scope to a different workspace. [Management
|
|
||||||
key](/docs/guides/overview/auth/management-api-keys) required.
|
key](/docs/guides/overview/auth/management-api-keys) required.
|
||||||
operationId: getBYOKKey
|
operationId: getBYOKKey
|
||||||
parameters:
|
parameters:
|
||||||
@@ -19773,15 +19777,6 @@ paths:
|
|||||||
example: 11111111-2222-3333-4444-555555555555
|
example: 11111111-2222-3333-4444-555555555555
|
||||||
format: uuid
|
format: uuid
|
||||||
type: string
|
type: string
|
||||||
- description: Optional workspace ID. Defaults to the authenticated entity's default workspace.
|
|
||||||
in: query
|
|
||||||
name: workspace_id
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
description: Optional workspace ID. Defaults to the authenticated entity's default workspace.
|
|
||||||
example: 550e8400-e29b-41d4-a716-446655440000
|
|
||||||
format: uuid
|
|
||||||
type: string
|
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
@@ -24258,8 +24253,8 @@ paths:
|
|||||||
/observability/destinations/{id}:
|
/observability/destinations/{id}:
|
||||||
get:
|
get:
|
||||||
description: >-
|
description: >-
|
||||||
Fetch a single observability destination by its UUID. Defaults to the authenticated entity's default workspace —
|
Fetch a single observability destination by its UUID. [Management
|
||||||
use `workspace_id` to override. [Management key](/docs/guides/overview/auth/management-api-keys) required.
|
key](/docs/guides/overview/auth/management-api-keys) required.
|
||||||
operationId: getObservabilityDestination
|
operationId: getObservabilityDestination
|
||||||
parameters:
|
parameters:
|
||||||
- description: The destination ID (UUID).
|
- description: The destination ID (UUID).
|
||||||
@@ -24271,15 +24266,6 @@ paths:
|
|||||||
example: 99999999-aaaa-bbbb-cccc-dddddddddddd
|
example: 99999999-aaaa-bbbb-cccc-dddddddddddd
|
||||||
format: uuid
|
format: uuid
|
||||||
type: string
|
type: string
|
||||||
- description: Optional workspace ID. Defaults to the authenticated entity's default workspace.
|
|
||||||
in: query
|
|
||||||
name: workspace_id
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
description: Optional workspace ID. Defaults to the authenticated entity's default workspace.
|
|
||||||
example: 550e8400-e29b-41d4-a716-446655440000
|
|
||||||
format: uuid
|
|
||||||
type: string
|
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|||||||
Reference in New Issue
Block a user