List workspace embedding models

Calls the same model-list owner, but projects only model/backend_id/backend_name and optional type/dim, without source/system_default/model_type/reasoning_efforts.

GET https://api.moi.matrixorigin.cn/v5/workspaces/{workspace_id}/embeddings/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/workspaces/$WORKSPACE_ID/embeddings/models" \
  --header "X-API-Key: $MOI_KEY" \
  --header "X-Workspace-ID: $WORKSPACE_ID"

Parameter

Location

Type

Required

Description

X-Workspace-ID

Headers

string

Yes

Workspace ID in the same environment.

workspace_id

Path

string

Yes

Must match the workspace header.

Calls the same model-list owner, but projects only model/backend_id/backend_name and optional type/dim, without source/system_default/model_type/reasoning_efforts. This entry point does not pass service_slot to the owner. It is not a byte-for-byte alias of root /embedding/models.

Successful response

{
  "code": 0,
  "data": {
    "models": [
      {
        "model": "bge-m3",
        "backend_id": 13,
        "backend_name": "workspace-embedding"
      }
    ]
  }
}

Field

Type

Description

code

integer

0 on success.

data

object

Model, probe, or settings result.

Error responses

States and errors distinguishes string and numeric protocols. Confirm probe candidates, persistence, and actual inference separately.

Last updated on