> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stax.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# List participants

> List participants for the census resource table. Filters are applied to the complete accessible population before sorting and pagination; total is the full filtered count. Each row includes classifications, current/prior-year census fields, phone/address, validation issues, effective selected-plan values, eligibility/entry dates, and stored vesting status/percentage/date by money type. MEP/PEP rows preserve the employee's actual joinder plan_id.
Supported sort fields: errors, ssn_last_4, first_name, last_name, classes, birth_date, age, hire_date, termination_date, termination_reason, rehire_date, employment_type, gross_pay, hours_worked, ee_plan_compensation, er_match_plan_compensation, sh_plan_compensation, psne_plan_compensation, ee_pre_tax, ee_roth, er_match, sh_match, sh_non_elective, qaca_match, psne, ownership, is_officer, principal, relationship, email. Sort order must be 1 or -1; missing values are always last.



## OpenAPI

````yaml /api-reference/cx/swagger.json post /packages/retirement/participants/{py}/{client}/_list
openapi: 3.0.0
info:
  description: CX API.
  title: CX API
  contact:
    name: API Support
    url: https://stax.ai
    email: support@stax.ai
  version: '1.0'
servers:
  - url: https://api.cx.stax.ai
security: []
paths:
  /packages/retirement/participants/{py}/{client}/_list:
    post:
      tags:
        - packages
      summary: List participants
      description: >-
        List participants for the census resource table. Filters are applied to
        the complete accessible population before sorting and pagination; total
        is the full filtered count. Each row includes classifications,
        current/prior-year census fields, phone/address, validation issues,
        effective selected-plan values, eligibility/entry dates, and stored
        vesting status/percentage/date by money type. MEP/PEP rows preserve the
        employee's actual joinder plan_id.

        Supported sort fields: errors, ssn_last_4, first_name, last_name,
        classes, birth_date, age, hire_date, termination_date,
        termination_reason, rehire_date, employment_type, gross_pay,
        hours_worked, ee_plan_compensation, er_match_plan_compensation,
        sh_plan_compensation, psne_plan_compensation, ee_pre_tax, ee_roth,
        er_match, sh_match, sh_non_elective, qaca_match, psne, ownership,
        is_officer, principal, relationship, email. Sort order must be 1 or -1;
        missing values are always last.
      parameters:
        - description: Plan year
          name: py
          in: path
          required: true
          schema:
            type: integer
        - description: Client ID
          name: client
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/pkg_routes_packages_retirement_participants.ListParticipantsRequest
        description: List participants request
        required: true
      responses:
        '200':
          description: Participant list with issues and groups
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/pkg_routes_packages_retirement_participants.ListParticipantsResponse
        '400':
          description: >-
            Bad request - invalid client/plan ID, plan year, request body, sort
            field, or sort order
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
      security:
        - ApiKeyAuth: []
