Skip to main content
POST
Comment on a task

Headers

x-project-id
string<uuid>
required

Project ID for tenant scoping

X-Workspace-Id
string<uuid> | null

Overrides the key's workspace

X-API-Key
string | null

User API key

Body

application/json
action
enum<string>
required

Create a comment.

Available options:
create
task_id
string<uuid>
required

Task the comment belongs to.

body
string | null

Comment text.

Response

Successful Response

id
string<uuid>
required
task_id
string<uuid>
required
author_type
enum<string>
required
Available options:
human,
ai_agent,
system
author_id
string | null
required
body
string
required
created_at
string<date-time>
required
edited_at
string<date-time> | null
attachments
CommentAttachment · object[]