submit
Provide review-phase items to trigger atomic validation: invalid entries return all errors, while complete requirements advance the phase or list what remains.
Instructions
Submit items for the current phase of a review.
Each item must match the item_format from the latest instructions. Validation is atomic: if any item is invalid (wrong fields, or it fails a quality check), nothing is saved and the error lists every problem to fix. When the phase's requirements are met the review advances and the next phase's instructions are returned; otherwise the response lists exactly what is still missing.
Args: review_id: The review session id (e.g. "rev-x9k2"). items: List of dicts matching the current phase's item_format.
Returns: dict with status "in_progress" (plus a 'missing' list), "phase_complete" (plus 'next_phase' instructions), or "complete" (call get_verdict next).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| review_id | Yes |