There is no way to get the workflow status via the api.
There was an existing issue but it was closed, without actually providing an api:
Currently we use this to get the last build status:
#curl --silent API_URL #exit 0 circleci_data=( (curl --silent $API_URL | jq -r ..outcome,..vcs_revision) )
But since we use workflows, we want the status of the whole workflow.
How do we do this?