API Reference workspaces
Read a file
GET/projects/{project_id}/workspace/file
Download one file from a workspace as text.
Parameters
| Query parameter | Description |
|---|---|
| path | File path to read (required) |
| ws | Workspace 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"