Products · DocFlow app

Multi-document review and outputs

Review a whole batch in tabs and export combined outputs.

Planned, not builtModule 13 of 15

InterfacesAPI SpecSections

API Spec Designed

  • GET/api/docflow/v1/batches/{batchId}/review

    Review state across a batch: flagged fields left per document. Signed in

    → 200 {documents: [{id, file_name, review_task_id, flagged_remaining, excluded}], next_flagged: {document_id, field_id}?, can_complete}.

  • PATCH/api/docflow/v1/batches/{batchId}/documents/{documentId}

    Leave a document out of the batch (or put it back). Signed in

    Body {excluded: boolean} → 200 {document}.

  • POST/api/docflow/v1/batches/{batchId}/complete-review

    Complete the batch review and build the batch outputs. Signed in

    → 200 {batch}. Errors: 409 with unresolved_documents[].

  • GET/api/docflow/v1/batches/{batchId}/outputs

    The outputs available for a batch. Signed in

    → 200 {version, locked, formats: ["json", "csv", "zip"]}.

  • GET/api/docflow/v1/batches/{batchId}/outputs/{format}/preview

    Preview the combined JSON or CSV. Signed in

    format = json|csv → 200 inline content.

  • GET/api/docflow/v1/batches/{batchId}/outputs/{format}/download

    Download batch.json, batch.csv or batch.zip. Signed in

    → 302 to an Upload download-url. Errors: 402 until paid.

Coming Soon...

Full inputs, constraints, error codes and sample requests and responses for each endpoint will appear here when this module's design is finalized.