Storage
Path-addressed project files: list, upload, download, move and delete.
On this page
Concepts: Storage and SFTP
Endpoint summaries come from the OpenAPI document.
GET/v1/projects/{project}/storage
Files and folders under a prefix (public/ or private/)
- Operation (MCP tool)
listStorage- Authentication
- API key (pfa_…)OAuth token (pfo_…)Secret data key (pfk_…)
Parameters
Responses
Related error codes
Error codes this endpoint and its part of the API answer with. Each one explains what happened and what to do.
DELETE/v1/projects/{project}/storage
Delete a file (?path=) or a folder (?prefix=, up to 1000 files)
- Operation (MCP tool)
deleteStorage- Authentication
- API key (pfa_…)OAuth token (pfo_…)Secret data key (pfk_…)
Parameters
Responses
Related error codes
Error codes this endpoint and its part of the API answer with. Each one explains what happened and what to do.
POST/v1/projects/{project}/storage/uploads
Get a signed upload URL for one file; PUT the bytes there. Checks the plan's storage limits
- Operation (MCP tool)
createStorageUpload- Authentication
- API key (pfa_…)OAuth token (pfo_…)Secret data key (pfk_…)
Parameters
Request body
application/jsonobjectRequired
Responses
Related error codes
Error codes this endpoint and its part of the API answer with. Each one explains what happened and what to do.
GET/v1/projects/{project}/storage/file
A file's details and a signed download URL (15 minutes)
- Operation (MCP tool)
getStorageFile- Authentication
- API key (pfa_…)OAuth token (pfo_…)Secret data key (pfk_…)
Parameters
Responses
Related error codes
Error codes this endpoint and its part of the API answer with. Each one explains what happened and what to do.
POST/v1/projects/{project}/storage/move
Move or rename a file, or a folder when from ends with /
- Operation (MCP tool)
moveStorage- Authentication
- API key (pfa_…)OAuth token (pfo_…)Secret data key (pfk_…)
Parameters
Request body
application/jsonobjectRequired
Responses
Related error codes
Error codes this endpoint and its part of the API answer with. Each one explains what happened and what to do.
PUT/v1/storage-uploads/{token}
The file's bytes (exactly the declared size)
- Operation (MCP tool)
uploadStorageFile- Authentication
- Signed URL from an earlier response
Parameters
Request body
application/octet-streamstringRequired
Responses
Related error codes
Error codes this endpoint and its part of the API answer with. Each one explains what happened and what to do.
GET/v1/storage-files/{token}
The file itself
- Operation (MCP tool)
downloadStorageFile- Authentication
- Signed URL from an earlier response