{"name":"Cerver API","version":"0.4.0","description":"Execution gateway for agent sessions across local and remote computers.","layers":{"compute":{"description":"Manages providers and the actual compute resources behind them.","entities":["provider","compute","capability","state","file","health"]},"sessions":{"description":"Manages agent sessions on top of compute resources.","entities":["session","input","run","stream","metric","stress_test"]}},"sandbox_providers":["cloudflare","e2b","cerver_local_provider","vercel"],"gateway_providers":[{"name":"cloudflare","executable":false,"integration_status":"partial"},{"name":"vercel","executable":true,"integration_status":"integrated"},{"name":"e2b","executable":true,"integration_status":"integrated"},{"name":"cerver_local_provider","executable":false,"integration_status":"partial"},{"name":"daytona","executable":false,"integration_status":"planned"}],"endpoints":{"POST /v2/auth/login":"Login with email — returns or creates account + API key","GET /v2/auth/account":"Get current account info","GET /v2/auth/keys":"List API keys for account","POST /v2/auth/keys":"Create a new API key","DELETE /v2/auth/keys/:key":"Delete an API key","GET /v2/account/providers":"List enabled providers for account","POST /v2/account/providers":"Enable a provider with credentials","DELETE /v2/account/providers/:name":"Disable a provider","POST /v2/auth/device":"Start device login flow","GET /v2/auth/device?device_code=...":"Poll device login status","POST /v2/auth/approve":"Approve a device and issue API key","GET /v2/connect/ws?compute_id=...":"Open a Cerver Connect websocket for a private compute","GET /v2/computes":"List shared remote compute and private local compute for an owner","GET /v2/computes/:id":"Get one compute record","POST /v2/computes/register":"Register a local compute with Cerver","POST /v2/computes/:id/heartbeat":"Refresh local compute liveness","DELETE /v2/computes/:id":"Unregister a local compute","POST /v2/sessions":"Create a session, optionally pinned to a target compute","GET /v2/sessions/:id":"Get a v2 session record","POST /v2/sessions/:id/input":"Record v2 session input","POST /v2/sessions/:id/run":"Run work through a v2 session","POST /v2/sessions/:id/run/stream":"Stream work through a v2 session","GET /v2/sessions":"List sessions for an owner","GET /v2/sessions/:id/metrics":"Read v2 session metrics","POST /v2/sessions/:id/pause":"Pause a session (release compute, keep record)","POST /v2/sessions/:id/resume":"Resume a paused session on same or different compute","POST /v2/sessions/:id/spawn":"Spawn a child session on new compute","DELETE /v2/sessions/:id":"Terminate a v2 session","GET /gateway/providers":"List provider capability and integration status","POST /gateway/recommend":"Recommend the best execution provider for a task","POST /gateway/sessions":"Create a logical execution session","GET /gateway/sessions/:id":"Get execution session state","POST /gateway/sessions/:id/input":"Store chat or task input on a session","POST /gateway/sessions/:id/run":"Run code through the execution gateway","POST /gateway/sessions/:id/run/stream":"Stream code execution through the gateway","GET /gateway/sessions/:id/metrics":"Get session latency and cost metrics","DELETE /gateway/sessions/:id":"Terminate a logical execution session","POST /gateway/stress-tests":"Create a provider comparison report","GET /gateway/stress-tests/:id":"Get a stored provider comparison report","POST /sandbox":"Provision raw compute directly on a provider","GET /sandbox/:id":"Get raw compute metadata","POST /sandbox/:id/run":"Run code in raw compute","POST /sandbox/:id/run/stream":"Run code in raw compute with streaming output","POST /sandbox/:id/install":"Install a package on raw compute","POST /sandbox/:id/files":"Write a file to raw compute","GET /sandbox/:id/files":"Read or list files from raw compute","GET /sandbox/:id/state":"Get provider-specific raw compute state","POST /sandbox/:id/state":"Set provider-specific raw compute state","DELETE /sandbox/:id":"Terminate raw compute"}}