> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aitasker.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Review Facets Route

> Filter options derived from the reviews actually held.



## OpenAPI

````yaml /openapi.json get /api/v1/brand-reviews/facets
openapi: 3.1.0
info:
  title: AITasker
  version: 0.1.0
servers: []
security: []
paths:
  /api/v1/brand-reviews/facets:
    get:
      tags:
        - Brand Reviews
        - Brand Reviews
      summary: Review Facets Route
      description: Filter options derived from the reviews actually held.
      operationId: review_facets_route_api_v1_brand_reviews_facets_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BrandReviewFacetsResponse'
      security:
        - HTTPBearer: []
components:
  schemas:
    BrandReviewFacetsResponse:
      properties:
        generated_at:
          type: string
          format: date-time
          title: Generated At
        brands:
          items:
            $ref: '#/components/schemas/BrandReviewFeedBrandFacet'
          type: array
          title: Brands
        platforms:
          items:
            type: string
          type: array
          title: Platforms
        industries:
          items:
            $ref: '#/components/schemas/BrandReviewIndustryFacet'
          type: array
          title: Industries
        languages:
          items:
            type: string
          type: array
          title: Languages
      type: object
      required:
        - generated_at
      title: BrandReviewFacetsResponse
    BrandReviewFeedBrandFacet:
      properties:
        advertiser_id:
          type: string
          format: uuid
          title: Advertiser Id
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        domain:
          anyOf:
            - type: string
            - type: 'null'
          title: Domain
        review_count:
          type: integer
          title: Review Count
          default: 0
      type: object
      required:
        - advertiser_id
      title: BrandReviewFeedBrandFacet
    BrandReviewIndustryFacet:
      properties:
        value:
          type: string
          title: Value
        brand_count:
          type: integer
          title: Brand Count
          default: 0
      type: object
      required:
        - value
      title: BrandReviewIndustryFacet
      description: |-
        One Industry option, with how many brands stand behind it.

        Counts DISTINCT brands, not reviews: a multi-label brand contributes one
        row per label, and the dropdown answers "how many brands are in this
        industry", not "how many labels did we store".
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````