import weflayr
client = weflayr.client() # reads WEFLAYR_API_KEY
client.get_models()
const weflayr = require('weflayr');
const client = weflayr.client(); // reads WEFLAYR_API_KEY
await weflayr.api.getModels({
client,
throwOnError: true,
});
curl "https://app.weflayr.com/api/models/" \
-H "Authorization: Bearer $WEFLAYR_API_KEY"
{"models": ["gpt-6-luna", "claude-opus-5-5", "gemini-3.8-flash"]}
Project
Get models
Get every distinct model name your project has logged.
GET
/
api
/
models
/
import weflayr
client = weflayr.client() # reads WEFLAYR_API_KEY
client.get_models()
const weflayr = require('weflayr');
const client = weflayr.client(); // reads WEFLAYR_API_KEY
await weflayr.api.getModels({
client,
throwOnError: true,
});
curl "https://app.weflayr.com/api/models/" \
-H "Authorization: Bearer $WEFLAYR_API_KEY"
{"models": ["gpt-6-luna", "claude-opus-5-5", "gemini-3.8-flash"]}
These are not the models the AI gateway serves: see the AI gateway’s
GET /v1/models. This route takes no parameters.
import weflayr
client = weflayr.client() # reads WEFLAYR_API_KEY
client.get_models()
const weflayr = require('weflayr');
const client = weflayr.client(); // reads WEFLAYR_API_KEY
await weflayr.api.getModels({
client,
throwOnError: true,
});
curl "https://app.weflayr.com/api/models/" \
-H "Authorization: Bearer $WEFLAYR_API_KEY"
{"models": ["gpt-6-luna", "claude-opus-5-5", "gemini-3.8-flash"]}