Prerequisites
- Sign in to Jev and create a personal API key on the API keys page.
- Get your TrueFoundry API key and gateway base URL. See Authentication and Gateway base URL.
Adding an endpoint
1
Create a Custom Endpoint model account
In the TrueFoundry dashboard, go to AI Gateway → Models → Custom Endpoints and click Add Custom Endpoint.In Configure Account, set:
- Name:
jev-account - Endpoint Type:
Other - Header Auth: leave disabled at the account level; configure it on the endpoint below.
2
Add the Jev endpoint
Add an integration with:
- Display Name:
jev-endpoint - Base URL:
https://www.jevai.org(no trailing slash)
Replace
<JEV_API_KEY> with your Jev key. The AI Gateway injects this header when forwarding requests to Jev. Client applications send their TrueFoundry API key to the gateway.3
Set access control and save
On the Access Control step, choose the users or teams who can manage and use this model account, then Save. See Gateway access control.
Making requests
The gateway appends the upstream path to the configured Base URL:https://www.jevai.org/api/v1/decisions/tool-guard. Here, jev-account is the account name and jev-endpoint is the endpoint Display Name. The remaining /api/v1/decisions/tool-guard path belongs to the Jev API. Replace these segments if you chose different names. See Endpoint structure.
Use the HTTPS
www.jevai.org host and /api/v1/decisions routes from the Jev REST reference. Jev uses its own request schema rather than /chat/completions. Request bodies are limited to 32 KiB.Supported APIs
All paths below are appended to/proxy-api/jev-account/jev-endpoint and use POST. Custom Endpoint requests support tracing; cost tracking is unavailable.
See the Jev REST reference for each request schema.
Example: evaluate a tool call
The tool-guard API evaluates a proposed action and returnsallow, confirm, review, or deny. It does not execute the tool.
Set GATEWAY_BASE_URL to your gateway base URL without a trailing slash and TFY_API_KEY to your TrueFoundry API key. For Python, install requests with pip install requests.
code, message, and data; code: 0 indicates success. Inspect data.decision and the returned confidence and probabilities before handling the result. Keep action approval and execution in your application. See Jev’s response documentation.