inis.run
API reference

API overview

REST API for sandbox execution and session management.

The execution API is versioned under /v1. All endpoints accept JSON and require bearer authentication.

Base URL: https://api.inis.run

Each endpoint in the reference shows the HTTP method, path, request body, and response shape. For interactive exploration, use the OpenAPI spec or the CLI.

Endpoints

MethodPathDescription
POST/v1/sessions/execStateless run in a throwaway session
GET/v1/sessionsList sessions
POST/v1/sessionsCreate session
GET/v1/sessions/{id}Get session
DELETE/v1/sessions/{id}Destroy session
POST/v1/sessions/{id}/execRun command
POST/v1/sessions/{id}/processesStart a named background process
GET/v1/sessions/{id}/processesList named background processes
GET/DELETE/v1/sessions/{id}/processes/{name}Get / kill a named background process
GET/v1/sessions/{id}/processes/{name}/logsProcess output — buffered, or ?follow=true for SSE
GET/v1/sessions/{id}/filesRead a file, list a directory, or ?op=find/?op=grep
PUT/v1/sessions/{id}/filesWrite a file
PUT/v1/sessions/{id}/files/batchWrite several small files in one call
GET/v1/sessions/{id}/ptyInteractive terminal (WebSocket)
GET/v1/sessions/{id}/tunnelSSH tunnel (WebSocket)
POST/v1/sessions/{id}/exposePreview URL
POST/v1/sessions/{id}/unexposeRemove exposed port
GET/POST/v1/sessions/{id}/egressRead / set the egress policy
POST/v1/sessions/{id}/forkFork into N children
POST/v1/sessions/{id}/pausePause session
POST/v1/sessions/{id}/resumeResume session
POST / GET/v1/sessions/{id}/checkpointsCreate / list checkpoints
POST/v1/sessions/{id}/restoreRoll back to a checkpoint in place
POST / GET/v1/sessions/{id}/artifactsCapture / list artifacts
GET/v1/templatesList available templates
POST/v1/sessions/{id}/templatesSave a session as a template
POST/v1/sessions/batch/execFan-out command
GET/v1/orgAccount capacity and limits
GET/v1/healthzNode health (no auth)

Detail: Stateless execution · Sessions · Organisation · Errors · Networking & egress · Execution log · Artifacts · Templates

Account management (API keys, usage, billing) lives on the control plane at https://app.inis.run/v1/* — separate from execution. That's also where GET /v1/audit/events lives — see Execution log.

Sandbox sizes

Pass size on session create or execute: small, medium, or large. Omitted uses the server's default tier. See pricing for vCPU/RAM/rates.

OpenAPI

The full schema is available as openapi.yaml.

New to the primitives? Start with Concepts.

On this page