Skip to main content
 print this page

Generate labels for dataset files

POST 

/datasets/:id/files/labels

Starts AI label generation for up to 10 files in an unstructured (S3) dataset that is active and fully registered. Requires editor access. Runs in the background - poll the GET operation for results. Files must already be loaded and end in a lowercase .pdf or .txt. A file is only rejected when labelling has already completed for it, so one that failed or is still running can be resubmitted.

Request

Responses

Successful API response

Response Headers
    Access-Control-Allow-Origin
    Access-Control-Allow-Methods
    Access-Control-Allow-Headers