Draft reviews

Create a comment thread on a draft review.

post/api/v1/draft-reviews/{sessionId}/comments

Request

  • Base URL: https://commentary.dev
  • URL: https://commentary.dev/api/v1/draft-reviews/{sessionId}/comments
  • Auth: HTTP bearer

Path parameters

sessionIdstring required

Draft review or Research session id.

Headers

X-Commentary-Workspace-Idstring

Must match the credential workspace. This header cannot widen grant authority.

X-Correlation-Idstring

Request body

fileIdstring nullable
filePathstring nullable
blockIdstring required
nodeTypestring required
sourceLineStartinteger required
sourceLineEndinteger required
selectedTextstring nullable
prefixTextstring nullable
suffixTextstring nullable
bodyMarkdownstring required
agentAliasstring nullable

Response

Successful response.

okunknown
threadIdstring

Changes

No recorded changes to this operation across all 1 revision of this API.