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

# Get track report

> A track's summary statistics and step analytics. Enrollees or group runs are listed by GET /v1/tracks/{track_id}/report/instances.



## OpenAPI

````yaml /openapi.json get /v1/tracks/{track_id}/report
openapi: 3.0.3
info:
  title: Doozy Public API
  version: 1.0.0
  description: >-
    The Doozy Public API allows you to programmatically access your
    organization's data.


    ## Authentication


    All API requests require an API key passed in the `x-api-key` header.


    ```

    x-api-key: dzy_xxxxxxxx_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

    ```


    API keys can be generated and managed through the Doozy dashboard. Each key
    is associated with a user account and inherits that user's permissions.


    ## Rate Limiting


    API requests are rate limited. Rate limiting is handled by Cloudflare. If
    you exceed the rate limit, you'll receive a 429 Too Many Requests response.


    ## Pagination


    List endpoints support cursor-based pagination using `limit` and
    `starting_after` query parameters.
  contact:
    name: Doozy Support
    email: support@doozy.live
    url: https://help.doozy.live/api
servers:
  - url: https://api.doozy.live
    description: Production
security:
  - apiKey: []
tags:
  - name: Quizzes
    description: Quiz analytics and reporting endpoints
  - name: Tracks
    description: Track management and analytics endpoints
  - name: Surveys
    description: Survey and poll analytics endpoints
  - name: Introductions
    description: Doozy Roulette and Matchmaking introduction endpoints
  - name: Account
    description: 'Owner-only workspace settings: user provisioning and feature permissions'
