API Reference workspaces

Read a file

GET/projects/{project_id}/workspace/file

Download one file from a workspace as text.

Parameters

Query parameterDescription
pathFile path to read (required)
wsWorkspace UUID — defaults to the project default workspace

Request

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