palbaseDocs

Palbase Workspaces API · API

GET/workspaces/{id}/files

List 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 · required

Query

pathstring · optional
curl
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.