List tasks with KPIs
Short ids of your tasks that have KPI entries. Encrypted tasks are left out. Fetch a task with `GET /tasks/{id}` for its title.
Short ids of your tasks that have KPI entries. Encrypted tasks are left out. Fetch a task with GET /tasks/{id} for its title.
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
Response Body
application/json
curl -X GET "https://example.com/kpis"[
"a3f",
"9fb49"
]Unlink a pull request from a task DELETE
Remove a link (`prId` is the `id` from the list). It stays unlinked: later pushes to the PR do not link it again, only linking it by URL does.
List the KPI entries of a task GET
The task's targets and actuals, oldest first (dateless targets first). Encrypted tasks are refused (403). An entry saved end-to-end encrypted in the web app comes back with `encrypted: true` and no `value`.