Add a set of sample documents, labelled with their document types, and saved in a ZIP file to a classifier.

The request body should contain the binary contents of the samples ZIP file.

The Preparing sample documents article explains how to create a set of sample documents and a samples ZIP file.

RESPONSES

200 The samples were added to the Classifier
400 There is no file supplied in the body, the file supplied is not a ZIP file or the contents of the ZIP file are invalid (details of the exact problem are included in the error response).
401 There is no Authorization header or the access token is invalid
404 The specified Classifier does not exist
415 The Content-Type header is missing or invalid. Currently only application/zip is supported.

Language