Appearance
Commit a sample into an existing dataset's draft version
POST
https://api-dataset.transkribus.org/v1/datasets/{datasetId}/sample/commitRuns the sampler over the requested collections (same params as
preview), then persists the picked pages as dataset_items linked to
the dataset's draft version with the given split. Persists the
sampling params + pool fingerprint on the version for auditability.
Parameters
Path Parameters
datasetId*
Type
Requiredinteger
Minimum
1Request Body
application/json
Valid values
"random""stratified"Minimum
1Min Length
8Valid values
"any""gt_only"Integer percentages that must sum to 100.
Minimum
1Responses
Sample committed to draft version