For the complete documentation index, see llms.txt. This page is also available as Markdown.

Document Reviews

Submit documents for review, track processing status, and retrieve completed findings.

List document reviews

get

Return document reviews visible to the authenticated tenant. This endpoint is typically used to poll or reconcile asynchronous reviews in bulk.

Authorizations
AuthorizationstringRequired

Supply the Protege external API key in the Authorization header using the format Bearer <api_key>.

Query parameters
idstring · uuidOptional

Filter by a specific review identifier.

documentEvaluationTypeIdstring · uuidOptional

Filter reviews created with a specific document evaluation type.

externalIdstringOptional

Filter by the client-supplied external document identifier.

statusstring · enumOptional

Current processing state of a submitted document review.

Possible values:
limitintegerOptional

Maximum number of records to return per page.

Default: 25
offsetintegerOptional

Number of records to skip before starting the page.

Default: 0
sortBystring · enumOptional

Field used to sort the result set.

Default: createdAtPossible values:
sortOrderstring · enumOptional

Sort direction for the selected sort field.

Default: descPossible values:
Responses
200

Document reviews page

application/json

Paginated collection of reviews visible to the calling API key.

get/api/v1/document-reviews

Create a document review

post

Submit a document for compliance review. Use JSON for plain-text content or multipart form data for file uploads. Synchronous requests return findings inline; asynchronous requests return a queued review that can be polled later.

Authorizations
AuthorizationstringRequired

Supply the Protege external API key in the Authorization header using the format Bearer <api_key>.

Body

JSON request body for creating a review from plain text content.

modestring · enumOptional

Controls whether the review should complete inline or be queued for background processing.

Default: syncPossible values:
documentEvaluationTypeIdstring · uuidRequired

Identifier of the review configuration to apply.

Responses
200

Sync review completed

application/json

Final response returned when a document review has completed successfully.

idstring · uuidRequired
statusstring · enumRequiredPossible values:
modestring · enumRequired

Controls whether the review should complete inline or be queued for background processing.

Default: syncPossible values:
documentIdstring · uuidRequired
documentEvaluationTypeIdstring · uuidRequired
post/api/v1/document-reviews

Get document review status or result

get

Retrieve the latest state of a specific document review. Completed reviews include findings; pending reviews expose queue or processing status.

Authorizations
AuthorizationstringRequired

Supply the Protege external API key in the Authorization header using the format Bearer <api_key>.

Path parameters
reviewIdstring · uuidRequired
Responses
200

Review status or completed result

application/json
or
get/api/v1/document-reviews/{reviewId}

Last updated

Was this helpful?