Start a product comment thread
Start a comment thread on one element of the product canvas with its first comment. The author is the caller's credential.
Authentication
AuthorizationBearer
API key or Clerk session token
Path parameters
id
Request
This endpoint expects an object.
anchor
The canvas element to comment on: entity:<id>, step:<flow>/<step>, edge:<from>/<to>, block:<block>[/<key>]
body
The comment text; backticks mark code and @name a mention
mentions
What the body names with @: assistant, or a teammate as their name was inserted
Response
Thread started
anchor
The canvas element the thread is on; the thread outlives it when that element is removed
createdAt
createdByUserId
id
messages
Oldest first
productId
resolved
resolvedAt
resolvedByUserId
updatedAt
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error