First, it is poorly named (should've been something like api-prefix), but most importantly if it is set to anything other than api it will break the UI, because it only affects the query service API routes, but does not affect how the UI JavaScript refers to them.
cc @tiffon @pavolloffay @jpkrohling