Products · LLM Extraction V2 · Human Review V2
Web enrichment and chat correction
Add cited context from the web, and fix data by describing the change in plain language.
InterfacesAPI SpecSections
API Spec Designed
- GET
/api/extraction/v1/jobs/{jobId}/enrichmentWeb-sourced vendor metadata with citations for a job. Signed in
→
200 {data: [{name, value, source_urls[], retrieved_at}]}. - GET
/api/review/v1/tasks/{taskId}/chat/messagesThe correction chat history for a task. Signed in
→
200 {data: [Message]}. - POST
/api/review/v1/tasks/{taskId}/chat/messagesAsk the correction agent to fix data in plain language. Signed in
Body
{text}→201 {message, proposals: [{id, field, old_value, new_value, reason}]}. Nothing changes until a proposal is applied. - POST
/api/review/v1/tasks/{taskId}/proposals/{proposalId}/applyApply a proposed change. Signed in
→
200 {field}; audited withsource: chat. Errors:409if the field changed since the proposal. - POST
/api/review/v1/tasks/{taskId}/proposals/{proposalId}/rejectReject a proposed change. Signed in
→
200 {proposal}. - POST
/api/review/v1/tasks/{taskId}/proposals/{proposalId}/undoUndo an applied change. Signed in
→
200 {field}. Errors:409if the field was edited again afterwards.
Notes
REVIEW-V2-E11-02No new endpoints. DocFlow adds enrichment values to the review task as fields ofkind: enrichment(withsource_urls); accept or reject usesPATCH /api/review/v1/tasks/{taskId}/fields/{fieldId}(REVIEW-V1-E4-02).
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.