/apps/clawcontrol/app/api/**.
Base URL
Response Conventions
All endpoints return JSON. Successful responses typically return one of:{ "data": ... }{ "data": ..., "meta": ... }
error string and may also include code, details, or policy depending on the endpoint.
Common Status Codes
200success201created400invalid input403forbidden (policy/gate)404not found428typed confirmation required (some routes)500server error502/503upstream OpenClaw/gateway unavailable patterns
Policy Errors (Typed Confirm / Approval)
Typed-confirm failures use error codes such as:TYPED_CONFIRM_REQUIREDTYPED_CONFIRM_INVALID
403 or 428.
Example (wrapper-style error shape):
cURL-first Example
Grouped API Pages
- Config and Init
- OpenClaw, Console, and Cron
- Work Orders, Operations, and Receipts
- Agents, Templates, and Stations
- Workflows, Teams, and Packages
- Plugins, Skills, and Models
- Workspace, Maintenance, Security, and Sync
- Streaming (SSE)
- Endpoint Index