Kimiyi Upload Document Train
AI-generatedSummary
Upload a document hosted on a specified cloud storage platform to the Kimiyi AI service and train the AI model on its contents using the provided document metadata and environment settings.
Inputs
- Environment (required) — Select the Kimiyi API environment to use, either Production or Development.
- Platform (required) — Choose the cloud storage platform where the document is hosted (Dropbox, Google Drive, or OneDrive).
- Document Link (required) — Provide the shareable URL link to the document file on the cloud platform.
- File Name (required) — Specify the exact file name of the document, ensuring it has no invalid characters.
- File Type (MIME) (required) — Input the MIME type of the file (e.g., application/pdf) to accurately describe the file format.
- File Size (Bytes) (required) — Provide the file size in bytes, which must be a positive number.
Output shape
a list of JSON objects representing API responses, one per document uploaded
The output is an array containing each item’s API response in JSON format. If an error occurs and 'continue on fail' is enabled, the error details will be included per item with error message, status code, and response data. Without 'continue on fail', the operation throws a detailed error on failure.