Skip to main content

Get worker turnover historical report for a specific employer

POST 
/v1/reporting/:employer/reports/worker_turnover/historical

Retrieves historical turnover metrics by period: total/voluntary/involuntary turnover, headcount, rehires, and turnover rate. Period range is computed from to_date and period_granularity (e.g. 12 weeks, 12 months, 12 quarters, 12 years).

Request​

Path Parameters

    employer anyrequired

    Use me, or the numeric employer id bound to this client id. me means that employer. Any other id is rejected. The OAuth application does not choose the employer.

Query Parameters

    to_date stringrequired

    End date (YYYY-MM-DD). The 12 calendar periods work backwards from this date and period_granularity. Bookings in each period use the booking start date. Turnover events use the date the worker left. This is not an invoice or billing date.

    period_granularity stringrequired

    Period granularity. Must be one of: WEEK, MONTH, QUARTER, YEAR

Responses​

Successfully retrieved historical turnover report

Response Headers

  • RateLimit-Limit

    integer

    Requests allowed each minute.

  • RateLimit-Remaining

    integer

    Requests left in the current minute.

  • RateLimit-Reset

    integer

    Seconds until the limit resets.

Schema

    metadata

    object

    employer_id int32
    to_date string
    period_from string
    period_granularity string
    generated_at date-time

    periods

    object[]

  • Array [

  • date string
    granularity string
    total_turnover int32
    voluntary_turnover int32
    involuntary_turnover int32
    headcount int32
    rehires int32
    turnover_rate double
    turnover_percentage double
  • ]

Loading...

Was this page helpful?