Skip to content

Dashboard & HTTP API ​

Web dashboard ​

Open http://127.0.0.1:18790/dashboard in a browser. The bearer token is shown once during setup and is normally stored in macOS Keychain through the config.dashboard.token reference. Routine status and startup logs do not print it.

The dashboard is a framework SPA (Preact/Vite) served from built assets in dist/dashboard/. If the build output is missing, /dashboard returns a 503 with build instructions.

Current pages include:

  • Overview — service stats, active model, coding agent status, recent activity
  • Cron — job list, trigger on-demand runs
  • Audit — trace log with trigger badges, collapsible events, pagination
  • Memory — browse agent memory files
  • Templates — view and edit agent template files
  • Logs — application log viewer
  • Config — live config viewer/editor (sensitive fields redacted)
  • Skills — browse, enable/disable, and edit skills
  • Digests — browse cron job digest outputs
  • Approvals — pending and recent exec approval requests
  • Messages — chat interface for agent interaction
  • Health — doctor checks and system health status

Gateway routes ​

MethodPathDescription
GET/healthService health check
GET/statusRuntime status
POST/messageSend a message { message, model? }
POST/modelSwitch model { model } (alias/provider/model/model-id)
POST/cron/:id/runTrigger a cron job
POST/reloadPlaceholder response (restart required)
GET/dashboardDashboard UI

Dashboard API routes ​

All routes require Authorization: Bearer <token>.

Status & Health ​

MethodPathDescription
GET/api/dashboard/statusService + model + coding agent status
GET/api/dashboard/healthDoctor checks + feature toggles
GET/api/dashboard/doctorFull doctor report

Conversations ​

MethodPathDescription
GET/api/dashboard/conversationsChat conversations list
GET/api/dashboard/conversations/:idConversation messages

Memory ​

MethodPathDescription
GET/api/dashboard/memory/:agentIdList memory files
GET/api/dashboard/memory/:agentId/:filenameRead memory file

Cron ​

MethodPathDescription
GET/api/dashboard/cronList cron jobs
GET/api/dashboard/cron/prompt-file?path=Read cron prompt file
POST/api/dashboard/cron/:id/runTrigger cron job

Model ​

MethodPathDescription
GET/api/dashboard/modelCurrent model + aliases
POST/api/dashboard/modelSwitch model (returns resolved model)

Templates ​

MethodPathDescription
GET/api/dashboard/templates/:agentIdList templates
GET/api/dashboard/templates/:agentId/:nameRead template
PUT/api/dashboard/templates/:agentId/:nameUpdate template

Logs ​

MethodPathDescription
GET/api/dashboard/logsList log files
GET/api/dashboard/logs/:filename?tail=NRead log file (optional tail lines)

Config ​

MethodPathDescription
GET/api/dashboard/configRead config (redacted)
PUT/api/dashboard/configUpdate config
POST/api/dashboard/restartRestart service
POST/api/dashboard/reloadReload config (live reload)

Audit ​

MethodPathDescription
GET/api/dashboard/audit?limit=&offset=&trigger=Audit traces

Usage ​

MethodPathDescription
GET/api/dashboard/usageUsage summary
GET/api/dashboard/usage/recordsUsage records

Code Agents ​

MethodPathDescription
GET/api/dashboard/code-agentsList code agents
GET/api/dashboard/code-agents/:idCode agent detail
POST/api/dashboard/code-agents/:id/cancelCancel code agent

Exec Approvals ​

MethodPathDescription
GET/api/dashboard/approvalsList pending + recent approvals
POST/api/dashboard/approvals/:id/approveApprove request
POST/api/dashboard/approvals/:id/denyDeny request

Digests ​

MethodPathDescription
GET/api/dashboard/digestsList digests
GET/api/dashboard/digests/:idGet digest detail
DELETE/api/dashboard/digests/:idDelete digest
POST/api/dashboard/digests/:digestId/articles/:articleId/readMark article read/unread

Skills ​

MethodPathDescription
GET/api/dashboard/skillsList skills
GET/api/dashboard/skills/:nameGet skill detail
POST/api/dashboard/skillsCreate skill
PUT/api/dashboard/skills/:nameUpdate skill (enable/disable/edit)
DELETE/api/dashboard/skills/:nameDelete skill

Messages ​

MethodPathDescription
POST/api/dashboard/messages/sendSend message to active channel
POST/api/dashboard/messages/agentRun agent turn (get response)