fix documentation of `getById`