Get access
Silmaril supplies an API key and complete classify URL for your deployment. Book a call to arrange access. See connection values for gateways, plugins, and Macs.Prerequisites
Use Node.js 20 or later, Python 3.10 or later, or Go 1.22 or later. For Java, confirm the artifact repository and compatible runtime with Silmaril before setup. Choose the service that owns model calls or tool execution. Create one Firewall client for that service and reuse it.Configure the environment
Set the supplied values in your service environment. For a local check, use the same terminal that runs the example./classify and any deployment path prefix.
Make your first classification
These examples select Shadow mode so you can inspect would-block decisions while the workflow continues.- TypeScript
- Python
- Go
- Java
Read the result
For this sample input, expectBENIGN. Inspect any different verdict with the finding review workflow. An API or network failure leaves the event without a verdict.
When you enable Block, stop an event whose prediction is MALICIOUS or whose optional governance.action is block. TypeScript direct calls return the decision for your code to enforce. Python, Go, and Java use blocking errors in effective Block mode. See modes and enforcement.