Milvus Indexes API

The Indexes API from Milvus — 4 operation(s) for indexes.

GitHub OpenAPI

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /v2/vectordb/indexes/create Create an index on a field · Create an index #
Ask an LLM
“How do I create an index on a field to speed up searches?”
“Can I choose the index type and parameters when creating an index?”
Tell an agent
Create index {index} on collection {collection}.
Build an index for {collection} with parameters {index}.
POST /v2/vectordb/indexes/drop Drop an index · Drop an index #
Ask an LLM
“How do I drop an index from a collection?”
“Can I remove an index by name?”
Tell an agent destructive · confirm first
Drop index {index} from collection {collection}.
Remove the {index} index on {collection}.
POST /v2/vectordb/indexes/list List indexes on a collection · List indexes for a collection #
Ask an LLM
“Which indexes exist on a collection?”
“What index names are defined for a field?”
Tell an agent
List indexes on collection {collection}.
Show all indexes defined for {collection}.
POST /v2/vectordb/indexes/describe Describe an index · Describe an index #
Ask an LLM
“What type and parameters does an index have?”
“Can I inspect one index on a collection?”
Tell an agent
Describe index {index} on collection {collection}.
Show the type and parameters of {index} in {collection}.

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/milvus:milvus-indexes-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

milvus-indexes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Milvus REST Indexes API
  description: 'RESTful API for the Milvus vector database (v2). Covers collections, entities,

    indexes, partitions, users, and roles. Sourced from

    https://milvus.io/api-reference/restful/v2.5.x.'
  version: 2.5.x
  contact:
    name: Milvus
    url: https://milvus.io
servers:
- url: http://localhost:19530
  description: Default local Milvus instance
security:
- BearerAuth: []
tags:
- name: Indexes
paths:
  /v2/vectordb/indexes/create:
    post:
      summary: Create an index
      operationId: createIndex
      tags:
      - Indexes
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                collectionName:
                  type: string
                indexParams:
                  type: array
                  items:
                    type: object
      responses:
        '200':
          description: Index created
  /v2/vectordb/indexes/drop:
    post:
      summary: Drop an index
      operationId: dropIndex
      tags:
      - Indexes
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                collectionName:
                  type: string
                indexName:
                  type: string
      responses:
        '200':
          description: Index dropped
  /v2/vectordb/indexes/list:
    post:
      summary: List indexes for a collection
      operationId: listIndexes
      tags:
      - Indexes
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                collectionName:
                  type: string
      responses:
        '200':
          description: Indexes
  /v2/vectordb/indexes/describe:
    post:
      summary: Describe an index
      operationId: describeIndex
      tags:
      - Indexes
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                collectionName:
                  type: string
                indexName:
                  type: string
      responses:
        '200':
          description: Index details
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: 'Bearer token of the form `username:password` (e.g. `root:milvus`) when

        authentication is enabled.

        '