Skip to content

Commit f3b8966

Browse files
author
OpenRouter SDK Bot
committed
chore: update OpenAPI spec [sdk-bot]
1 parent bcd78ee commit f3b8966

1 file changed

Lines changed: 68 additions & 3 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 68 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36221,7 +36221,7 @@ paths:
3622136221
tags:
3622236222
- 'Interns'
3622336223
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.'
3622536225
operationId: 'createIntern'
3622636226
parameters:
3622736227
- 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:
3638536385
schema:
3638636386
$ref: '#/components/schemas/InternLifecycleError'
3638736387
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.'
3638836401
'500':
3638936402
content:
3639036403
application/json:
@@ -36418,7 +36431,7 @@ paths:
3641836431
- 'Interns'
3641936432
/interns/{internId}:
3642036433
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.'
3642236435
operationId: 'deleteIntern'
3642336436
parameters:
3642436437
- description: 'ID of an intern visible to the authenticated API key.'
@@ -36532,6 +36545,19 @@ paths:
3653236545
schema:
3653336546
$ref: '#/components/schemas/InternLifecycleError'
3653436547
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.'
3653536561
'500':
3653636562
content:
3653736563
application/json:
@@ -36663,7 +36689,7 @@ paths:
3666336689
tags:
3666436690
- 'Interns'
3666536691
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.'
3666736693
operationId: 'updateIntern'
3666836694
parameters:
3666936695
- description: 'ID of an intern visible to the authenticated API key.'
@@ -36791,6 +36817,19 @@ paths:
3679136817
schema:
3679236818
$ref: '#/components/schemas/InternLifecycleError'
3679336819
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.'
3679436833
'500':
3679536834
content:
3679636835
application/json:
@@ -37154,6 +37193,19 @@ paths:
3715437193
schema:
3715537194
$ref: '#/components/schemas/InternLifecycleError'
3715637195
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.'
3715737209
'500':
3715837210
content:
3715937211
application/json:
@@ -37293,6 +37345,19 @@ paths:
3729337345
schema:
3729437346
$ref: '#/components/schemas/InternLifecycleError'
3729537347
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.'
3729637361
'500':
3729737362
content:
3729837363
application/json:

0 commit comments

Comments
 (0)