List the models this site has configured
Changed onReturns the models the resolved site has configured for chat, embeddings and image generation, including every entry of a chat fallback chain, in configured order with chat first — the first entry is the site's primary chat model. Each entry reports in "type" which operation accepts it: "chat", "embedding" or "image". A name configured for more than one operation is listed once, with the type of the first of those in that order. The list is exactly the set of values this family accepts as "model": there is no implicit default and no reserved alias, and nothing synthetic is added. No model provider is contacted. A site with no AI configuration, on an instance with none at the system level either, returns an empty data array rather than another site's models. Every response reports the serving site in the X-dotCMS-Resolved-Site header.
Request
- Base URLhttps://docs.anzworldline-solutions.com.au
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Response
The configured models, possibly none
Example response
{
"object": "list",
"data": [
{
"id": "gpt-4o",
"object": "model",
"owned_by": "dotcms",
"type": "chat"
}
]
}Changes
- info
endpoint added
- info