Query a Temporal workflow associated with a task for its current state.
curl http://localhost:5003/tasks/$TASK_ID/query/$QUERY_NAME \ -H "Authorization: Bearer $AGENTEX_SDK_API_KEY"
{ "foo": "bar" }