---
title: "List project time edit logs"
method: GET
path: "/v2/projects/{project_id}/time_edit_logs"
tags: ["time_edit_logs"]
---

# List project time edit logs

`GET /v2/projects/{project_id}/time_edit_logs`

## Request

- Base URL: `https://api.hubstaff.com`
- URL: `https://api.hubstaff.com/v2/projects/{project_id}/time_edit_logs`
- Auth: OAuth 2
  - Authorization code: `https://account.hubstaff.com/authorizations/new`
  - Token URL: `https://account.hubstaff.com/access_tokens` scopes: `hubstaff:read`, `hubstaff:write`
- TypeScript: <https://skmtc.dev/hubstaff/apis/hubstaff-v2-api/docs/v2/projects/:project_id/time_edit_logs/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a collection of time edit logs (manual time additions/edits/deletions) for the given project.

Results can be filtered by created[start]/[stop], user_ids[], task_ids[], and project_ids[].

Note: Date range limit is 31 days. Earliest date is 3 years ago.

## Path parameters

- `project_id` integer, required

## Query parameters

- `page_start_id` integer
- `page_limit` integer
- `created[start]` string, date-time, required
- `created[stop]` string, date-time, required
- `user_ids` integer[]
- `task_ids` integer[]
- `include` string[]

## Response `200`

A list of time edit logs

- object
  - `time_edit_logs` TimeEditLog[]
    - `id` integer, required: Time edit log ID
    - `created_at` string, date-time, required: When the record was created
    - `starts_at` string, date-time, required: The start time of the final time entry
    - `stops_at` string, date-time, required: The stop time of the final time entry
    - `original_starts_at` string, date-time: The start time of the original time entry
    - `original_stops_at` string, date-time: The stop time of the original time entry
    - `blame_user_id` integer, required: User ID who created the time edit log
    - `user_id` integer, required: User ID to which the time edit log belongs
    - `original_project_id` integer: Original Project ID
    - `original_task_id` integer: Original Task ID
    - `project_id` integer: Project ID
    - `task_id` integer: Task ID
    - `action` string, required: Action type
    - `added_duration` integer, required: The number of seconds that were added due to this edit
    - `deleted_duration` integer, required: The number of seconds that were deleted due to this edit
    - `replaced_duration` integer, required: The number of seconds that were replaced due to this edit
    - `reason` string, required: Reason for making the change

## Other responses

- `400`: Invalid parameters
- `401`: Unauthorized
- `403`: API access is only for organizations on an active plan
- `404`: Could not find record
- `429`: Rate limit exceeded

---

[API](https://skmtc.dev/hubstaff/apis/hubstaff-v2-api.md) - [All operations](https://skmtc.dev/hubstaff/apis/hubstaff-v2-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hubstaff/apis/hubstaff-v2-api/revisions/c6b90e4e4bdc?raw)
