Browse API

Follow tasks

Stream a filtered snapshot and task changes with protocol version 2.

GET/api/v0/projects/<key>/tasks/follow

Request

GET https://repopack.com/api/v0/projects/<key>/tasks/follow?status=open
Authorization: Bearer <token>
x-repopack-task-follow-version: 2

This is an authenticated Server-Sent Events stream, not a JSON array. The server sends the current filtered snapshot followed by enter/update/leave and control events. Optional query filters include status, base, owner, and review_requested=true; visibility and permissions are enforced on every refresh, not just at initial connection. A task leaving a filtered result must be removed by the client. A missing or unsupported protocol version returns 426 with upgrade advice; missing token 401, inactive project 404, invalid owner 400, and insufficient task visibility 403. A revoked or expired token closes a live stream with a revoked event rather than keeping an old snapshot authorized indefinitely. See task-list guidance and the CLI's rp task list --follow behavior.