https://eu-west.api.slng.ai.
Every region returns the same catalog, so the host does not filter the results. Use
the query parameters instead. See
Regions and base URLs for every
host.
Authentication is optional. Without a key you get the public catalog. Add
Authorization: Bearer $SLNG_API_KEY to get the models and pricing available to your
organization.
Find models for an agent
Addsurface=agent to list the models enabled for agents. This example lists text to
speech (TTS) models for an English-speaking agent in Germany (eu-west):
Request
Response
service_type=stt and service_type=llm to find the other
two models. Then set them on the agent:
- Copy each model’s
codeintomodels.stt,models.llm, ormodels.tts. - For
models.tts_voice, pick a voice ID from theagent_availabilityentry that matches the agent’s region and language. Speech to text (STT) and LLM entries have an emptyvoice_idslist.
orchestrator filter.
Query parameters
agent_region takes the agent’s region code, not a gateway code. An unknown code
returns an empty list. The API reference covers
the other filters: provider, model hosting location, protocol, use case, capability,
and search.
Get a model’s voices
The list response never includes voices. Get the model with the same filters to fillvoices, for example to show voice names and previews in a picker:
Request
Response
surface=agent, voices holds only the voices available for that region and
language. The endpoint returns the model object directly, and 404 when the model is
not visible to you or does not match the filters. See
Get model for the full schema.
Page through results
Passpage and page_size, and request the next page until you reach
meta.pages. The default page_size is 20 and the maximum is 100.
With surface=agent, each model counts once toward page_size. In the general
catalog, a page holds page_size model families, and each family brings its
matching variants, so items can be longer than page_size. meta.total counts
families there too.
Region fields
A model’s agent regions, hosting location, and serving regions can all differ. A model can be available to an agent in one region while its deployment runs in another.
Use
agent_region to find models for an agent, and region to filter by hosting
location. Prices and latencies in the region details are the best available from
that region, not a quote for a particular request. A missing measurement is null.
Next steps
Agent regions
Agent region codes and how an agent’s region is set and changed.
Create an agent
Use the models and voice you picked in the create request.