Schemas
CreateReviewJsonBody
imported_file_id^[0-9a-fA-F]{8}-[0-9… · requiredplaybook_id^[0-9a-fA-F]{8}-[0-9…review_typeOptional; when omitted the service chooses the review mode.
CreateReviewMultipartBody
fileDocument upload; part name must be file.
playbook_id^[0-9a-fA-F]{8}-[0-9…review_typeOptional; when omitted the service chooses the review mode.
RedlineEvaluation
idcommentarycreated_atevaluationOutcome for this redline (e.g. accept, needs_review)
redline_idredline_review_idrelevant_rule_topicsupdated_atrejection_commentTopicbookRuleMetadata
idnamequestionsRule topic questions used to guide the summary position.
SummaryPosition
idcreated_atdetailed_explanationdocument_referencessummarysummary_review_idupdated_atSummaryReviewFlagViolation
iddecisionRecorded outcome for this flag violation.
created_atdocument_referencesreasoningremedy_suggestedreviewerEmail of the reviewer who recorded the decision.
rulePlaybook rule text or summary that was evaluated.
summary_review_flag_idsummary_review_idupdated_atRedlineReviewAttributes
review_typeRedline (diff) review with per-redline evaluations.
SummaryReviewAttributes
review_typeSummary review with topic positions and optional flag violations.
Optional playbook flag issues detected for this summary review.
RedlineReviewListAttributes
review_typeRedline (diff) review. redline_evaluations are omitted on GET /v1/organizations/{organization_id}/reviews; use GET /v1/organizations/{organization_id}/reviews/{id}.
SummaryReviewListAttributes
review_typeSummary review. summary_positions and flag_violations are omitted on GET /v1/organizations/{organization_id}/reviews; use GET /v1/organizations/{organization_id}/reviews/{id}.
ReviewAttributesList
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · review_type="RedlineReview" | |
| type = object · review_type="SummaryReview" |
review_typeRedline (diff) review. redline_evaluations are omitted on GET /v1/organizations/{organization_id}/reviews; use GET /v1/organizations/{organization_id}/reviews/{id}.
ReviewAttributes
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · review_type="RedlineReview" · requires: redline_evaluations | |
| type = object · review_type="SummaryReview" · requires: summary_positions |
review_typeRedline (diff) review with per-redline evaluations.
ReviewResource
idtypeReviewResourceList
idtypeReviewResponse
ReviewsPagination
currentCurrent page number.
lastLast page number.
recordsTotal number of reviews across all pages.
nextNext page number, or null when the current page is the last page.
ReviewsListMeta
ReviewsListLinks
selfCollection URL without pagination query parameters.
currentURL for the current page (includes page[number]).
lastURL for the last page.
nextURL for the next page, or null when there is no next page.
RedlineEvaluationsListResponse
Redline evaluations for the review (same objects as attributes.redline_evaluations on a RedlineReview resource).
RedlineEvaluationResponse
CounterproposalResourceDataAttributes
directiveInstruction-style input from the client counterpropose request, or null.
suggested_counterproposal_textGerri-generated suggested counterproposal text, or null.
created_atupdated_atstatusProcessing state of the counterproposal.
PatchRedlineEvaluationAcceptAction
typeAccept this redline evaluation.
PatchRedlineEvaluationRejectAction
typeReject this redline evaluation.
PatchRedlineEvaluationManualAction
typeMark outcome as manual handling.
PatchRedlineEvaluationNeedsReviewAction
typeFlag this evaluation as needing further review.
PatchRedlineEvaluationCounterproposeAction
typeSubmit a counterproposal for this redline.
Exactly one shape: an object with required string directive (instructional text), or an object with required string new_text (replacement copy). additionalProperties is false on each branch—do not send both keys.
PatchRedlineEvaluationBody
Outcome and payload for this redline evaluation. Discriminated by type; see oneOf variants below.
commentOptional comment accompanying the evaluation update.
FlagViolationsListResponse
Flag violations for the review (same objects as attributes.flag_violations on a SummaryReview resource).
FlagViolationResponse
PatchFlagViolationBody
decisionUser decision for this flag violation.
OrganizationResource
idOrganization id (same as attributes id).
typeOrganizationResponse
OrganizationsListResponse
PatchOrganizationBody
nameNew name for the organization. Omit this field to leave the name unchanged; if sent, the value must be a non-empty string.
default_reviewer_id^[0-9a-fA-F]{8}-[0-9…User id of the new default reviewer; must be an available reviewer for the organization. Omit this field to leave the reviewer unchanged; if sent, the value must be a canonical UUID string (8-4-4-4-12 hex digits).
PlaybookResource
idtypePlaybooksListResponse
PlaybookResponse
PatchPlaybookBody
nameNew name for the playbook.
descriptionNew description for the playbook.
CreatePlaybookBody
nameName for the new playbook.
descriptionOptional description for the new playbook.
PlaybookRule
idtypePlaybookRuleResponse
PlaybookRulesListResponse
CreatePlaybookRuleBody
nameName for the rule.
actionsActions to take when this rule is triggered.
descriptionOptional description for the rule.
PatchPlaybookRuleBody
nameUpdated name for the rule.
descriptionUpdated description for the rule.
actionsUpdated actions for the rule.
ImportedFileResource
idtypeImportedFilesListResponse
InvitationResource
idtype