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

# Get conversation statistics grouped by team

> Get conversation statistics grouped by team for a given date range.
Returns metrics for each team including conversation counts, resolution counts,
average first response time, average resolution time, and average reply time.




## OpenAPI

````yaml /openapi/application.json get /api/v2/accounts/{account_id}/summary_reports/team
openapi: 3.1.0
info:
  title: WiseApp API — Aplicação
  description: >-
    Referência completa da API do WiseApp: plataforma (provisionamento),
    aplicação (conta), cliente (canais públicos) e MCP.
  version: 1.1.0
servers:
  - url: https://chat.wiseapp360.com
    description: Sua instalação WiseApp
security: []
paths:
  /api/v2/accounts/{account_id}/summary_reports/team:
    parameters:
      - $ref: '#/components/parameters/account_id'
        schema:
          type: string
        example: sample
      - in: query
        name: since
        schema:
          type: string
        description: The timestamp from where report should start (Unix timestamp).
        example: sample
      - in: query
        name: until
        schema:
          type: string
        description: The timestamp from where report should stop (Unix timestamp).
        example: sample
      - in: query
        name: business_hours
        schema:
          type: boolean
        description: Whether to calculate metrics using business hours only.
        example: true
    get:
      tags:
        - Reports
      summary: Get conversation statistics grouped by team
      description: >
        Get conversation statistics grouped by team for a given date range.

        Returns metrics for each team including conversation counts, resolution
        counts,

        average first response time, average resolution time, and average reply
        time.
      operationId: get-team-summary-report
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/team_summary'
              example:
                - id: 1
                  conversations_count: 250
                  resolved_conversations_count: 200
                  avg_resolution_time: 2800
                  avg_first_response_time: 240
                  avg_reply_time: 500
                - id: 2
                  conversations_count: 180
                  resolved_conversations_count: 150
                  avg_resolution_time: 2400
                  avg_first_response_time: 200
                  avg_reply_time: 450
        '403':
          description: Access denied
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
              example:
                error: Forbidden
      security:
        - userApiKey: []
components:
  parameters:
    account_id:
      in: path
      name: account_id
      schema:
        type: integer
      required: true
      description: The numeric ID of the account
  schemas:
    team_summary:
      type: array
      description: Team summary report containing conversation statistics grouped by team.
      items:
        type: object
        properties:
          id:
            type: number
            description: The team ID
          conversations_count:
            type: number
            description: Number of conversations assigned to the team during the date range
          resolved_conversations_count:
            type: number
            description: Number of conversations resolved by the team during the date range
          avg_resolution_time:
            type:
              - number
              - 'null'
            description: >-
              Average time (in seconds) to resolve conversations. Null if no
              data available.
          avg_first_response_time:
            type:
              - number
              - 'null'
            description: >-
              Average time (in seconds) for the first response. Null if no data
              available.
          avg_reply_time:
            type:
              - number
              - 'null'
            description: >-
              Average time (in seconds) between replies. Null if no data
              available.
      example:
        - id: 1
          conversations_count: 250
          resolved_conversations_count: 200
          avg_resolution_time: 2800
          avg_first_response_time: 240
          avg_reply_time: 500
        - id: 2
          conversations_count: 180
          resolved_conversations_count: 150
          avg_resolution_time: 2400
          avg_first_response_time: 200
          avg_reply_time: 450
    bad_request_error:
      title: data
      type: object
      properties:
        description:
          type: string
        errors:
          type: array
          items:
            $ref: '#/components/schemas/request_error'
    request_error:
      type: object
      properties:
        field:
          type: string
        message:
          type: string
        code:
          type: string
  securitySchemes:
    userApiKey:
      type: apiKey
      in: header
      name: api_access_token
      description: >-
        Token de acesso do usuário (Perfil → Token de acesso). Dá acesso
        conforme o papel do usuário e age em nome dele.

````

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