Get attendance rates
get_attendance_ratesWhether booked guests showed up: seats booked, seats checked in and no-shows, for events that have already finished between start_date and end_date, grouped by class (default, worst attendance first), instructor, location or month. With no dates it covers the 30 days ending today. Only checked-in guests count as attended, so an event where check-in was never done reads 0%. For how many seats sold against capacity, use get_fill_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_attendance_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 | ||
| note | Yes | ||
| booked | Yes | ||
| events | Yes | ||
| groups | Yes | worst attendance first, or chronological when grouped by month | |
| attended | Yes | ||
| group_by | Yes | ||
| no_shows | Yes | ||
| timezone | Yes | ||
| truncated | No | ||
| attendance_percent | Yes | attended as a percentage of booked |