Catalog/sched-double-booking-detect

Scheduling

Double-booking detector API

Detects overlapping events, reporting every conflicting pair plus the peak number of concurrent events and when it occurs via a sweep line. Answers 'Are any of my meetings double-booked?', 'What is the maximum number of events running at once?'.

Price$0.02per request
MethodPOST
Route/v1/scheduling/double-booking-detect
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
schedulingcalendarconflictdouble-bookingoverlapsweep-linevalidationagents
API URLhttps://x402.hexl.dev/v1/scheduling/double-booking-detect
Integration docs
Example request
{
  "events": [
    {
      "id": "x",
      "start": "2026-06-04T09:00:00Z",
      "end": "2026-06-04T10:00:00Z"
    },
    {
      "id": "y",
      "start": "2026-06-04T09:30:00Z",
      "end": "2026-06-04T10:30:00Z"
    }
  ]
}
Example response
{
  "eventCount": 2,
  "hasConflict": true,
  "conflicts": [
    {
      "a": "x",
      "b": "y",
      "overlapMinutes": 30
    }
  ],
  "peakConcurrency": 2,
  "peakAt": "2026-06-04T09:30:00.000Z",
  "interpretation": "1 overlapping pair(s); up to 2 events run concurrently."
}
Input schema
{
  "type": "object",
  "required": [
    "events"
  ],
  "properties": {
    "events": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "examples": [
        [
          {
            "id": "x",
            "start": "2026-06-04T09:00:00Z",
            "end": "2026-06-04T10:00:00Z"
          }
        ]
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}