Query free/busy availability across a CalDAV calendar collection with the free-busy-query REPORT (RFC 4791)

domain: datatracker.ietf.org · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Send a REPORT request with method CALDAV:free-busy-query to the calendar collection URL, including a CALDAV:time-range element specifying the start/end window to check.
  2. Ensure the requesting principal has been granted the CALDAV:read-free-busy or DAV:read privilege on the target collection; otherwise the server must reject the request with 404 (not 403) to avoid leaking existence.
  3. Parse the single returned VFREEBUSY component from the iCalendar response body — the report always yields exactly one VFREEBUSY summarizing all matching resources in range.
  4. Derive each FREEBUSY interval's FBTYPE (e.g. BUSY, BUSY-TENTATIVE) from the source events' TRANSP and STATUS properties rather than expecting an explicit type on every request.
  5. Remember the report only returns busy intervals; compute free time yourself by subtracting busy intervals from the queried time-range.

Known gotchas

Related routes

Implement incremental CalDAV synchronization using the sync-collection REPORT (RFC 6578)
datatracker.ietf.org · 5 steps · unrated
Query CalRecycle datasets programmatically via the data.ca.gov CKAN API
California Open Data / CKAN API (data.ca.gov) · 4 steps · unrated
Query multiple Open311 GeoReport v2 service requests within a date range and status filter
wiki.open311.org · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans