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
Copy file name to clipboardExpand all lines: .speakeasy/out.openapi.yaml
+68-3Lines changed: 68 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -36636,7 +36636,7 @@ paths:
36636
36636
tags:
36637
36637
- 'Interns'
36638
36638
post:
36639
-
description: 'Creates an intern in an explicit workspace. The operation also creates its private vault. It can start provisioning immediately or wait for a later provision call. A retry with the same idempotency key and body resumes unfinished work. The request body is capped at 1048576 bytes and a larger body is refused with 413. The API key selects the caller, workspace and visible interns. There is no default workspace fallback. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required.'
36639
+
description: 'Creates an intern in an explicit workspace. The operation also creates its private vault. It can start provisioning immediately or wait for a later provision call. A retry with the same idempotency key and body resumes unfinished work. The request body is capped at 1048576 bytes and a larger body is refused with 413. A non-empty body must declare `Content-Type: application/json` or it is refused with 415. The API key selects the caller, workspace and visible interns. There is no default workspace fallback. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required.'
36640
36640
operationId: 'createIntern'
36641
36641
parameters:
36642
36642
- description: 'Key that makes retries resume the same create operation, from 1 through 255 characters. An empty or longer key is refused with 400. Without the header, the server derives a stable key from the request body.'
@@ -36800,6 +36800,19 @@ paths:
36800
36800
schema:
36801
36801
$ref: '#/components/schemas/InternLifecycleError'
36802
36802
description: 'The request body is larger than 1048576 bytes.'
36803
+
'415':
36804
+
content:
36805
+
application/json:
36806
+
example:
36807
+
error:
36808
+
code: 415
36809
+
message: 'Request body must be sent as application/json'
36810
+
metadata:
36811
+
reason: 'unsupported_media_type'
36812
+
retryable: false
36813
+
schema:
36814
+
$ref: '#/components/schemas/InternLifecycleError'
36815
+
description: 'The request body is non-empty and its Content-Type is not application/json.'
36803
36816
'500':
36804
36817
content:
36805
36818
application/json:
@@ -36837,7 +36850,7 @@ paths:
36837
36850
- $ref: "#/components/parameters/AppCategories"
36838
36851
/interns/{internId}:
36839
36852
delete:
36840
-
description: 'Starts safe teardown of the intern, its runtime and its private vault. The body is optional. Send `{"acknowledge_workspace_loss": true}` to delete a `destroy_failed` intern whose `last_failure_message` names `workspace_archive_failed`, accepting that its workspace is not backed up. The request body is capped at 1048576 bytes and a larger body is refused with 413. The API key selects the caller, workspace and visible interns. There is no default workspace fallback. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required.'
36853
+
description: 'Starts safe teardown of the intern, its runtime and its private vault. The body is optional. Send `{"acknowledge_workspace_loss": true}` to delete a `destroy_failed` intern whose `last_failure_message` names `workspace_archive_failed`, accepting that its workspace is not backed up. The request body is capped at 1048576 bytes and a larger body is refused with 413. A non-empty body must declare `Content-Type: application/json` or it is refused with 415. The API key selects the caller, workspace and visible interns. There is no default workspace fallback. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required.'
36841
36854
operationId: 'deleteIntern'
36842
36855
parameters:
36843
36856
- description: 'ID of an intern visible to the authenticated API key.'
@@ -36951,6 +36964,19 @@ paths:
36951
36964
schema:
36952
36965
$ref: '#/components/schemas/InternLifecycleError'
36953
36966
description: 'The request body is larger than 1048576 bytes.'
36967
+
'415':
36968
+
content:
36969
+
application/json:
36970
+
example:
36971
+
error:
36972
+
code: 415
36973
+
message: 'Request body must be sent as application/json'
36974
+
metadata:
36975
+
reason: 'unsupported_media_type'
36976
+
retryable: false
36977
+
schema:
36978
+
$ref: '#/components/schemas/InternLifecycleError'
36979
+
description: 'The request body is non-empty and its Content-Type is not application/json.'
36954
36980
'500':
36955
36981
content:
36956
36982
application/json:
@@ -37082,7 +37108,7 @@ paths:
37082
37108
tags:
37083
37109
- 'Interns'
37084
37110
patch:
37085
-
description: 'Changes the intern name, description, instructions or model. Omitted fields stay unchanged. The request body is capped at 1048576 bytes and a larger body is refused with 413. The API key selects the caller, workspace and visible interns. There is no default workspace fallback. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required.'
37111
+
description: 'Changes the intern name, description, instructions or model. Omitted fields stay unchanged. The request body is capped at 1048576 bytes and a larger body is refused with 413. A non-empty body must declare `Content-Type: application/json` or it is refused with 415. The API key selects the caller, workspace and visible interns. There is no default workspace fallback. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required.'
37086
37112
operationId: 'updateIntern'
37087
37113
parameters:
37088
37114
- description: 'ID of an intern visible to the authenticated API key.'
@@ -37210,6 +37236,19 @@ paths:
37210
37236
schema:
37211
37237
$ref: '#/components/schemas/InternLifecycleError'
37212
37238
description: 'The request body is larger than 1048576 bytes.'
37239
+
'415':
37240
+
content:
37241
+
application/json:
37242
+
example:
37243
+
error:
37244
+
code: 415
37245
+
message: 'Request body must be sent as application/json'
37246
+
metadata:
37247
+
reason: 'unsupported_media_type'
37248
+
retryable: false
37249
+
schema:
37250
+
$ref: '#/components/schemas/InternLifecycleError'
37251
+
description: 'The request body is non-empty and its Content-Type is not application/json.'
37213
37252
'500':
37214
37253
content:
37215
37254
application/json:
@@ -37584,6 +37623,19 @@ paths:
37584
37623
schema:
37585
37624
$ref: '#/components/schemas/InternLifecycleError'
37586
37625
description: 'The request body is larger than 1048576 bytes.'
37626
+
'415':
37627
+
content:
37628
+
application/json:
37629
+
example:
37630
+
error:
37631
+
code: 415
37632
+
message: 'Request body must be sent as application/json'
37633
+
metadata:
37634
+
reason: 'unsupported_media_type'
37635
+
retryable: false
37636
+
schema:
37637
+
$ref: '#/components/schemas/InternLifecycleError'
37638
+
description: 'The request body is non-empty and its Content-Type is not application/json.'
37587
37639
'500':
37588
37640
content:
37589
37641
application/json:
@@ -37727,6 +37779,19 @@ paths:
37727
37779
schema:
37728
37780
$ref: '#/components/schemas/InternLifecycleError'
37729
37781
description: 'The request body is larger than 1048576 bytes.'
37782
+
'415':
37783
+
content:
37784
+
application/json:
37785
+
example:
37786
+
error:
37787
+
code: 415
37788
+
message: 'Request body must be sent as application/json'
37789
+
metadata:
37790
+
reason: 'unsupported_media_type'
37791
+
retryable: false
37792
+
schema:
37793
+
$ref: '#/components/schemas/InternLifecycleError'
37794
+
description: 'The request body is non-empty and its Content-Type is not application/json.'
0 commit comments