Skip to content

Studio File — Storage API Reference

Reference for the Storage API used by the Studio File integration. For setup steps, see Studio File.

All endpoints are under /api/rest/storage. Files must be plain text (UTF-8), non-empty, and at most 10 MB.

FieldTypeDescription
referencestring (UUID)Stable identifier for the file; use this value in the custom config reference field
sizenumberFile size in bytes
typestringFile type (CSV)
lastAccessednumberUnix timestamp (ms) of last access

Uploads a new file and returns its reference UUID.

Query paramstype=CSV
Content-Typemultipart/form-data
Bodyfile — file contents
ResponseFileReferenceAPI

Replaces the contents of an existing file. The reference UUID does not change, so custom configs referencing it continue to work without modification.

Query paramstype=CSV
Content-Typemultipart/form-data
Bodyfile — updated file contents
ResponseFileReferenceAPI

Returns file metadata. Does not return file contents.

ResponseFileReferenceAPI

Deletes the file and its metadata. Any config still referencing this UUID will fail at execution time.