Post Comment
Artifacts
Post Comment
POST /v0/artifacts/:publicId/messages — Post a comment on an artifact
POST
Post Comment
Posts a comment on an artifact. Comments are threaded — each artifact has a single message thread that any participant with access can contribute to.
Auth:
Authorization: Bearer tr_... or x-capability: {token} or ?cap={token}
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
publicId | string | Yes | UUID of the artifact |
Request body
| Field | Type | Required | Description |
|---|---|---|---|
body | string | Yes | Comment text |
Example response
Response fields
| Field | Type | Description |
|---|---|---|
messageId | string | Unique identifier for the posted message |
threadId | string | Identifier for the artifact’s message thread |
createdAt | string (ISO 8601) | Timestamp when the message was posted |