API docs getRecords() gives error with 'related'

@jeffreystables
There is no query.

Its just that when I add * in the related, I see the error, other wise I do not.
I am using this in the API DOCs, not sure what are you looking for in query.

Its simple getRecords with table name as ‘establishment’. and * in related