Updated on 2025-08-13 GMT+08:00

Obtaining Model Version Information

Function

Obtain the model version. Currently, only search planning, embedding, and reranking models are supported.

Note: Versions later than 25.2.T1 support this function.

URI

GET /v1/{project_id}/applications/{application_id}/uni-search/models/{model_name}/version

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

model_name

Yes

String

Definition:

Name of the model whose version information needs to be obtained.

Constraints:

N/A

Value range:

The value can contain 1 to 64 characters. It can only contain letters, digits, underscores (_), periods (.), and hyphens (-).

Default value:

N/A

project_id

Yes

String

Definition:

Project ID. For details about how to obtain the project ID, see Obtaining a Project ID.

Constraints:

N/A

Value range:

The value can contain 1 to 64 characters. Only digits, letters, hyphens (-), and underscores (_) are allowed. The value must start with a letter.

Default value:

N/A

application_id

Yes

String

Definition:

Application ID. For details about how to obtain the application ID, see Obtaining an Application ID.

Constraints:

Character string

Value range:

The value can contain 1 to 64 characters. Only digits, letters, hyphens (-), and underscores (_) are allowed. The value must start with a letter.

Default value:

N/A

Request Parameters

None

Response Parameters

Status code: 200

Table 2 Response body parameters

Parameter

Type

Description

image_version

String

Definition:

Model image version.

Value range:

N/A

koosearch_version

String

Definition:

KooSearch version when the model was released.

Value range:

N/A

detail

Map<String,ModelDetailInfo>

Definition:

Version information and description of the sub-models contained in the current model package.

Value range:

N/A

Table 3 ModelDetailInfo

Parameter

Type

Description

model_version

String

Definition:

Model version.

Value range:

N/A

description

String

Definition:

Model description.

Value range:

N/A

Example Requests

Obtain model version information.

/v1/b25446daeb1a41a7953c5deba2b2677a/applications/be9b19bf-4865-4fb8-b9f8-2fd1fea98d76/uni-search/models/yundao-embeding/version

{
  "image_version" : "aarch64-Ascend_snt9b-20250403093159.d0bd58e",
  "koosearch_version" : "KOS-2025-07-released",
  "detail" : {
    "embedding/rerank" : {
      "model_version" : "zh_cos_om_2.0.3",
      "description" : "Embedding and reranking models"
    }
  }
}

Example Responses

None

Status Codes

Status Code

Description

200

Model information obtained successfully.

Error Codes

See Error Codes.