Skip to main content

Re-run document extraction

POST 

/projects/:projectPid/documents/:sourcePid/regenerate

Re-reads the stored original blob, re-parses, and idempotently replaces the artifact and chunks by dispatching ExtractDocumentArtifactsWorkflow. Returns sourcePid and workflowPid so the caller can resubscribe to lifecycle events. Returns 409 when the source is already processing or still has an active (non-archived) artifact. Requires project access; returns 404 when the source or project is unknown or not visible.

Request

Responses

Success