Skip to main content

PT-431 task velocity

GET 

/api/tasks/velocity

PT-431 task velocity. Returns completed-tasks-per-week buckets over the trailing weeks window (default 12, clamped to [1, 52]), the data source for the dashboard Task Velocity widget. A completion is a task whose completedAt (stamped when it transitions into a project-configured completed status) falls in the window. Weeks are ISO-8601 (Monday 00:00 UTC). Requires tasks.read | tasks.read.own AND projects.read | projects.read.own plus an active membership. A tasks.read.own caller counts only their own completions; a GUEST / projects.read.own caller is restricted to collaborator/creator projects. Archived (COMPLETED / CANCELLED) projects are excluded.

Request

Responses

Successful response