切片管理
删除切片
批量删除切片,单次最多 10 个
cURL
Copy
curl -X POST "https://{workspaceId}.cn-beijing.maas.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"]
}'Copy
{
"code": "Success",
"status_code": 200,
"request_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}