Quote a reference analysis
quote_analysisEstimate the credit cost and check for an existing analysis before starting a full or data analysis of an MP4, Instagram, or TikTok source; returns 0 when a replay is available.
Instructions
Price analyze_reference for an asset_id or a source_url and a mode before starting it: credits_estimate is what a start holds and charges once it succeeds (70 full, 10 data), 0 when the asset or the reel already has an analysis in that mode that a start would answer (replays_analysis_id). A YouTube or unknown link is refused here too. Free; starts nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | full (default, 70 credits): the reference_profile. data (10 credits): duration, size, timed transcript, hook and a 3×3 frame sheet, without the vision pass | |
| asset_id | No | asset_id of an MP4 asset of this account, at most 120 s and 100 MiB | |
| source_url | No | instead of asset_id: an Instagram reel or post link (instagram.com/reel/<code>, /reels/<code>, /p/<code>) or a TikTok video link (tiktok.com/@<user>/video/<id>, vm.tiktok.com/<code>); YouTube is refused |