Skip to main content

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.

Endpoint

POST /api/v1/data/delete-files
Authorization: Bearer <access_token>
Content-Type: application/json
{
  "message_id": "<int or string>",
  "file_keys":  ["uploads/xxx.pdf"]
}
  • message_id is the journal / chat message that owns the file.
  • file_keys is optional — if omitted, all files attached to that message are deleted.

Response

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