Skip to main content
POST /v2/classify
POST /v2/classify accepts the same request body as version 1 and returns one decision per item in a results array.
  • action is allow or block and is the only field to enforce on.
  • source names who decided a block: model or governance.
  • confidence and severity describe the Firewall’s assessment of the item, and are set only when that assessment is the reason for the block.
  • outcome is the predicted harm on a model block that has one.
  • governance is the version 1 governance decision, unchanged.
  • model_id identifies the model release that classified the item, for provenance.
  • Error status codes and bodies are unchanged.
Version 1 remains available at POST /classify and does not change. It has no retirement date.Read the version 2 reference, migrate to version 2, and versioning.