chat

Upload Chat Attachment

Upload a single file (PDF/TXT/MD/DOCX/CSV/HTML, ≤10MB), parse to plain text, and return an attachment id the frontend can pass in chat send via attachment_ids.

上传单个附件(PDF/TXT/MD/DOCX/CSV/HTML,≤10MB),解析为文本后返回附件 id。

post/api/chat/attachments

Request

  • Base URL: https://fojin.app (the document declares no server; this is the origin it was published from)
  • URL: https://fojin.app/api/chat/attachments
  • Auth: HTTP bearer

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.