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

# Get a video job

> Check video processing status and retrieve the completed result.



## OpenAPI

````yaml GET /v1/api/video/jobs/{jobId}
openapi: 3.1.0
info:
  title: PagePith API
  version: 0.1.0
  description: >-
    Turn any web page into clean, structured content. The API handles
    JavaScript-rendered sites, PDFs, and most bot-protected pages, returning
    readable markdown. Authenticate with your API key as a Bearer token. Usage
    is billed per successful scrape.
servers:
  - url: https://api.pagepith.com
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Scrape
    description: Fetch and convert web pages
  - name: Video
    description: Transcribe public YouTube, Instagram, and TikTok videos
  - name: Monitoring
    description: Watch public pages for content changes
  - name: Blog
    description: Read published PagePith engineering articles
paths:
  /v1/api/video/jobs/{jobId}:
    get:
      tags:
        - Video
      summary: Get a video processing job
      operationId: getVideoJob
      parameters:
        - name: jobId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Current job state and, when completed, the result.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VideoJob'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          description: Job not found, expired, or owned by another customer.
components:
  schemas:
    VideoJob:
      type: object
      required:
        - jobId
        - status
      properties:
        jobId:
          type: string
        status:
          type: string
          enum:
            - queued
            - processing
            - completed
            - failed
        progress:
          type: number
          minimum: 0
          maximum: 100
        result:
          $ref: '#/components/schemas/VideoResult'
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
            message:
              type: string
            url:
              type: string
    VideoResult:
      type: object
      required:
        - url
        - finalUrl
        - platform
        - platformId
        - durationSeconds
        - author
        - transcript
        - processedAt
        - cached
        - credits
      properties:
        url:
          type: string
        finalUrl:
          type: string
        platform:
          type: string
          enum:
            - youtube
            - instagram
            - tiktok
        platformId:
          type: string
        title:
          type:
            - string
            - 'null'
        description:
          type:
            - string
            - 'null'
        author:
          type: object
          required:
            - displayName
            - handle
            - profileUrl
          properties:
            displayName:
              type:
                - string
                - 'null'
            handle:
              type:
                - string
                - 'null'
            profileUrl:
              type:
                - string
                - 'null'
        durationSeconds:
          type: integer
          minimum: 0
        thumbnailUrl:
          type:
            - string
            - 'null'
        publishedAt:
          type:
            - string
            - 'null'
          format: date-time
        transcript:
          type: object
          required:
            - text
            - language
            - availableLanguages
            - source
            - segments
          properties:
            text:
              type: string
            language:
              type:
                - string
                - 'null'
            availableLanguages:
              type: array
              items:
                type: string
            source:
              type: string
              enum:
                - captions
                - generated
            segments:
              type: array
              items:
                $ref: '#/components/schemas/VideoTranscriptSegment'
        processedAt:
          type: string
          format: date-time
        cached:
          type: boolean
        credits:
          type: integer
          minimum: 1
    VideoTranscriptSegment:
      type: object
      required:
        - text
        - startMs
        - durationMs
      properties:
        text:
          type: string
        startMs:
          type: integer
          minimum: 0
        durationMs:
          type: integer
          minimum: 0
  responses:
    Unauthorized:
      description: Missing or invalid API key.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                enum:
                  - unauthorized
              message:
                type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Your API key as a Bearer token: `Authorization: Bearer <api-key>`.'

````