# Alibaba Cloud MilvusKnowledgeBase API

> Alibaba Cloud MilvusKnowledgeBase API on Apizie: 4 endpoints (Registers files that have been uploaded to knowledge base storage as knowledge base documents and…, Generates an OSS pre-signed PUT URL pointing to the knowledge base dedicated storage for each file in…, Retrieves documents from a knowledge base, version) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://apizie.tech/v1/cloud:aliyun-milvusknowledgebase/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `cloud:aliyun-milvusknowledgebase`
- Category: Cloud
- Status: byok
- Source: https://api.alibabacloud.com/product/milvusknowledgebase
- Page: https://apizie.tech/api/cloud/aliyun-milvusknowledgebase
- OpenAPI: https://apizie.tech/api/cloud/aliyun-milvusknowledgebase/openapi.json

Alibaba Cloud OpenAPI for MilvusKnowledgeBase (milvusknowledgebase, version 2026-06-04). Calls are signed with ACS3-HMAC-SHA256 using your AccessKey ID and secret.

## Endpoints

### Registers files that have been uploaded to knowledge base storage as knowledge base documents and…
`POST https://apizie.tech/v1/cloud:aliyun-milvusknowledgebase/add-documents` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Dedup | object | no | The deduplication configuration |
| Documents | array | no | The list of documents |
| ImportType | string | no | The import type |
| KnowledgeBaseId | string | no | The knowledge base ID |
| MetaFields | string | no | The batch label configuration. The key must be a label field that is already defined in the knowledge base. The value supports string,… |
| StrategyId | string | no | The processing strategy ID |
| dingTalkConfiguration | object | no | Not supported. Ignore this parameter |
| parentId | string | no | Defaults to root when omitted |
| datasetId | string | yes | The knowledge base ID |

### Generates an OSS pre-signed PUT URL pointing to the knowledge base dedicated storage for each file in…
`POST https://apizie.tech/v1/cloud:aliyun-milvusknowledgebase/get-knowledge-base-pre-signed-url` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Documents | array | no | The list of files to upload. You can specify 1 to 100 files |
| ExpiresIn | integer | no | The validity period of the pre-signed URL in seconds. Default value: `3600` |
| KnowledgeBaseId | string | no | The knowledge base ID. Either this parameter or datasetId must be specified. This parameter takes priority |
| datasetId | string | yes | The knowledge base ID |

### Retrieves documents from a knowledge base
`POST https://apizie.tech/v1/cloud:aliyun-milvusknowledgebase/search-knowledge-base` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| knowledgeBaseId | string | yes | The knowledge base ID |
| documentIds | array | no | The list of document IDs |
| enableKnowledgeGraph | string | no | Specifies whether to enable the knowledge graph |
| image | object | no | The image retrieval input |
| pageNumber | integer | no | The page number |
| pageSize | integer | no | The number of entries per page |
| query | string | no | The retrieval query |
| rerankModelId | integer | no | The reranking model ID |
| rerankModelName | string | no | The name of a reranking model that the tenant has activated. If both rerankModelName and rerankModelId are specified, this parameter takes… |
| retrievalConfig | object | no | The retrieval configuration |
| tagFilter | object | no | The tag filter |
| version | string | no | The knowledge base version |

### version
`POST https://apizie.tech/v1/cloud:aliyun-milvusknowledgebase/version` (byok)

## Example
```
curl "https://apizie.tech/v1/cloud:aliyun-milvusknowledgebase/add-documents" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Alibaba Cloud MilvusKnowledgeBase API?
Create a free Apizie key, then send POST https://apizie.tech/v1/cloud:aliyun-milvusknowledgebase/add-documents with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Alibaba Cloud MilvusKnowledgeBase API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Alibaba Cloud MilvusKnowledgeBase itself also needs your own key from aliyuncs.com.

### Can AI agents use the Alibaba Cloud MilvusKnowledgeBase API?
Yes. Add the Apizie MCP server (https://apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key cloud:aliyun-milvusknowledgebase.

### What is the status of the Alibaba Cloud MilvusKnowledgeBase API?
Needs your own provider key (bring your own key)
