post
https://api.superwise.ai/v1/knowledge/upload
Upload files to cloud storage.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Uploads files to cloud storage in one multipart/form-data request. Supported types are PDF and plain text.
When to use it
Use it before Create a knowledge object: pass the returned file IDs in file_ids.
Required parameters
files(body): the files to upload.
Response
A successful call returns 202 Accepted with files, a status and file details for each upload (success, file_too_large, unsupported_file_type, or upload_failed), plus total_files and total_size.
Related: Create a knowledge object, Get uploaded file details, List knowledge objects
422Unprocessable Entity
500Internal Server Error