This is an advanced Resource topic. Use it when your base endpoints work and you need better query behavior. Exo resources support searching via theDocumentation Index
Fetch the complete documentation index at: https://docs.exowizz.com/llms.txt
Use this file to discover all available pages before exploring further.
?search= query parameter on the list endpoint. You can also customize the base query to add eager loading, default ordering, or scopes.
Adding search
The quickest way to enable search is to list the columns you want to be searchable:GET /exo-api/resources/contact?search=jane, Exo runs an OR LIKE query across these columns, matching any record where name or email contains “jane”.
Custom search logic
For more control, override theapplySearch method. This is useful for full-text search, searching across relationships, or other custom matching:
applySearch, the searchableColumns return value is ignored — your custom method takes full control.
Customizing the base query
ThebaseQuery method defines the starting Eloquent query for all list and show operations. Override it to add eager loading, default scopes, or ordering:
Pagination
List endpoints return paginated results. The default page size is 15. API consumers can change it with the?per_page= query parameter: