Upload File to Bucket
nexusai_bucket_file_uploadUpload a file to a bucket from base64-encoded content. Limited to ~10MB decoded (base64-over-JSON is not suited to large files) — for bigger uploads use the CLI (nexus bucket upload) or PUT /api/buckets/:id/files/:key, which stream the upload instead of base64-encoding it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Object key (file path within the bucket). | |
| bucketId | Yes | ||
| contentType | No | MIME type. Default application/octet-stream. | |
| contentBase64 | Yes | Base64-encoded file content. |