Answer a question of the run
Records the answer where it belongs (variant decision, automatic field candidate, kept or replaced manual text, a value conflict or a note for drafting). When…
Records the answer where it belongs (variant decision, automatic field candidate, kept or replaced manual text, a value conflict or a note for drafting). When the run is waiting and no blocking question remains, a continuation run starts unless continue is false; that requires documents:generate.
Authorization
bearerAuth In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/documents/string/runs/string/answers" \ -H "Content-Type: application/json" \ -d '{ "questionId": "string" }'{ "run": { "actions": [ "start" ], "continuesRunId": "220d98ce-0683-4028-96ba-ba3b7ea4699d", "createdAt": "string", "documentId": "4704590c-004e-410d-adf7-acb7ca0a7052", "error": "string", "findingsSummary": { "blocking": 0, "info": 0, "warning": 0 }, "finishedAt": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "mode": "interactive", "outcome": "finished", "phase": "preparing", "questions": [ { "allowText": true, "answer": { "at": "string", "by": "string", "optionId": "string", "value": "string" }, "blocking": true, "fieldKey": "string", "id": "string", "kind": "missing_data", "options": [ { "id": "string", "label": "string" } ], "sectionIds": [ "string" ], "text": "string" } ], "scope": [ "string" ], "sections": [ { "attempts": 0, "caseId": "string", "caseSource": "rule", "deterministic": true, "message": "string", "name": "string", "sectionId": "string", "status": "pending" } ], "status": "queued", "updatedAt": "string", "validation": { "error": "string", "findings": 0, "status": "pending" }, "version": 0 }}One run GET
One run - GET /documents/{documentId}/runs/{runId}. DocDealer REST API reference.
Cancel a queued, running or waiting run. Sections already written stay written. POST
Cancel a queued, running or waiting run. Sections already written stay written. - POST /documents/{documentId}/runs/{runId}/cancel. DocDealer REST API…