Pay-per-call next-actions plan for a task project: ready, blocked and done tasks plus the critical path.
| Endpoint | Price (USDC) | When to call it |
|---|---|---|
GET /projects/:projectId/plan | $0.009 | Call this when a coding agent or planner needs to know what to do next in a project whose tasks were created with the free /projects endpoints. Returns tasks that are ready now, blocked tasks with the reason and blockers, in-progress and done tasks, dependency cycles and the critical path. Unknown projects return 404 and are not charged. |
Paid with x402 v2 on Base. An unpaid request returns 402 with the price and input schema. No charge on responses with status 400 or higher.