/series endpoint returns a massive amount of data

Hi.
Im currently having some problems with the HTTP API for labels and label values. E.g. GET /api/v1/labels and GET /api/v1/label/<label_name>/values
If I run a GET request like :
http://localhost:9009/prometheus/api/v1/label/__name__/values?match[]={__name__=~".random."}
to try and select series names which exist which contain the word random, I get all series names back.

If I do this on the /series end point it works fine, but it returns a massive amount of data.
Will the the 2 APIs above not do what I want?
Thanks

Ok. I think I have found the issue
https://github.com/cortexproject/cortex/issues/3658
turns out IT had deployed cortex and its still got some issues