Skip to main content
Jev returns structured decisions, probabilities, and scores. Use Custom Endpoints to keep your Jev credentials on the AI Gateway and call its API with a TrueFoundry API key, access control, and tracing.

Prerequisites

Adding an endpoint

1

Create a Custom Endpoint model account

In the TrueFoundry dashboard, go to AI GatewayModelsCustom 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.
Click Continue to Endpoints.
2

Add the Jev endpoint

Add an integration with:
  • Display Name: jev-endpoint
  • Base URL: https://www.jevai.org (no trailing slash)
Enable Header Auth and add: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:
This forwards to 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 returns allow, 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.
Jev wraps responses in 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.