# CreateReviewCommentRequest

Fields, types, and constraints for CreateReviewCommentRequest.

Canonical: https://commentary.dev/docs/reference/schemas/create-review-comment-request

Released API schema for `CreateReviewCommentRequest`.

## Fields and constraints

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `requestDecision` | boolean | No |  |
| `poll` | object | No |  |
| `provider` | `"github"` | No |  |
| `owner` | string | Yes |  |
| `repo` | string | Yes |  |
| `prNumber` | integer | No |  |
| `branchRef` | string | No |  |
| `filePath` | string | Yes |  |
| `blockId` | string | Yes |  |
| `nodeType` | string | Yes |  |
| `sourceLineStart` | integer | Yes |  |
| `sourceLineEnd` | integer | Yes |  |
| `selectedText` | string or null | No |  |
| `prefixText` | string or null | No |  |
| `suffixText` | string or null | No |  |
| `bodyMarkdown` | string | Yes |  |
| `agentAlias` | string or null | No |  |
| `anchorMetadata` | object or null | No |  |

## Full schema

[Download this schema](/docs/reference/schemas/create-review-comment-request.json) or use the [complete OpenAPI document](/docs/reference/openapi.json) to resolve all references.

## Related reference

[Browse API endpoints](/docs/reference/api-operations).
