Comment list
All comment threads of a todo (grouped client-side by messageId), its own comments (without messageId), resolve state, author cards, and what the caller may do. Public todos are readable without auth.
path Parameters
todoIdstring · required
Responses
Successful response
commentsobject[] · requiredthreadsobject[] · requiredauthorsobject[] · requiredcanCommentboolean · requiredWhat the caller may do — the UI renders from this, never re-derives the ACL.
canNoteboolean · requiredMay comment on the todo itself: anyone signed in who can see it.
canModerateboolean · requiredcommentsEnabledboolean · required
Comment add
Comment on one message of a todo (messageId), optionally quoting a text span — members always may on a public todo, signed-in outsiders once comments are enabled. Without messageId: a comment on the todo itself (why it is here, where it stands), for anyone signed in who can see it. Never starts the agent.
path Parameters
todoIdstring · required
Request Body
todoIdstring · minLength: 1 · requiredcontentstring · minLength: 1 · maxLength: 2000 · required
messageIdstring · minLength: 1Omit for a note on the todo itself.
quoteobject
Responses
Successful response
idstring · requiredtodoIdstring · requiredauthorIdstring · requiredcontentstring · requiredcreatedAtnumber · required
messageIdstringThe thread: a comment belongs to exactly one message. Absent = a NOTE on the todo itself (why it is here, where it stands) — team members only, not shown to link visitors.
viaconstWritten by an agent from its shell (tfa-cli todo comment), on behalf of
authorId.Const value: agentquoteobjectWhere in a message a comment points. Quote-anchored (W3C TextQuoteSelector), not offsets: survives markdown re-rendering; if the quote no longer matches, the comment falls back to the whole message.
editedAtnumber
Comment edit
Edit your own comment within 15 minutes of posting it.
path Parameters
todoIdstring · requiredcommentIdstring · required
Request Body
todoIdstring · minLength: 1 · requiredcommentIdstring · minLength: 1 · requiredcontentstring · minLength: 1 · maxLength: 2000 · required
Responses
Successful response
idstring · requiredtodoIdstring · requiredauthorIdstring · requiredcontentstring · requiredcreatedAtnumber · required
messageIdstringThe thread: a comment belongs to exactly one message. Absent = a NOTE on the todo itself (why it is here, where it stands) — team members only, not shown to link visitors.
viaconstWritten by an agent from its shell (tfa-cli todo comment), on behalf of
authorId.Const value: agentquoteobjectWhere in a message a comment points. Quote-anchored (W3C TextQuoteSelector), not offsets: survives markdown re-rendering; if the quote no longer matches, the comment falls back to the whole message.
editedAtnumber