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
- 200
- 400
- 500
Successful API response
Response Headers
Access-Control-Allow-Origin
Access-Control-Allow-Methods
Access-Control-Allow-Headers
Missing required request parameters
Response Headers
Access-Control-Allow-Origin
Access-Control-Allow-Methods
Access-Control-Allow-Headers
Something went wrong at backend. Input, permission and file-state errors - such as an unsupported file type, a file that is already processed, or a dataset you cannot access - are also reported here.
Response Headers
Access-Control-Allow-Origin
Access-Control-Allow-Methods
Access-Control-Allow-Headers