> ## 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 Group Business Replies Route

> Bounded stored business replies for one caller-curated reviews group.

The service preserves successful-collection coverage separately from a
measured zero, returns no reviewer/review text, and keeps Trustpilot reply
bodies aggregate-only under the current display policy.



## OpenAPI

````yaml /openapi.json post /api/v1/brands/{brand_id}/brand-intelligence/review-group-insights/business-replies
openapi: 3.1.0
info:
  title: AITasker
  version: 0.1.0
servers: []
security: []
paths:
  /api/v1/brands/{brand_id}/brand-intelligence/review-group-insights/business-replies:
    post:
      tags:
        - Brand Reviews
        - Brand Reviews
      summary: Review Group Business Replies Route
      description: >-
        Bounded stored business replies for one caller-curated reviews group.


        The service preserves successful-collection coverage separately from a

        measured zero, returns no reviewer/review text, and keeps Trustpilot
        reply

        bodies aggregate-only under the current display policy.
      operationId: >-
        review_group_business_replies_route_api_v1_brands__brand_id__brand_intelligence_review_group_insights_business_replies_post
      parameters:
        - name: brand_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Brand Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BrandReviewBusinessReplyGalleryRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BrandReviewBusinessReplyGalleryResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    BrandReviewBusinessReplyGalleryRequest:
      properties:
        advertiser_ids:
          items:
            type: string
            format: uuid
          type: array
          maxItems: 60
          minItems: 1
          title: Advertiser Ids
        group_label:
          anyOf:
            - type: string
              maxLength: 120
            - type: 'null'
          title: Group Label
        reference_advertiser_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Reference Advertiser Id
        focus_advertiser_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Focus Advertiser Id
      type: object
      required:
        - advertiser_ids
      title: BrandReviewBusinessReplyGalleryRequest
      description: One bounded, stored-only read of business replies for a reviews group.
    BrandReviewBusinessReplyGalleryResponse:
      properties:
        generated_at:
          type: string
          format: date-time
          title: Generated At
        group_key:
          type: string
          title: Group Key
        group_label:
          anyOf:
            - type: string
            - type: 'null'
          title: Group Label
        reference_advertiser_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Reference Advertiser Id
        focus_advertiser_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Focus Advertiser Id
        sample_is_platform_total:
          type: boolean
          const: false
          title: Sample Is Platform Total
          default: false
        focus_brand:
          anyOf:
            - $ref: '#/components/schemas/ReviewBusinessReplyBrand'
            - type: 'null'
        summary:
          $ref: '#/components/schemas/ReviewBusinessReplyGallerySummary'
        platforms:
          items:
            $ref: '#/components/schemas/ReviewBusinessReplyPlatformSummary'
          type: array
          maxItems: 2
          minItems: 2
          title: Platforms
        display_limit:
          type: integer
          maximum: 24
          minimum: 1
          title: Display Limit
        has_more:
          type: boolean
          title: Has More
          default: false
        items:
          items:
            $ref: '#/components/schemas/ReviewBusinessReplyGalleryItem'
          type: array
          maxItems: 24
          title: Items
      type: object
      required:
        - generated_at
        - group_key
        - summary
        - display_limit
      title: BrandReviewBusinessReplyGalleryResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ReviewBusinessReplyBrand:
      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
      type: object
      required:
        - advertiser_id
      title: ReviewBusinessReplyBrand
    ReviewBusinessReplyGallerySummary:
      properties:
        status:
          type: string
          enum:
            - measured
            - partial
            - not_measured
          title: Status
        measured_reply_count:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
          title: Measured Reply Count
        displayable_reply_count:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
          title: Displayable Reply Count
        hidden_reply_count:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
          title: Hidden Reply Count
        brands_with_replies:
          type: integer
          minimum: 0
          title: Brands With Replies
          default: 0
        platform_count:
          type: integer
          maximum: 2
          minimum: 0
          title: Platform Count
          default: 0
        has_displayable_replies:
          type: boolean
          title: Has Displayable Replies
          default: false
        sample_basis_notice:
          type: string
          title: Sample Basis Notice
      type: object
      required:
        - status
        - sample_basis_notice
      title: ReviewBusinessReplyGallerySummary
    ReviewBusinessReplyPlatformSummary:
      properties:
        platform:
          type: string
          enum:
            - trustpilot
            - google
          title: Platform
        status:
          type: string
          enum:
            - measured
            - partial
            - not_measured
          title: Status
        measured_reply_count:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
          title: Measured Reply Count
        displayable_reply_count:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
          title: Displayable Reply Count
        hidden_reply_count:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
          title: Hidden Reply Count
        collected_review_count:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
          title: Collected Review Count
        not_measured_reason:
          anyOf:
            - type: string
              enum:
                - no_collected_reviews
                - no_focus_brand_reviews
                - no_group_reviews
                - partial_coverage
                - terminal_source_resolution
            - type: 'null'
          title: Not Measured Reason
        note:
          anyOf:
            - type: string
            - type: 'null'
          title: Note
      type: object
      required:
        - platform
        - status
      title: ReviewBusinessReplyPlatformSummary
      description: >-
        Collection measurement and display coverage for one platform, never
        pooled.
    ReviewBusinessReplyGalleryItem:
      properties:
        review_id:
          type: string
          format: uuid
          title: Review Id
        advertiser_id:
          type: string
          format: uuid
          title: Advertiser Id
        brand_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Brand Name
        brand_domain:
          anyOf:
            - type: string
            - type: 'null'
          title: Brand Domain
        platform:
          type: string
          enum:
            - trustpilot
            - google
          title: Platform
        rating:
          anyOf:
            - type: number
              maximum: 5
              minimum: 1
            - type: 'null'
          title: Rating
        reviewed_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Reviewed At
        business_responded_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Business Responded At
        business_response_excerpt:
          type: string
          maxLength: 300
          minLength: 1
          title: Business Response Excerpt
        response_truncated:
          type: boolean
          title: Response Truncated
          default: false
        source_url:
          type: string
          maxLength: 2048
          minLength: 1
          title: Source Url
      type: object
      required:
        - review_id
        - advertiser_id
        - platform
        - business_response_excerpt
        - source_url
      title: ReviewBusinessReplyGalleryItem
      description: A minimally attributed Google reply excerpt; never reviewer content.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````