Studio File — Storage API Reference
Reference for the Storage API used by the Studio File integration. For setup steps, see Studio File.
Storage API
Section titled “Storage API”All endpoints are under /api/rest/storage. Files must be plain text (UTF-8), non-empty, and at most 10 MB.
FileReferenceAPI response shape
Section titled “FileReferenceAPI response shape”| Field | Type | Description |
|---|---|---|
reference | string (UUID) | Stable identifier for the file; use this value in the custom config reference field |
size | number | File size in bytes |
type | string | File type (CSV) |
lastAccessed | number | Unix timestamp (ms) of last access |
POST /api/rest/storage
Section titled “POST /api/rest/storage”Uploads a new file and returns its reference UUID.
| Query params | type=CSV |
| Content-Type | multipart/form-data |
| Body | file — file contents |
| Response | FileReferenceAPI |
PUT /api/rest/storage/{reference}
Section titled “PUT /api/rest/storage/{reference}”Replaces the contents of an existing file. The reference UUID does not change, so custom configs referencing it continue to work without modification.
| Query params | type=CSV |
| Content-Type | multipart/form-data |
| Body | file — updated file contents |
| Response | FileReferenceAPI |
GET /api/rest/storage/{reference}
Section titled “GET /api/rest/storage/{reference}”Returns file metadata. Does not return file contents.
| Response | FileReferenceAPI |
DELETE /api/rest/storage/{reference}
Section titled “DELETE /api/rest/storage/{reference}”Deletes the file and its metadata. Any config still referencing this UUID will fail at execution time.
See also
Section titled “See also”- Studio File — setup guide
- Studio