Example Usage
import { CreateInternRequest } from "@openrouter/sdk/models";
let value: CreateInternRequest = {
name: "research-assistant",
provision: true,
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
description | string | :heavy_minus_sign: | Free-form description, or null. |
instructions | string | :heavy_minus_sign: | Standing instructions the intern boots with, or null. |
name | string | :heavy_check_mark: | Intern name, unique per creator within the workspace. |
provision | boolean | :heavy_minus_sign: | Start provisioning during this create operation. Defaults to false. |
vaultId | string | :heavy_minus_sign: | Vault owned by another intern in this workspace to attach as a borrowed vault. |
workspaceId | string | :heavy_minus_sign: | Workspace that will own the intern. Defaults to the workspace the API key resolves to. When given, it must match the API key workspace. |