# Task plan API > Pay-per-call next-actions plan for a task project: ready, blocked and done tasks plus the critical path. Payment: x402 v2, exact scheme, USDC on Base (eip155:8453), paid to 0xb1F5Aa2d750547a84Fc53B8519dE235D7BC29e29. Settled through the Coinbase CDP facilitator. A request without a payment header returns 402 with the price and the input schema. ## Endpoints - GET /projects/:projectId/plan - $0.009 USDC - 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. - path param projectId: Project id returned by POST /projects, a UUID - Example output: {"projectId":"e46b2065-5301-4eed-b1ba-ff9d27bf80b4","generatedAt":"2026-11-19T23:17:03.292Z","readyNow":[{"id":"b4026e64-d429-47a6-83a2-8e928f7d7e29","title":"Deploy to production","priority":"high"}],"blocked":[{"id":"8c5c5a14-adac-4ace-aa37-334070f5411a","title":"Announce release","priority":"low","reason":"manually_blocked","blockedBy":[{"id":"b4026e64-d429-47a6-83a2-8e928f7d7e29","title":"Deploy to production","status":"todo"}]}],"inProgress":[],"done":[{"id":"c45beb4b-78a7-4ad8-bd31-8d94f69453b4","title":"Write API docs","priority":"medium"}],"cycles":[],"criticalPath":{"lengthSteps":3,"path":[{"id":"c45beb4b-78a7-4ad8-bd31-8d94f69453b4","title":"Write API docs","status":"done","depth":0},{"id":"b4026e64-d429-47a6-83a2-8e928f7d7e29","title":"Deploy to production","status":"todo","depth":1},{"id":"8c5c5a14-adac-4ace-aa37-334070f5411a","title":"Announce release","status":"blocked","depth":2}]}} ## Links - OpenAPI: https://x402-taskmgmt-poc.theliminalguy.workers.dev/openapi.json - Health: https://x402-taskmgmt-poc.theliminalguy.workers.dev/health - Rule: you are not charged when the response status is 400 or higher.