Overview
Files endpointsAvailable Operations
- list - List files
- upload - Upload a file
- delete - Delete a file
- retrieve - Get file metadata
- download - Download file content
list
Lists files belonging to the workspace of the authenticating API key.Example Usage
Standalone function
The standalone function version of this method:Parameters
Response
Promise<operations.ListFilesResponse>Errors
upload
Uploads a file to be referenced in future API calls. The file is stored under the workspace of the authenticating API key. Maximum file size: 100 MB; empty files are rejected. The file type is determined from the file contents — not the filename or the declared content type — and must be a PDF, a PNG/JPEG/GIF/WebP image, a DOCX/XLSX/PPTX document, an MP3/WAV/FLAC/OGG audio file, or UTF-8 text. Text is reported by its structure asapplication/json, application/x-ndjson, text/csv, text/markdown, or text/plain.