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

# Set Review Response Draft Status Route

> Record Copy or Dismiss against an existing draft.

Separate from the edit route because the request vocabularies are
disjoint: that one carries user-authored text and always lands on
``edited``; this one carries no text and may only reach the two statuses
a user ACTION produces. Folding them into one optional-everything body
would let a client rewind an edited draft to ``draft``.

Copy and Dismiss are persistent per Design §4.4 — the card is purely
presentational and calls back to its container, which reaches this route
through the shared ``useReviewResponseDraft`` hook, so every mounted
surface sees the same status without a refetch.

No entitlement gate: neither transition generates anything, so metering
them would charge a user for clicking Copy.



## OpenAPI

````yaml /openapi.json patch /api/v1/brands/{brand_id}/brand-intelligence/reviews/drafts/{draft_id}/status
openapi: 3.1.0
info:
  title: AITasker
  version: 0.1.0
servers: []
security: []
paths:
  /api/v1/brands/{brand_id}/brand-intelligence/reviews/drafts/{draft_id}/status:
    patch:
      tags:
        - Brand Reviews
        - Brand Reviews
      summary: Set Review Response Draft Status Route
      description: |-
        Record Copy or Dismiss against an existing draft.

        Separate from the edit route because the request vocabularies are
        disjoint: that one carries user-authored text and always lands on
        ``edited``; this one carries no text and may only reach the two statuses
        a user ACTION produces. Folding them into one optional-everything body
        would let a client rewind an edited draft to ``draft``.

        Copy and Dismiss are persistent per Design §4.4 — the card is purely
        presentational and calls back to its container, which reaches this route
        through the shared ``useReviewResponseDraft`` hook, so every mounted
        surface sees the same status without a refetch.

        No entitlement gate: neither transition generates anything, so metering
        them would charge a user for clicking Copy.
      operationId: >-
        set_review_response_draft_status_route_api_v1_brands__brand_id__brand_intelligence_reviews_drafts__draft_id__status_patch
      parameters:
        - name: brand_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Brand Id
        - name: draft_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Draft Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BrandReviewResponseDraftStatusRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BrandReviewResponseDraftItem'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    BrandReviewResponseDraftStatusRequest:
      properties:
        status:
          type: string
          enum:
            - copied
            - dismissed
          title: Status
      type: object
      required:
        - status
      title: BrandReviewResponseDraftStatusRequest
      description: |-
        PATCH body — record Copy or Dismiss against an existing draft.

        Both are informational markers, never gates (Design §4.4): a ``copied``
        draft can be copied again, and a ``dismissed`` one returns to ``draft``
        when the user regenerates it.
    BrandReviewResponseDraftItem:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        review_id:
          type: string
          format: uuid
          title: Review Id
        brand_id:
          type: string
          format: uuid
          title: Brand Id
        model:
          type: string
          title: Model
        draft_text:
          type: string
          title: Draft Text
        edited_text:
          anyOf:
            - type: string
            - type: 'null'
          title: Edited Text
        status:
          type: string
          enum:
            - draft
            - edited
            - copied
            - dismissed
          title: Status
        copied_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Copied At
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      type: object
      required:
        - id
        - review_id
        - brand_id
        - model
        - draft_text
        - status
        - created_at
        - updated_at
      title: BrandReviewResponseDraftItem
      description: One AI-drafted reply, as served to every consuming surface.
    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

````