> ## Documentation Index
> Fetch the complete documentation index at: https://developer.swoogo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Attendance

> Track session attendance and get aggregated statistics

## swoogo\_get\_session\_attendance

List or retrieve session attendance records.

### Parameters

| Parameter       | Type    | Required       | Description                              |
| --------------- | ------- | -------------- | ---------------------------------------- |
| `attendance_id` | integer | No             | Get a single attendance record by ID     |
| `event_id`      | integer | Yes (for list) | Event to list attendance for             |
| `session_id`    | integer | No             | Filter by session                        |
| `registrant_id` | integer | No             | Filter by registrant                     |
| `search`        | string  | No             | Raw Swoogo search filter                 |
| `fields`        | string  | No             | Comma-separated fields to return         |
| `expand`        | string  | No             | Include related objects                  |
| `page`          | integer | No             | Page number (default: 1)                 |
| `per_page`      | integer | No             | Results per page (default: 20, max: 100) |
| `sort`          | string  | No             | Sort field (prefix `-` for descending)   |

### Example prompts

* *"Show attendance for session 456"*
* *"Did registrant 789 attend the keynote?"*

***

## swoogo\_session\_attendance\_stats

Get aggregated attendance statistics — registered count, checked-in count, no-shows, and attendance rates — per session.

### Parameters

| Parameter    | Type    | Required | Description                 |
| ------------ | ------- | -------- | --------------------------- |
| `event_id`   | integer | Yes      | Event to get stats for      |
| `session_id` | integer | No       | Limit to a specific session |

### Response

Returns per-session stats with: `session_id`, `registered`, `checked_in`, `no_show`, `attendance_rate_percent`.

### Example prompts

* *"What are the attendance rates for event 12345?"*
* *"How many people showed up to the keynote?"*
* *"Which sessions had the lowest attendance?"*
