analytics

Paginated and filterable operator ranking

Returns a backend-filtered, sorted and paginated expert ranking with patient metrics, ticket-state filters and assigned supervisors. Admin: all. Supervisor: only supervised operators. Coordinator: only operators under assigned supervisors.

get/api/analytics/operators/ranking

Query parameters

searchstring nullable

Case-insensitive search on operator name.

Case-insensitive search on operator name.

role'psychologist' | 'nutritionist' nullable
supervisor_idstring uuid nullable

Admin-only supervisor filter.

Admin-only supervisor filter.

status'active' | 'inactive' | 'new' | 'reported' | 'warned' nullable
ticket_status'open' | 'closed' nullable

Used only when status is reported or warned.

Used only when status is reported or warned.

sort_by'operator_name' | 'total_patients' | 'sessions_total' | 'avg_sessions_per_patient' | 'patients_ok' | 'patients_below_frequency' | 'compliance_perc' | 'patients_dropout' | 'patients_never_started' | 'patients_concluded' | 'patients_monitoring' | 'patients_follow_up'
sort_dir'asc' | 'desc'
per_pageinteger

Page size.

Page size.

pageinteger

Page number (1-based).

Page number (1-based).

Response

Successful Response

totalinteger required

Operators matching filters before pagination

per_pageinteger required

Page size

pageinteger required

Page number (1-based)

Changes

No recorded changes to this endpoint across all 1 revision of this API.