GET /ai/models
List served models
Scope ai:inference. Available on request: served only when Galon AI is open to the account (404 otherwise). No provider name is returned. Under their real names, with publisher, category, licence, context and client price.
API key (Bearer), on the public API endpoint.
Responses
| Status | Description | Body |
|---|---|---|
200 | List of models | object |
401 | Key missing or invalid | Error |
Examples
curl
curl -X GET "$GALON_API_BASE/ai/models" \
-H "Authorization: Bearer $GALON_API_KEY"Node.js (SDK)
import { Galon } from "galon";
const galon = new Galon(process.env.GALON_API_KEY);
const result = await galon.ai.models();Python (SDK)
from galon import Galon
galon = Galon() # reads GALON_API_KEY
result = galon.ai.models()