List embedding routing models¶
Workspace declarations enter this list only with at least one ONLINE endpoint having a nonempty address.
GET https://api.moi.matrixorigin.cn/v5/embedding/models
Before you call this API¶
Set BASE_URL to the product API prefix https://api.moi.matrixorigin.cn/v5; use the corresponding product API URL for a dedicated deployment.
Configure identity, workspace, and model information in the same environment.
Request¶
curl --request GET \
"$BASE_URL/embedding/models" \
--header "X-API-Key: $MOI_KEY" \
--header "X-Workspace-ID: $WORKSPACE_ID"
Parameter |
Location |
Type |
Required |
Description |
|---|---|---|---|---|
|
Headers |
string |
Yes |
Workspace ID in the same environment. |
|
Queries |
string |
No |
Registered service slot ID; omission skips slot filtering. |
Workspace declarations enter this list only with at least one ONLINE endpoint having a nonempty address. System and TaaS models satisfying permission scope are merged separately. Endpoint status still does not establish actual connectivity. The type query key does not change this entry point’s fixed embedding type.
Successful response¶
{
"code": "OK",
"msg": "OK",
"data": {
"models": [
{
"model": "bge-m3",
"backend_id": 13,
"backend_name": "workspace-embedding",
"model_type": "embedding",
"source": "workspace",
"system_default": false
}
]
}
}
Field |
Type |
Description |
|---|---|---|
|
string |
OK on success. |
|
object |
Error responses¶
States and errors distinguishes string and numeric protocols. Confirm probe candidates, persistence, and actual inference separately.