CLI
Script review loops that create drafts, fetch comments, upload revisions, and report completion from local tooling.
CLI workflow docsWire Commentary into CLIs, API clients, MCP agents, Forms result workflows, Knowledge Brain workflows, and opted-in preview apps without scraping the review UI.
Use explicit review ids, files, comments, form answers, permissions, Brain health context, evaluations, and structured output so automation can participate in human-owned review loops.
Pick the surface that fits the tool you are wiring into Commentary, then link deeper reference detail from docs, OpenAPI, or the MCP endpoint.
Script review loops that create drafts, fetch comments, upload revisions, and report completion from local tooling.
CLI workflow docsUse OpenAPI-backed routes for comments, participants, progress, draft reviews, tokens, and web app reviews.
OpenAPI JSONConnect agents to authenticated tools for draft reviews, comments, polls, documents, Forms, Brain reviews, and live preview review state.
MCP endpointValidate form contracts, create draft review form sources, submit answers, list permitted result collections, read embedded answers, and inspect canonical git result sync.
Forms overviewList Brain reviews, changed files, comments, health findings, requested revisions, ready-for-review replies, and evaluation ledgers.
Brain overviewInstrument opted-in preview apps so UI element comments carry route, selector, and viewport context.
Review SDK overviewForms APIs and MCP tools keep structured answers tied to review source, permissions, and result ownership.
Developer access is scoped to Commentary review automation, and provider-owned content still depends on the viewer's connected provider permissions.
Automation works best when Commentary passes explicit review records and receives structured output that people can verify.
Human reviewers leave comments on rendered files, plan sections, or selected UI elements.
API or MCP clients read explicit review ids, files, comments, permissions, and state.
Agents return structured replies, revision uploads, or status updates for people to verify.
Agents should receive review ids, files, comments, permitted form answers, permissions, and allowed actions directly from Commentary instead of scraping a rendered page.
Create developer credentials, read the docs, and connect the review surface that matches your workflow.