Query workflow spec