paths:
  /v1/tracks/{track_id}/report:
    get:
      tags:
        - Tracks
      summary: Get track report
      description: >-
        A track's summary statistics and step analytics. Enrollees or group runs
        are listed by GET /v1/tracks/{track_id}/report/instances.
      parameters:
        - schema:
            type: string
            minLength: 1
            maxLength: 128
            pattern: ^[A-Za-z0-9_-]+$
            description: The unique identifier of the track
            example: i3XJiIJjOp7PJJBTvu4i
          required: true
          description: The unique identifier of the track
          name: track_id
          in: path
        - schema:
            type: string
            enum:
              - scheduled
              - active
              - delivered
              - completed
              - failed
              - paused
              - canceled
              - all
            default: all
            description: >-
              Filter enrollees or group runs by status (default: all). For group
              runs, completed matches successful delivered runs.
            example: all
          required: false
          description: >-
            Filter enrollees or group runs by status (default: all). For group
            runs, completed matches successful delivered runs.
          name: status
          in: query
        - schema:
            type: string
            format: date-time
            example: '2026-01-01T00:00:00.000Z'
            description: >-
              Filter enrollees or group runs started at or after this date (ISO
              8601)
          required: false
          description: >-
            Filter enrollees or group runs started at or after this date (ISO
            8601)
          name: start_date
          in: query
        - schema:
            type: string
            format: date-time
            example: '2026-01-31T23:59:59.999Z'
            description: >-
              Filter enrollees or group runs started at or before this date (ISO
              8601)
          required: false
          description: >-
            Filter enrollees or group runs started at or before this date (ISO
            8601)
          name: end_date
          in: query
        - schema:
            type: string
            minLength: 1
            maxLength: 128
            pattern: ^[A-Za-z0-9_-]+$
            description: >-
              Only enrollees and group runs for this cohort, including people
              enrolled when the track was sent to it
          required: false
          description: >-
            Only enrollees and group runs for this cohort, including people
            enrolled when the track was sent to it
          name: cohort_id
          in: query
        - schema:
            type: string
            description: >-
              Only this step: its progress on each row, and its variants in step
              analytics
            example: NKqbhqFnRyGChRhvM6bB
          required: false
          description: >-
            Only this step: its progress on each row, and its variants in step
            analytics
          name: step_id
          in: query
        - schema:
            type: string
            minLength: 1
            description: >-
              With step_id: only enrollees who got this variant of that step,
              and step analytics for them. Use `default` for the step's own
              content.
            example: default
          required: false
          description: >-
            With step_id: only enrollees who got this variant of that step, and
            step analytics for them. Use `default` for the step's own content.
          name: variant_id
          in: query
      responses:
        '200':
          description: Track report
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TrackReportResponse'
        '400':
          description: Invalid query or path parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Authentication required - missing API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Invalid API key or insufficient permissions
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Track not found or user does not have access
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - apiKey: []
components:
  schemas:
    TrackReportResponse:
      type: object
      properties:
        object:
          type: string
          enum:
            - track_report
          description: Object type identifier
          example: track_report
        id:
          type: string
          description: Track ID
          example: i3XJiIJjOp7PJJBTvu4i
        name:
          type: string
          description: Track name
          example: New Hire Onboarding
        state:
          allOf:
            - $ref: '#/components/schemas/TrackState'
            - description: Current track state
              example: active
        trigger_type:
          allOf:
            - $ref: '#/components/schemas/TrackTriggerType'
            - description: How users are added to the track
              example: user_join
        reporting_unit:
          type: string
          enum:
            - enrollee
            - group_run
          description: >-
            Whether report rows and step analytics represent individual
            enrollees or subject-less group runs.
        summary:
          allOf:
            - $ref: '#/components/schemas/TrackReportSummary'
            - description: Summary statistics for the report
        step_analytics:
          type: array
          items:
            $ref: '#/components/schemas/TrackStepAnalytics'
          description: >-
            Per-step aggregate analytics computed from all subjects matching the
            filter. reporting_unit identifies whether subjects are enrollees or
            group runs.
      required:
        - object
        - id
        - name
        - state
        - trigger_type
        - reporting_unit
        - summary
        - step_analytics
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              enum:
                - api_error
                - authentication_error
                - invalid_request_error
                - rate_limit_error
                - not_found_error
                - permission_error
              description: The type of error returned
              example: invalid_request_error
            code:
              type: string
              nullable: true
              enum:
                - api_key_required
                - api_key_invalid
                - firebase_id_token_required
                - firebase_id_token_invalid
                - appcheck_token_required
                - appcheck_token_invalid
                - account_id_required
                - account_id_invalid
                - api_access_disabled
                - api_access_unauthorized
                - api_access_role_not_allowed
                - parameter_missing
                - parameter_invalid
                - resource_already_exists
                - resource_in_use
                - resource_not_found
                - permission_denied
                - not_implemented
                - internal_error
                - rate_limit_exceeded
                - upstream_error
                - user_not_found
                - user_not_connected_to_slack
                - user_missing_roles_for_track
                - user_already_on_track
                - user_already_completed_track
                - enrollee_already_terminal
                - track_not_active
                - track_not_enrollable
                - action_forbidden
                - api_access_plan_not_supported
                - plan_not_supported
                - draft_stale
                - invalid_cursor
                - program_archived
                - program_not_active
                - program_track_not_live
                - invalid_status_transition
                - mentorship_not_proposed
                - mentorship_ended
                - approval_waiting_on_mentor
                - no_reachable_manager
                - application_already_decided
                - participant_not_in_program
                - participant_already_answered
                - participant_not_mentor
                - reminder_pending
                - mentee_not_waiting
                - mentor_not_active
                - mentor_full
                - mentor_at_total
                - mentor_unchanged
                - same_person
                - invite_expired
                - invite_revoked
                - null
              description: Machine-readable error code for specific error conditions
              example: resource_not_found
            message:
              type: string
              description: Human-readable error message
              example: 'No such quiz: tYYueINbgmmyss8O3LiD'
            param:
              type: string
              nullable: true
              description: The parameter related to the error, if applicable
              example: id
            doc_url:
              type: string
              format: uri
              description: URL to documentation about this error
              example: https://docs.doozy.live/api/errors#resource_not_found
            request_id:
              type: string
              description: ID of the request, for support
              example: req_8KSh4mNxQ1aZbPoLcVrT
          required:
            - type
            - code
            - message
            - request_id
      required:
        - error
    TrackState:
      type: string
      enum:
        - draft
        - active
        - paused
        - archived
    TrackTriggerType:
      type: string
      enum:
        - user_join
        - manual_user_trigger
        - manual_group_trigger
        - schedule
        - schedule_group
        - work_anniversary
        - added_by_another_track
        - self_join
        - cohort_started
        - cohort_member_added
        - mentoring_pair_introduced
        - channel_join
    TrackReportSummary:
      type: object
      properties:
        object:
          type: string
          enum:
            - track_report_summary
          description: Object type identifier
          example: track_report_summary
        total_enrollees:
          type: integer
          description: Total number of enrollees (excluding test mode)
          example: 100
        total_runs:
          type: integer
          description: >-
            Group runs matching the filters, excluding test mode. 0 when
            reporting_unit is enrollee.
          example: 0
        active:
          type: integer
          description: Number of active enrollees
          example: 40
        delivered:
          type: integer
          description: >-
            Number of enrollees who have had all steps delivered but not
            completed all user-completable steps
          example: 10
        completed:
          type: integer
          description: >-
            Number of enrollees who completed all user-completable steps in the
            track
          example: 45
        failed:
          type: integer
          description: Number of enrollees who failed
          example: 5
        paused:
          type: integer
          description: Number of paused enrollees
          example: 5
        canceled:
          type: integer
          description: Number of canceled enrollees
          example: 5
        average_completion_rate:
          type: number
          description: Average step completion percentage across all enrollees (0-100)
          example: 72.5
        average_time_to_complete:
          type: number
          nullable: true
          description: >-
            Average time to complete the track in seconds (null if no
            completions)
          example: 604800
      required:
        - object
        - total_enrollees
        - total_runs
        - active
        - delivered
        - completed
        - failed
        - paused
        - canceled
        - average_completion_rate
        - average_time_to_complete
    TrackStepAnalytics:
      type: object
      properties:
        object:
          type: string
          enum:
            - track_step_analytics
          description: Object type identifier
          example: track_step_analytics
        step_id:
          type: string
          description: Step identifier
          example: NKqbhqFnRyGChRhvM6bB
        step_type:
          $ref: '#/components/schemas/StepType'
        channel:
          $ref: '#/components/schemas/StepChannel'
        title:
          type: string
          nullable: true
          description: Step title
          example: Onboarding Survey
        display_title:
          type: string
          nullable: true
          description: >-
            Read-only name to show for the step: `title` if set, otherwise the
            name of the survey or quiz the step sends. Null when neither is
            available. Set `title` to change it.
          example: Onboarding Survey
        order:
          type: integer
          description: Position in the track (1-indexed)
          example: 1
        day:
          type: integer
          description: >-
            Signed delivery-day index. `0` is the first working day on or after
            the enrollment anchor; positive values count working days after
            that. Negative values are calendar days before the anchor for
            preboarding. A negative-day step expires when enrollment starts
            after its authored time, or when it is reached on or after local
            midnight on the anchor day; a delivery deferred before that boundary
            remains eligible. Working days come from the enrollment's
            snapshotted `working_hours.days_of_week`. Reports can use this value
            to group steps into the same day sections as the builder.
          example: 0
        time:
          type: string
          nullable: true
          pattern: ^([01]\d|2[0-3]):[0-5]\d$
          example: '09:00'
          description: >-
            Clock time of day the step delivers (HH:mm, member-local); null
            means the 09:00 default.
        total_reached:
          type: integer
          description: >-
            Number of enrollees or group runs that reached this step, according
            to reporting_unit
          example: 80
        delivered:
          type: integer
          description: >-
            Number of report subjects that have this step delivered but not yet
            completed
          example: 5
        completed:
          type: integer
          description: >-
            Number of report subjects that completed this step. For group runs,
            completion means successful audience delivery; participant
            engagement is reported by the child activity.
          example: 70
        failed:
          type: integer
          description: Number of report subjects that failed this step
          example: 3
        skipped:
          type: integer
          description: Number of report subjects that had this step skipped
          example: 2
        active:
          type: integer
          description: Number of report subjects currently on this step
          example: 5
        completion_rate:
          type: number
          description: >-
            Percentage of report subjects that reached this step and completed
            it (0-100), leaving out those it was skipped for
          example: 87.5
        task_completion_rate:
          type: number
          description: >-
            Percentage of assigned task items completed across matching
            enrollees who reached the step (0-100). Only present for tasks
            steps.
          example: 66.7
        task_breakdown:
          type: array
          items:
            $ref: '#/components/schemas/TrackTaskItemAnalytics'
          description: >-
            Ordered aggregate completion breakdown by task item. Only present
            for tasks steps.
        variants:
          type: array
          items:
            $ref: '#/components/schemas/TrackStepVariantAnalytics'
          description: >-
            Results for each version of this step, the step's own content first.
            People the step was skipped for are in `skipped`, not here. Only
            present for steps with variants.
      required:
        - object
        - step_id
        - step_type
        - title
        - display_title
        - order
        - day
        - time
        - total_reached
        - delivered
        - completed
        - failed
        - skipped
        - active
        - completion_rate
    StepType:
      type: string
      enum:
        - message
        - email
        - quiz
        - poll
        - survey
        - individual_introductions
        - mentor_assignment
        - add_to_track
        - tasks
        - webhook
        - join_mentoring_program
      description: Type of step
      example: survey
    StepChannel:
      type: string
      enum:
        - slack
        - email
      description: >-
        Delivery channel for a message step; "auto" picks Slack or email per
        recipient at delivery. Absent for step types that don't deliver a
        message.
      example: slack
    TrackTaskItemAnalytics:
      type: object
      properties:
        object:
          type: string
          enum:
            - track_task_item_analytics
          description: Object type identifier
          example: track_task_item_analytics
        task_id:
          type: string
          description: Task item identifier
          example: 84PRq3gmjhtb1Esw3chl
        variant_id:
          type: string
          nullable: true
          description: >-
            The variant whose task list this item belongs to: a variant id, or
            `default` for the step's own tasks. Null for a step without
            variants.
          example: default
        details:
          type: string
          description: Task item text in Markdown
          example: Read the employee handbook
        assigned:
          type: integer
          description: Number of matching enrollees who were assigned this task item
          example: 80
        completed:
          type: integer
          description: Number of matching enrollees who completed this task item
          example: 60
        completion_rate:
          type: number
          description: >-
            Percentage of matching enrollees assigned this task item who
            completed it (0-100)
          example: 75
      required:
        - object
        - task_id
        - variant_id
        - details
        - assigned
        - completed
        - completion_rate
    TrackStepVariantAnalytics:
      type: object
      properties:
        object:
          type: string
          enum:
            - track_step_variant_analytics
        variant_id:
          type: string
          description: >-
            Variant id, or `default` for the step's own content. Pass it as the
            report's `variant_id` filter.
          example: default
        name:
          type: string
          nullable: true
          description: >-
            Variant name; null for the step's own content and for a variant
            since removed from the step
          example: Engineering
        removed:
          type: boolean
          description: >-
            True when people got this variant but it has since been removed from
            the step or set to skip
          example: false
        total_reached:
          type: integer
          description: Report subjects who got this variant
          example: 40
        delivered:
          type: integer
          description: Of those, how many have it delivered but not completed
          example: 4
        completed:
          type: integer
          description: Of those, how many completed the step
          example: 35
        failed:
          type: integer
          description: Of those, how many failed the step
          example: 1
        completion_rate:
          type: number
          description: completed / total_reached as a percentage (0-100)
          example: 87.5
      required:
        - object
        - variant_id
        - name
        - removed
        - total_reached
        - delivered
        - completed
        - failed
        - completion_rate
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: API key for authentication. Generate keys in the Doozy dashboard.

````

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