Perception

Classify

nace classify https://example.com/invoice.pdf \
  --class invoice:Invoice:"A supplier invoice" \
  --class contract:Contract:"A signed agreement between two parties" \
  --granularity page

Classify takes the same --class and --classes flags as Split, plus:

FlagWhat it does
--granularity {document,page}Label the whole file once, or each page (default document).
--unknown {allow,force_best}Let a unit be labelled unknown, or commit it to the closest class. Sent as unknown_policy. Default allow.

The CLI sends the original file, so it does not take a job: source. Document Classify on the API reads a Parse result. Page Classify cannot reuse a Parse. See Classify.