Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
JavaScript
const form = new FormData(); form.append('chunk', '<string>'); form.append('application_id', '<string>'); form.append('sharing_scope', 'application'); const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}}; options.body = form; fetch('https://adp.laiye.com/open/agentic_engine/laiye/files/upload', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "code": "<string>", "message": "<string>", "tips": "<string>", "data": { "id": "<string>", "file_name": "<string>", "file_size": 123, "content_type": "<string>", "download_url": "<string>", "status": "<string>" } }
上传文件到智能引擎存储,返回文件 ID 和下载地址。上传后的文件可在运行工作流接口的 files 参数中使用。
工作流智能引擎 API 访问密钥。
user
application
文件信息。
业务码。成功通常为 success 或 200。
返回信息。
详细信息,默认为空。
Show child attributes