You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5b06a4a
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .speakeasy/in.openapi.yaml
+53Lines changed: 53 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6348,6 +6348,7 @@ components:
6348
6348
allowed_models: null
6349
6349
allowed_user_ids: null
6350
6350
created_at: '2025-08-24T10:30:00Z'
6351
+
declared_region: null
6351
6352
declared_zdr: null
6352
6353
disabled: false
6353
6354
id: '11111111-2222-3333-4444-555555555555'
@@ -6392,6 +6393,17 @@ components:
6392
6393
description: 'ISO timestamp of when the credential was created.'
6393
6394
example: '2025-08-24T10:30:00Z'
6394
6395
type: 'string'
6396
+
declared_region:
6397
+
description: 'Your declaration of the data region in which the upstream provider account behind this credential processes requests, used for routing eligibility on OpenRouter''s regional hosts. `null` means undeclared and `global` is behaviorally identical: the credential follows the region OpenRouter records for the endpoint. `europe` or `us` lets requests to `eu.openrouter.ai` or `us.openrouter.ai` use this credential for that provider (private endpoints, endpoints pinned to another cloud region, cross-region inference profiles and video models are excluded). Self-declared and not verified by OpenRouter. For OpenAI and Fireworks the region comes from the key material (a `{"api_key": ..., "region": ...}` key), so the value must match the key''s region. Among other providers, only Azure accepts `europe` or `us`.'
6398
+
enum:
6399
+
- 'global'
6400
+
- 'europe'
6401
+
- 'us'
6402
+
- null
6403
+
example: null
6404
+
type:
6405
+
- 'string'
6406
+
- 'null'
6395
6407
declared_zdr:
6396
6408
description: 'Your declaration of whether the upstream provider account behind this credential has zero data retention (ZDR). `null` inherits OpenRouter''s data policy for the provider''s endpoint; `true` declares the account ZDR so requests that require ZDR may route to this credential even when the shared endpoint retains data; `false` declares it non-ZDR so such requests never route to it. Self-declared and not verified by OpenRouter.'
6397
6409
example: null
@@ -6452,6 +6464,7 @@ components:
6452
6464
- 'is_required'
6453
6465
- 'is_byok_only'
6454
6466
- 'declared_zdr'
6467
+
- 'declared_region'
6455
6468
- 'allowed_models'
6456
6469
- 'allowed_api_key_hashes'
6457
6470
- 'allowed_user_ids'
@@ -9175,6 +9188,17 @@ components:
9175
9188
type:
9176
9189
- 'array'
9177
9190
- 'null'
9191
+
declared_region:
9192
+
description: 'Your declaration of the data region in which the upstream provider account behind this credential processes requests, used for routing eligibility on OpenRouter''s regional hosts. `null` means undeclared and `global` is behaviorally identical: the credential follows the region OpenRouter records for the endpoint. `europe` or `us` lets requests to `eu.openrouter.ai` or `us.openrouter.ai` use this credential for that provider (private endpoints, endpoints pinned to another cloud region, cross-region inference profiles and video models are excluded). Self-declared and not verified by OpenRouter. For OpenAI and Fireworks the region comes from the key material (a `{"api_key": ..., "region": ...}` key), so the value must match the key''s region. Among other providers, only Azure accepts `europe` or `us`. Defaults to the key''s region for OpenAI and Fireworks, otherwise `null`.'
9193
+
enum:
9194
+
- 'global'
9195
+
- 'europe'
9196
+
- 'us'
9197
+
- null
9198
+
example: null
9199
+
type:
9200
+
- 'string'
9201
+
- 'null'
9178
9202
declared_zdr:
9179
9203
description: 'Your declaration of whether the upstream provider account behind this credential has zero data retention (ZDR). `null` inherits OpenRouter''s data policy for the provider''s endpoint; `true` declares the account ZDR so requests that require ZDR may route to this credential even when the shared endpoint retains data; `false` declares it non-ZDR so such requests never route to it. Self-declared and not verified by OpenRouter. Defaults to `null`.'
9180
9204
example: null
@@ -9227,6 +9251,7 @@ components:
9227
9251
allowed_models: null
9228
9252
allowed_user_ids: null
9229
9253
created_at: '2025-08-24T10:30:00Z'
9254
+
declared_region: null
9230
9255
declared_zdr: null
9231
9256
disabled: false
9232
9257
id: '11111111-2222-3333-4444-555555555555'
@@ -12580,6 +12605,7 @@ components:
12580
12605
allowed_models: null
12581
12606
allowed_user_ids: null
12582
12607
created_at: '2025-08-24T10:30:00Z'
12608
+
declared_region: null
12583
12609
declared_zdr: null
12584
12610
disabled: false
12585
12611
id: '11111111-2222-3333-4444-555555555555'
@@ -15416,6 +15442,7 @@ components:
15416
15442
allowed_models: null
15417
15443
allowed_user_ids: null
15418
15444
created_at: '2025-08-24T10:30:00Z'
15445
+
declared_region: null
15419
15446
declared_zdr: null
15420
15447
disabled: false
15421
15448
id: '11111111-2222-3333-4444-555555555555'
@@ -30885,6 +30912,17 @@ components:
30885
30912
type:
30886
30913
- 'array'
30887
30914
- 'null'
30915
+
declared_region:
30916
+
description: 'Your declaration of the data region in which the upstream provider account behind this credential processes requests, used for routing eligibility on OpenRouter''s regional hosts. `null` means undeclared and `global` is behaviorally identical: the credential follows the region OpenRouter records for the endpoint. `europe` or `us` lets requests to `eu.openrouter.ai` or `us.openrouter.ai` use this credential for that provider (private endpoints, endpoints pinned to another cloud region, cross-region inference profiles and video models are excluded). Self-declared and not verified by OpenRouter. For OpenAI and Fireworks the region comes from the key material (a `{"api_key": ..., "region": ...}` key), so the value must match the key''s region. Among other providers, only Azure accepts `europe` or `us`. Omit to leave the stored value unchanged (rotating an OpenAI or Fireworks `key` re-derives it from the new key); `null` clears the declaration.'
30917
+
enum:
30918
+
- 'global'
30919
+
- 'europe'
30920
+
- 'us'
30921
+
- null
30922
+
example: null
30923
+
type:
30924
+
- 'string'
30925
+
- 'null'
30888
30926
declared_zdr:
30889
30927
description: 'Your declaration of whether the upstream provider account behind this credential has zero data retention (ZDR). `null` inherits OpenRouter''s data policy for the provider''s endpoint; `true` declares the account ZDR so requests that require ZDR may route to this credential even when the shared endpoint retains data; `false` declares it non-ZDR so such requests never route to it. Self-declared and not verified by OpenRouter. Omit to leave the stored value unchanged; `null` clears the declaration.'
30890
30928
example: null
@@ -30927,6 +30965,7 @@ components:
30927
30965
allowed_models: null
30928
30966
allowed_user_ids: null
30929
30967
created_at: '2025-08-24T10:30:00Z'
30968
+
declared_region: null
30930
30969
declared_zdr: null
30931
30970
disabled: false
30932
30971
id: '11111111-2222-3333-4444-555555555555'
@@ -35287,6 +35326,7 @@ paths:
35287
35326
allowed_models: null
35288
35327
allowed_user_ids: null
35289
35328
created_at: '2025-08-24T10:30:00Z'
35329
+
declared_region: null
35290
35330
declared_zdr: null
35291
35331
disabled: false
35292
35332
id: '11111111-2222-3333-4444-555555555555'
@@ -35370,6 +35410,7 @@ paths:
35370
35410
allowed_models: null
35371
35411
allowed_user_ids: null
35372
35412
created_at: '2025-08-24T10:30:00Z'
35413
+
declared_region: null
35373
35414
declared_zdr: null
35374
35415
disabled: false
35375
35416
id: '11111111-2222-3333-4444-555555555555'
@@ -35508,6 +35549,7 @@ paths:
35508
35549
allowed_models: null
35509
35550
allowed_user_ids: null
35510
35551
created_at: '2025-08-24T10:30:00Z'
35552
+
declared_region: null
35511
35553
declared_zdr: null
35512
35554
disabled: false
35513
35555
id: '11111111-2222-3333-4444-555555555555'
@@ -35588,6 +35630,7 @@ paths:
35588
35630
allowed_models: null
35589
35631
allowed_user_ids: null
35590
35632
created_at: '2025-08-24T10:30:00Z'
35633
+
declared_region: null
35591
35634
declared_zdr: null
35592
35635
disabled: false
35593
35636
id: '11111111-2222-3333-4444-555555555555'
@@ -35642,6 +35685,16 @@ paths:
35642
35685
schema:
35643
35686
$ref: '#/components/schemas/NotFoundResponse'
35644
35687
description: 'Not Found - Resource does not exist'
35688
+
'409':
35689
+
content:
35690
+
application/json:
35691
+
example:
35692
+
error:
35693
+
code: 409
35694
+
message: 'Resource conflict. Please try again later.'
35695
+
schema:
35696
+
$ref: '#/components/schemas/ConflictResponse'
35697
+
description: 'Conflict - Resource conflict or concurrent modification'
0 commit comments