Skip to content

Commit e1a69ec

Browse files
author
OpenRouter SDK Bot
committed
chore: update OpenAPI spec [sdk-bot]
1 parent 7cc286c commit e1a69ec

1 file changed

Lines changed: 44 additions & 2 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 44 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33155,6 +33155,7 @@ paths:
3315533155
creator_user_id: 'user_2dHFtVWx2n56w6HkM0000000000'
3315633156
disabled: false
3315733157
expires_at: '2027-12-31T23:59:59Z'
33158+
external_user: null
3315833159
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
3315933160
include_byok_in_limit: false
3316033161
label: 'Production API Key'
@@ -33181,6 +33182,7 @@ paths:
3318133182
creator_user_id: 'user_2dHFtVWx2n56w6HkM0000000000'
3318233183
disabled: false
3318333184
expires_at: '2027-12-31T23:59:59Z'
33185+
external_user: null
3318433186
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
3318533187
include_byok_in_limit: false
3318633188
label: 'sk-or-v1-0e6...1c96'
@@ -33236,6 +33238,12 @@ paths:
3323633238
type:
3323733239
- 'string'
3323833240
- 'null'
33241+
external_user:
33242+
description: 'Partner''s end-user identifier used for attribution.'
33243+
example: null
33244+
type:
33245+
- 'string'
33246+
- 'null'
3323933247
hash:
3324033248
description: 'Unique hash identifier for the API key'
3324133249
example: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
@@ -33321,6 +33329,7 @@ paths:
3332133329
- 'byok_usage_monthly'
3332233330
- 'created_at'
3332333331
- 'updated_at'
33332+
- 'external_user'
3332433333
- 'creator_user_id'
3332533334
- 'workspace_id'
3332633335
type: 'object'
@@ -33374,7 +33383,7 @@ paths:
3337433383
- 'API Keys'
3337533384
x-speakeasy-name-override: 'list'
3337633385
post:
33377-
description: '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.'
33386+
description: '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. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys), or with a Connect client secret. `external_user` and `external_api_key` are accepted only with a client secret, and `external_user` is required there; supplying either field with a management key is rejected with 403.'
3337833387
operationId: 'createKeys'
3337933388
requestBody:
3338033389
content:
@@ -33408,7 +33417,12 @@ paths:
3340833417
- 'string'
3340933418
- 'null'
3341033419
external_api_key:
33411-
description: 'Optional partner-supplied API key. Stored as a SHA-256 hash and never returned. Accepted only when authenticating with a Connect client secret.'
33420+
description: 'Optional partner-supplied API key. Stored as a SHA-256 hash and never returned. Accepted only when authenticating with a Connect client secret; supplying it with a management key is rejected with 403.'
33421+
maxLength: 512
33422+
minLength: 1
33423+
type: 'string'
33424+
external_user:
33425+
description: 'Partner''s end-user identifier for attribution, between 1 and 512 characters. Accepted only when authenticating with a Connect client secret, where it is required; supplying it with a management key is rejected with 403.'
3341233426
maxLength: 512
3341333427
minLength: 1
3341433428
type: 'string'
@@ -33462,6 +33476,7 @@ paths:
3346233476
creator_user_id: 'user_2dHFtVWx2n56w6HkM0000000000'
3346333477
disabled: false
3346433478
expires_at: '2027-12-31T23:59:59Z'
33479+
external_user: null
3346533480
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
3346633481
include_byok_in_limit: true
3346733482
label: 'My New API Key'
@@ -33487,6 +33502,7 @@ paths:
3348733502
creator_user_id: 'user_2dHFtVWx2n56w6HkM0000000000'
3348833503
disabled: false
3348933504
expires_at: '2027-12-31T23:59:59Z'
33505+
external_user: null
3349033506
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
3349133507
include_byok_in_limit: true
3349233508
label: 'My New API Key'
@@ -33513,6 +33529,7 @@ paths:
3351333529
creator_user_id: 'user_2dHFtVWx2n56w6HkM0000000000'
3351433530
disabled: false
3351533531
expires_at: '2027-12-31T23:59:59Z'
33532+
external_user: null
3351633533
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
3351733534
include_byok_in_limit: false
3351833535
label: 'sk-or-v1-0e6...1c96'
@@ -33568,6 +33585,12 @@ paths:
3356833585
type:
3356933586
- 'string'
3357033587
- 'null'
33588+
external_user:
33589+
description: 'Partner''s end-user identifier used for attribution.'
33590+
example: null
33591+
type:
33592+
- 'string'
33593+
- 'null'
3357133594
hash:
3357233595
description: 'Unique hash identifier for the API key'
3357333596
example: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
@@ -33653,6 +33676,7 @@ paths:
3365333676
- 'byok_usage_monthly'
3365433677
- 'created_at'
3365533678
- 'updated_at'
33679+
- 'external_user'
3365633680
- 'creator_user_id'
3365733681
- 'workspace_id'
3365833682
type: 'object'
@@ -33845,6 +33869,7 @@ paths:
3384533869
creator_user_id: 'user_2dHFtVWx2n56w6HkM0000000000'
3384633870
disabled: false
3384733871
expires_at: '2027-12-31T23:59:59Z'
33872+
external_user: null
3384833873
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
3384933874
include_byok_in_limit: false
3385033875
label: 'Production API Key'
@@ -33870,6 +33895,7 @@ paths:
3387033895
creator_user_id: 'user_2dHFtVWx2n56w6HkM0000000000'
3387133896
disabled: false
3387233897
expires_at: '2027-12-31T23:59:59Z'
33898+
external_user: null
3387333899
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
3387433900
include_byok_in_limit: false
3387533901
label: 'sk-or-v1-0e6...1c96'
@@ -33925,6 +33951,12 @@ paths:
3392533951
type:
3392633952
- 'string'
3392733953
- 'null'
33954+
external_user:
33955+
description: 'Partner''s end-user identifier used for attribution.'
33956+
example: null
33957+
type:
33958+
- 'string'
33959+
- 'null'
3392833960
hash:
3392933961
description: 'Unique hash identifier for the API key'
3393033962
example: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
@@ -34010,6 +34042,7 @@ paths:
3401034042
- 'byok_usage_monthly'
3401134043
- 'created_at'
3401234044
- 'updated_at'
34045+
- 'external_user'
3401334046
- 'creator_user_id'
3401434047
- 'workspace_id'
3401534048
type: 'object'
@@ -34160,6 +34193,7 @@ paths:
3416034193
creator_user_id: 'user_2dHFtVWx2n56w6HkM0000000000'
3416134194
disabled: false
3416234195
expires_at: null
34196+
external_user: null
3416334197
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
3416434198
include_byok_in_limit: true
3416534199
label: 'Updated API Key Name'
@@ -34185,6 +34219,7 @@ paths:
3418534219
creator_user_id: 'user_2dHFtVWx2n56w6HkM0000000000'
3418634220
disabled: false
3418734221
expires_at: '2027-12-31T23:59:59Z'
34222+
external_user: null
3418834223
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
3418934224
include_byok_in_limit: false
3419034225
label: 'sk-or-v1-0e6...1c96'
@@ -34240,6 +34275,12 @@ paths:
3424034275
type:
3424134276
- 'string'
3424234277
- 'null'
34278+
external_user:
34279+
description: 'Partner''s end-user identifier used for attribution.'
34280+
example: null
34281+
type:
34282+
- 'string'
34283+
- 'null'
3424334284
hash:
3424434285
description: 'Unique hash identifier for the API key'
3424534286
example: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
@@ -34325,6 +34366,7 @@ paths:
3432534366
- 'byok_usage_monthly'
3432634367
- 'created_at'
3432734368
- 'updated_at'
34369+
- 'external_user'
3432834370
- 'creator_user_id'
3432934371
- 'workspace_id'
3433034372
type: 'object'

0 commit comments

Comments
 (0)