Skip to content

Commit fa27a7c

Browse files
openrouter-docs-sync[bot]OpenRouter SDK Bot
andauthored
chore: update OpenAPI spec from monorepo (#1131)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
1 parent 74ae282 commit fa27a7c

1 file changed

Lines changed: 54 additions & 24 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 54 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -26338,12 +26338,12 @@ components:
2633826338
prompt: '0.0000025'
2633926339
properties:
2634026340
cache_read:
26341-
description: 'USD per cache-read prompt token, as a decimal string. Omit it to bill cache reads at the provider pricing strategy''s default, which for most strategies is the prompt rate.'
26341+
description: 'USD per cache-read prompt token, as a decimal string. When omitted, inherited from the public endpoint of the same model and provider: scaled by its cache-read to prompt ratio, or left at the pricing strategy default when it publishes no cache-read rate. Required when there is no such endpoint and the provider bills cache reads.'
2634226342
example: '0.00000025'
2634326343
pattern: '^\d+(\.\d+)?$'
2634426344
type: 'string'
2634526345
cache_write:
26346-
description: 'USD per cache-write prompt token, as a decimal string. Omit it to bill cache writes at the provider pricing strategy''s default.'
26346+
description: 'USD per cache-write prompt token, as a decimal string. When omitted, inherited from the public endpoint of the same model and provider: scaled by its cache-write to prompt ratio, or left at the pricing strategy default when it publishes no cache-write rate. Required when there is no such endpoint and the provider bills cache writes.'
2634726347
example: '0.000003125'
2634826348
pattern: '^\d+(\.\d+)?$'
2634926349
type: 'string'
@@ -40664,6 +40664,16 @@ paths:
4066440664
schema:
4066540665
$ref: '#/components/schemas/NotFoundResponse'
4066640666
description: 'Not Found - Resource does not exist'
40667+
'409':
40668+
content:
40669+
application/json:
40670+
example:
40671+
error:
40672+
code: 409
40673+
message: 'Feedback was already submitted for this generation'
40674+
schema:
40675+
$ref: '#/components/schemas/ConflictResponse'
40676+
description: 'Conflict - Feedback was already submitted for this generation by this account. The first submission is kept.'
4066740677
'429':
4066840678
content:
4066940679
application/json:
@@ -42353,7 +42363,7 @@ paths:
4235342363
retryable: false
4235442364
schema:
4235542365
$ref: '#/components/schemas/InternLifecycleError'
42356-
description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.'
42366+
description: 'The caller is outside the Intern API programme, or the intern is hidden.'
4235742367
'408':
4235842368
content:
4235942369
application/json:
@@ -42485,6 +42495,14 @@ paths:
4248542495
content:
4248642496
application/json:
4248742497
examples:
42498+
lifecycle_writes_disabled:
42499+
value:
42500+
error:
42501+
code: 403
42502+
message: 'Intern lifecycle writes are not enabled for this account'
42503+
metadata:
42504+
reason: 'lifecycle_writes_disabled'
42505+
retryable: false
4248842506
no_acting_user:
4248942507
value:
4249042508
error:
@@ -42503,7 +42521,7 @@ paths:
4250342521
retryable: false
4250442522
schema:
4250542523
$ref: '#/components/schemas/InternLifecycleError'
42506-
description: 'The key acts as an organization and has no member who can own the intern, the workspace does not allow interns, or regional access is refused.'
42524+
description: 'The key acts as an organization and has no member who can own the intern, the workspace does not allow interns, lifecycle writes are not enabled for the caller, or regional access is refused.'
4250742525
'404':
4250842526
content:
4250942527
application/json:
@@ -42516,7 +42534,7 @@ paths:
4251642534
retryable: false
4251742535
schema:
4251842536
$ref: '#/components/schemas/InternLifecycleError'
42519-
description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.'
42537+
description: 'The caller is outside the Intern API programme, or the intern is hidden.'
4252042538
'408':
4252142539
content:
4252242540
application/json:
@@ -42670,10 +42688,13 @@ paths:
4267042688
example:
4267142689
error:
4267242690
code: 403
42673-
message: 'Forbidden'
42691+
message: 'Intern lifecycle writes are not enabled for this account'
42692+
metadata:
42693+
reason: 'lifecycle_writes_disabled'
42694+
retryable: false
4267442695
schema:
4267542696
$ref: '#/components/schemas/InternLifecycleError'
42676-
description: 'The key owner no longer has access, or the request used a regional hostname.'
42697+
description: 'The key owner no longer has access, the request used a regional hostname, or lifecycle writes are not enabled for the caller (`metadata.reason` is `lifecycle_writes_disabled`).'
4267742698
'404':
4267842699
content:
4267942700
application/json:
@@ -42686,7 +42707,7 @@ paths:
4268642707
retryable: false
4268742708
schema:
4268842709
$ref: '#/components/schemas/InternLifecycleError'
42689-
description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.'
42710+
description: 'The caller is outside the Intern API programme, or the intern is hidden.'
4269042711
'408':
4269142712
content:
4269242713
application/json:
@@ -42840,7 +42861,7 @@ paths:
4284042861
retryable: false
4284142862
schema:
4284242863
$ref: '#/components/schemas/InternLifecycleError'
42843-
description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.'
42864+
description: 'The caller is outside the Intern API programme, or the intern is hidden.'
4284442865
'408':
4284542866
content:
4284642867
application/json:
@@ -42948,10 +42969,13 @@ paths:
4294842969
example:
4294942970
error:
4295042971
code: 403
42951-
message: 'Forbidden'
42972+
message: 'Intern lifecycle writes are not enabled for this account'
42973+
metadata:
42974+
reason: 'lifecycle_writes_disabled'
42975+
retryable: false
4295242976
schema:
4295342977
$ref: '#/components/schemas/InternLifecycleError'
42954-
description: 'The key owner no longer has access, or the request used a regional hostname.'
42978+
description: 'The key owner no longer has access, the request used a regional hostname, or lifecycle writes are not enabled for the caller (`metadata.reason` is `lifecycle_writes_disabled`).'
4295542979
'404':
4295642980
content:
4295742981
application/json:
@@ -42964,7 +42988,7 @@ paths:
4296442988
retryable: false
4296542989
schema:
4296642990
$ref: '#/components/schemas/InternLifecycleError'
42967-
description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.'
42991+
description: 'The caller is outside the Intern API programme, or the intern is hidden.'
4296842992
'408':
4296942993
content:
4297042994
application/json:
@@ -43344,7 +43368,7 @@ paths:
4334443368
retryable: false
4334543369
schema:
4334643370
$ref: '#/components/schemas/InternLifecycleError'
43347-
description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.'
43371+
description: 'The caller is outside the Intern API programme, or the intern is hidden.'
4334843372
'408':
4334943373
content:
4335043374
application/json:
@@ -43429,7 +43453,7 @@ paths:
4342943453
retryable: false
4343043454
schema:
4343143455
$ref: '#/components/schemas/InternLifecycleError'
43432-
description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.'
43456+
description: 'The caller is outside the Intern API programme, or the intern is hidden.'
4343343457
'408':
4343443458
content:
4343543459
application/json:
@@ -43528,7 +43552,7 @@ paths:
4352843552
retryable: false
4352943553
schema:
4353043554
$ref: '#/components/schemas/InternLifecycleError'
43531-
description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.'
43555+
description: 'The caller is outside the Intern API programme, or the intern is hidden.'
4353243556
'408':
4353343557
content:
4353443558
application/json:
@@ -43649,7 +43673,7 @@ paths:
4364943673
retryable: false
4365043674
schema:
4365143675
$ref: '#/components/schemas/InternLifecycleError'
43652-
description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.'
43676+
description: 'The caller is outside the Intern API programme, or the intern is hidden.'
4365343677
'408':
4365443678
content:
4365543679
application/json:
@@ -43803,7 +43827,7 @@ paths:
4380343827
retryable: false
4380443828
schema:
4380543829
$ref: '#/components/schemas/InternLifecycleError'
43806-
description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.'
43830+
description: 'The caller is outside the Intern API programme, or the intern is hidden.'
4380743831
'408':
4380843832
content:
4380943833
application/json:
@@ -43943,7 +43967,7 @@ paths:
4394343967
retryable: false
4394443968
schema:
4394543969
$ref: '#/components/schemas/InternLifecycleError'
43946-
description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.'
43970+
description: 'The caller is outside the Intern API programme, or the intern is hidden.'
4394743971
'408':
4394843972
content:
4394943973
application/json:
@@ -44234,10 +44258,13 @@ paths:
4423444258
example:
4423544259
error:
4423644260
code: 403
44237-
message: 'Forbidden'
44261+
message: 'Intern lifecycle writes are not enabled for this account'
44262+
metadata:
44263+
reason: 'lifecycle_writes_disabled'
44264+
retryable: false
4423844265
schema:
4423944266
$ref: '#/components/schemas/InternLifecycleError'
44240-
description: 'The key owner no longer has access, or the request used a regional hostname.'
44267+
description: 'The key owner no longer has access, the request used a regional hostname, or lifecycle writes are not enabled for the caller (`metadata.reason` is `lifecycle_writes_disabled`).'
4424144268
'404':
4424244269
content:
4424344270
application/json:
@@ -44250,7 +44277,7 @@ paths:
4425044277
retryable: false
4425144278
schema:
4425244279
$ref: '#/components/schemas/InternLifecycleError'
44253-
description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.'
44280+
description: 'The caller is outside the Intern API programme, or the intern is hidden.'
4425444281
'408':
4425544282
content:
4425644283
application/json:
@@ -44386,10 +44413,13 @@ paths:
4438644413
example:
4438744414
error:
4438844415
code: 403
44389-
message: 'Forbidden'
44416+
message: 'Intern lifecycle writes are not enabled for this account'
44417+
metadata:
44418+
reason: 'lifecycle_writes_disabled'
44419+
retryable: false
4439044420
schema:
4439144421
$ref: '#/components/schemas/InternLifecycleError'
44392-
description: 'The key owner no longer has access, or the request used a regional hostname.'
44422+
description: 'The key owner no longer has access, the request used a regional hostname, or lifecycle writes are not enabled for the caller (`metadata.reason` is `lifecycle_writes_disabled`).'
4439344423
'404':
4439444424
content:
4439544425
application/json:
@@ -44402,7 +44432,7 @@ paths:
4440244432
retryable: false
4440344433
schema:
4440444434
$ref: '#/components/schemas/InternLifecycleError'
44405-
description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.'
44435+
description: 'The caller is outside the Intern API programme, or the intern is hidden.'
4440644436
'408':
4440744437
content:
4440844438
application/json:

0 commit comments

Comments
 (0)