REST API

Automate the platform programmatically.

Base URL & auth

All requests go to https://api.robinclaw.cloud and require a bearer token. Generate one from your workspace Secrets.

Authentication
Authorization: Bearer $ROBINCLAW_TOKEN
Content-Type: application/json
Requests are scoped to your workspace and enforced by row-level security. You only ever see your own resources.

Endpoints

GET/v1/osList Operating Systems
POST/v1/osCreate an Operating System
GET/v1/os/{id}Retrieve an Operating System
PATCH/v1/os/{id}Update status or name
DELETE/v1/os/{id}Terminate an Operating System
POST/v1/os/{id}/cloneClone an Operating System
GET/v1/os/{id}/agentsList agents
PATCH/v1/os/{id}/agents/{agentId}Update an agent
GET/v1/os/{id}/portfolioPortfolio snapshot
GET/v1/os/{id}/automationsList automations
POST/v1/os/{id}/automations/{id}/runRun an automation
GET/v1/accountUsage & billing

Example

Create an Operating System

POST /v1/os
{
  "name": "Research Lab",
  "region": "us-west",
  "personality": "research-analyst",
  "capabilities": ["research", "risk", "portfolio"]
}

Response

201 Created
{
  "id": "os_research-lab_a1b2",
  "status": "running",
  "region": "us-west",
  "agentCount": 3,
  "createdAt": "2026-07-12T09:14:00Z"
}