Skip to content

Dashboard API ​

Interactive and management features exposed through the dashboard API.

Code Agents ​

MethodPathDescription
GET/api/dashboard/code-agentsList active/recent code agent runs
GET/api/dashboard/code-agents/:idGet details of a specific run
POST/api/dashboard/code-agents/:id/cancelCancel a running agent

Code Agent Status Object ​

json
{
  "id": "abc-123",
  "status": "running",
  "task": "Fix the login bug",
  "model": "anthropic/claude-opus-4",
  "startedAt": "2026-02-23T10:00:00Z",
  "output": "Last 5KB of streaming output..."
}

Status values: running, validating, completed, failed

Exec Approvals ​

Bash commands classified as Tier 2+ require explicit approval before execution.

MethodPathDescription
GET/api/dashboard/approvalsList pending and recent approval requests
POST/api/dashboard/approvals/:id/approveApprove a pending command
POST/api/dashboard/approvals/:id/denyDeny a pending command

Risk Tiers ​

TierRiskBehavior
0SafeAuto-approved
1LowAuto-approved
2MediumPrompts user (sudo, chmod 777)
3CatastrophicAlways requires approval (rm -rf, mkfs, DROP TABLE)

Digests ​

Cron job article outputs stored as digests.

MethodPathDescription
GET/api/dashboard/digestsList all digests
GET/api/dashboard/digests/:idGet digest content
DELETE/api/dashboard/digests/:idDelete a digest
POST/api/dashboard/digests/:digestId/articles/:articleId/readMark article read/unread. Body: { read? }

Skills ​

MethodPathDescription
GET/api/dashboard/skillsList skills with eligibility and metadata
GET/api/dashboard/skills/:nameFull skill details including raw SKILL.md
POST/api/dashboard/skillsCreate skill. Body: { name, content }
PUT/api/dashboard/skills/:nameUpdate skill. Body: { enabled?, content? }
DELETE/api/dashboard/skills/:nameDelete skill directory