v13

latestOpenAPI 3.1.0Apache 2.0raw.githubusercontent.com2026-08-015232292.9 KB
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.

successboolean

Whether the upload completed successfully.

Example response

{
  "data": {
    "file": {
      "id": "wf_V1StGXR8z5jdHi6BmyT91",
      "name": "data.csv",
      "size": 1024,
      "type": "text/csv",
      "key": "workspace/abc-123/1709571234-xyz-data.csv"
    }
  }
}