PowerShell: use deploy/test-api.ps1 -Token ch_... from your PC.
4. Main endpoints
Method
Path
Auth
Notes
GET
/api/me
API key
Account, plan, billing, uploadAllowed
GET
/api/usage
API key
Storage bytes + cost estimate + egress
GET
/api/files
API key
List files/folders (names may be encrypted)
POST
/api/files
API key
Upload JSON body (paid/staff required)
GET
/api/files/{id}
API key
Download file payload (paid/staff required)
POST
/api/files/{id}/delete
API key
Hide from vault (no restore in this version)
POST
/api/tokens
session/API
Create key {"name":"my-app"}
GET
/api/tokens
API key
List keys (hints only)
DELETE
/api/tokens/{id}
API key
Revoke key
GET
/api/session-status
public
Build / health hint
API uploads are not ZK unless the client encrypts. Do not push live gate exports via API in the clear.
5. Expected test results
200 on /api/me with your username → API key works.
401 → wrong/missing key, or key revoked.
402 on upload/download → unpaid client (pay or set Staff in admin).
403 → account suspended.
CACHEHUB (PTY) LTD (2026/666207/07)
POPIA-aligned practices
Account data and encrypted objects may be processed by operators outside South Africa. See Privacy. Terms & Refunds
·
Privacy Policy