Teams
Get Team Metrics
Returns monthly financial and usage metrics for a team, including invoiced amounts, bookings, and check-in time.
GET
Get Team Metrics
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.
Get Team Metrics
Returns an array of monthly metric snapshots for a team. Each entry covers one calendar month and includes invoiced amounts, booking and check-in minutes, revenue, and outstanding charges. Used on the team dashboard to render trend charts.Authentication
Requires a valid customer bearer token. The customer must be a team administrator of the specified team.Path Parameters
Numeric identifier of the team. Returned as
Id from GET /api/public/teams/my.Query Parameters
Comma-separated list of field paths to include in the response. When provided, only the
specified fields are returned — useful for reducing payload size. Supports nested paths
using dot notation.
Response
Array of monthly metric snapshots, ordered chronologically.
Per-Month Fields
Unique identifier for the metric record.
ISO 8601 date representing the first day of the month this record covers.
ISO 4217 currency code for all monetary values in this record.
Total invoiced amount for the member in this month.
Total invoiced amount across the entire team in this month.
Total revenue for the team in this month.
Member’s checked-in time in minutes.
Total team checked-in time in minutes.
Member’s booked time in minutes.
Total team booked time in minutes.
Total number of bookings.
Total number of active membership plans.
Total other charges.
Number of time passes used.
Revenue from bookings.
Total unpaid amount.
Total unpaid NexKiosk charges.
Total amount currently due.
Unpaid event attendee charges.
Total charges not yet invoiced.
Uninvoiced miscellaneous charges.
Uninvoiced product charges.
Uninvoiced time pass charges.
Uninvoiced extra service charges.
ISO 8601 datetime of the next scheduled invoice, or
null if none is scheduled.Days since the member’s last portal access. Note the typo (
Dasy) — it is preserved as-is in the API.Examples
Fetch team metrics
TypeScript Integration
Usage in Portal
| Context | Source file |
|---|---|
Team dashboard metrics section (/dashboard/team/{teamId}) | src/views/user/dashboards/team/components/TeamMetricsSection.tsx |
Error Responses
The customer is not authenticated or the session has expired.
Team with the specified ID does not exist.
Related Endpoints
| Method | Endpoint | Description |
|---|---|---|
GET | /api/public/teams/{teamId}/kpi | Per-member KPI data |
GET | /api/public/teams/{teamId}/attendance | Team attendance data |
GET | /api/public/teams/{teamId}/profile | Full team profile |
GET | /api/public/teams/my | List the customer’s teams |
Get Team Metrics