---
title: "Получить лог задачи"
method: GET
path: "/api-v2/tasks/{id}/log"
tags: ["Задачи"]
---

# Получить лог задачи

`GET /api-v2/tasks/{id}/log`

## Request

- Base URL: `https://api-docs.yougile.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.yougile.com/api-v2/tasks/{id}/log`
- Auth: HTTP bearer

События от новых к старым. Следующая страница: before — время последнего события текущей страницы. Хранятся события не старше года.

## Path parameters

- `id` string, required

## Query parameters

- `limit` number
- `before` number

## Response `200`

- TaskLogListDto
  - `paging` TaskLogPagingDto, required
    - `count` number, required: Количество событий в результате
    - `limit` number, required: Количество событий на страницу
    - `next` boolean, required: Есть ли события старше этой страницы
  - `content` TaskLogListDtoBase[], required: Лог задачи
    - `timestamp` number, required: Время события
    - `type` 'add' | 'delete' | 'restore' | 'rename' | 'move' | 'complete' | 'uncomplete' | 'file' | 'done' | 'undone' | 'executor' | 'deadline' | 'string' | 'sprint' | 'timetracking' | 'stopwatch' | 'timer' | 'numeric' | 'text', required: Тип события
    - `userId` string: ID пользователя, который совершил действие
    - `oldName` string: Прежнее название
    - `newName` string: Новое название
    - `from` string: Колонка, из которой переместили задачу
    - `to` string: Колонка, в которую переместили задачу
    - `users` string[]: Исполнители после изменения
    - `stateName` string: Название состояния стикера при удалении
    - `key` union: Для file: время сообщения или description, если файл из описания задачи
      - number
      - 'description'
    - `urls` string[]: Ссылки на файлы
    - `options` object: Для deadline — прежний и новый срок. Для стикеров — id стикера и прежнее/новое значение.

## Other responses

- `404`

## Changes

- **2026-10-07** `6b1424ac0187`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/yougile/apis/yougile-rest-api-v2-0/changes/api-v2/tasks/:id/log/get.md)

---

[API](https://skmtc.dev/yougile/apis/yougile-rest-api-v2-0.md) - [All operations](https://skmtc.dev/yougile/apis/yougile-rest-api-v2-0/llms.txt) - [OpenAPI document](https://skmtc.dev/yougile/apis/yougile-rest-api-v2-0/revisions/9452cba35716?raw)
