Skip to main content
InferenceWall exposes a REST API at port 8000 for scanning LLM inputs and outputs, managing sessions, inspecting signatures and policies, and checking server health. All endpoints accept and return JSON, and follow a consistent response structure across every route.

Base URL

Replace localhost with your deployed host when running InferenceWall in a non-local environment.

API versioning

All endpoints are prefixed with /v1/:

Request format

Send all request bodies as JSON with the Content-Type: application/json header:

Response format

Every response is JSON. Scan and analyze endpoints return a consistent structure:

HTTP status codes

Authentication

InferenceWall uses API key authentication with two roles: scan and admin. Pass your key in the Authorization header:
If IW_API_KEY is not set, authentication is disabled. This is fine for local development but you should always enable auth in production.
See Authentication for full details on key types, roles, and generating keys.

Endpoint groups