Overview
Wardcase API (0.1.0)
Section titled “Wardcase API (0.1.0)”Base URL: https://api.wardcase.com
Sandboxes for AI agents. Create an isolated Linux sandbox, run commands, move files, expose ports, connect over SSH, snapshot, and destroy. Every API command, file transfer, exposed port and outbound connection is recorded in the audit trail, and every SSH or terminal session is recorded as a start and end event with its duration.
Authentication: Authorization: Bearer vv_live_... for API keys, or the dashboard session cookie.
Scopes: read operations on sandboxes, files, ports and snapshots need sandboxes:read; anything
that creates, changes or destroys them needs sandboxes:write; /v1/audit* needs audit:read;
/v1/usage and /v1/billing/* need billing:read; API keys, SSH keys, egress policies and the
org itself need org:admin. Dashboard sessions carry every scope. Errors are RFC 9457 problem
documents (application/problem+json) whose type is https://docs.wardcase.com/errors/<slug>,
and the slug is a stable machine code.
Ids are lowercase: a prefix such as sbx_, snap_, key_ followed by 16 characters from [a-z0-9].
Rate limits per API key: 60 writes and 600 reads a minute; 429 responses carry Retry-After.
Every JSON body is limited to 256 KiB (413 otherwise). Limits apply per API key and per org
(60 writes and 600 reads a minute each); the invite-code sign-in path allows 10 attempts per IP per
hour. Operator endpoints use a separate ADMIN_KEY credential and are not part of this reference.
- Contact: https://wardcase.com/contact/ - business@wardcase.com
- OpenAPI version: 3.1.0
Authentication
Section titled “ Authentication ”apiKey
Section titled “apiKey ”Security scheme type: http
Bearer format: vv_live_ followed by 32 characters
session
Section titled “session ”Dashboard session cookie. Named __Host-vv_session in production (HttpOnly, Secure, SameSite=Lax, Path=/); plain vv_session in local development over http.
Security scheme type: apiKey
Cookie parameter name: __Host-vv_session
adminKey
Section titled “adminKey ”Security scheme type: http
Bearer format: operator secret (ADMIN_KEY); opens only the operator endpoints