跳转到主要内容

Documentation Index

Fetch the complete documentation index at: https://docs.mirobody.ai/llms.txt

Use this file to discover all available pages before exploring further.

端点

POST /api/v1/data/delete-files
Authorization: Bearer <access_token>
Content-Type: application/json
{
  "message_id": "<int 或 str>",
  "file_keys":  ["uploads/xxx.pdf"]
}
  • message_id 为该文件所属的日记 / chat 消息。
  • file_keys 可缺省 —— 缺省时删除该 message_id 关联的全部文件。

响应

{ "code": 0, "msg": "ok", "data": { "deleted_count": 1 } }