List timers
Your work sessions, newest first: which task, when it started and ended, and its duration in seconds. Filter by task with `task_id`. Timers of encrypted tasks are included (they hold no task content).
Your work sessions, newest first: which task, when it started and ended, and its duration in seconds. Filter by task with task_id. Timers of encrypted tasks are included (they hold no task content).
Authorization
bearerAuth Your PerspecTask API key (starts with pt_live_). Each key carries scopes: tasks:read (GET), tasks:write (full create/update), and tasks:write:meta (create/update everything EXCEPT editing title/description of existing tasks — for automation that manages workflow without rewriting human-authored content). KPIs have their own: kpis:read and kpis:write (create, update and delete KPI entries). Time tracking: timers:read and timers:write (start, stop and edit timers). Task history: history:read (read only; nobody can edit it).
In: header
Query Parameters
Only this task’s timers (full UUID or short id).
Only timers started at or after this instant.
Most entries to return, newest first. Defaults to 200, at most 1000.
Response Body
application/json
curl -X GET "https://example.com/timers"[
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"task_id": "string",
"started_at": "2026-11-23T09:00:00.000Z",
"ended_at": "string",
"duration": 0,
"running": true,
"discarded": true
}
]Stop the running timer POST
Stop whatever timer is running. A timer stopped under 5 seconds is deleted instead of kept (`discarded: true`).
Update a timer PATCH
Change when a finished timer started and/or ended, e.g. to fix a forgotten stop. Refused for a running timer, a date in the future, a start after the end, or an overlap with another timer (400). Deleting a timer is only possible in the web app.