Promote (finalize) validation data into the data mart
/extractions/{id}/promotePromotes validation data at any granularity. Supply at least one selector: { all: true } (whole project), { documentIds: [...] } (all subtopics of those documents), or { documentDataGroups: [{ documentId, dataGroupId }] } (explicit pairs). If you supply more than one they are NOT combined — a fixed precedence applies and the rest are silently ignored: all wins over documentDataGroups, which wins over documentIds. Each promoted document↔data-group is copied into the data mart and marked COMPLETED. Explicit pairs not in the project are reported as not_found.
Requires an API key with one of these roles: admin, editor.
Authorization
bearerAuth An API key created in Settings → API Keys.
In: header
Path Parameters
uuidRequest 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
curl -X POST "https://example.com/extractions/497f6eca-6276-4993-bfeb-53cbbbba6f08/promote" \ -H "Content-Type: application/json" \ -d '{}'{ "data": { "promotedCount": 0, "totalPointsPromoted": 0, "results": [ { "documentId": "4704590c-004e-410d-adf7-acb7ca0a7052", "dataGroupId": "8488a14d-7eb2-49b5-ad00-46d2c399fd09", "status": "promoted", "pointsPromoted": 0 } ] }, "meta": { "requestId": "string", "timestamp": "string" }}