List the search fields of a Rex service
rex_describe_search_fieldsThe field names a search on the given service accepts in criteria, each with its label, type and (for enums) the value list. Call this before building criteria on a field you are not sure of. Sorting (order_by) uses a separate list of sortable fields whose names can differ (for example name_last, not contact.name_last): set include_order_by to get it. POST /v1/rex//describeSearchFields (and /describeModel for include_order_by).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| match | No | Only fields whose name or label contains this text (case-insensitive). The big services have hundreds of fields, so filter. | |
| service | Yes | The Rex service, for example Contacts or Listings. | |
| include_order_by | No | Also return the service's model description, which lists the fields order_by accepts (they can differ from the search field names). |