Date Format
All dates use theYYYY-MM-DD format as specified in RFC 3339. For example, 2024-12-01 represents December 1st, 2024.
Range Syntax
Date ranges use mathematical interval notation with square brackets for inclusive boundaries and parentheses for exclusive boundaries.Exact Dates
Specify a single date to match that exact day:[2024-12-01,2024-12-01].
Bounded Ranges
Use two dates separated by a comma to specify a range between two dates: Inclusive ranges include both endpoint dates:Open-Ended Ranges
Leave one side of the range empty to create open-ended filters: On or after a date:Common Use Cases
Current month: Use an inclusive range from the first to the last day of the month. Last 30 days: Calculate the date 30 days ago and use an inclusive range to today. Future appointments: Use an open-ended range starting from today. Historical data: Use an exclusive upper bound to exclude today’s incomplete data.Validation
Date ranges must follow the specified format and use valid dates. The API validates that:- Dates use the correct
YYYY-MM-DDformat - Dates represent valid calendar days
- The range syntax uses proper bracket and parenthesis notation
- The total range string doesn’t exceed 24 characters