POST
/
classify

Authorizations

Authorization
string
headerrequired

Sensible uses API keys to authenticate requests. Keep your API keys secure and do not share them publicly accessible areas such as GitHub, client-side code, etc. Authentication to the API is performed via Bearer Authentication. Provide your API key as the bearer auth value.

Body

The body is of type file.

Response

200 - application/json
document_type
object

Document type defined in the Sensible account that this doc is most similar to. To use a document type for classification, Sensible requires that the type contains at least one reference document.

reference_documents
object[]

Reference documents uploaded to the Sensible account that this document is most similar to.

classification_summary
object[]

Scores for this document's similarity to each document type in the Sensible account, excluding document types Sensible created in your account as tutorials, such as senseml_basics.