analytics

Paginated and filterable operator trend by month

Changed on

Paginates unique experts, then returns every monthly row for each selected expert plus one baseline month. Experts are ordered by net transitions into dropout during the visible period, descending. Admin: all. Supervisor: only supervised operators. Coordinator: only operators under assigned supervisors.

get/api/analytics/operators/trend

Request

  • Base URL: https://api.corabea.it (the document declares no server; this is the origin it was published from)
  • URL: https://api.corabea.it/api/analytics/operators/trend
  • Auth: HTTP bearer

Query parameters

searchstring nullable

Case-insensitive search on operator name.

role'PSICOLOGO' | 'NUTRIZIONISTA'

Operator profession constants.

supervisor_idstring uuid nullable

Admin-only supervisor filter.

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

Used only when status is reported or warned.

months_backinteger

Visible months; one earlier baseline month is also returned.

per_pageinteger

Unique experts per page.

pageinteger

Page number (1-based).

Response

Successful Response

totalinteger required

Unique operators matching filters before pagination

per_pageinteger required

Number of unique operators per page

pageinteger required

Page number (1-based)

Changes

    • warning

      added the new NUTRIZIONISTA enum value to the // response property for the response status

    • warning

      added the new PSICOLOGO enum value to the // response property for the response status