---
title: "Get task time entries"
method: GET
path: "/time-entry/task/{taskId}"
tags: ["Time Entries"]
---

# Get task time entries

`GET /time-entry/task/{taskId}`

Get every time entry logged against a task.

## Path parameters

- `taskId` string, required

## Response `200`

List of time entries for the task

- TimeEntryWithUser[]
  - `id` string, required
  - `taskId` string, required
  - `userId` string, nullable, required — Null once the user who logged the time has been removed.
  - `description` string, nullable, required
  - `startTime` string, date-time, required
  - `endTime` string, date-time, nullable, required — Null while the timer is still running.
  - `duration` number, nullable, required — Elapsed seconds, filled in once the entry has an endTime.
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required
  - `userName` string, nullable, required

## Other responses

- `400` — Unknown task, or its workspace could not be determined
- `401` — Missing or invalid credentials
- `403` — No access to the task's workspace

## Changes

- **2026-08-24** `200744ae0bef` — 10 breaking, 1 info
  - the `items/` response's property type/format changed from `object`/`` to ``/`` for status `200`
  - removed the required property `items/createdAt` from the response with the `200` status
  - removed the required property `items/description` from the response with the `200` status
  - removed the required property `items/duration` from the response with the `200` status
  - …7 more
- **2026-08-24** `08bbb5bedb5d` — 1 breaking, 4 info
  - the response property `items/endTime` became nullable for the status `200`
  - added the non-success response with the status `400`
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
  - …1 more
- **2026-07-11** `32cece1ebe43` — 3 breaking, 1 info
  - the `items/createdAt` response's property type/format changed from ``/`` to `string`/`date-time` for status `200`
  - the `items/endTime` response's property type/format changed from ``/`` to `string`/`date-time` for status `200`
  - the `items/startTime` response's property type/format changed from ``/`` to `string`/`date-time` for status `200`
  - added the required property `items/updatedAt` to the response with the `200` status
- …earlier changes not shown

[Full history](https://skmtc.dev/usekaneo/apis/kaneo-api/changes/time-entry/task/:taskId/get.md)

---

[API](https://skmtc.dev/usekaneo/apis/kaneo-api.md) · [All operations](https://skmtc.dev/usekaneo/apis/kaneo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/usekaneo/kaneo-api/revisions/9d1da42c10ce/schema)
