Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 68 additions & 3 deletions .speakeasy/in.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36221,7 +36221,7 @@ paths:
tags:
- 'Interns'
post:
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.'
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.'
operationId: 'createIntern'
parameters:
- 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.'
Expand Down Expand Up @@ -36385,6 +36385,19 @@ paths:
schema:
$ref: '#/components/schemas/InternLifecycleError'
description: 'The request body is larger than 1048576 bytes.'
'415':
content:
application/json:
example:
error:
code: 415
message: 'Request body must be sent as application/json'
metadata:
reason: 'unsupported_media_type'
retryable: false
schema:
$ref: '#/components/schemas/InternLifecycleError'
description: 'The request body is non-empty and its Content-Type is not application/json.'
'500':
content:
application/json:
Expand Down Expand Up @@ -36418,7 +36431,7 @@ paths:
- 'Interns'
/interns/{internId}:
delete:
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.'
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.'
operationId: 'deleteIntern'
parameters:
- description: 'ID of an intern visible to the authenticated API key.'
Expand Down Expand Up @@ -36532,6 +36545,19 @@ paths:
schema:
$ref: '#/components/schemas/InternLifecycleError'
description: 'The request body is larger than 1048576 bytes.'
'415':
content:
application/json:
example:
error:
code: 415
message: 'Request body must be sent as application/json'
metadata:
reason: 'unsupported_media_type'
retryable: false
schema:
$ref: '#/components/schemas/InternLifecycleError'
description: 'The request body is non-empty and its Content-Type is not application/json.'
'500':
content:
application/json:
Expand Down Expand Up @@ -36663,7 +36689,7 @@ paths:
tags:
- 'Interns'
patch:
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.'
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.'
operationId: 'updateIntern'
parameters:
- description: 'ID of an intern visible to the authenticated API key.'
Expand Down Expand Up @@ -36791,6 +36817,19 @@ paths:
schema:
$ref: '#/components/schemas/InternLifecycleError'
description: 'The request body is larger than 1048576 bytes.'
'415':
content:
application/json:
example:
error:
code: 415
message: 'Request body must be sent as application/json'
metadata:
reason: 'unsupported_media_type'
retryable: false
schema:
$ref: '#/components/schemas/InternLifecycleError'
description: 'The request body is non-empty and its Content-Type is not application/json.'
'500':
content:
application/json:
Expand Down Expand Up @@ -37154,6 +37193,19 @@ paths:
schema:
$ref: '#/components/schemas/InternLifecycleError'
description: 'The request body is larger than 1048576 bytes.'
'415':
content:
application/json:
example:
error:
code: 415
message: 'Request body must be sent as application/json'
metadata:
reason: 'unsupported_media_type'
retryable: false
schema:
$ref: '#/components/schemas/InternLifecycleError'
description: 'The request body is non-empty and its Content-Type is not application/json.'
'500':
content:
application/json:
Expand Down Expand Up @@ -37293,6 +37345,19 @@ paths:
schema:
$ref: '#/components/schemas/InternLifecycleError'
description: 'The request body is larger than 1048576 bytes.'
'415':
content:
application/json:
example:
error:
code: 415
message: 'Request body must be sent as application/json'
metadata:
reason: 'unsupported_media_type'
retryable: false
schema:
$ref: '#/components/schemas/InternLifecycleError'
description: 'The request body is non-empty and its Content-Type is not application/json.'
'500':
content:
application/json:
Expand Down
Loading