Upload File

Uploads the specified file to a record. If an existing record isn't specified, creates a new record and uploads the file to that record.

Path parameters

vaultIDstringRequired
ID of the vault.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects a multipart form.
tableNamestringRequired
Name of the table to upload the file to.
columnNamestringRequired

Name of the column to upload the file to. The column must have a file data type.

filestringRequired
Path of the file to upload. Each request only supports one file.
skyflowIDstringOptional

Skyflow ID of the record to upload the file to. If skyflowID isn’t specified, a new record will be created.

returnFileMetadatabooleanOptional

If true, returns metadata about the uploaded file.

Response

File uploaded successfully.
skyflowIDstring or null
Skyflow ID of the record the file was uploaded to.
fileMetadataobject or null
Metadata about the uploaded file.

Errors