---
metadata:
  - name: generator
    content: Diplodoc Platform v5.64.0
alternate:
  - https://yandex.ru/dev/api360/doc/ru/statistics/get-user-statistics-export.md
  - href: https://yandex.ru/dev/api360/doc/ru/statistics/get-user-statistics-export.md
    type: text/markdown
    title: Markdown version
  - href: https://yandex.ru/dev/api360/doc/ru/llms.txt?revision=r21934284
    rel: describedby
sourcePath: docs/dev/api360/concepts/gw/statistics/get-user-statistics-export.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.ru/dev/api360/doc/ru/llms.txt?revision=r21934284

<!-- source: ru/openapi/v1directoryorganizationsorg_idusersstatisticsexport-get.md -->
<div class="openapi">

# Получение статистики по пользователям (CSV)

<!-- markdownlint-disable-file -->

Возвращает CSV-файл со статистикой использования продуктов Яндекс 360 пользователями организации.

В отчете собраны данные за указанный период: от 1 дня до 3 месяцев.
Данные за текущий день недоступны и появятся на следующий день.

Максимальный размер файла: 408 666 строк.
Если данных больше, используйте получение статистики по пользователям в формате JSON.

{% note info "" %}

Для выполнения запроса требуется право `ya360_data:read_reports`.

{% endnote %}

## Request

<div class="openapi__requests">

<div class="openapi__request__wrapper" style="--method: var(--dc-openapi-methods-get);margin-bottom: 12px">

<div class="openapi__request">

GET {.openapi__method}
```text translate=no
https://cloud-api.yandex.net/v1/directory/organizations/{org_id}/users/statistics/export
```

</div>

</div>

</div>

### Path parameters

#|
|| **Name** | **Description** ||
||

_org_id_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Идентификатор организации.

_Example:_{.json-schema-reset .json-schema-example} `1234567`
{.table-cell}
||
|#{.json-schema-properties}

### Query parameters

#|
|| **Name** | **Description** ||
||

_end_date_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string&lt;date&gt;

Дата, по которую нужно получить данные, включительно. Формат: `YYYY-MM-DD`.

_Example:_{.json-schema-reset .json-schema-example} `2026-05-31`
{.table-cell}
||
||

_start_date_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string&lt;date&gt;

Дата, с которой нужно получить данные, включительно. Формат: `YYYY-MM-DD`.

_Example:_{.json-schema-reset .json-schema-example} `2026-05-01`
{.table-cell}
||
||

_format_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Формат выгрузки данных.

По умолчанию `csv`.


_Const:_{.json-schema-reset .json-schema-value} `csv`

_Example:_{.json-schema-reset .json-schema-example} `csv`
{.table-cell}
||
|#{.json-schema-properties}

## Responses

<div class="openapi__response__code__200">

## 200 OK

Файл CSV со статистикой по пользователям организации получен.

### Body

text/csv

**Type:** string

**Format:** binary

**Description:** CSV-файл со статистикой по пользователям организации содержит следующие поля:
- `date` — дата, к которой относятся данные;
- `user_id` — UID пользователя;
- `nickname` — логин пользователя;
- `account_type` — тип аккаунта: `domain`, `portal` или `other`;
- `name` — имя пользователя;
- `is_admin` — признак администратора;
- `is_manager` — признак менеджера;
- `is_enabled` — признак активности пользователя: минимум 1 действие за последние 30 дней;
- `mail_last_usage_date` — дата последнего использования Почты;
- `mail_sent_letters_count` — количество отправленных писем;
- `mail_received_letters_count` — количество полученных писем;
- `mail_read_letters_count` — количество прочитанных писем;
- `mail_replied_letters_count` — количество писем с ответами;
- `disk_last_usage_date` — дата последнего использования Диска;
- `disk_uploaded_files_count` — количество загруженных файлов на Диск;
- `disk_file_views_count` — количество просмотров файлов на Диске;
- `disk_downloaded_files_count` — количество скачиваний файлов с Диска;
- `messenger_last_usage_date` — дата последнего использования Мессенджера;
- `messenger_calls_count` — количество звонков в Мессенджере;
- `messenger_chats_created_count` — количество созданных чатов;
- `messenger_channels_created_count` — количество созданных каналов;
- `telemost_last_usage_date` — дата последнего использования Телемоста;
- `telemost_conferences_count` — количество встреч в Телемосте;
- `telemost_conferences_created_count` — количество созданных встреч в Телемосте;
- `telemost_conferences_total_time_minutes` — общее время встреч в Телемосте в минутах;
- `telemost_live_streams_created_count` — количество созданных прямых трансляций в Телемосте;
- `telemost_live_streams_count` — количество прямых трансляций в Телемосте;
- `telemost_conferences_average_time_minutes` — среднее время встреч в Телемосте в минутах;


</div>

<div class="openapi__response__code__400">

## 400 Bad Request

Некорректный запрос.

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "error": "validation_error",
  "description": "Validation error",
  "message": "Validation error",
  "details": {}
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_description_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Техническое описание ошибки.

_Example:_{.json-schema-reset .json-schema-example} `Validation error`
{.table-cell}
||
||

_error_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Код ошибки

_Example:_{.json-schema-reset .json-schema-example} `validation_error`
{.table-cell}
||
||

_message_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Сообщение об ошибке.

_Example:_{.json-schema-reset .json-schema-example} `Validation error`
{.table-cell}
||
||

_details_{.json-schema-reset .json-schema-property}
{.table-cell}|
{% cut "**Type**: object" %}

#|
|#{.json-schema-properties}

{% endcut %}

Дополнительные детали ошибки

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{}
```

{% endcut %}
{.table-cell}
||
|#{.json-schema-properties}

</div>

</div>

<div class="openapi__response__code__403">

## 403 Forbidden

Доступ к ресурсу запрещен. У пользователя или приложения недостаточно прав.

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "error": "forbidden",
  "description": "Forbidden",
  "message": "Forbidden",
  "details": {}
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_description_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Техническое описание ошибки.

_Example:_{.json-schema-reset .json-schema-example} `Forbidden`
{.table-cell}
||
||

_error_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Код ошибки

_Example:_{.json-schema-reset .json-schema-example} `forbidden`
{.table-cell}
||
||

_message_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Сообщение об ошибке.

_Example:_{.json-schema-reset .json-schema-example} `Forbidden`
{.table-cell}
||
||

_details_{.json-schema-reset .json-schema-property}
{.table-cell}|
{% cut "**Type**: object" %}

#|
|#{.json-schema-properties}

{% endcut %}

Дополнительные детали ошибки

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{}
```

{% endcut %}
{.table-cell}
||
|#{.json-schema-properties}

</div>

</div>

</div>
<!-- endsource: ru/openapi/v1directoryorganizationsorg_idusersstatisticsexport-get.md -->

{% note info "" %}

Если выгрузка неполная, к имени файла добавляется префикс `partial_`. Например: `partial_users_statistics_123456_2026-04-17_2026-04-17.csv`.

{% endnote %}


[*Deprecated]: No longer supported, please use an alternative and newer version.