切片管理
删除切片
批量删除切片,单次最多 10 个
cURL
复制
curl -X POST "https://dashscope.aliyuncs.com/api/v1/indices/rag/index/chunk/delete" \
-H "Authorization: Bearer $DASHSCOPE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"pipelineId": "your_index_id",
"chunkIds": ["chunk_abc123", "chunk_def456"]
}'复制
{
"code": "Success",
"status_code": 200,
"request_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}