API Reference tasks

List task log lines

GET/projects/{project_id}/tasks/{task_id}/log-lines

Log lines starting from an offset — live from the stream while the task runs, from storage after it settles.

Parameters

Query parameterDescription
offsetReturn lines starting at this index; poll with the last seen offset to follow without duplicates
log_idExecution log id — optional when the task has settled

Request

curl "$ALLYBUILD_API_URL/projects/$PROJECT_ID/tasks/$TASK_ID/log-lines?offset=0" \
  -H "Authorization: Bearer $TASK_JWT" \
  -H "Content-Type: application/json"