> ## 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.

# Get Brand Intelligence Insights Route

> Return cached AI insights and refresh stale/missing insights in background.



## OpenAPI

````yaml /openapi.json get /api/v1/brands/{brand_id}/brand-intelligence/insights
openapi: 3.1.0
info:
  title: AITasker
  version: 0.1.0
servers: []
security: []
paths:
  /api/v1/brands/{brand_id}/brand-intelligence/insights:
    get:
      tags:
        - Brand Intelligence
        - Brand Intelligence
      summary: Get Brand Intelligence Insights Route
      description: >-
        Return cached AI insights and refresh stale/missing insights in
        background.
      operationId: >-
        get_brand_intelligence_insights_route_api_v1_brands__brand_id__brand_intelligence_insights_get
      parameters:
        - name: brand_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Brand Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BrandIntelligenceInsightsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    BrandIntelligenceInsightsResponse:
      properties:
        brand_id:
          type: string
          format: uuid
          title: Brand Id
        generated_at:
          type: string
          format: date-time
          title: Generated At
        prompt_version:
          type: string
          title: Prompt Version
        schema_version:
          type: string
          title: Schema Version
        summary:
          type: string
          maxLength: 600
          title: Summary
          default: ''
        insights:
          items:
            $ref: '#/components/schemas/BrandIntelligenceInsight'
          type: array
          maxItems: 8
          title: Insights
        opportunities:
          items:
            $ref: '#/components/schemas/BrandIntelligenceInsight'
          type: array
          maxItems: 8
          title: Opportunities
        risks:
          items:
            $ref: '#/components/schemas/BrandIntelligenceInsight'
          type: array
          maxItems: 8
          title: Risks
        recommended_actions:
          items:
            $ref: '#/components/schemas/BrandIntelligenceInsight'
          type: array
          maxItems: 8
          title: Recommended Actions
        source_refs:
          additionalProperties:
            type: string
          type: object
          title: Source Refs
        provenance:
          additionalProperties:
            anyOf:
              - type: string
              - type: 'null'
          type: object
          title: Provenance
        fallback_reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Fallback Reason
      type: object
      required:
        - brand_id
        - generated_at
        - prompt_version
        - schema_version
      title: BrandIntelligenceInsightsResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    BrandIntelligenceInsight:
      properties:
        title:
          type: string
          maxLength: 120
          minLength: 1
          title: Title
        detail:
          type: string
          maxLength: 600
          minLength: 1
          title: Detail
        evidence_refs:
          items:
            type: string
          type: array
          maxItems: 8
          minItems: 1
          title: Evidence Refs
        confidence:
          type: string
          enum:
            - low
            - medium
            - high
          title: Confidence
          default: medium
      type: object
      required:
        - title
        - detail
        - evidence_refs
      title: BrandIntelligenceInsight
    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

````