Skip to main content

What is an endpoint?

An endpoint is a named model setup that your app calls. You name it for what it does (support-summarizer, classify-email), and your code sends that name where it used to send a model. The endpoint holds everything else:
  • which model answers
  • which models take over if that one fails
  • the parameter defaults (system prompt, temperature, max tokens)
  • its spending limit
Change any of these on the endpoint and every call to it follows, with no deploy.
The management API keeps its original path: endpoints live at /v1/gates.

Calling an endpoint

Point the SDK you already use at Verlon, and put the endpoint’s name in the model field:
The response carries an x-verlon-served-model header naming the model that answered. A name that matches none of your endpoints is refused with 404 and the code no_endpoint_named; the message lists your endpoints and points to the closest match. To move an existing app over one call at a time, give your coding agent verlon.ai/setup.

Jobs

A job is one named use of an endpoint, called as endpoint/job:
A job inherits the endpoint’s model settings and can override any of them. Calling a job the endpoint doesn’t have fails with 404 and the code no_job_named, listing the endpoint’s jobs. Create jobs on the endpoint’s page in the dashboard, or with POST /v1/gates/{id}/jobs.

Types

Every endpoint has a type, fixed when it’s created, which decides which models it can use:

Creating an endpoint

From the dashboard

Go to Endpoints and create one: give it a name, say what it does, and pick its model. Fallbacks, the system prompt and the other defaults are optional and can be set any time on the endpoint’s page.

From the CLI

The type defaults to the model’s own. Running the same command again returns the endpoint it made, so a script or a coding agent can re-run its steps safely.

From the API

To get a free name from a sentence, call POST /v1/gates/suggest-name with { "sentence": "Summarizes support tickets" }.

Names

A name is lowercase letters, digits and single hyphens, starting with a letter, up to 64 characters. It can’t be a model’s or a provider’s name (your code would look like it calls the model), look like an id, or be one of the dashboard’s own page words. Names are unique in your organization. A refused name comes back with a suggestion in details.suggestion; a taken one is a 409.

Fallbacks

An endpoint can list fallback models and a strategy for using them:
  • Single (default): only the endpoint’s model.
  • Fallback: the endpoint’s model first; if it fails (an outage, a rate limit), each fallback in order until one answers.
  • Round-robin: spreads requests across the model and its fallbacks.

Model choice

  • Pick a model (the default): the endpoint serves the model you picked, and Verlon may suggest changes for you to accept.
  • Lock to a model: the endpoint serves exactly that model. No automatic changes, and fallbacks only if you list them.

Configuration reference

Fields marked required must be set when an endpoint is created.

Core fields

Fallbacks

Request defaults

Applied to every request through the endpoint. A request that sets one of these uses its own value; the model always comes from the endpoint.

Model suggestions

Verlon reads the endpoint’s description and traffic to suggest models. These weigh what it optimizes for.

Structured output

Spending limit

An endpoint’s own cap. See Spending for organization and project budgets.

Read-only fields

Agent endpoints

An agent endpoint is the identity of one agent: its traces, sessions and jobs. Create one with gateType: "agent" and give each call site a job. See Agent tracing.

Limits

How many endpoints you can create depends on your plan. See Plans.