Add search endpoint, with documentation