younifyd
Menu

Retrieve searchabilities (Deprecated)

Retrieve searchabilities (Deprecated)

GET/v1/searchabilities

Use it in a workflow

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

Request

Query parameters

sectionstring

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

filtersany

Criteria to narrow the result set by. Different filters from this parameter are `ANDed` together.

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 ofnamepercentage_presence

sort_orderany

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

Default "ascending"

cstring

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

excludesany

Criteria to narrow the result set by. Different filters from this parameter are `ORed` together, and results matching them are excluded

includesany

Criteria to narrow the result set by. Different filters from this parameter are `ORed` together.

search_configurableboolean

Filter only configurable searchabilities.

Response

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

searchabilitiesarray<object>

A list of facet searchabilities configurations.

namestringrequired

Name of searchability field.

percentage_presencenumber

Percentage of items and variations that contain this 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.

facetablebooleanrequired

Specifies whether the field should be treated as a facet. When True, the metadata field must be a string, float, integer, or list of these types. Dictionaries are supported if they contain values of these types. Nested dictionaries are not supported

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.

typeany
example_itemsarray<string>

A list of items that has this searchability field.

defaultbooleanrequired

Flag that shows if this searchability config is default.

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,
      "facetable": false,
      "exact_searchable": false,
      "default": false,
      "displayable": false,
      "hidden": false,
      "created_at": "2025-01-01T00:00:00Z",
      "percentage_presence": 0,
      "type": null,
      "example_items": [
        "string"
      ],
      "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.