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

# Refresh Competitor Social Dashboard

> Enqueue an off-request YouTube refresh for the social dashboard.



## OpenAPI

````yaml /openapi.json post /api/v1/brands/{brand_id}/dashboards/competitor-social/refresh
openapi: 3.1.0
info:
  title: AITasker
  version: 0.1.0
servers: []
security: []
paths:
  /api/v1/brands/{brand_id}/dashboards/competitor-social/refresh:
    post:
      tags:
        - Dashboards
        - Dashboards
      summary: Refresh Competitor Social Dashboard
      description: Enqueue an off-request YouTube refresh for the social dashboard.
      operationId: >-
        refresh_competitor_social_dashboard_api_v1_brands__brand_id__dashboards_competitor_social_refresh_post
      parameters:
        - name: brand_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Brand Id
        - name: platform
          in: query
          required: false
          schema:
            type: string
            minLength: 1
            default: youtube
            title: Platform
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RefreshResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    RefreshResponse:
      properties:
        enqueued:
          type: boolean
          title: Enqueued
        throttled:
          type: boolean
          title: Throttled
        job_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Job Id
        competitor_count:
          type: integer
          title: Competitor Count
          default: 0
        next_refresh_available_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Next Refresh Available At
        message:
          anyOf:
            - type: string
            - type: 'null'
          title: Message
      type: object
      required:
        - enqueued
        - throttled
      title: RefreshResponse
      description: |-
        Result of POST .../refresh -- the work runs off-request on the Redis
        queue, so this reports whether a job was enqueued or throttled, not the
        per-competitor outcome (poll the overview/spend reads for fresh data).
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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

````