Catalog/sched-deadline-feasibility

Scheduling

Deadline feasibility check API

Decides whether a set of tasks can finish before a deadline by summing task hours against working hours available (working days × hours/day), returning slack or shortfall. Answers 'Can I finish all this work before the deadline?', 'How many hours short am I?'.

Price$0.02per request
MethodPOST
Route/v1/scheduling/deadline-feasibility
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
schedulingtime-blockingdeadlinefeasibilitycapacityworking-daysslackagents
API URLhttps://x402.hexl.dev/v1/scheduling/deadline-feasibility
Integration docs
Example request
{
  "now": "2026-06-04",
  "deadline": "2026-06-12",
  "tasks": [
    {
      "id": "a",
      "durationHours": 20
    },
    {
      "id": "b",
      "durationHours": 16
    }
  ],
  "hoursPerDay": 8
}
Example response
{
  "requiredHours": 36,
  "availableHours": 48,
  "workingDays": 6,
  "hoursPerDay": 8,
  "feasible": true,
  "slackHours": 12,
  "shortfallHours": 0,
  "utilizationIfMet": 0.75,
  "interpretation": "Feasible: need 36h, have 48h (12h slack)."
}
Input schema
{
  "type": "object",
  "required": [
    "now",
    "deadline",
    "tasks"
  ],
  "properties": {
    "now": {
      "type": "string",
      "examples": [
        "2026-06-04"
      ]
    },
    "deadline": {
      "type": "string",
      "examples": [
        "2026-06-12"
      ]
    },
    "tasks": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "hoursPerDay": {
      "type": "number",
      "examples": [
        8
      ]
    },
    "workweek": {
      "type": "array",
      "items": {
        "type": "number"
      }
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}