Skip to main content

Get where a document stands in review.

GET/api/v1/documents/{document_id}/review-statusreviews:read

What the Review tab shows above the rounds: status (not_scheduled, scheduled, in_review, overdue, paused or stopped), days until due, the governing schedule and whether it is a default taken from the document's document type, folder or record, the last review and its outcome, the pause reason and the open round. A document with no schedule is not_scheduled (200, not 404). Needs read access to the document.

Scopereviews:read
AsynchronousNo
MCP toolget_document_review_status
Portal permissionsview_document_review_schedules

Parameters​

NameInTypeRequiredDescription
document_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json ReviewStatus
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

ReviewGoverningSchedule​

FieldTypeRequiredDescription
action_request_idstring or nullRequired
auto_applybooleanRequired
date_rollforward_basisstring or nullRequired
date_source_fieldstring or nullRequired
distribution_group_idstring or nullRequired
due_daysinteger or nullRequired
frequency_daysinteger or nullRequired
frequency_hoursinteger or nullRequired
frequency_monthsinteger or nullRequired
lead_daysintegerRequired≥ -2147483648; ≤ 2147483647
next_due_datestring (date) or nullRequired
pausedbooleanRequired
quorum_modestring or nullRequired
review_programme_idstring or nullRequiredThe review programme the schedule runs.
review_rule_idstring or nullRequiredThe default (review rule) the document takes while it has no schedule of its own; null otherwise.
review_schedule_idstring or nullRequiredThe document's own schedule; null while the document only takes a default.
reviewer_user_idsarray of stringRequired
start_immediatelybooleanRequired
stop_conditionobject or nullRequired
time_of_daystring or nullRequired
workflow_template_idstring or nullRequired

ReviewInheritedFrom​

FieldTypeRequiredDescription
document_type_idstring or nullRequired
folder_idstring or nullRequired
namestring or nullRequiredThe document type or folder name; null for a record template.
record_template_idstring or nullRequired
typestringRequireddocument_type, folder or record_template.

ReviewStatus​

FieldTypeRequiredDescription
days_until_dueinteger or nullRequiredWhole days until the next review falls due, negative once it is overdue; null without a due date.
document_idstringRequired
inherited_fromReviewInheritedFrom or nullRequiredWhere the default comes from; null when the schedule is the document's own.
is_inheritedbooleanRequiredThe schedule is a default the document took (or takes) from its document type, folder or record, not one set on the document.
last_outcomestring or nullRequiredThe last round's outcome.
last_reviewed_atstring (date-time) or nullRequiredWhen the last round closed.
open_review_round_idstring or nullRequiredThe round open now; list_document_review_rounds lists it with its reviewers.
pause_reasonstring or nullRequiredWhy the schedule is paused; null while it runs.
scheduleReviewGoverningSchedule or nullRequiredThe schedule that governs the document; null when it has none.
statusstringRequirednot_scheduled, scheduled, in_review, overdue, paused or stopped: the Review tab's status.
stop_reasonstring or nullRequired
stopped_atstring (date-time) or nullRequired