Zum Inhalt springen

List embedding models

GET
/api/embedding-models
curl --request GET \
--url https://firma.company-gpt.com/companygpt/rag/api/api/embedding-models \
--header 'Authorization: Bearer <token>'

Returns the MCP’s embedding-model catalog (id, label, provider) and the server’s default model id, for the collection-create dropdown and client-side validation.

Embedding model catalog

Media typeapplication/json
object
default
required
string
models
required
Array<object>
object
id
required
string
label
required
string
provider
required
string
Examplegenerated
{
"default": "example",
"models": [
{
"id": "example",
"label": "example",
"provider": "example"
}
]
}

Unauthorized

Failed to fetch the catalog from the MCP and no cached response is available (plain-text body)

Media typetext/plain
string

Embedding model catalog is not configured on this server (plain-text body)

Media typetext/plain
string