---
title: "Estatísticas em tempo real"
method: GET
path: "/v1/api/department/{id}/statistics"
---

# Estatísticas em tempo real

`GET /v1/api/department/{id}/statistics`

## Request

- Base URL: `https://api.nuvidio.com`
- URL: `https://api.nuvidio.com/v1/api/department/{id}/statistics`
- Auth: none required

Retorna algumas informações do departamento em tempo real como chamadas em andamento, clientes na fila, atendentes online e uma listagem do status de cada atendente do departamento.

## Request body

- object
  - `id` string, required: Id do departamento

## Response `200`

200

- object
  - `countInCall` integer
  - `countInQueue` integer
  - `countAttendantsOnline` integer
  - `attendants` object[]
    - `id` string
    - `name` string
    - `lastName` string
    - `email` string
    - `profilePhoto` string
    - `status` integer

## Other responses

- `400`: 400

## Changes

- **2026-11-03** `89c4a530a05e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/nuvidio/apis/nuvidio-openapi/changes/v1/api/department/:id/statistics/get.md)

---

[API](https://skmtc.dev/nuvidio/apis/nuvidio-openapi.md) - [All operations](https://skmtc.dev/nuvidio/apis/nuvidio-openapi/llms.txt) - [OpenAPI document](https://skmtc.dev/nuvidio/apis/nuvidio-openapi/revisions/89c4a530a05e?raw)
