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 fa27a7c
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .speakeasy/in.openapi.yaml
+54-24Lines changed: 54 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -26338,12 +26338,12 @@ components:
26338
26338
prompt: '0.0000025'
26339
26339
properties:
26340
26340
cache_read:
26341
-
description: 'USD per cache-read prompt token, as a decimal string. Omit it to bill cache reads at the providerpricing 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.'
26342
26342
example: '0.00000025'
26343
26343
pattern: '^\d+(\.\d+)?$'
26344
26344
type: 'string'
26345
26345
cache_write:
26346
-
description: 'USD per cache-write prompt token, as a decimal string. Omit it to bill cache writes at the providerpricing 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.'
26347
26347
example: '0.000003125'
26348
26348
pattern: '^\d+(\.\d+)?$'
26349
26349
type: 'string'
@@ -40664,6 +40664,16 @@ paths:
40664
40664
schema:
40665
40665
$ref: '#/components/schemas/NotFoundResponse'
40666
40666
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.'
40667
40677
'429':
40668
40678
content:
40669
40679
application/json:
@@ -42353,7 +42363,7 @@ paths:
42353
42363
retryable: false
42354
42364
schema:
42355
42365
$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.'
42357
42367
'408':
42358
42368
content:
42359
42369
application/json:
@@ -42485,6 +42495,14 @@ paths:
42485
42495
content:
42486
42496
application/json:
42487
42497
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
42488
42506
no_acting_user:
42489
42507
value:
42490
42508
error:
@@ -42503,7 +42521,7 @@ paths:
42503
42521
retryable: false
42504
42522
schema:
42505
42523
$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.'
42507
42525
'404':
42508
42526
content:
42509
42527
application/json:
@@ -42516,7 +42534,7 @@ paths:
42516
42534
retryable: false
42517
42535
schema:
42518
42536
$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.'
42520
42538
'408':
42521
42539
content:
42522
42540
application/json:
@@ -42670,10 +42688,13 @@ paths:
42670
42688
example:
42671
42689
error:
42672
42690
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
42674
42695
schema:
42675
42696
$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`).'
42677
42698
'404':
42678
42699
content:
42679
42700
application/json:
@@ -42686,7 +42707,7 @@ paths:
42686
42707
retryable: false
42687
42708
schema:
42688
42709
$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.'
42690
42711
'408':
42691
42712
content:
42692
42713
application/json:
@@ -42840,7 +42861,7 @@ paths:
42840
42861
retryable: false
42841
42862
schema:
42842
42863
$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.'
42844
42865
'408':
42845
42866
content:
42846
42867
application/json:
@@ -42948,10 +42969,13 @@ paths:
42948
42969
example:
42949
42970
error:
42950
42971
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
42952
42976
schema:
42953
42977
$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`).'
42955
42979
'404':
42956
42980
content:
42957
42981
application/json:
@@ -42964,7 +42988,7 @@ paths:
42964
42988
retryable: false
42965
42989
schema:
42966
42990
$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.'
42968
42992
'408':
42969
42993
content:
42970
42994
application/json:
@@ -43344,7 +43368,7 @@ paths:
43344
43368
retryable: false
43345
43369
schema:
43346
43370
$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.'
43348
43372
'408':
43349
43373
content:
43350
43374
application/json:
@@ -43429,7 +43453,7 @@ paths:
43429
43453
retryable: false
43430
43454
schema:
43431
43455
$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.'
43433
43457
'408':
43434
43458
content:
43435
43459
application/json:
@@ -43528,7 +43552,7 @@ paths:
43528
43552
retryable: false
43529
43553
schema:
43530
43554
$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.'
43532
43556
'408':
43533
43557
content:
43534
43558
application/json:
@@ -43649,7 +43673,7 @@ paths:
43649
43673
retryable: false
43650
43674
schema:
43651
43675
$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.'
43653
43677
'408':
43654
43678
content:
43655
43679
application/json:
@@ -43803,7 +43827,7 @@ paths:
43803
43827
retryable: false
43804
43828
schema:
43805
43829
$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.'
43807
43831
'408':
43808
43832
content:
43809
43833
application/json:
@@ -43943,7 +43967,7 @@ paths:
43943
43967
retryable: false
43944
43968
schema:
43945
43969
$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.'
43947
43971
'408':
43948
43972
content:
43949
43973
application/json:
@@ -44234,10 +44258,13 @@ paths:
44234
44258
example:
44235
44259
error:
44236
44260
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
44238
44265
schema:
44239
44266
$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`).'
44241
44268
'404':
44242
44269
content:
44243
44270
application/json:
@@ -44250,7 +44277,7 @@ paths:
44250
44277
retryable: false
44251
44278
schema:
44252
44279
$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.'
44254
44281
'408':
44255
44282
content:
44256
44283
application/json:
@@ -44386,10 +44413,13 @@ paths:
44386
44413
example:
44387
44414
error:
44388
44415
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
44390
44420
schema:
44391
44421
$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`).'
44393
44423
'404':
44394
44424
content:
44395
44425
application/json:
@@ -44402,7 +44432,7 @@ paths:
44402
44432
retryable: false
44403
44433
schema:
44404
44434
$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.'
0 commit comments