Skip to content

Commit 752156a

Browse files
robert-j-yOpenRouter SDK Bot
andauthored
chore: update OpenAPI spec from monorepo (#254)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
1 parent 688c063 commit 752156a

1 file changed

Lines changed: 94 additions & 108 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 94 additions & 108 deletions
Original file line numberDiff line numberDiff line change
@@ -3473,20 +3473,23 @@ components:
34733473
- f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943
34743474
items:
34753475
type: string
3476+
maxItems: 100
34763477
nullable: true
34773478
type: array
34783479
allowed_models:
34793480
description: Optional allowlist of model slugs this credential may be used for. `null` means no restriction.
34803481
example: null
34813482
items:
34823483
type: string
3484+
maxItems: 100
34833485
nullable: true
34843486
type: array
34853487
allowed_user_ids:
34863488
description: Optional allowlist of user IDs that may use this credential. `null` means no restriction.
34873489
example: null
34883490
items:
34893491
type: string
3492+
maxItems: 100
34903493
nullable: true
34913494
type: array
34923495
created_at:
@@ -3518,92 +3521,7 @@ components:
35183521
nullable: true
35193522
type: string
35203523
provider:
3521-
description: >-
3522-
The upstream provider this credential authenticates against, as a lowercase slug (e.g. `openai`,
3523-
`anthropic`, `amazon-bedrock`).
3524-
enum:
3525-
- ai21
3526-
- aion-labs
3527-
- akashml
3528-
- alibaba
3529-
- amazon-bedrock
3530-
- amazon-nova
3531-
- ambient
3532-
- anthropic
3533-
- arcee-ai
3534-
- atlas-cloud
3535-
- avian
3536-
- azure
3537-
- baidu
3538-
- baseten
3539-
- black-forest-labs
3540-
- byteplus
3541-
- cerebras
3542-
- chutes
3543-
- cirrascale
3544-
- clarifai
3545-
- cloudflare
3546-
- cohere
3547-
- crusoe
3548-
- deepinfra
3549-
- deepseek
3550-
- dekallm
3551-
- featherless
3552-
- fireworks
3553-
- friendli
3554-
- gmicloud
3555-
- google-ai-studio
3556-
- google-vertex
3557-
- groq
3558-
- hyperbolic
3559-
- inception
3560-
- inceptron
3561-
- inference-net
3562-
- infermatic
3563-
- inflection
3564-
- io-net
3565-
- ionstream
3566-
- liquid
3567-
- mancer
3568-
- mara
3569-
- minimax
3570-
- mistral
3571-
- modelrun
3572-
- modular
3573-
- moonshotai
3574-
- morph
3575-
- ncompass
3576-
- nebius
3577-
- nex-agi
3578-
- nextbit
3579-
- novita
3580-
- nvidia
3581-
- open-inference
3582-
- openai
3583-
- parasail
3584-
- perceptron
3585-
- perplexity
3586-
- phala
3587-
- poolside
3588-
- recraft
3589-
- reka
3590-
- relace
3591-
- sambanova
3592-
- seed
3593-
- siliconflow
3594-
- sourceful
3595-
- stepfun
3596-
- streamlake
3597-
- switchpoint
3598-
- together
3599-
- upstage
3600-
- venice
3601-
- wandb
3602-
- xai
3603-
- xiaomi
3604-
- z-ai
3605-
example: openai
3606-
type: string
3524+
$ref: '#/components/schemas/BYOKProviderSlug'
36073525
sort_order:
36083526
description: Position within the provider — credentials are tried in ascending sort order.
36093527
example: 0
@@ -3626,6 +3544,93 @@ components:
36263544
- sort_order
36273545
- created_at
36283546
type: object
3547+
BYOKProviderSlug:
3548+
description: >-
3549+
The upstream provider this credential authenticates against, as a lowercase slug (e.g. `openai`, `anthropic`,
3550+
`amazon-bedrock`).
3551+
enum:
3552+
- ai21
3553+
- aion-labs
3554+
- akashml
3555+
- alibaba
3556+
- amazon-bedrock
3557+
- amazon-nova
3558+
- ambient
3559+
- anthropic
3560+
- arcee-ai
3561+
- atlas-cloud
3562+
- avian
3563+
- azure
3564+
- baidu
3565+
- baseten
3566+
- black-forest-labs
3567+
- byteplus
3568+
- cerebras
3569+
- chutes
3570+
- cirrascale
3571+
- clarifai
3572+
- cloudflare
3573+
- cohere
3574+
- crusoe
3575+
- deepinfra
3576+
- deepseek
3577+
- dekallm
3578+
- featherless
3579+
- fireworks
3580+
- friendli
3581+
- gmicloud
3582+
- google-ai-studio
3583+
- google-vertex
3584+
- groq
3585+
- hyperbolic
3586+
- inception
3587+
- inceptron
3588+
- inference-net
3589+
- infermatic
3590+
- inflection
3591+
- io-net
3592+
- ionstream
3593+
- liquid
3594+
- mancer
3595+
- mara
3596+
- minimax
3597+
- mistral
3598+
- modelrun
3599+
- modular
3600+
- moonshotai
3601+
- morph
3602+
- ncompass
3603+
- nebius
3604+
- nex-agi
3605+
- nextbit
3606+
- novita
3607+
- nvidia
3608+
- open-inference
3609+
- openai
3610+
- parasail
3611+
- perceptron
3612+
- perplexity
3613+
- phala
3614+
- poolside
3615+
- recraft
3616+
- reka
3617+
- relace
3618+
- sambanova
3619+
- seed
3620+
- siliconflow
3621+
- sourceful
3622+
- stepfun
3623+
- streamlake
3624+
- switchpoint
3625+
- together
3626+
- upstage
3627+
- venice
3628+
- wandb
3629+
- xai
3630+
- xiaomi
3631+
- z-ai
3632+
example: openai
3633+
type: string
36293634
ChatAssistantImages:
36303635
description: Generated images from image generation models
36313636
example:
@@ -19759,8 +19764,7 @@ paths:
1975919764
/byok/{id}:
1976019765
get:
1976119766
description: >-
19762-
Get a single bring-your-own-key (BYOK) provider credential by its `id`. Defaults to the authenticated entity's
19763-
default workspace; use the `workspace_id` query parameter to scope to a different workspace. [Management
19767+
Get a single bring-your-own-key (BYOK) provider credential by its `id`. [Management
1976419768
key](/docs/guides/overview/auth/management-api-keys) required.
1976519769
operationId: getBYOKKey
1976619770
parameters:
@@ -19773,15 +19777,6 @@ paths:
1977319777
example: 11111111-2222-3333-4444-555555555555
1977419778
format: uuid
1977519779
type: string
19776-
- description: Optional workspace ID. Defaults to the authenticated entity's default workspace.
19777-
in: query
19778-
name: workspace_id
19779-
required: false
19780-
schema:
19781-
description: Optional workspace ID. Defaults to the authenticated entity's default workspace.
19782-
example: 550e8400-e29b-41d4-a716-446655440000
19783-
format: uuid
19784-
type: string
1978519780
responses:
1978619781
'200':
1978719782
content:
@@ -24258,8 +24253,8 @@ paths:
2425824253
/observability/destinations/{id}:
2425924254
get:
2426024255
description: >-
24261-
Fetch a single observability destination by its UUID. Defaults to the authenticated entity's default workspace —
24262-
use `workspace_id` to override. [Management key](/docs/guides/overview/auth/management-api-keys) required.
24256+
Fetch a single observability destination by its UUID. [Management
24257+
key](/docs/guides/overview/auth/management-api-keys) required.
2426324258
operationId: getObservabilityDestination
2426424259
parameters:
2426524260
- description: The destination ID (UUID).
@@ -24271,15 +24266,6 @@ paths:
2427124266
example: 99999999-aaaa-bbbb-cccc-dddddddddddd
2427224267
format: uuid
2427324268
type: string
24274-
- description: Optional workspace ID. Defaults to the authenticated entity's default workspace.
24275-
in: query
24276-
name: workspace_id
24277-
required: false
24278-
schema:
24279-
description: Optional workspace ID. Defaults to the authenticated entity's default workspace.
24280-
example: 550e8400-e29b-41d4-a716-446655440000
24281-
format: uuid
24282-
type: string
2428324269
responses:
2428424270
'200':
2428524271
content:

0 commit comments

Comments
 (0)