Preview a YouTube URL before importing. Fetches metadata + an exact cost estimate (in cents) for the video or full playlist/channel, and on the new terms the plan's YouTube allowance and whether the import fits. For large playlists this can take a few seconds; the client is expected to show a spinner.
Bearer <token>.Ok
The allowance as the preview and GET /youtube-source/allowance return it.
When the monthly allowance starts over; null for the trial.
0: single videos only (the trial).
Whether the previewed import fits as it is (true without a preview).
Why it does not fit (or why the balance does not cover it), in the user's words.
The plan that allows more, or null.
A playlist that does not fit: the first videos that do, which firstFittingOnly imports.
Playlist videos skipped: longer than the per-video maximum, or without a duration.
The AI balance does not cover the estimate (the import is refused until it does).
The allowance as the preview and GET /youtube-source/allowance return it.
When the monthly allowance starts over; null for the trial.
0: single videos only (the trial).
Whether the previewed import fits as it is (true without a preview).
Why it does not fit (or why the balance does not cover it), in the user's words.
The plan that allows more, or null.
A playlist that does not fit: the first videos that do, which firstFittingOnly imports.
Playlist videos skipped: longer than the per-video maximum, or without a duration.
The AI balance does not cover the estimate (the import is refused until it does).