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>'); const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}}; options.body = form; fetch('https://adp-global.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": {} }
Upload a file to engine storage and return the file ID and download URL.
user
application
File information.