> ## Documentation Index
> Fetch the complete documentation index at: https://docs.urltodata.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Poll batch job status and results



## OpenAPI

````yaml /openapi.json get /v1/youtube/batch/{jobId}
openapi: 3.1.0
info:
  title: urltodata.ai
  description: >-
    API for extracting transcripts, metadata, and structured data from YouTube,
    TikTok, Instagram, X (Twitter), Facebook, and the web.
  version: 0.1.0
servers:
  - url: https://api.urltodata.ai
    description: Production API
security:
  - bearerAuth: []
paths:
  /v1/youtube/batch/{jobId}:
    get:
      summary: Poll batch job status and results
      operationId: getYoutubeBatchStatus
      parameters:
        - name: jobId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Batch job status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchJobStatus'
components:
  schemas:
    BatchJobStatus:
      type: object
      properties:
        status:
          type: string
          enum:
            - queued
            - active
            - completed
            - failed
        total:
          type: integer
        completed:
          type: integer
        failed:
          type: integer
        results:
          type: array
          items:
            type: object
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      x-default: your-api-key
      description: API key as Bearer token (e.g. Bearer mp_abc123_secret)

````