PerspecTaskPerspecTask

Get the running timer and time worked today

The running timer, if any, and the seconds of finished timers today. Pass `day_start` with the user's local midnight so today follows their time zone.

GET
/timers/status

The running timer, if any, and the seconds of finished timers today. Pass day_start with the user's local midnight so today follows their time zone.

Authorization

bearerAuth
AuthorizationBearer <token>

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

day_start?string

Start of the user's day, so worked_today follows their time zone, e.g. 2026-11-23T00:00:00+02:00. Defaults to midnight UTC.

Response Body

application/json

curl -X GET "https://example.com/timers/status"
{
  "worked_today": 0,
  "running": {
    "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
  }
}