Rename "query" to "search" to match endpoint