# Retrieve all facet values

Retrieves all values for a specific facet field, including translations and selection state.

Endpoint: POST /api/search/allfacets
Version: v1.0
Security: OAuth2.0

## Request fields (application/json-patch+json):

  - `facetField` (string,null)
    The name of the facet field to retrieve values for.

  - `query` (string,null)
    The search query string to filter the facet values, for example, status:active.

  - `searchConfigurationName` (string,null)
    The name of the search configuration to use for retrieving facet values.

  - `culture` (string,null)
    The culture to use for retrieving facet values, for example, en-US or fr-FR.

  - `component` (integer,null)
    The component ID to use when retrieving facet values.

  - `filters` (array,null)
    The filters to apply to the facet values. Each filter is a FieldFilterRequestResource object that specifies the filter criteria.

  - `filters.name` (string,null)

  - `filters.definition` (string,null)

  - `filters.group_identifier` (string,null)

  - `filters.operator` (string)
    Enum: "None", "Equals", "LessThan", "GreaterThan", "Between", "StartsWith", "EndsWith", "Contains", "FacetEquals", "DoesNotContain", "DoesNotStartWith", "DoesNotEndWith", "LessThanOrEquals", "GreaterThanOrEquals", "DoesNotEqual", "AnyOf", "AllOf", "NoneOf", "Missing", "Exists", "Changed"

  - `filters.values` (array,null)

  - `filters.nested_values` (array,null)

  - `filters.hidden` (boolean)

  - `filters.type` (string)
    Enum: "FieldFilter", "InFilter", "DynamicFilter", "Nested", "IdFilter", "SelectionPoolFilter"

  - `filters.role` (string,null)

  - `filters.visible` (boolean)

  - `filters.multi_select` (boolean)

  - `filters.selection_pool_specs` (object)

  - `filters.selection_pool_specs.pool_id` (integer)

  - `filters.selection_pool_specs.sub_pool_id` (integer,null)

  - `take_user_settings` (boolean)
    Indicates whether to take user settings into account for the facet values. This is a boolean value, where true means user settings are taken into account and false means they are not.

  - `l10n` (boolean,null)
    Indicates whether to use localization for the facet values. This is a boolean value, where true means localization is used and false means it is not.

## Response 200 fields (application/json):

  - `self` (object)
    Represents a link to a resource.

  - `self.href` (string,null)
    Gets or sets the URI that points to the resource this link refers to.

  - `self.filename_properties` (array,null)
    Gets or sets the URI that points to the resource this link refers to.

  - `self.title` (string,null)
    Gets or sets the title that describes this link.

  - `self.templated` (boolean)
    Gets or sets a value indicating whether the contained URI is a template.


## Response 400 fields

## Response 401 fields
