GET, POST

/api/public/v1/classification/{documentId}

Beta

Classification history for a document, or evaluate the rules for it (a dry run unless dryRun is false).

Parameters

NameInRequiredDescription
documentIdpathtrueThe document id.
dryRunbody (POST)falseDefaults to true.

Response

GET: { history[] }. POST: the evaluation result.

Example

curl -H "Authorization: Bearer $INAYA_API_KEY" \
  "https://app.inaya.network/api/public/v1/classification/REPLACE_ME"