Skip to content

Conventions

https://rsibox.ai/v1

Use https://rsibox.ai/v1 for account, team, project, billing, and console sandbox APIs. CLI/SDK execution, live wait, network updates, and file transfers use https://rsibox.ai/compute; see Compute API. Console billing IDs (sbx_…) and native compute IDs are distinct — pass each API the ID it returned.

Requests and responses are JSON except file transfers. Send Content-Type: application/json with any JSON body.

Send an API key or CLI session token as a bearer token. The console uses its browser session cookie. Some operations require a signed-in user session or a team owner/admin role; API keys never inherit their creator’s administrative permissions. See Authentication.

Authorization: Bearer rsi_...
Kind Format
Time Box and run timestamps use integer Unix seconds (created_at, started_at, stopped_at, finished_at). Lifecycle events, log segments, GPU readings, and usage points use integer Unix milliseconds (at_ms, sampled_at_ms, observed_at_ms). API-key dates use ISO 8601 strings.
Money Integer micro-credits in fields ending in _micro. 1 credit = 1,000,000 micro-credits = 1 USD.
Memory and disk Mebibytes in fields ending in _mb or Mb. Usage readings (VRAM and host RAM) use bytes in fields ending in _bytes.
Duration you send A positive integer and unit: 90s, 30m, 2h, 7d.

An API key scoped to one project sees only that project’s RSI Boxes, usage, and keys, and cannot create, rename, or delete projects.

GET /v1/me
{
"user": { "id": "…", "email": "you@example.com", "name": "…" },
"organization": { "id": "…", "name": "Acme", "slug": "acme", "role": "member" },
"project_id": null,
"via": "api_key",
"staff": false
}
  • project_id: set when authenticating with a project-scoped API key, otherwise null.
  • organization.role: the caller’s current team role (owner, admin, or member).
  • via: api_key or session (covers both browser and CLI sessions).
  • staff: true only for verified staff browser sessions; separate from team ownership.