Update Task Comment
Edit a task comment. Only the original author may edit.
Returns: Updated comment with edited=True.
Raises: TaskCommentNotFoundError: If the comment does not exist. TaskCommentForbiddenError: If the actor is not the comment author.
Documentation Index
Fetch the complete documentation index at: https://docs.pragmatiks.io/llms.txt
Use this file to discover all available pages before exploring further.
Path Parameters
Body
Request body for editing a task comment.
Attributes: body: New markdown body to replace the existing one.
Response
Successful Response
A markdown comment on a task.
Comments live inside each organization's SurrealDB namespace —
the namespace is the organization boundary, so no per-record
organization_id field is carried on the row.
Comments are first-class graph nodes connected to tasks via
has_comment edges. Authorship is recorded as graph edges as well:
user comments use authored_by_user and agent comments persist a
dual authored_by_instance plus authored_by_type pair so that
type-level attribution survives instance garbage collection.
Attributes:
id: SurrealDB record ID (populated by database).
task_id: Task this comment belongs to.
body: Markdown body of the comment.
author_type: Whether the author is a user or an agent.
author_user_id: User ID when author_type is user.
author_instance_id: Agent instance ID when author_type is agent.
author_agent_type_id: Agent type ID when author_type is agent.
edited: True after at least one update.
Source of a task comment.
user, agent