# @zilliz/milvus2-sdk-node > The official Node.js and TypeScript SDK for compatible Milvus 2.x and 3.0+ deployments and Zilliz Cloud. SDK 3.0.10 (v3.x) is tested with Milvus 3.0.6, requires Node.js 18+, and is Apache-2.0 licensed. Choose MilvusClient for gRPC with snake_case request fields or HttpClient for REST v2 with camelCase request fields, including on edge and serverless runtimes. [Full documentation and quick-reference recipes](https://milvus-io.github.io/milvus-sdk-node/llms-full.txt) ## Getting Started - [Milvus Node.js SDK](https://milvus-io.github.io/milvus-sdk-node/index.md): Connect a Node.js application to Milvus or Zilliz Cloud and list collections. - [Get Started with Milvus](https://milvus-io.github.io/milvus-sdk-node/getting-started/getting-started/index.md): Install the Milvus Node.js SDK, connect to Milvus or Zilliz Cloud, create your first collection, and search vectors. - [Deploy Applications with the Milvus SDK](https://milvus-io.github.io/milvus-sdk-node/getting-started/deployment/index.md): Choose gRPC or HTTP for Milvus Node.js deployments on servers, containers, serverless functions, and edge platforms. - [Milvus Code Examples and Tutorials](https://milvus-io.github.io/milvus-sdk-node/getting-started/examples-tutorials/index.md): Follow Node.js examples for Milvus CRUD, similarity search, dynamic schemas, and integrations with Next.js and LangChain. ## Core Concepts - [Configure the Milvus Client](https://milvus-io.github.io/milvus-sdk-node/core-concepts/client-configuration/index.md): Configure the Milvus Node.js client with an address, credentials, TLS, timeouts, retries, and connection pooling. - [Data Types and Collection Schemas](https://milvus-io.github.io/milvus-sdk-node/core-concepts/data-types-schemas/index.md): Design Milvus collection schemas in Node.js using scalar and vector data types, a primary key, and optional dynamic fields. ## Data Operations - [Create and Use Databases](https://milvus-io.github.io/milvus-sdk-node/operations/database-operations/index.md): Create and select Milvus databases in Node.js, organize collections by database, and configure database properties. - [Insert and Upsert Entities](https://milvus-io.github.io/milvus-sdk-node/operations/data-operations-insert/index.md): Insert and upsert Milvus entities from Node.js, prepare rows that match the collection schema, and handle write results. - [BulkWriter & Bulk Import](https://milvus-io.github.io/milvus-sdk-node/operations/bulk-writer/index.md): Generate JSON or Parquet files with BulkWriter, upload them to object storage, and submit a Milvus bulk import from Node.js. - [Query Entities and Search Vectors](https://milvus-io.github.io/milvus-sdk-node/operations/data-operations-query/index.md): Query by scalar filter or primary key and run vector similarity searches in Milvus using Node.js. - [Delete Entities](https://milvus-io.github.io/milvus-sdk-node/operations/data-operations-delete/index.md): Delete Milvus entities by primary key or filter expression with the Node.js SDK and check the deletion response. - [Flush, Compact, and Import Data](https://milvus-io.github.io/milvus-sdk-node/operations/data-management/index.md): Flush and compact Milvus collections, inspect their segments, and track bulk import jobs with the Node.js SDK. - [Hybrid Search](https://milvus-io.github.io/milvus-sdk-node/operations/hybrid-search/index.md): Combine multiple vector searches across different fields in Milvus and rerank the results with weighted or reciprocal rank fusion. - [Iterators](https://milvus-io.github.io/milvus-sdk-node/operations/iterators/index.md): Read large Milvus result sets in batches with the Node.js query and search iterators, and close iterators when finished. ## Management - [Collection Management](https://milvus-io.github.io/milvus-sdk-node/management/collection-management/index.md): Create Milvus collections in Node.js, define and evolve their schemas, and manage loading, aliases, and collection functions. - [Partition Management](https://milvus-io.github.io/milvus-sdk-node/management/partition-management/index.md): Organize data into Milvus partitions and create, load, release, or target selected partitions from the Node.js SDK. - [Index Management](https://milvus-io.github.io/milvus-sdk-node/management/index-management/index.md): Build and tune vector and scalar indexes for Milvus collections, check index status, and drop or rebuild indexes from Node.js. - [User & Role Management](https://milvus-io.github.io/milvus-sdk-node/management/user-role-management/index.md): Manage Milvus users, passwords, roles, and permissions in Node.js, including role assignment and privilege grants. - [Manage Query Nodes and Resource Groups](https://milvus-io.github.io/milvus-sdk-node/management/resource-management/index.md): Allocate Milvus query nodes and collection replicas with resource groups, and use the Node.js SDK to inspect or move them. ## Advanced Guides - [Connection Pooling, Retries, and Tracing](https://milvus-io.github.io/milvus-sdk-node/advanced/advanced-features/index.md): Configure connection pools, retries, error handling, logging, request tracing, and iterators in the Milvus Node.js SDK. - [Use the HttpClient for Milvus REST Requests](https://milvus-io.github.io/milvus-sdk-node/advanced/http-client/index.md): Choose the REST-based HttpClient for HTTP-only and serverless runtimes. Connect to Milvus, configure timeouts, and handle HTTP errors. - [Function Chains](https://milvus-io.github.io/milvus-sdk-node/advanced/function-chains/index.md): Use the Milvus Node.js SDK to apply server-side function chains for score rewriting, hybrid reranking, and query processing. - [Full-Text Search](https://milvus-io.github.io/milvus-sdk-node/advanced/full-text-search/index.md): Build BM25 full-text search in Milvus by configuring an analyzer and a function that turns text into searchable sparse vectors. - [Bloom and Roaring Membership Filters](https://milvus-io.github.io/milvus-sdk-node/advanced/membership-filters/index.md): Encode large membership sets in Node.js with Bloom or Roaring filters and use them in Milvus Query and Search expressions. - [Client Telemetry](https://milvus-io.github.io/milvus-sdk-node/advanced/client-telemetry/index.md): Configure or disable gRPC MilvusClient heartbeat telemetry and inspect the operation metrics the Node.js SDK collects. - [Global Cluster](https://milvus-io.github.io/milvus-sdk-node/advanced/global-cluster/index.md): Connect the Milvus Node.js SDK to a multi-region deployment and configure topology discovery, routing, and failover. - [Deploying to Cloudflare Workers](https://milvus-io.github.io/milvus-sdk-node/advanced/cloudflare/index.md): Use the Milvus HttpClient in Cloudflare Workers with the Fetch API and store connection credentials as Worker secrets. - [Deploying to Vercel](https://milvus-io.github.io/milvus-sdk-node/advanced/vercel/index.md): Connect a Vercel serverless function to Milvus using the Node.js HttpClient and configure the deployment endpoint and credentials. - [Deploying to AWS Lambda](https://milvus-io.github.io/milvus-sdk-node/advanced/aws-lambda/index.md): Connect AWS Lambda functions to Milvus with the Node.js HttpClient and reuse the client across warm invocations. - [Best Practices](https://milvus-io.github.io/milvus-sdk-node/advanced/best-practices/index.md): Run the Milvus Node.js SDK in production with connection reuse, batch writes, appropriate indexes, and retry handling. ## SDK Reference - [SDK Reference](https://milvus-io.github.io/milvus-sdk-node/api-reference/index.md): Find Milvus Node.js SDK TypeScript methods, request and response types, and examples for the gRPC and HTTP clients. - [MilvusClient](https://milvus-io.github.io/milvus-sdk-node/api-reference/client/index.md): Look up the MilvusClient constructor, authentication, connection options, database context, and client methods for gRPC in Node.js. - [HttpClient](https://milvus-io.github.io/milvus-sdk-node/api-reference/http-client/index.md): Look up the Node.js HttpClient constructor, camelCase request fields, HttpError, and TypeScript methods backed by the Milvus REST API. - [Collection Operations](https://milvus-io.github.io/milvus-sdk-node/api-reference/collections/index.md): Look up TypeScript methods for creating, describing, loading, releasing, and altering Milvus collections, schemas, aliases, and functions. - [Data Operations](https://milvus-io.github.io/milvus-sdk-node/api-reference/data/index.md): Look up Milvus Node.js SDK methods for writes, queries, vector searches, deletes, iterators, compaction, and bulk import. - [Index Operations](https://milvus-io.github.io/milvus-sdk-node/api-reference/indexes/index.md): Look up TypeScript methods for creating, describing, altering, and dropping vector and scalar indexes in Milvus. - [Partition Operations](https://milvus-io.github.io/milvus-sdk-node/api-reference/partitions/index.md): Look up TypeScript methods for creating, listing, loading, releasing, and dropping Milvus collection partitions. - [Database Operations](https://milvus-io.github.io/milvus-sdk-node/api-reference/databases/index.md): Look up request fields and return types for creating, listing, describing, altering, and dropping Milvus databases in Node.js. - [User & Role Operations](https://milvus-io.github.io/milvus-sdk-node/api-reference/users-roles/index.md): Look up TypeScript methods for managing Milvus users and passwords, assigning roles, and granting or revoking privileges. - [Resource Group Operations](https://milvus-io.github.io/milvus-sdk-node/api-reference/resource-groups/index.md): Look up TypeScript methods for managing Milvus query-node resource groups, inspecting capacity, and transferring nodes or replicas. - [System Operations](https://milvus-io.github.io/milvus-sdk-node/api-reference/system/index.md): Look up the Milvus Node.js SDK methods for health checks, server versions, metrics, analyzer tests, and analyzer file resources. - [BulkWriter](https://milvus-io.github.io/milvus-sdk-node/api-reference/bulk-writer/index.md): Look up BulkWriter constructors, schemas, append and flush methods, and storage adapters for JSON or Parquet bulk files. - [Types & Enums](https://milvus-io.github.io/milvus-sdk-node/api-reference/types-and-enums/index.md): Look up Milvus Node.js SDK data types, consistency levels, error codes, and common request and response shapes. ## Resources - [Troubleshoot Milvus SDK Errors](https://milvus-io.github.io/milvus-sdk-node/reference/troubleshooting/index.md): Diagnose Milvus Node.js SDK failures involving connections, authentication, schema validation, indexes, or search. - [Migration & Compatibility](https://milvus-io.github.io/milvus-sdk-node/reference/migration-compatibility/index.md): Check Milvus Node.js SDK and server compatibility, review breaking changes, and plan upgrades. - [Release Notes](https://milvus-io.github.io/milvus-sdk-node/reference/release-notes/index.md): Review Milvus Node.js SDK changes by version, including new features, fixes, and server compatibility notes. - [Contributing](https://milvus-io.github.io/milvus-sdk-node/reference/contributing/index.md): Set up the Milvus Node.js SDK development environment, run tests, submit a signed-off pull request, and build the docs site. - [Additional Resources](https://milvus-io.github.io/milvus-sdk-node/reference/additional-resources/index.md): Find official Milvus and Zilliz Cloud docs, Node.js SDK resources, examples, and community support. ## Milvus REST API - [Milvus REST API](https://milvus-io.github.io/milvus-sdk-node/rest-api/index.md): Browse the Milvus REST v2 API and send requests directly to your cluster. - [Insert entities](https://milvus-io.github.io/milvus-sdk-node/rest-api/entities/insert/index.md): Write rows to a collection. Each row must satisfy its schema, including vector dimensions. - [Upsert entities](https://milvus-io.github.io/milvus-sdk-node/rest-api/entities/upsert/index.md): Insert new rows or replace rows with matching primary keys. Use partialUpdate to update selected fields. - [Get by ID](https://milvus-io.github.io/milvus-sdk-node/rest-api/entities/get/index.md): Fetch one or more entities by primary key from a loaded collection. - [Query entities](https://milvus-io.github.io/milvus-sdk-node/rest-api/entities/query/index.md): Read rows matching a scalar filter. Supply a limit when reading without a filter. - [Search vectors](https://milvus-io.github.io/milvus-sdk-node/rest-api/entities/search/index.md): Find nearest neighbors in a loaded collection. Provide query data or existing primary keys and select a vector field when needed. - [Hybrid search](https://milvus-io.github.io/milvus-sdk-node/rest-api/entities/hybrid-search/index.md): Combine multiple vector searches and rerank the candidates into one result list. - [Advanced search (alias)](https://milvus-io.github.io/milvus-sdk-node/rest-api/entities/advanced-search/index.md): Compatibility alias for hybrid search. New integrations can use the hybrid_search route. - [Delete entities](https://milvus-io.github.io/milvus-sdk-node/rest-api/entities/delete/index.md): Delete entities matching a scalar expression. A primary-key filter limits the deletion to specific rows. - [List collections](https://milvus-io.github.io/milvus-sdk-node/rest-api/collections/list/index.md): List the names of collections in a database. - [Create collection](https://milvus-io.github.io/milvus-sdk-node/rest-api/collections/create/index.md): Create a collection using a vector dimension for quick setup or an explicit schema for custom fields and functions. - [Check collection existence](https://milvus-io.github.io/milvus-sdk-node/rest-api/collections/has/index.md): Check whether a named collection exists in the database. - [Describe collection](https://milvus-io.github.io/milvus-sdk-node/rest-api/collections/describe/index.md): Read field names, data types, indexes and load state for a collection. - [Collection statistics](https://milvus-io.github.io/milvus-sdk-node/rest-api/collections/get-stats/index.md): Read collection statistics, including the reported row count. - [Load collection](https://milvus-io.github.io/milvus-sdk-node/rest-api/collections/load/index.md): Load collection data into query nodes so it can serve queries and vector searches. - [Get load state](https://milvus-io.github.io/milvus-sdk-node/rest-api/collections/get-load-state/index.md): Check the loading state of a collection or its named partitions. - [Refresh loaded data](https://milvus-io.github.io/milvus-sdk-node/rest-api/collections/refresh-load/index.md): Refresh a loaded collection to pick up changes in its data or indexes. - [Release collection](https://milvus-io.github.io/milvus-sdk-node/rest-api/collections/release/index.md): Release a collection from query-node memory. Load it again before searching. - [Rename collection](https://milvus-io.github.io/milvus-sdk-node/rest-api/collections/rename/index.md): Change the collection name, optionally specifying a destination database. - [Set properties](https://milvus-io.github.io/milvus-sdk-node/rest-api/collections/alter-properties/index.md): Set collection properties by key. Supplied values replace existing values for those keys. - [Remove properties](https://milvus-io.github.io/milvus-sdk-node/rest-api/collections/drop-properties/index.md): Remove the specified collection property keys. - [Flush collection](https://milvus-io.github.io/milvus-sdk-node/rest-api/collections/flush/index.md): Request a flush of data in the collection. - [Start compaction](https://milvus-io.github.io/milvus-sdk-node/rest-api/collections/compact/index.md): Schedule compaction of collection segments and obtain a compaction job ID. - [Get compaction state](https://milvus-io.github.io/milvus-sdk-node/rest-api/collections/get-compaction-state/index.md): Read the state of a previously submitted compaction job. - [Truncate collection](https://milvus-io.github.io/milvus-sdk-node/rest-api/collections/truncate/index.md): Remove all entities while retaining the collection schema and indexes. - [Drop collection](https://milvus-io.github.io/milvus-sdk-node/rest-api/collections/drop/index.md): Permanently remove the named collection and its data. - [Add field](https://milvus-io.github.io/milvus-sdk-node/rest-api/schema/fields/add/index.md): Add a field to an existing collection using a field schema. - [Add struct field](https://milvus-io.github.io/milvus-sdk-node/rest-api/schema/struct-fields/add/index.md): Add a struct-array field with its nested field definitions. - [Set field properties](https://milvus-io.github.io/milvus-sdk-node/rest-api/schema/fields/alter-properties/index.md): Change supported field parameters on an existing collection field. - [Drop field](https://milvus-io.github.io/milvus-sdk-node/rest-api/schema/fields/drop/index.md): Remove a field by name or field ID. Existing data for the removed field is lost. - [Add function (legacy)](https://milvus-io.github.io/milvus-sdk-node/rest-api/schema/add-function/index.md): Milvus 3.0.6 rejects this legacy route. Use add_function_field for BM25 or MinHash, or define a text embedding function when creating a collection. - [Alter function](https://milvus-io.github.io/milvus-sdk-node/rest-api/schema/alter-function/index.md): Update a supported function, such as an existing text embedding function. Milvus 3.0.6 rejects alterations to BM25 functions. - [Drop function (legacy)](https://milvus-io.github.io/milvus-sdk-node/rest-api/schema/drop-function/index.md): Milvus 3.0.6 rejects this legacy route. Use drop_function_field to remove the function and its output field. - [Add function and field](https://milvus-io.github.io/milvus-sdk-node/rest-api/schema/add-function-field/index.md): Add a function with its output field and optional index configuration. The input field must already exist and have its analyzer enabled for BM25. - [Drop function and field](https://milvus-io.github.io/milvus-sdk-node/rest-api/schema/drop-function-field/index.md): Remove a function together with its output field. - [List indexes](https://milvus-io.github.io/milvus-sdk-node/rest-api/indexes/list/index.md): List index names for a collection. - [Create index](https://milvus-io.github.io/milvus-sdk-node/rest-api/indexes/create/index.md): Build an index on a field. Vector indexes require a compatible metric. - [Describe index](https://milvus-io.github.io/milvus-sdk-node/rest-api/indexes/describe/index.md): Inspect index configuration and build state. - [Set index properties](https://milvus-io.github.io/milvus-sdk-node/rest-api/indexes/alter-properties/index.md): Update supported properties on a named index. - [Remove index properties](https://milvus-io.github.io/milvus-sdk-node/rest-api/indexes/drop-properties/index.md): Remove specified keys from index properties. - [Drop index](https://milvus-io.github.io/milvus-sdk-node/rest-api/indexes/drop/index.md): Remove a named index from a collection. - [List partitions](https://milvus-io.github.io/milvus-sdk-node/rest-api/partitions/list/index.md): List partitions in a collection. - [Create partition](https://milvus-io.github.io/milvus-sdk-node/rest-api/partitions/create/index.md): Create a named partition in a collection that supports manual partitions. - [Check partition existence](https://milvus-io.github.io/milvus-sdk-node/rest-api/partitions/has/index.md): Check whether the named partition exists in a collection. - [Partition statistics](https://milvus-io.github.io/milvus-sdk-node/rest-api/partitions/get-stats/index.md): Read statistics for the specified partition. - [Load partitions](https://milvus-io.github.io/milvus-sdk-node/rest-api/partitions/load/index.md): Load the specified partitions so their data can serve read requests. - [Release partitions](https://milvus-io.github.io/milvus-sdk-node/rest-api/partitions/release/index.md): Release the specified partitions from query-node memory. - [Drop partition](https://milvus-io.github.io/milvus-sdk-node/rest-api/partitions/drop/index.md): Remove a partition and the entities stored in it. - [List databases](https://milvus-io.github.io/milvus-sdk-node/rest-api/databases/list/index.md): List the databases visible to the caller. - [Create database](https://milvus-io.github.io/milvus-sdk-node/rest-api/databases/create/index.md): Create a database, optionally supplying its properties. - [Describe database](https://milvus-io.github.io/milvus-sdk-node/rest-api/databases/describe/index.md): Read properties and metadata for a database. - [Set database properties](https://milvus-io.github.io/milvus-sdk-node/rest-api/databases/alter-properties/index.md): Set or replace database property values. - [Alter database](https://milvus-io.github.io/milvus-sdk-node/rest-api/databases/alter/index.md): Alternative route for updating database properties. - [Remove database properties](https://milvus-io.github.io/milvus-sdk-node/rest-api/databases/drop-properties/index.md): Remove the specified database property keys. - [Drop database](https://milvus-io.github.io/milvus-sdk-node/rest-api/databases/drop/index.md): Remove an empty database after its collections have been removed. - [List aliases](https://milvus-io.github.io/milvus-sdk-node/rest-api/aliases/list/index.md): List collection aliases, optionally filtering by collection. - [Create alias](https://milvus-io.github.io/milvus-sdk-node/rest-api/aliases/create/index.md): Associate a new alias with a collection. - [Describe alias](https://milvus-io.github.io/milvus-sdk-node/rest-api/aliases/describe/index.md): Look up the collection associated with an alias. - [Reassign alias](https://milvus-io.github.io/milvus-sdk-node/rest-api/aliases/alter/index.md): Point an existing alias at another collection. - [Drop alias](https://milvus-io.github.io/milvus-sdk-node/rest-api/aliases/drop/index.md): Remove an alias while retaining its underlying collection. - [Start import](https://milvus-io.github.io/milvus-sdk-node/rest-api/import-jobs/create/index.md): Submit files already accessible to Milvus for import into a collection. - [List import jobs](https://milvus-io.github.io/milvus-sdk-node/rest-api/import-jobs/list/index.md): List import jobs, optionally filtering by collection. - [Describe import job](https://milvus-io.github.io/milvus-sdk-node/rest-api/import-jobs/describe/index.md): Read job state, progress, and any reported failure reason. - [Get progress (legacy)](https://milvus-io.github.io/milvus-sdk-node/rest-api/import-jobs/get-progress/index.md): Legacy route for reading import progress. Prefer the describe route for new integrations. - [Commit import](https://milvus-io.github.io/milvus-sdk-node/rest-api/import-jobs/commit/index.md): Commit an import started with auto_commit set to false after its state reaches Uncommitted. - [Abort import](https://milvus-io.github.io/milvus-sdk-node/rest-api/import-jobs/abort/index.md): Abort an import job using its job ID. - [Refresh external collection](https://milvus-io.github.io/milvus-sdk-node/rest-api/external-collections/refresh/index.md): Submit a refresh of an external collection from its configured or supplied data source. - [List refresh jobs](https://milvus-io.github.io/milvus-sdk-node/rest-api/external-collections/list/index.md): List external collection refresh jobs. - [Describe refresh job](https://milvus-io.github.io/milvus-sdk-node/rest-api/external-collections/describe/index.md): Inspect refresh progress using the unquoted integer job ID returned at submission. - [Create snapshot](https://milvus-io.github.io/milvus-sdk-node/rest-api/snapshots/create/index.md): Capture a snapshot of a collection for later restoration. - [List snapshots](https://milvus-io.github.io/milvus-sdk-node/rest-api/snapshots/list/index.md): List the snapshots associated with a collection. - [Describe snapshot](https://milvus-io.github.io/milvus-sdk-node/rest-api/snapshots/describe/index.md): Read metadata for a specific collection snapshot. - [Restore snapshot](https://milvus-io.github.io/milvus-sdk-node/rest-api/snapshots/restore/index.md): Start a restore from a named collection snapshot into a target collection. - [Pin snapshot data](https://milvus-io.github.io/milvus-sdk-node/rest-api/snapshots/pin/index.md): Pin snapshot data against reclamation and obtain a pin ID. - [Unpin snapshot data](https://milvus-io.github.io/milvus-sdk-node/rest-api/snapshots/unpin/index.md): Release a previously acquired snapshot pin using its ID. - [Drop snapshot](https://milvus-io.github.io/milvus-sdk-node/rest-api/snapshots/drop/index.md): Delete a named collection snapshot. - [List restore jobs](https://milvus-io.github.io/milvus-sdk-node/rest-api/snapshot-jobs/list/index.md): List snapshot restore jobs, optionally filtering by collection. - [Describe restore job](https://milvus-io.github.io/milvus-sdk-node/rest-api/snapshot-jobs/describe/index.md): Read the state of a snapshot restore job. - [Export snapshot](https://milvus-io.github.io/milvus-sdk-node/rest-api/snapshot-jobs/export/index.md): Start exporting a named snapshot to the target S3 location. - [Describe export job](https://milvus-io.github.io/milvus-sdk-node/rest-api/snapshot-jobs/export/describe/index.md): Read the state of a snapshot export job. - [Restore external snapshot](https://milvus-io.github.io/milvus-sdk-node/rest-api/snapshot-jobs/restore-external/index.md): Start a restore using snapshot metadata in external storage. - [List users](https://milvus-io.github.io/milvus-sdk-node/rest-api/users/list/index.md): List users in the Milvus instance. - [Create user](https://milvus-io.github.io/milvus-sdk-node/rest-api/users/create/index.md): Create a Milvus user with a password. Replace the example value before submitting. - [Describe user](https://milvus-io.github.io/milvus-sdk-node/rest-api/users/describe/index.md): Read information about a user and their role memberships. - [Update user](https://milvus-io.github.io/milvus-sdk-node/rest-api/users/update-password/index.md): Update a user password or description. For a password change supply the current and new passwords. - [Assign role](https://milvus-io.github.io/milvus-sdk-node/rest-api/users/grant-role/index.md): Assign a role to a user. - [Revoke role](https://milvus-io.github.io/milvus-sdk-node/rest-api/users/revoke-role/index.md): Remove a role assignment from a user. - [Drop user](https://milvus-io.github.io/milvus-sdk-node/rest-api/users/drop/index.md): Remove a user account from the instance. - [List roles](https://milvus-io.github.io/milvus-sdk-node/rest-api/roles/list/index.md): List roles in the Milvus instance. - [Create role](https://milvus-io.github.io/milvus-sdk-node/rest-api/roles/create/index.md): Create a role for grouping privileges. - [Describe role](https://milvus-io.github.io/milvus-sdk-node/rest-api/roles/describe/index.md): Inspect a role and the privileges granted to it. - [Alter role](https://milvus-io.github.io/milvus-sdk-node/rest-api/roles/alter/index.md): Update the description of a role. - [Grant privilege](https://milvus-io.github.io/milvus-sdk-node/rest-api/roles/grant-privilege-v2/index.md): Grant a privilege or privilege group to a role at the specified scope. - [Revoke privilege](https://milvus-io.github.io/milvus-sdk-node/rest-api/roles/revoke-privilege-v2/index.md): Revoke a privilege or privilege group from a role at the specified scope. - [Grant on object (legacy)](https://milvus-io.github.io/milvus-sdk-node/rest-api/roles/grant-privilege/index.md): Grant a privilege using an object type and object name. - [Revoke on object (legacy)](https://milvus-io.github.io/milvus-sdk-node/rest-api/roles/revoke-privilege/index.md): Revoke a privilege using an object type and object name. - [Drop role](https://milvus-io.github.io/milvus-sdk-node/rest-api/roles/drop/index.md): Remove a role from the instance. - [List privilege groups](https://milvus-io.github.io/milvus-sdk-node/rest-api/privilege-groups/list/index.md): List privilege groups and their privileges. - [Create privilege group](https://milvus-io.github.io/milvus-sdk-node/rest-api/privilege-groups/create/index.md): Create a custom group of privileges. - [Add privileges](https://milvus-io.github.io/milvus-sdk-node/rest-api/privilege-groups/add-privileges-to-group/index.md): Add one or more privileges to a custom privilege group. - [Remove privileges](https://milvus-io.github.io/milvus-sdk-node/rest-api/privilege-groups/remove-privileges-from-group/index.md): Remove the specified privileges from a custom privilege group. - [Drop privilege group](https://milvus-io.github.io/milvus-sdk-node/rest-api/privilege-groups/drop/index.md): Delete a custom privilege group. - [List resource groups](https://milvus-io.github.io/milvus-sdk-node/rest-api/resource-groups/list/index.md): List query-node resource groups. - [Create resource group](https://milvus-io.github.io/milvus-sdk-node/rest-api/resource-groups/create/index.md): Create a resource group with an optional query-node allocation configuration. - [Describe resource group](https://milvus-io.github.io/milvus-sdk-node/rest-api/resource-groups/describe/index.md): Inspect the configuration and capacity of a resource group. - [Update resource groups](https://milvus-io.github.io/milvus-sdk-node/rest-api/resource-groups/alter/index.md): Change the requested node counts and limits for one or more resource groups. - [Transfer replicas](https://milvus-io.github.io/milvus-sdk-node/rest-api/resource-groups/transfer-replica/index.md): Move collection replicas between resource groups. The collection must be in the default database and the target group must have available query nodes. - [Drop resource group](https://milvus-io.github.io/milvus-sdk-node/rest-api/resource-groups/drop/index.md): Remove a resource group. - [Run text analyzer](https://milvus-io.github.io/milvus-sdk-node/rest-api/text-analysis/common/run-analyzer/index.md): Tokenize text using an analyzer configuration or an analyzer-enabled collection field. - [Register file resource](https://milvus-io.github.io/milvus-sdk-node/rest-api/text-analysis/file-resources/add/index.md): Register a server-accessible file for use by text analyzers. - [List file resources](https://milvus-io.github.io/milvus-sdk-node/rest-api/text-analysis/file-resources/list/index.md): List registered analyzer file resources. - [Remove file resource](https://milvus-io.github.io/milvus-sdk-node/rest-api/text-analysis/file-resources/remove/index.md): Unregister a named file resource. - [Describe segments](https://milvus-io.github.io/milvus-sdk-node/rest-api/diagnostics/segments/describe/index.md): Inspect segment information for a collection ID or specific segment IDs. - [Describe quota metrics](https://milvus-io.github.io/milvus-sdk-node/rest-api/diagnostics/quotacenter/describe/index.md): Read quota metrics from the Milvus quota center.