Palbase Workspaces API · API
GET
/workspaces/{id}/filesList or read workspace files
Lists all files in the workspace when path is omitted, or downloads a single file when path is provided.
Called by your server, with the project's secret key.
Path
idstring · requiredQuery
pathstring · optionalcurl
curl -X GET "https://<your-ref>.palbase.studio/workspaces/<id>/files" \
-H "apikey: $PALBASE_SECRET_KEY"Responses
200File listing JSON or raw file bytes.
defaultAn error envelope.
Operation GetWorkspaceFiles of workspaces's contract.