✨ Get KPI data with optional segmentation
Changed onRequest
- Base URLhttp://localhost:8000
- URLhttp://localhost:8000/api/analytics/kpis/{kpi_key}
- AuthAPI key in header Authorization
Path parameters
KPI identifier (key)
Query parameters
When true with segment_by_user, return only members with performance data (capped). Used by Member Performance Select All discovery.
End date for filtering (ISO format)
Comma-separated user IDs. If empty, includes all organization members.
Comma-separated project IDs. If empty, includes all organization projects. Maximum 50 projects allowed per request. Requests exceeding this limit will be rejected with a 400 error.
Whether to segment results by project. Combine with segment_by_user for a user × project breakdown.
Time granularity for segmentation
Whether to segment results by user
Start date for filtering (ISO format)
Timezone for date filtering (IANA timezone name, e.g., "America/New_York", "UTC"). The start and end dates will be interpreted in this timezone.
Response
KPI data with requested segmentation
Changes
- warning
added the new
user_projectenum value to the////response property for the response status - info
added the optional property
to the response with the status
- warning
- info
added the new optional
queryrequest parameterall - info
added the optional property
/////to the response with the status
- info