Catalog/sched-backward-plan

Scheduling

Backward plan from deadline API

Backward-plans a sequential task chain from a deadline, working backward in working days to compute the latest start/end per task and the required project start date. Answers 'What's the latest I can start to hit this deadline?', 'When must each task in the chain begin?'.

Price$0.03per request
MethodPOST
Route/v1/scheduling/backward-plan
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
schedulingprojectbackward-passdeadlinelatest-startworking-daysplanningagents
API URLhttps://x402.hexl.dev/v1/scheduling/backward-plan
Integration docs
Example request
{
  "deadline": "2026-06-30",
  "chain": [
    {
      "id": "spec",
      "durationDays": 2
    },
    {
      "id": "impl",
      "durationDays": 4
    },
    {
      "id": "qa",
      "durationDays": 2
    }
  ]
}
Example response
{
  "deadline": "2026-06-30",
  "requiredStart": "2026-06-19",
  "schedule": [
    {
      "id": "spec",
      "latestStart": "2026-06-19",
      "latestEnd": "2026-06-22",
      "durationDays": 2
    },
    {
      "id": "impl",
      "latestStart": "2026-06-23",
      "latestEnd": "2026-06-26",
      "durationDays": 4
    },
    {
      "id": "qa",
      "latestStart": "2026-06-29",
      "latestEnd": "2026-06-30",
      "durationDays": 2
    }
  ],
  "interpretation": "To hit 2026-06-30, start no later than 2026-06-19."
}
Input schema
{
  "type": "object",
  "required": [
    "deadline",
    "chain"
  ],
  "properties": {
    "deadline": {
      "type": "string",
      "examples": [
        "2026-06-30"
      ]
    },
    "chain": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "workweek": {
      "type": "array",
      "items": {
        "type": "number"
      }
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}