Commit an import
Save the review decisions and queue the write into the knowledge base. Requires the import to be in `ready_for_review` or `commit_failed`; calling it on an…
Save the review decisions and queue the write into the knowledge base. Requires the import to be in ready_for_review or commit_failed; calling it on an import that is already committing or completed returns the current state rather than queueing a second write.
Rows that failed validation block the commit unless each is overridden with action: skip. If any row ends up more widely visible than the import default, confirmLessRestrictiveAccess must be set to true.
Authorization
bearerAuth In: header
Path Parameters
Import session identifier
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
curl -X POST "https://example.com/api/v1/imports/550e8400-e29b-41d4-a716-446655440000/commit" \ -H "Content-Type: application/json" \ -d '{ "confirmLessRestrictiveAccess": true, "reviewOverrides": { "12": { "action": "skip" }, "43": { "action": "skip" }, "77": { "access_level": "public", "tags": [ "encryption" ] } } }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "state": "created", "eventId": "string"}How is this guide?