Skip to main content
Send your provisioned API key in the x-api-key header and JSON in the request body.
SILMARIL_API_URL is your complete classify URL. It already includes /classify and any deployment path prefix. Get both environment values through deployment access.

Keep the key in your service

Make API calls from the service that owns model inference, tool execution, or orchestration. Store the key in that service’s environment or secret manager. Keep it out of browser bundles and source control.

Authentication errors

A 403 response indicates that the request is not authorized. Check that the key belongs to the deployment you are calling. Error bodies can differ between hosted gateways and self-hosted runtimes; they do not contain a classification verdict.