A search action allows you to search for records in your customer’s SaaS instance by specifying filter criteria. The matching results are returned synchronously in the API response.Documentation Index
Fetch the complete documentation index at: https://docs.withampersand.com/llms.txt
Use this file to discover all available pages before exploring further.
The Search API returns only a single page of provider results and is intended for narrow, targeted queries.
Enabling search for an object
Search does not require a separate action type in the manifest. Instead, it uses theread action. An object is searchable as long as it is defined under read in your amp.yaml and is not disabled in the installation config. There are two ways to ensure an object is searchable:
Option 1: Set enabled: "always" in the manifest
By setting enabled: "always" on an object, it will always be enabled for every installation, regardless of the installation config. This is useful when you want to guarantee that the object is always searchable.
YAML
Option 2: Ensure the object is not disabled in the installation config
If you don’t setenabled: "always" in the manifest, the object is searchable by default. However, the installation config must not set disabled: true for that object.
YAML
Execute a search
You can call the search API to search for records in a customer’s SaaS instance. The results are returned synchronously in the API response. Field mappings defined inamp.yaml and mappings selected by users during installation time will be respected and applied. See Object and Field Mapping for more information.
Request example

