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

# Check-in Metrics

> Returns check-in metrics for the specified business locations.

# Check-in Metrics

Returns aggregate check-in metrics (current occupancy, daily totals, etc.) for one or more business locations. Used to display occupancy information on the dashboard.

## Authentication

Requires a valid customer bearer token.

## Query Parameters

<ParamField query="businessesIds" type="number[]" required>
  Array of business IDs to retrieve metrics for. Passed as repeated query parameters: `businessesIds=1&businessesIds=2`.
</ParamField>

## Response

Returns check-in metrics for the requested locations.

## Examples

### Fetch metrics for two locations

```http theme={null}
GET /api/public/checkins/metrics?businessesIds=1&businessesIds=2
Authorization: Bearer {token}
```

## TypeScript Integration

```typescript theme={null}
import endpoints from '@/api/endpoints'

const response = await httpClient.get(endpoints.checkins.metrics([1, 2]))
```
