Expand description
REST endpoint handlers over the FleetManager.
Functions§
- add_
workspace POST /api/workspaces— register a workspace.- agent_
end_ input POST /api/agents/{id}/end-input— signal end-of-input to an interactive agent.- agent_
input POST /api/agents/{id}/input— inject a user message into an interactive agent.- delete_
workspace DELETE /api/workspaces/{name}— unregister a workspace.- get_
agent GET /api/agents/{id}— one agent’s current state.- get_
agent_ events GET /api/agents/{id}/events?from=N— replay history from the shared store.- get_
capabilities GET /api/capabilities— what the active fleet backend supports, so the dashboard can render backend-aware controls (#99).adminmirrors whether an admin/registry plane is wired (Somefor local,Nonefor k8s).- get_
fleet GET /api/fleet— the whole fleet snapshot.- get_
metrics GET /api/metrics— prosperod’s operational counters.- get_
usage GET /api/usage— cost, turns, and terminal outcomes per workspace over a window, with a per-day series (#180).- get_
workspace_ agents GET /api/workspaces/{workspace}/agents— agents under one workspace.- get_
workspaces GET /api/workspaces— managed workspaces with health, sources, agent counts.- healthz
GET /healthz— daemon liveness (always 200 while the process is up).- kill_
agent POST /api/agents/{id}/kill.- readyz
GET /readyz— readiness: 200 only when the store is writable, otherwise 503 so an orchestrator can gate traffic/restarts. The body carries the store-writability flag and an aggregate repo-health summary.- respawn_
agent POST /api/agents/{id}/respawn— replace an agent with a fresh one.- rm_
agent DELETE /api/agents/{id}— forget the agent (local: caliban registry; k8s: CR).- set_
workspace_ config PUT /api/workspaces/{name}/config— set provider config and restart caliband.- spawn_
agent POST /api/workspaces/{workspace}/agents— spawn an agent (worktree by default).