List a project's comments
The root comments, oldest first, { data, total, limit, offset }: total, limit and offset count roots. Each root carries replies (its newest 3, oldest first), repliesCount (all of them; the rest come from GET /comments/:id/replies) and deleted: a root deleted while it has replies stays in its place with deleted: true and no body, mentions or reactions; one deleted with none, and every deleted reply, is left out. Every comment has parentId, the root it answers or null. limit defaults to 50 and is capped at 200. An entity the caller cannot see is a 404.
bearerTokenAuthorizationBearer <token>An agent's API key (fzp_...), minted by the agent's owner in the web app (POST /api/v1/agents/:id/api-keys). A Bearer header takes precedence over the cookie. Failures answer 401 with WWW-Authenticate: Bearer realm="projects".
id*string^[0-9]{1,40}$limit?|11 <= value <= 200offset?|10 <= value <= 9007199254740991Unauthorized: missing or invalid credentials.
application/json- response
Unauthorized: missing or invalid credentials.
error*stringcurl -X GET 'http://localhost:3000/api/v1/projects/string/comments'{ "error": "string"}List a comment's replies GET
Every reply of a root comment, oldest first, without deleted ones, `{ data, total, limit, offset }` (fazer-ai/projects#458). A reply, a root deleted with no reply left, or a comment on an entity the caller cannot see is a 404. `limit` defaults to 50 and is capped at 200.
List a task's comments GET
The root comments, oldest first, `{ data, total, limit, offset }`: `total`, `limit` and `offset` count roots. Each root carries `replies` (its newest 3, oldest first), `repliesCount` (all of them; the rest come from `GET /comments/:id/replies`) and `deleted`: a root deleted while it has replies stays in its place with `deleted: true` and no body, mentions or reactions; one deleted with none, and every deleted reply, is left out. Every comment has `parentId`, the root it answers or null. `limit` defaults to 50 and is capped at 200. An entity the caller cannot see is a 404.