Skip to main content
The Firewall API carries its major version in the URL path. A path without a version segment is version 1. A deployment that serves version 2 serves both versions with the same API key. A deployment that does not yet serve version 2 answers /v2/classify with 403, 404, or 405, and version 1 keeps working there. Your provisioned SILMARIL_API_URL ends in /classify. The version 2 URL is that URL with the final /classify replaced by /v2/classify. To move an integration, see migrate to version 2.

Changes within a version

Within a version, changes are additive only. Version 1 is frozen: its request, response, and behavior do not change. Write a client so that an additive change does not break it:
  • Ignore response fields you do not recognize.
  • Block on any action other than allow. action is binary and stays binary.
  • Treat source and outcome as open strings.
  • Treat confidence and severity as closed, ordered scales.

Breaking changes

Removing a field or changing the meaning of a field is a breaking change. A breaking change is made only in a new major version, at a new path. Existing versions keep their fields and meanings.

Retirement

Version 1 has no retirement date. Before version 1 is retired, the changelog will announce the retirement in advance, and version 1 responses will carry Deprecation and Sunset headers.