Workspaces
Replace a workspace file
New bytes for the file, at the same path, as multipart form data. The request goes through Drex, so it is limited to about 4.5 MB; upload a larger file to the same path with on_conflict: "new_version" instead. Free.
put/v1/workspaces/{id}/files/{file_id}
Request
- Base URLhttps://console.nace.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
The workspace's workspace_id.
file_idstring required
The file's file_id.
Request body multipart/form-data
Response
The file_replace job, already succeeded, with result.file and result.previous_version.
Changes
No recorded changes to this operation across all 1 revision of this API.