videosphere
    Preparing search index...

    Interface YoutubeImportJob

    YouTube import job tracking download, trim, and R2 staging before upload distribution.

    interface YoutubeImportJob {
        id: string;
        userId: string;
        draftId: string;
        sourceUrl: string;
        youtubeVideoId: string;
        livestreamId: string;
        startSeconds: number;
        endSeconds: number;
        smartCut: boolean;
        status: YoutubeImportJobStatus;
        progressPercent: number;
        errorMessage: string;
        r2Key: string;
        uploadJobId: string;
        distributeQueued: boolean;
        $createdAt: string;
        $updatedAt: string;
    }
    Index

    Properties

    id: string
    userId: string
    draftId: string

    Draft this import is destined for; set at creation.

    sourceUrl: string

    Original pasted URL or resolved watch URL.

    youtubeVideoId: string
    livestreamId: string

    Past livestream id when picked from history; null when the source was a pasted link.

    startSeconds: number
    endSeconds: number
    smartCut: boolean

    When true, import trims with ffmpeg smart cut instead of stream-copy only.

    progressPercent: number

    Coarse progress for the UI (0–100).

    errorMessage: string
    r2Key: string

    R2 object key once the trimmed file lands in staging storage.

    uploadJobId: string

    Upload job id once handed off to the distribution pipeline.

    distributeQueued: boolean

    When true, distribution starts automatically once staging completes.

    $createdAt: string

    Persistence system attribute (ISO string).

    $updatedAt: string

    Persistence system attribute (ISO string).