Operating system set to macOS
Documentation jurisdiction set to United States
Sign inConnect Claude
API/schemas
Schema

CycleWorkbookRef

The workbook a run produced, with its review state (card 011). The API does the fallback, not the frontend: the cycle GET payload carries this field so the Workbook tab renders from it directly — a frontend-only guess at step outputs is rejected. ``document_id`` is the file_uploads id of the workbook the latest fill/compile step wrote (``task.outputs.document_id``, which the workbook operations return today); ``state`` is ``reviewed`` when a run-level sign-off record exists, ``not_yet_reviewed`` when that document_id exists but no sign-off does, and ``none`` otherwise.

FieldTypeDescription
document_idstring | nullThe file_uploads id of the workbook the latest fill/compile step wrote (``task.outputs.document_id``). Null when no such step has run.
state"reviewed" | "not_yet_reviewed" | "none"The review state of the workbook a run produced. A reviewer needs to SEE the workbook a fill/compile step wrote in order to review it, even though the review gate has not passed (card 011). The state tells the frontend whether to render the "not yet reviewed" label and disable the download — the SERVER is the control, never the FE button.
reviewednot_yet_reviewednone
download_urlstring | nullThe file download path for the workbook (``/api/v1/files/{document_id}/download``). Present whenever document_id is present. The route 409-refuses a not_yet_reviewed workbook until the gate passes — this URL is for the tab's inline render, not for downloading as final.