Skip to content

Commit a sample into an existing dataset's draft version ​

POSThttps://api-dataset.transkribus.org/v1/datasets/{datasetId}/sample/commit

Runs 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
integer
Required
Minimum
1

Request Body​

application/json
Valid values"random""stratified"
Minimum1
Min Length8
Valid values"any""gt_only"

Integer percentages that must sum to 100.

Minimum1

Responses​

Sample committed to draft version

Try it out

Playground​

Authorization
Variables
Key
Value
Body

Samples​

Transkribus Developer Platform