GET, POST
/api/public/v1/classification/{documentId}
BetaClassification history for a document, or evaluate the rules for it (a dry run unless dryRun is false).
Parameters
| Name | In | Required | Description |
|---|---|---|---|
| documentId | path | true | The document id. |
| dryRun | body (POST) | false | Defaults 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"