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

# Get agent performance report

> This API retrieves performance metrics for all agents, including average response times, resolution times, and ticket counts with comparisons to the previous period.


<Warning>
  **Deprecated:** This is a **v1** endpoint. It will continue to work, but we
  recommend migrating to the [v2 equivalent](/api-reference) for improved REST
  compliance (correct HTTP status codes, consistent response envelopes, and
  hyphenated URLs).
</Warning>

<Info>Replace `{your-subdomain}` with your workspace's subdomain. <br /> Learn how to find your subdomain in [Workspace subdomain](/getting-started/workspace-subdomain).</Info>


## OpenAPI

````yaml /bundled-v1/reports.yaml GET /reports/agents
openapi: 3.0.3
info:
  title: NeetoDesk APIs
  version: 1.0.0
servers:
  - description: NeetoDesk APIs
    url: https://{your-subdomain}.neetodesk.com/api/v1/public
    variables:
      your-subdomain:
        default: spinkart
        description: >-
          Replace **spinkart** with your [workspace's
          subdomain](/getting-started/workspace-subdomain).
security: []
paths:
  /reports/agents:
    get:
      summary: Get agent performance report
      description: >
        This API retrieves performance metrics for all agents, including average
        response times, resolution times, and ticket counts with comparisons to
        the previous period.
      parameters:
        - $ref: '#/components/parameters/api_key_header'
        - $ref: '#/components/parameters/page_number_param'
        - $ref: '#/components/parameters/range_type_param'
        - $ref: '#/components/parameters/start_date_param'
        - $ref: '#/components/parameters/end_date_param'
      responses:
        '200':
          description: OK - Request succeeded
          content:
            application/json:
              schema:
                type: object
                properties:
                  members:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          example: aaaabbbb-cccc-dddd-eeee-ffff00001111
                        name:
                          type: string
                          example: Oliver Smith
                        first_response_time:
                          type: object
                          properties:
                            present:
                              type: number
                            previous:
                              type: number
                            change_percentage:
                              type: number
                        resolution_time:
                          type: object
                          properties:
                            present:
                              type: number
                            previous:
                              type: number
                            change_percentage:
                              type: number
                        assigned:
                          type: object
                          properties:
                            present:
                              type: integer
                            previous:
                              type: integer
                            change_percentage:
                              type: number
                        closed:
                          type: object
                          properties:
                            present:
                              type: integer
                            previous:
                              type: integer
                            change_percentage:
                              type: number
                  summary:
                    type: object
                    description: >-
                      Aggregated summary metrics for all agents, containing
                      `first_response_time`, `resolution_time`, `assigned`, and
                      `closed` objects, each with `present`, `previous`, and
                      `change_percentage` values.
                  total_count:
                    type: integer
                    example: 5
components:
  parameters:
    api_key_header:
      in: header
      name: X-Api-Key
      description: >-
        Use the X-Api-Key header to provide your workspace API key. Refer to
        [Authentication](/getting-started/authentication) for more information.
      required: true
      schema:
        type: string
        default: your-api-key
    page_number_param:
      in: query
      name: page_number
      description: >-
        Retrieve paginated results by specifying the desired page number. If
        this parameter is absent, all results will be returned.
      required: false
      schema:
        type: integer
    range_type_param:
      in: query
      name: range_type
      schema:
        type: string
        enum:
          - last_7_days
          - last_30_days
          - last_24_hours
          - this_week
          - last_week
          - this_month
          - last_month
          - this_quarter
          - last_quarter
          - this_year
          - last_year
          - all_time
          - custom
        default: last_30_days
      description: >
        Time range for the report. Use `custom` with `start_date` and `end_date`
        for custom date ranges.
    start_date_param:
      in: query
      name: start_date
      schema:
        type: string
        format: date
        example: '2025-10-01'
      description: >-
        Start date for custom date range (YYYY-MM-DD format). Required when
        `range_type` is `custom`.
    end_date_param:
      in: query
      name: end_date
      schema:
        type: string
        format: date
        example: '2025-10-31'
      description: >-
        End date for custom date range (YYYY-MM-DD format). Required when
        `range_type` is `custom`.

````