Files
Upload File
Upload a file to a workspace. Send the file as multipart/form-data with a file field and a workspaceId field. Maximum file size is 100MB. Duplicate filenames within a workspace are not allowed.
post/api/v1/files
Response
File uploaded successfully.
Example response
{
"data": {
"file": {
"id": "wf_V1StGXR8z5jdHi6BmyT91",
"name": "data.csv",
"size": 1024,
"type": "text/csv",
"key": "workspace/abc-123/1709571234-xyz-data.csv"
}
}
}