younifyd
Menu

Retrieve searchabilities

Retrieve searchabilities

GET/v2/searchabilities

Use it in a workflow

  1. Add a step and choose the Constructor connector.
  2. Pick the Retrieve searchabilities action (under Searchabilities).
  3. Fill in the fields below, then reference the result from later steps as {{retrieveSearchabilities.response.data}}.

Request

Query parameters

sectionstring

The section of the index to use. Defaults to `Products`.

num_results_per_pageinteger

The number of results per page to return.

Default 20

pageinteger

The page of results to return.

offsetinteger

The number of results to skip from the beginning. Cannot be used together with `page`.

sort_bystring

The criteria by which searchability configurations should be sorted.

One ofname

sort_orderany

The sort order by which searchability configurations should be sorted. Only valid when used in conjunction with `sort_by`.

Default "ascending"

match_typeany

Specified whether filters should be ANDed or ORed.

Default "and"

cstring

The ID of the client and version that the request is coming from, such as `cio-js-2.90`.

exact_searchableboolean

Specifies whether the searchability is exact_searchable.

fuzzy_searchableboolean

Specifies whether the searchability is fuzzy_searchable.

displayableboolean

Specifies whether the field is displayable.

namestring

Name of searchability field to filter for. Supports exact matching (name=value) and substring matching (name=`*value`, `value*` or `*value*`).

Response

Returns 200 with an object. Read it in later steps with {{retrieveSearchabilities.response.data.<field>}}.

searchabilitiesarray<object>

A list of facet searchabilities configurations.

namestringrequired

Name of searchability field.

fuzzy_searchablebooleanrequired

Configure a field as fuzzy-searchable to enable typo-tolerant keyword-matching on field values in search and autocomplete. A field can be fuzzy-searchable or exact-searchable, but not both. Avoid marking very verbose fields (e.g. long descriptions) as fuzzy-searchable, since it can lead to recall of more items than is necessary and introduces complexity with ranking.

exact_searchablebooleanrequired

Configure this field for ID or ID-like values (SKU ID, ISBN, part number, etc.) to enable exact matching only, with no typo-tolerance, for search and autocomplete. Do not use for fields containing natural language words. A field can be exact-searchable or fuzzy-searchable, but not both.

displayablebooleanrequired

Specifies whether the field is displayable in the response within the `results` array.

hiddenbooleanrequired

Hides the field by default in the response but makes it available to retrieve via `fmt_options[hidden_fields]` parameter.

created_atstring (date-time)required

Creation date and time

updated_atstring (date-time)

Last updated date and time

total_countinteger

Number of searchabilities.

json
{
  "searchabilities": [
    {
      "name": "string",
      "fuzzy_searchable": false,
      "exact_searchable": false,
      "displayable": false,
      "hidden": false,
      "created_at": "2025-01-01T00:00:00Z",
      "updated_at": "2025-01-01T00:00:00Z"
    }
  ],
  "total_count": 0
}

Need more? See the Constructor guide for connection setup and behaviour shared by every action.