Skip to main content

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.
The URL includes /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.

Read the result

For this sample input, expect BENIGN. 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.

Next steps

Verify your integration in the dashboard. Then connect the framework, gateway, or execution boundaries your application uses. Reuse a conversation ID for ordered checks in one agent sequence. Read events and conversations before adding conversation-aware or batch calls. For blocked events and failed calls, follow enforcement guidance and troubleshooting.