getVersion()

This operation returns version information for the Milvus server.

await milvusClient.getVersion()

RETURNS Promise

This method returns a promise that resolves to a GetVersionResponse object.

{
    version: string
}

PARAMETERS:

  • version (string) -

    The semantic version of the Milvus server (for example, “v3.0.0”).

Example

import { MilvusClient } from '@zilliz/milvus2-sdk-node';

const client = new MilvusClient({
    address: 'localhost:19530',
    token: 'root:Milvus',
});
const res = await client.getVersion();
console.log(res.version); // "2.6.9"

Try Managed Milvus for Free

Zilliz Cloud is hassle-free, powered by Milvus and 10x faster.

Get Started
Feedback

Was this page helpful?