Overview
Create, inspect, update, provision, suspend and delete OpenRouter interns through an API key.Available Operations
- list_interns - List interns
- create_intern - Create an intern
- delete_intern - Delete an intern
- get_intern - Get an intern
- update_intern - Update an intern
- provision_intern - Provision an intern
- suspend_intern - Suspend an intern
list_interns
Lists interns visible to the authenticated key, newest first. Filter by workspace and one or more lifecycle statuses. The API key selects the caller, workspace and visible interns. There is no default workspace fallback. Requests on regional hostnames such aseu.openrouter.ai are refused. API key required.
Example Usage
Parameters
Response
components.InternListResponseErrors
create_intern
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 aseu.openrouter.ai are refused. API key required.
Example Usage
Parameters
Response
components.InternErrors
delete_intern
Starts safe teardown of the intern, its runtime and its private vault. The API key selects the caller, workspace and visible interns. There is no default workspace fallback. Requests on regional hostnames such aseu.openrouter.ai are refused. API key required.
Example Usage
Parameters
Response
components.DeleteInternResponseErrors
get_intern
Returns the public lifecycle state and settings for one visible intern. The API key selects the caller, workspace and visible interns. There is no default workspace fallback. Requests on regional hostnames such aseu.openrouter.ai are refused. API key required.
Example Usage
Parameters
Response
components.InternErrors
update_intern
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 aseu.openrouter.ai are refused. API key required.
Example Usage
Parameters
Response
components.InternErrors
provision_intern
Starts the first boot, or resumes an intern after suspension. The API key selects the caller, workspace and visible interns. There is no default workspace fallback. Requests on regional hostnames such aseu.openrouter.ai are refused. API key required.
Example Usage
Parameters
Response
components.ProvisionInternResponseErrors
suspend_intern
Stops the intern runtime while keeping its disk and configuration for a later provision call. The API key selects the caller, workspace and visible interns. There is no default workspace fallback. Requests on regional hostnames such aseu.openrouter.ai are refused. API key required.