[ORCH-002] Task CRUD API #97

Closed
opened 2026-01-29 23:30:11 +00:00 by jason.woltje · 0 comments
Owner

Phase 1: Foundation

REST API for task management:

  • Create task with context
  • List/filter tasks
  • Update task (limited fields)
  • Cancel task with reason

Deliverables

  • POST /api/v1/agent-tasks — Create task
  • GET /api/v1/agent-tasks — List with filters (status, workspace, date range)
  • GET /api/v1/agent-tasks/:id — Get single task with logs
  • PATCH /api/v1/agent-tasks/:id — Update (limited to metadata)
  • POST /api/v1/agent-tasks/:id/cancel — Cancel (pre-dispatch)
  • RLS enforcement on all endpoints

Notes

  • Kill endpoints (for running tasks) handled in #114
  • Task dispatch to ClawdBot handled in #99

Dependencies

  • #96 Agent Task Database Schema
  • #95 Agent Orchestration EPIC
## Phase 1: Foundation REST API for task management: - Create task with context - List/filter tasks - Update task (limited fields) - Cancel task with reason ## Deliverables - [ ] POST /api/v1/agent-tasks — Create task - [ ] GET /api/v1/agent-tasks — List with filters (status, workspace, date range) - [ ] GET /api/v1/agent-tasks/:id — Get single task with logs - [ ] PATCH /api/v1/agent-tasks/:id — Update (limited to metadata) - [ ] POST /api/v1/agent-tasks/:id/cancel — Cancel (pre-dispatch) - [ ] RLS enforcement on all endpoints ## Notes - Kill endpoints (for running tasks) handled in #114 - Task dispatch to ClawdBot handled in #99 ## Dependencies - #96 Agent Task Database Schema ## Related - #95 Agent Orchestration EPIC
jason.woltje added this to the M6-AgentOrchestration (0.0.6) milestone 2026-01-29 23:30:11 +00:00
jason.woltje added the p0apiapiphase-1 labels 2026-01-29 23:30:11 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaic/stack#97