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 f3b8966
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .speakeasy/in.openapi.yaml
+68-3Lines changed: 68 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -36221,7 +36221,7 @@ paths:
36221
36221
tags:
36222
36222
- 'Interns'
36223
36223
post:
36224
-
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.'
36224
+
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.'
36225
36225
operationId: 'createIntern'
36226
36226
parameters:
36227
36227
- 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.'
@@ -36385,6 +36385,19 @@ paths:
36385
36385
schema:
36386
36386
$ref: '#/components/schemas/InternLifecycleError'
36387
36387
description: 'The request body is larger than 1048576 bytes.'
36388
+
'415':
36389
+
content:
36390
+
application/json:
36391
+
example:
36392
+
error:
36393
+
code: 415
36394
+
message: 'Request body must be sent as application/json'
36395
+
metadata:
36396
+
reason: 'unsupported_media_type'
36397
+
retryable: false
36398
+
schema:
36399
+
$ref: '#/components/schemas/InternLifecycleError'
36400
+
description: 'The request body is non-empty and its Content-Type is not application/json.'
36388
36401
'500':
36389
36402
content:
36390
36403
application/json:
@@ -36418,7 +36431,7 @@ paths:
36418
36431
- 'Interns'
36419
36432
/interns/{internId}:
36420
36433
delete:
36421
-
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.'
36434
+
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.'
36422
36435
operationId: 'deleteIntern'
36423
36436
parameters:
36424
36437
- description: 'ID of an intern visible to the authenticated API key.'
@@ -36532,6 +36545,19 @@ paths:
36532
36545
schema:
36533
36546
$ref: '#/components/schemas/InternLifecycleError'
36534
36547
description: 'The request body is larger than 1048576 bytes.'
36548
+
'415':
36549
+
content:
36550
+
application/json:
36551
+
example:
36552
+
error:
36553
+
code: 415
36554
+
message: 'Request body must be sent as application/json'
36555
+
metadata:
36556
+
reason: 'unsupported_media_type'
36557
+
retryable: false
36558
+
schema:
36559
+
$ref: '#/components/schemas/InternLifecycleError'
36560
+
description: 'The request body is non-empty and its Content-Type is not application/json.'
36535
36561
'500':
36536
36562
content:
36537
36563
application/json:
@@ -36663,7 +36689,7 @@ paths:
36663
36689
tags:
36664
36690
- 'Interns'
36665
36691
patch:
36666
-
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.'
36692
+
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.'
36667
36693
operationId: 'updateIntern'
36668
36694
parameters:
36669
36695
- description: 'ID of an intern visible to the authenticated API key.'
@@ -36791,6 +36817,19 @@ paths:
36791
36817
schema:
36792
36818
$ref: '#/components/schemas/InternLifecycleError'
36793
36819
description: 'The request body is larger than 1048576 bytes.'
36820
+
'415':
36821
+
content:
36822
+
application/json:
36823
+
example:
36824
+
error:
36825
+
code: 415
36826
+
message: 'Request body must be sent as application/json'
36827
+
metadata:
36828
+
reason: 'unsupported_media_type'
36829
+
retryable: false
36830
+
schema:
36831
+
$ref: '#/components/schemas/InternLifecycleError'
36832
+
description: 'The request body is non-empty and its Content-Type is not application/json.'
36794
36833
'500':
36795
36834
content:
36796
36835
application/json:
@@ -37154,6 +37193,19 @@ paths:
37154
37193
schema:
37155
37194
$ref: '#/components/schemas/InternLifecycleError'
37156
37195
description: 'The request body is larger than 1048576 bytes.'
37196
+
'415':
37197
+
content:
37198
+
application/json:
37199
+
example:
37200
+
error:
37201
+
code: 415
37202
+
message: 'Request body must be sent as application/json'
37203
+
metadata:
37204
+
reason: 'unsupported_media_type'
37205
+
retryable: false
37206
+
schema:
37207
+
$ref: '#/components/schemas/InternLifecycleError'
37208
+
description: 'The request body is non-empty and its Content-Type is not application/json.'
37157
37209
'500':
37158
37210
content:
37159
37211
application/json:
@@ -37293,6 +37345,19 @@ paths:
37293
37345
schema:
37294
37346
$ref: '#/components/schemas/InternLifecycleError'
37295
37347
description: 'The request body is larger than 1048576 bytes.'
37348
+
'415':
37349
+
content:
37350
+
application/json:
37351
+
example:
37352
+
error:
37353
+
code: 415
37354
+
message: 'Request body must be sent as application/json'
37355
+
metadata:
37356
+
reason: 'unsupported_media_type'
37357
+
retryable: false
37358
+
schema:
37359
+
$ref: '#/components/schemas/InternLifecycleError'
37360
+
description: 'The request body is non-empty and its Content-Type is not application/json.'
0 commit comments