components:
  schemas:
    pkg_routes_packages_retirement_participants.ListParticipantsRequest:
      type: object
      properties:
        columns:
          description: >-
            Columns are the optional columns the table shows: data:<key>
            (employee fields) and

            census_data:<key> (census fields) return the row's custom fields.
          type: array
          items:
            type: string
        filters:
          $ref: >-
            #/components/schemas/pkg_routes_packages_retirement_participants.ListParticipantsFilters
        page:
          $ref: '#/components/schemas/types.ListPagination'
        plan_id:
          type: string
        sort:
          $ref: '#/components/schemas/types.ListSort'
    pkg_routes_packages_retirement_participants.ListParticipantsResponse:
      type: object
      properties:
        employees:
          type: array
          items:
            $ref: >-
              #/components/schemas/pkg_routes_packages_retirement_participants.ListParticipant
        groups:
          type: array
          items:
            type: string
        issues:
          type: array
          items:
            type: string
        total:
          type: integer
    pkg_routes_packages_retirement_participants.ListParticipantsFilters:
      type: object
      properties:
        amount:
          type: array
          items:
            $ref: '#/components/schemas/types.ListFilterData'
        census_data:
          type: array
          items:
            $ref: '#/components/schemas/types.ListFilterData'
        class:
          type: array
          items:
            type: string
        data:
          type: array
          items:
            $ref: '#/components/schemas/types.ListFilterData'
        error:
          type: array
          items:
            type: string
        group:
          type: array
          items:
            type: string
        search:
          type: string
        show_terminated_employees:
          type: boolean
        status:
          type: array
          items:
            type: string
    types.ListPagination:
      type: object
      properties:
        limit:
          type: integer
        skip:
          type: integer
    types.ListSort:
      type: object
      properties:
        field:
          type: string
        last: {}
        order:
          type: integer
    pkg_routes_packages_retirement_participants.ListParticipant:
      type: object
      properties:
        _id:
          type: string
        census:
          $ref: >-
            #/components/schemas/pkg_routes_packages_retirement_participants.ListParticipantCensus
        classes:
          type: array
          items:
            type: string
        client:
          type: string
        ct_group_code:
          type: string
        fields:
          type: array
          items:
            $ref: '#/components/schemas/types.Field'
        first_name:
          type: string
        group:
          type: string
        hire_date:
          type: string
        last_name:
          type: string
        middle_name:
          type: string
        missing_ssn:
          type: boolean
        prior_year_census:
          $ref: >-
            #/components/schemas/pkg_routes_packages_retirement_participants.ListParticipantPriorYear
        rehire_date:
          type: string
        ssn:
          type: string
        termination_date:
          type: string
    types.ListFilterData:
      type: object
      properties:
        key:
          type: string
        op:
          type: string
        value: {}
    pkg_routes_packages_retirement_participants.ListParticipantCensus:
      type: object
      properties:
        _id:
          type: string
        address:
          $ref: >-
            #/components/schemas/pkg_routes_packages_retirement_participants.ListParticipantAddress
        birth_date:
          type: string
        email:
          type: string
        employment_category:
          type: string
        employment_type:
          type: string
        errors:
          type: array
          items:
            $ref: >-
              #/components/schemas/pkg_routes_packages_retirement_participants.ListParticipantCensusError
        fields:
          type: array
          items:
            $ref: '#/components/schemas/types.Field'
        first_name:
          type: string
        hire_date:
          type: string
        is_officer:
          type: boolean
        last_name:
          type: string
        location_code:
          type: string
        not_employee:
          type: boolean
        ownership_percentage:
          type: number
        phone:
          type: string
        plans_data:
          type: array
          items:
            $ref: >-
              #/components/schemas/pkg_routes_packages_retirement_participants.ListParticipantPlanData
        principal:
          type: string
        py:
          type: integer
        rehire_date:
          type: string
        relationship:
          type: string
        skipped:
          type: object
          additionalProperties:
            type: boolean
        ssn:
          type: string
        status_override:
          type: string
        termination_date:
          type: string
        termination_reason:
          type: string
    types.Field:
      type: object
      properties:
        key:
          type: string
        value: {}
    pkg_routes_packages_retirement_participants.ListParticipantPriorYear:
      type: object
      properties:
        birth_date:
          type: string
        hire_date:
          type: string
        ownership_percentage:
          type: number
        plans_data:
          type: array
          items:
            $ref: >-
              #/components/schemas/pkg_routes_packages_retirement_participants.ListParticipantPlanData
        principal:
          type: string
        rehire_date:
          type: string
        termination_date:
          type: string
        transactions:
          $ref: >-
            #/components/schemas/pkg_routes_packages_retirement_participants.ListParticipantTransactions
    pkg_routes_packages_retirement_participants.ListParticipantAddress:
      type: object
      properties:
        city:
          type: string
        country:
          type: string
        state:
          type: string
        street:
          type: string
        unit:
          type: string
        zip:
          type: string
    pkg_routes_packages_retirement_participants.ListParticipantCensusError:
      type: object
      properties:
        custom:
          type: string
        detail:
          type: string
        field_names:
          type: array
          items:
            type: string
        path:
          type: array
          items:
            type: string
        plan:
          type: string
        reason:
          type: string
        reviewed:
          type: boolean
    pkg_routes_packages_retirement_participants.ListParticipantPlanData:
      type: object
      properties:
        eligibility_date:
          $ref: >-
            #/components/schemas/pkg_routes_packages_retirement_participants.ListParticipantMoneyTypeDates
        eligibility_reason:
          $ref: '#/components/schemas/types.MoneyTypeStrings'
        eligibility_status:
          $ref: '#/components/schemas/types.MoneyTypeStrings'
        entry_date:
          $ref: >-
            #/components/schemas/pkg_routes_packages_retirement_participants.ListParticipantMoneyTypeDates
        exclusions:
          $ref: '#/components/schemas/types.Exclusions'
        plan_compensation:
          $ref: >-
            #/components/schemas/pkg_routes_packages_retirement_participants.ListParticipantPlanCompensation
        plan_id:
          type: string
        transactions:
          $ref: >-
            #/components/schemas/pkg_routes_packages_retirement_participants.ListParticipantTransactions
        vesting:
          $ref: >-
            #/components/schemas/pkg_routes_packages_retirement_participants.ListParticipantVesting
    pkg_routes_packages_retirement_participants.ListParticipantTransactions:
      type: object
      properties:
        calculated:
          $ref: '#/components/schemas/types.TransactionFloats'
        ee_pre_tax:
          type: number
        ee_roth:
          type: number
        er_match:
          type: number
        er_non_elective:
          type: number
        er_qaca_match:
          type: number
        er_safe_harbor_match:
          type: number
        er_safe_harbor_non_elective:
          type: number
        given:
          $ref: '#/components/schemas/types.TransactionFloats'
        gross_minus_exclusions:
          type: number
        gross_pay:
          type: number
        hours_worked:
          type: number
        hpi_compensation:
          type: number
        new_compensation_group:
          type: string
        overrides:
          $ref: '#/components/schemas/types.TransactionFloats'
        prevailing_wage:
          type: number
        statutory_compensation:
          type: number
    pkg_routes_packages_retirement_participants.ListParticipantMoneyTypeDates:
      type: object
      properties:
        ee:
          type: string
        er_match:
          type: string
        er_non_elective:
          type: string
        er_safe_harbor:
          type: string
    types.MoneyTypeStrings:
      type: object
      properties:
        ee:
          type: string
        er:
          type: string
        er_match:
          type: string
        er_non_elective:
          type: string
        er_safe_harbor:
          type: string
    types.Exclusions:
      type: object
      properties:
        ee:
          type: boolean
        er_match:
          type: boolean
        er_non_elective:
          type: boolean
        er_safe_harbor:
          type: boolean
    pkg_routes_packages_retirement_participants.ListParticipantPlanCompensation:
      type: object
      properties:
        calculated:
          $ref: '#/components/schemas/types.MoneyTypeFloats'
        ee:
          type: number
        er:
          type: number
        er_match:
          type: number
        er_non_elective:
          type: number
        er_safe_harbor:
          type: number
        given:
          $ref: '#/components/schemas/types.MoneyTypeFloats'
        overrides:
          $ref: '#/components/schemas/types.MoneyTypeFloats'
    pkg_routes_packages_retirement_participants.ListParticipantVesting:
      type: object
      properties:
        date:
          $ref: >-
            #/components/schemas/pkg_routes_packages_retirement_participants.ListParticipantMoneyTypeDates
        status:
          $ref: >-
            #/components/schemas/pkg_routes_packages_retirement_participants.ListParticipantMoneyTypeStatuses
        vested:
          $ref: >-
            #/components/schemas/pkg_routes_packages_retirement_participants.ListParticipantMoneyTypePercentages
    types.TransactionFloats:
      type: object
      properties:
        ee_pre_tax:
          description: Employee Contributions
          type: number
        ee_roth:
          type: number
        er_match:
          description: Employer Contributions
          type: number
        er_non_elective:
          type: number
        er_qaca_match:
          type: number
        er_safe_harbor_match:
          type: number
        er_safe_harbor_non_elective:
          type: number
        gross_minus_exclusions:
          description: Gross pay minus exclusions
          type: number
        gross_pay:
          type: number
        hours_worked:
          type: number
        hpi_compensation:
          type: number
        prevailing_wage:
          type: number
        statutory_compensation:
          type: number
    types.MoneyTypeFloats:
      type: object
      properties:
        ee:
          type: number
        er:
          type: number
        er_match:
          type: number
        er_non_elective:
          type: number
        er_safe_harbor:
          type: number
    pkg_routes_packages_retirement_participants.ListParticipantMoneyTypeStatuses:
      type: object
      properties:
        ee:
          type: string
        er_match:
          type: string
        er_non_elective:
          type: string
        er_safe_harbor:
          type: string
    pkg_routes_packages_retirement_participants.ListParticipantMoneyTypePercentages:
      type: object
      properties:
        ee:
          type: number
        er_match:
          type: number
        er_non_elective:
          type: number
        er_safe_harbor:
          type: number
  securitySchemes:
    ApiKeyAuth:
      description: CX API key. Create one in CX under Settings → Advanced → API Keys.
      in: header
      name: x-api-key
      type: apiKey

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.