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

# Generate Global Ad Library Ad Transcript

> Queue transcript + hook generation for one stored video ad.

The dependency was bound as ``_user`` and the identity discarded, so the
lookup ran unfiltered — an authenticated caller could spend our
transcription budget on another tenant's private ad AND learn from the
400/503 responses that the ad exists and whether it is a video.



## OpenAPI

````yaml /openapi.json post /api/v1/ad-library/ads/{ad_id}/transcript
openapi: 3.1.0
info:
  title: AITasker
  version: 0.1.0
servers: []
security: []
paths:
  /api/v1/ad-library/ads/{ad_id}/transcript:
    post:
      tags:
        - Ad Library
        - Ad Library
      summary: Generate Global Ad Library Ad Transcript
      description: |-
        Queue transcript + hook generation for one stored video ad.

        The dependency was bound as ``_user`` and the identity discarded, so the
        lookup ran unfiltered — an authenticated caller could spend our
        transcription budget on another tenant's private ad AND learn from the
        400/503 responses that the ad exists and whether it is a video.
      operationId: >-
        generate_global_ad_library_ad_transcript_api_v1_ad_library_ads__ad_id__transcript_post
      parameters:
        - name: ad_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Ad Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdLibraryTranscriptJobResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    AdLibraryTranscriptJobResponse:
      properties:
        ad_id:
          type: string
          format: uuid
          title: Ad Id
        job_id:
          type: string
          title: Job Id
        status:
          type: string
          const: queued
          title: Status
          default: queued
      type: object
      required:
        - ad_id
        - job_id
      title: AdLibraryTranscriptJobResponse
    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

````