Get fill rates
get_fill_ratesHow full classes were: seats booked as a share of capacity, for events starting between start_date and end_date, totalled and grouped by class (default), instructor, location or month. With no dates it covers the 30 days ending today; give future dates to see how the schedule is selling. Events with no capacity limit are counted apart, not mixed into the rate. Use it for fill over a period. For the specific upcoming classes that need seats sold, use list_underfilled_events; for whether booked guests actually came, use get_attendance_rates.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_fill_rates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | last day to include, inclusive, YYYY-MM-DD; when left out it is today, or the 30th day from start_date when only start_date is given | |
| group_by | No | class, instructor, location, or month; defaults to class | |
| start_date | No | first day to include, YYYY-MM-DD in the studio's timezone; when left out the window is the 30 days ending on end_date |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from | Yes | ||
| booked | Yes | ||
| events | Yes | events with a capacity set, the ones the fill rate is computed from | |
| groups | Yes | fullest first | |
| capacity | Yes | ||
| group_by | Yes | ||
| timezone | Yes | ||
| truncated | No | true when more groups existed than were returned | |
| fill_percent | Yes | overall fill across the whole window | |
| unlimited_booked | No | ||
| unlimited_events | No |