Create review
create_reviewSubmit Markdown or LaTeX documents to create a human review and receive the review ID plus review and feedback URLs.
Instructions
Create a review from markdown; returns the id and the review and feedback urls. The viewer renders GFM, Mermaid diagrams (mermaid fenced blocks), LaTeX math ($...$ inline, $$...$$ display), GFM footnotes, syntax-highlighted fenced code (label the language) and images (attach them with attach_asset). A flow, decision tree, state machine or architecture reads best as a mermaid diagram, since a plain code fence renders as monospace text. Optional project, session and source_path record where the draft came from, for the dashboard. kind="latex" (default "markdown") makes a research-paper review instead: markdown then carries raw LaTeX (a single .tex document), shown in a split viewer with a live server-compiled PDF, and the markdown rules do not apply. If the content is LaTeX (a .tex source_path, or a body with \documentclass or \begin{document}), set kind="latex"; a latex-enabled server rejects the create otherwise. kind cannot change later. Recreating a review in the other format makes a new review with a new id and url, and its comments and history do not carry over.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | review kind; default markdown. latex = an Overleaf-style paper review. IMMUTABLE: you cannot change a review's kind later; re-creating a review in the other format makes a NEW, separate review with re-authored content (comments/history do not carry over). Warn the human and offer to link the two. | |
| title | No | ||
| project | No | ||
| session | No | ||
| markdown | Yes | the document to review (raw LaTeX when kind=latex) | |
| template | No | for a latex review, start from a named template instead of a blank .tex: it seeds the source (unless you also pass markdown) and supplies the document class/style. Bundled: ieee, acm, arxiv, lncs, elsevier (CTAN classes). Download-on-miss (fetched + cached on first use): acl, iclr2026, and more. GET /api/latex/templates lists the current ids; an unknown id returns 400 with the list. A template only applies at creation of a latex review; there is no re-template of an existing review (see the kind caveat: re-creating in another format is a new review). | |
| source_path | No |