API Reference workspaces

List files

GET/projects/{project_id}/workspace/files

List a workspace directory.

Parameters

Query parameterDescription
pathDirectory to list, default /
wsWorkspace UUID — defaults to the project default workspace

Request

curl "$ALLYBUILD_API_URL/projects/$PROJECT_ID/workspace/files?path=/reports" \
  -H "Authorization: Bearer $TASK_JWT" \
  -H "Content-Type: application/json"