{"openapi":"3.0.3","info":{"title":"LinkDigest","version":"1.0.0","description":"\u628a\u6296\u97f3\u3001\u5c0f\u7ea2\u4e66\u3001\u7ea2\u679c\u77ed\u5267\u3001\u4eca\u65e5\u5934\u6761\u3001TikTok\u3001YouTube\u3001X\u3001Instagram \u7684\u94fe\u63a5\u53d8\u6210 AI \u80fd\u8bfb\u7684\u6587\u672c\uff1a\u9010\u5b57\u7a3f\u3001\u753b\u9762\u6587\u5b57\u3001\u9010\u56fe\u63cf\u8ff0\u3001\u8981\u70b9\uff0c\u53ef\u9009\u7206\u6b3e\u62c6\u89e3\u548c\u7ffb\u8bd1\u3002Turns social links into LLM-ready text \u2014 transcript, on-screen text, images, key points, and an optional viral breakdown. 5 free credits when you sign up; a post is 1 credit, video 1 per started minute, or 1 per started 2 minutes read transcript-first (depth=transcript); cached links are free. After any purchase, the account's 10 free credits come back on the 1st of every calendar month (while it is not on Dev or Studio), apart from the credits it bought. Key: https:\/\/linkdigest.dev\/signin?ref=openapi&next=\/app\/keys"},"servers":[{"url":"https:\/\/linkdigest.dev"}],"security":[{"bearer":[]}],"paths":{"\/api\/v1\/keys\/request":{"post":{"operationId":"request_api_key","summary":"Ask for an API key by email (no browser needed)","description":"Sends a sign-in link to the address; opening it creates an API key and shows it once. Rate limited per address and per mailbox. Every account starts with free credits, no card.","security":[],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","required":["email"],"properties":{"email":{"type":"string","format":"email"}}}}}},"responses":{"200":{"description":"Mail sent","content":{"application\/json":{"schema":{"type":"object","properties":{"sent":{"type":"boolean"},"to":{"type":"string"},"next":{"type":"string"},"expires_in_seconds":{"type":"integer"}}}}}},"429":{"description":"Too many requests"}}}},"\/api\/v1\/watch":{"get":{"operationId":"list_watches","summary":"The daily briefs on this key's account","responses":{"200":{"description":"watches[]: watch_id, query, platform, draft_platform, status, hour_utc, next_run_at, runs, last {outcome, new_posts, credits, batch_id, share_url}"}}},"post":{"operationId":"create_watch","summary":"Watch a topic: every day, its hottest new posts read, compared, and one post written","description":"The daily brief (\u6bcf\u65e5\u7a3f, 2026-10-31). Each day at hour_utc the topic is searched on the platform, the posts not read before are read (5, with the rest of the search in reserve for any that will not read), ranked, compared, and a post is written from them in draft_platform's shape \u2014 in the account's voice when voice carries a sample \u2014 and mailed to the account's address with a share link. Charged as the batch it starts (search + reads + comparison + draft, about 8\u201312 credits); a day with nothing new costs nothing; an account that cannot pay is mailed instead and tried again the next day. The first run starts at once. Over the plan's limit (free 1, Dev 5, Studio 20): 402 watch_limit.","requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","description":"A topic to watch.","properties":{"query":{"type":"string","description":"The topic, as a person would search it (\u9732\u8425\u88c5\u5907, \u8003\u7814\u82f1\u8bed).","maxLength":200},"platform":{"type":"string","description":"xiaohongshu or douyin.","enum":["xiaohongshu","douyin"]},"draft_platform":{"type":"string","description":"The post's shape: xiaohongshu (default for a Xiaohongshu watch), douyin (\u53e3\u64ad\u7a3f), en.","enum":["xiaohongshu","douyin","en"]},"voice":{"type":"string","description":"A sample of the creator's own writing; the post matches its tone.","maxLength":1500},"hour_utc":{"type":"integer","minimum":0,"maximum":23,"description":"The hour (UTC) it runs; default 1 (09:00 Beijing)."},"reads":{"type":"integer","minimum":1,"maximum":20,"description":"Posts one run reads (default 5, up to 20 within the plan's batch size; as many as the search finds)."}},"required":["query","platform"]}}}},"responses":{"201":{"description":"The watch."},"402":{"description":"watch_limit: the plan's watches are all in use."}}}},"\/api\/v1\/watch\/{id}":{"get":{"operationId":"get_watch","summary":"One watch","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The watch."},"404":{"description":"No such watch."}}},"patch":{"operationId":"update_watch","summary":"Pause, resume, run now, change the voice or the hour","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","description":"What to change.","properties":{"status":{"type":"string","description":"active or paused.","enum":["active","paused"]},"run_now":{"type":"boolean","description":"Run at the next tick instead of waiting for the hour."},"voice":{"type":"string","description":"A new voice sample; null removes it.","maxLength":1500},"hour_utc":{"type":"integer","minimum":0,"maximum":23},"reads":{"type":"integer","minimum":1,"maximum":20}}}}}},"responses":{"200":{"description":"The watch."},"404":{"description":"No such watch."}}},"delete":{"operationId":"delete_watch","summary":"Delete a watch","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Deleted."},"404":{"description":"No such watch."}}}},"\/api\/v1\/radar":{"get":{"operationId":"list_radars","summary":"The Pain-Point Radar runs on this key's account","responses":{"200":{"description":"radars[]: radar_id, topic, market, size, status, created_at, credits_total, estimate, posts_read, weekly, share_url, pain_top (the three most-mentioned pain points)"}}},"post":{"operationId":"create_radar","summary":"Pain-Point Radar: what people search for, complain about and ask on a topic, counted across posts","description":"\u75db\u70b9\u96f7\u8fbe (2026-11-07). One topic \u2192 the search suggestions people type after it (Baidu, Taobao and Bing for market cn; Bing and YouTube for global), grouped by need; the posts two platforms hold about it (cn: Xiaohongshu + Douyin; global: YouTube + TikTok) read with the consumer insight; and every checked finding and top comment clustered into pain points, needs, purchase blockers, products, unanswered questions and gaps \u2014 each with how many of the posts it came from, counted by code, and quotes checked word for word. A re-run of the same topic says what changed since the last one. Answers 202; poll GET \/api\/v1\/radar\/{id}. Billed as its parts: the two searches, each post at its own price with insight (+1), and the aggregation (3 for 12 posts, 6 for 48); about 47 credits in all for a quick run. Fewer than 3 posts read: the aggregation is not charged. Without credits for a minimal radar: 402 insufficient_credits with the pay links.","requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","description":"A topic to research.","properties":{"topic":{"type":"string","description":"A product, category or brand, as a person would search it (\u626b\u5730\u673a\u5668\u4eba, robot vacuum). Not a link.","maxLength":40},"market":{"type":"string","description":"cn: \u5c0f\u7ea2\u4e66 + \u6296\u97f3 and Chinese search suggestions (default). global: YouTube + TikTok and English suggestions, for \u51fa\u6d77 sellers.","enum":["cn","global"]},"size":{"type":"string","description":"quick 12 posts (default), standard 24, deep 48; fewer when the account's credits cover fewer (the estimate says how many).","enum":["quick","standard","deep"]},"language":{"type":"string","description":"The report's language: zh-CN (default), en or ja. Quotes stay in the post's own words, with a gloss when foreign.","enum":["zh-CN","en","ja"]},"weekly":{"type":"boolean","description":"Run it again every week and mail what changed."}},"required":["topic"]}}}},"responses":{"202":{"description":"The run, status searching: radar_id, estimate, poll."},"402":{"description":"insufficient_credits: credits_needed, credits_left and the pay links."}}}},"\/api\/v1\/radar\/{id}":{"get":{"operationId":"get_radar","summary":"One radar run: 202 while it runs, 200 when done or failed","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"format","in":"query","required":false,"description":"md: the report as Markdown instead of JSON.","schema":{"type":"string","enum":["md"]}}],"responses":{"200":{"description":"The finished (or failed) run.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Radar"}}}},"202":{"description":"Still searching, reading or aggregating.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Radar"}}}},"404":{"description":"No such radar on this account."}}},"patch":{"operationId":"update_radar","summary":"Turn the weekly re-run on or off","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","description":"What to change.","properties":{"weekly":{"type":"boolean","description":"Re-run every week and mail what changed."}}}}}},"responses":{"200":{"description":"The run."},"404":{"description":"No such radar."}}},"delete":{"operationId":"delete_radar","summary":"Delete a radar run","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Deleted."},"404":{"description":"No such radar."}}}},"\/api\/v1\/pulse":{"get":{"operationId":"list_pulses","summary":"The Topic Pulse runs on this key's account","responses":{"200":{"description":"pulses[]: pulse_id, topic, days, window, sources, size, status, created_at, credits_total, estimate, posts_read, share_url, headline (the brief's first point)"}}},"post":{"operationId":"create_pulse","summary":"Topic Pulse: what people posted about a topic in the last N days, ranked and summarised with citations","description":"\u8fd1\u671f\u70ed\u8bae (2026-11-27). One topic and a window of 1-90 days \u2192 Xiaohongshu and Douyin searched with the window; a post's day is read from its id, so a post outside the window is dropped before a credit is spent on reading it; the newest posts are read in full (image text, speech, top comments); Hacker News stories are listed through its official public API. The engine then scores every item in code (engagement on a fixed log scale per source, freshness, relevance to the topic), merges posts telling the same story, and writes a brief in which every point cites its items with word-for-word quotes checked by code. `coverage` says what each source returned: a source that failed is `failed`, never quiet. Billed as its parts: each search that finds posts (4 credits on Xiaohongshu and Douyin), each post at its normal price (capped at 5 per post), and the brief (2 credits up to 10 items, +1 per further 10); the Hacker News listing is free. Typical: quick about 22, standard about 35, deep about 60 credits; cached posts are free. Fewer than 3 items inside the window: the run fails, no brief is written or charged (the searches and reads that happened are). Reddit, X and YouTube are not searched; nothing uses a login or a cookie. Answers 202; poll GET \/api\/v1\/pulse\/{id} (a run takes about 2-5 minutes).","requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","description":"A topic and a window.","properties":{"topic":{"type":"string","description":"A subject, product or name, as a person would search it (Claude Code, \u9732\u8425\u8f66). Not a link.","maxLength":60},"days":{"type":"integer","description":"The window: the last N days up to today (UTC). Default 30.","minimum":1,"maximum":90,"default":30},"sources":{"type":"array","items":{"type":"string","description":"A source.","enum":["xiaohongshu","douyin","hackernews"]},"description":"Default: xiaohongshu and douyin, plus hackernews when the topic has no Chinese or Japanese characters."},"size":{"type":"string","description":"Posts read: quick 6 (default), standard 12, deep 24; fewer when the account's credits cover fewer (the estimate says so).","enum":["quick","standard","deep"]},"language":{"type":"string","description":"The brief's language: zh-CN, en or ja. Default: the topic's own script. Quotes stay in the post's own words.","enum":["zh-CN","en","ja"]}},"required":["topic"]}}}},"responses":{"202":{"description":"The run, status searching: pulse_id, estimate, poll.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pulse"}}}},"402":{"description":"insufficient_credits: credits_needed, credits_left and the pay links."}}}},"\/api\/v1\/pulse\/{id}":{"get":{"operationId":"get_pulse","summary":"One pulse run: 202 while it runs, 200 when done or failed","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["md"]},"description":"md: the report as Markdown."}],"responses":{"200":{"description":"The finished (or failed) run.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pulse"}}}},"202":{"description":"Still searching, reading or writing the brief.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pulse"}}}},"404":{"description":"No such pulse."}}},"delete":{"operationId":"delete_pulse","summary":"Delete a pulse run","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"ok."},"404":{"description":"No such pulse."}}}},"\/api\/v1\/radar\/preview":{"post":{"operationId":"radar_preview","summary":"What people search for after a topic, grouped by need \u2014 no posts read","description":"\u9700\u6c42\u8bcd\u9884\u89c8 (2026-11-07): the radar's demand step alone. 1 credit, only when suggestions came back.","requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","description":"A topic.","properties":{"topic":{"type":"string","description":"A product, category or brand. Not a link.","maxLength":40},"market":{"type":"string","description":"cn (default) or global.","enum":["cn","global"]}},"required":["topic"]}}}},"responses":{"200":{"description":"terms[] {term, source, seed}, clusters[] {label, key, terms[]}, hot[] {board, word, rank}, refused[], credits."},"402":{"description":"insufficient_credits."}}}},"\/api\/v1\/usage":{"get":{"operationId":"get_usage","summary":"Credits used and remaining for this key's account","responses":{"200":{"description":"plan, used, limit, remaining, pack_credits, key {monthly_cap, used, remaining}, and failed: this key's last 10 failed reads (at, url, error_code, message \u2014 the message names the fix). Failed reads cost nothing and are kept 30 days."}}}},"\/api\/v1\/health\/platforms":{"get":{"operationId":"platform_health","summary":"Which platforms read right now, with the last verified time and a 30-day success rate","security":[],"responses":{"200":{"description":"One row per platform: status, last verified, notes, and the last 30 days of real requests \u2014 reads_30d, whole_rate_30d (0-1, share that came back whole with failures on our side counted; null under 20 attempts), p50_seconds (median wait for a whole read)."}}}},"\/api\/v1\/digest":{"post":{"operationId":"digest_url","x-keyless":"Without Authorization the call returns a summary (one or two a day per address) plus signup_url; the full digest needs a key.","summary":"Read a social link as text","description":"Returns the digest, or 202 with a jobId when it takes longer than ~20 s (long videos, many images) \u2014 then call get_digest with that jobId and wait=20 until it is done.","requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","description":"What to read.","properties":{"url":{"type":"string","description":"The post link, or the whole share text that contains it."},"format":{"type":"string","description":"json (default), markdown, or annotation (the json plus `annotation`: the read as a timeline for a dataset \u2014 speech with start\/end, timed frame descriptions, on-screen spans, chapters, key points with quotes). Use json in Coze and read raw_markdown.","enum":["json","markdown","annotation"]},"breakdown":{"type":"boolean","description":"Also take the post apart (\u7206\u6b3e\u62c6\u89e3), +1 credit."},"ask":{"type":"string","description":"A question to answer from the post (\"what products and prices does it recommend?\"), +1 credit. The answer comes with quotes checked against the post; found is false when the post does not address it.","maxLength":300},"insight":{"type":"boolean","description":"Consumer insight (\u6d88\u8d39\u8005\u6d1e\u5bdf): audience, claims, objections, purchase-intent cues, products\/prices, questions \u2014 each a quote checked against the post and its top comments. +1 credit."},"translate_to":{"type":"string","description":"Also translate, e.g. en or zh-CN, +1 credit.","pattern":"^[a-z]{2}(-[A-Z]{2})?$"},"max_credits":{"type":"integer","description":"Your own ceiling for this one link: over it, a link is refused for free (402). YouTube is the exception: its length is known only after the read, so it is read and billed at most this ceiling.","minimum":1},"partial_ok":{"type":"boolean","description":"Read the opening minutes the budget affords instead of refusing a long video; of an image post, its first images. Default true on the free plan (since 2026-11-07); false = whole or 402."},"depth":{"type":"string","description":"full (default) or transcript. transcript reads a long video transcript-first: the whole transcript plus about a frame a minute (one per chapter when it has chapters), 1 credit per started 2 minutes instead of 1 per minute, up to 120 minutes on a paid plan (60 free). YouTube read by Gemini has no transcript-only form: it is read and priced in full. script (\u6587\u6848 only) reads the speech and nothing else \u2014 no frames, no on-screen text \u2014 for 1 credit per started 2 minutes with no base credit, at the transcript-first length caps. With no depth, an `ask` for the words only (\u6587\u6848, \u53e3\u64ad, \u9010\u5b57\u7a3f, \"script\") is a script read.","enum":["full","transcript","script"]}},"required":["url"]}}}},"responses":{"200":{"description":"The digest.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Digest"}}}},"202":{"description":"Still working \u2014 poll get_digest with the jobId.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pending"}}}},"400":{"description":"The request was malformed (for example, not a link).","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"description":"Missing or revoked API key.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"Out of credits; the body carries pay links.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Wall"}}}},"413":{"description":"The upload is over the size limit (4.5 MB for a capture).","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"The link could not be read \u2014 removed, private or walled.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Too many requests, or the account's credits are held by reads still running; honour Retry-After. A read holds its own price once the link has been fetched (a few seconds; until then, the dearest read the plan allows), so reads run side by side while credits last. When held credits are the reason the body lists the reads under `running`, each with its poll URL. The same POST for a link this account is already reading joins that read and is never refused by it.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"503":{"description":"The platform itself is refusing automated reads right now (error_code platform_refused). Not billed. how_to_read_now says what to do \u2014 read a saved file, or the tab it plays in.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}}}},"\/api\/v1\/digest\/{jobId}":{"get":{"operationId":"get_digest","summary":"Collect a digest by job id","description":"Pass wait=20 to hold the request until the job finishes (at most 20 s), then call again if still 202.","parameters":[{"name":"jobId","in":"path","required":true,"description":"The jobId from digest_url.","schema":{"type":"string"}},{"name":"format","in":"query","required":false,"description":"json (default), markdown or annotation.","schema":{"type":"string","enum":["json","markdown","annotation"]}},{"name":"wait","in":"query","required":false,"description":"Seconds to wait for the job, 0-20.","schema":{"type":"integer","minimum":0,"maximum":20}}],"responses":{"200":{"description":"The digest.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Digest"}}}},"202":{"description":"Still working.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pending"}}}},"400":{"description":"The request was malformed (for example, not a link).","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"description":"Missing or revoked API key.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"Out of credits; the body carries pay links.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Wall"}}}},"413":{"description":"The upload is over the size limit (4.5 MB for a capture).","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"The link could not be read \u2014 removed, private or walled.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Too many requests, or the account's credits are held by reads still running; honour Retry-After. A read holds its own price once the link has been fetched (a few seconds; until then, the dearest read the plan allows), so reads run side by side while credits last. When held credits are the reason the body lists the reads under `running`, each with its poll URL. The same POST for a link this account is already reading joins that read and is never refused by it.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"503":{"description":"The platform itself is refusing automated reads right now (error_code platform_refused). Not billed. how_to_read_now says what to do \u2014 read a saved file, or the tab it plays in.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}}}},"\/api\/v1\/capture":{"post":{"operationId":"capture_video_file","summary":"Read a video file you already have: send its sound and a few frames, never the video","description":"For a video on your own machine \u2014 e.g. one saved from the Douyin app (\u5206\u4eab \u2192 \u4fdd\u5b58\u672c\u5730), whose links the platform refuses to our servers. Extract 16 kHz mono MP3 (at most 3 MB) and up to 40 JPEG frames (400 KB each, 4.5 MB in all), then send them as multipart form data. The video itself is never uploaded. The cheapest way is the CLI: `linkdigest capture <file> --url <link>` does the extraction and this call. Returns 202; poll get_capture. A capture is private to the account that sent it.","requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"type":"object","description":"The capture: its sound, its frames, and what it is.","properties":{"audio":{"type":"string","format":"binary","description":"The sound track: an MP3, or the extension's WebM. At most 3 MB."},"frames":{"type":"string","format":"binary","description":"One JPEG frame, repeated as a second, third \u2026 `frames` part. At most 40, 400 KB each."},"meta":{"type":"string","description":"JSON carried as one text part: {\"title\", \"description\", \"page_url\", \"duration_seconds\", \"frame_times\"}. duration_seconds is 3 to 620; page_url must be the page the video came from (http or https).","example":"{\"page_url\":\"https:\/\/www.douyin.com\/video\/1\",\"duration_seconds\":65,\"frame_times\":[4,12]}"}},"required":["audio","meta"]}}}},"responses":{"202":{"description":"Accepted; poll get_capture with the id.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CapturePending"}}}},"400":{"description":"The request was malformed (for example, not a link).","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"description":"Missing or revoked API key.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"Out of credits; the body carries pay links.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Wall"}}}},"413":{"description":"The upload is over the size limit (4.5 MB for a capture).","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Too many requests, or the account's credits are held by reads still running; honour Retry-After. A read holds its own price once the link has been fetched (a few seconds; until then, the dearest read the plan allows), so reads run side by side while credits last. When held credits are the reason the body lists the reads under `running`, each with its poll URL. The same POST for a link this account is already reading joins that read and is never refused by it.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}}}},"\/api\/v1\/capture\/{id}":{"get":{"operationId":"get_capture","summary":"Collect a capture by id","description":"202 while it reads (stage, retryAfter); 200 with the digest when done. Only the account that sent it can collect it.","parameters":[{"name":"id","in":"path","required":true,"description":"The id from capture_video_file.","schema":{"type":"string"}},{"name":"format","in":"query","required":false,"description":"annotation adds `annotation` (the read as a timeline) to the done answer.","schema":{"type":"string","enum":["annotation"]}}],"responses":{"200":{"description":"The digest.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CaptureResult"}}}},"202":{"description":"Still reading.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CaptureResult"}}}},"401":{"description":"Missing or revoked API key.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"description":"No such capture for this account.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}}}},"\/api\/v1\/digest\/batch":{"post":{"operationId":"digest_batch","summary":"Read up to 200 links at once","requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","description":"The links to read.","properties":{"urls":{"type":"array","items":{"type":"string","description":"A post link."},"description":"The links: up to 10 on the free plan, 50 on Dev, 200 on Studio."},"synthesis":{"type":"boolean","description":"Also write one comparison over everything the batch read (\u6279\u91cf\u7efc\u5408): shared themes, hooks, formats, claims, objections, gaps, every example cited by note and checked. 1 credit per started 10 notes, once per batch; returned as the batch's synthesis."},"draft":{"type":"boolean","description":"Also write ONE post from the batch after the comparison (\u6210\u7a3f): three titles, a body, hashtags and cover text, in the shape of platform, in the creator's voice when voice is given. Every figure in it occurs in the notes or its sentence is cut; a draft that fails that check twice falls back to the notes' own titles and key points (draft.made_by = \"fallback\"). +1 credit, once per batch; implies synthesis. Returned as the batch's draft (null while it runs)."},"platform":{"type":"string","description":"The draft's shape: xiaohongshu (\u56fe\u6587\u7b14\u8bb0, default), douyin (\u53e3\u64ad\u7a3f) or en (an English post).","enum":["xiaohongshu","douyin","en"]},"voice":{"type":"string","description":"A sample of the creator's own writing (a note or two); the draft matches its tone. At most 1500 characters.","maxLength":1500},"breakdown":{"type":"boolean","description":"Take every post apart, +1 credit each."},"translate_to":{"type":"string","description":"Translate every digest, e.g. en.","pattern":"^[a-z]{2}(-[A-Z]{2})?$"},"webhook_url":{"type":"string","description":"A public https URL to POST the finished batch to (signed)."},"partial_ok":{"type":"boolean","description":"Read long videos to budget instead of failing them. Default true on the free plan (since 2026-11-30); false = whole or refused."},"ask":{"type":"string","description":"Ask every post the same question, +1 credit each.","maxLength":300},"insight":{"type":"boolean","description":"Draw the consumer insight (\u6d88\u8d39\u8005\u6d1e\u5bdf) of every post, +1 credit each."},"depth":{"type":"string","description":"full (default), transcript (every video transcript-first) or script (the speech only).","enum":["full","transcript","script"]},"label":{"type":"string","description":"A name for the batch in list_batches \u2014 a search query, a page title. Up to 80 characters; longer is cut.","maxLength":80}},"required":["urls"]}}}},"responses":{"200":{"description":"Every link was already cached.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Batch"}}}},"202":{"description":"Started; poll get_batch.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Batch"}}}},"400":{"description":"The request was malformed (for example, not a link).","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"description":"Missing or revoked API key.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"Out of credits; the body carries pay links.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Wall"}}}},"413":{"description":"The upload is over the size limit (4.5 MB for a capture).","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"The link could not be read \u2014 removed, private or walled.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Too many requests, or the account's credits are held by reads still running; honour Retry-After. A read holds its own price once the link has been fetched (a few seconds; until then, the dearest read the plan allows), so reads run side by side while credits last. When held credits are the reason the body lists the reads under `running`, each with its poll URL. The same POST for a link this account is already reading joins that read and is never refused by it.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"503":{"description":"The platform itself is refusing automated reads right now (error_code platform_refused). Not billed. how_to_read_now says what to do \u2014 read a saved file, or the tab it plays in.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}}}},"\/api\/v1\/digest\/batch\/{batchId}":{"get":{"operationId":"get_batch","summary":"A batch's progress and results","parameters":[{"name":"batchId","in":"path","required":true,"description":"The batch_id from digest_batch.","schema":{"type":"string"}},{"name":"include","in":"query","required":false,"description":"digests to include every finished digest.","schema":{"type":"string","enum":["digests"]}},{"name":"format","in":"query","required":false,"description":"jsonl answers JSON Lines (application\/x-ndjson) instead: one Annotation per finished link, with its n and source_url; 202 while the batch runs.","schema":{"type":"string","enum":["jsonl"]}}],"responses":{"200":{"description":"The batch.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Batch"}}}},"400":{"description":"The request was malformed (for example, not a link).","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"description":"Missing or revoked API key.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"Out of credits; the body carries pay links.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Wall"}}}},"413":{"description":"The upload is over the size limit (4.5 MB for a capture).","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"The link could not be read \u2014 removed, private or walled.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Too many requests, or the account's credits are held by reads still running; honour Retry-After. A read holds its own price once the link has been fetched (a few seconds; until then, the dearest read the plan allows), so reads run side by side while credits last. When held credits are the reason the body lists the reads under `running`, each with its poll URL. The same POST for a link this account is already reading joins that read and is never refused by it.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"503":{"description":"The platform itself is refusing automated reads right now (error_code platform_refused). Not billed. how_to_read_now says what to do \u2014 read a saved file, or the tab it plays in.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}}}},"\/api\/v1\/digest\/batches":{"get":{"operationId":"list_batches","summary":"This account's last batches, newest first","description":"The join between the browser extension and the API: its \u201cDigest the notes on this page\u201d button starts a batch from the user's own tab, and this lists it so the newest batch_id can go to get_batch or a comparison. Starts nothing, costs nothing.","parameters":[{"name":"limit","in":"query","required":false,"description":"How many, 1 to 10 (default 10).","schema":{"type":"integer","minimum":1,"maximum":10}},{"name":"label","in":"query","required":false,"description":"Only batches with this name: the query of a Xiaohongshu search handed to the user's own browser (own_browser_url).","schema":{"type":"string","maxLength":80}}],"responses":{"200":{"description":"The last batches.","content":{"application\/json":{"schema":{"type":"object","description":"The listing.","properties":{"batches":{"type":"array","items":{"$ref":"#\/components\/schemas\/BatchListEntry"},"description":"Newest first."}}}}}},"401":{"description":"Missing or revoked API key.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}}}},"\/api\/v1\/search":{"post":{"operationId":"search_links","summary":"Find posts on a topic (Xiaohongshu, Douyin, YouTube, X, the web) \u2014 free","description":"A web search API (through OpenRouter's search engines, with Linkup asked first on xiaohongshu; Google or Brave optional) scoped to the platform, filtered to links digest_url can read. A search that finds posts costs 4 credits on douyin and xiaohongshu and 1 elsewhere; nothing found is free; 402 when the balance is short. Searching is metered by credits, not by an hourly count. digest: true also starts a batch over the results with synthesis (a result that will not read is skipped free and replaced by the next one found; the batch's ranked lists the posts hottest first; draft: true also writes one post from them, +1 credit), labelled with the query, billed as a batch is. xiaohongshu returns the notes the web has indexed, read from their public pages with no login or session; the extension covers the user's own feed. douyin returns the video pages the web has indexed (since 2026-10-21), each read through Douyin's own embed player like a pasted link.","requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","description":"What to search for.","properties":{"query":{"type":"string","description":"The topic, in any language.","maxLength":200},"platform":{"type":"string","description":"Where to look: xiaohongshu, douyin, youtube, x, web.","enum":["xiaohongshu","douyin","youtube","x","web"]},"limit":{"type":"integer","description":"How many links, 1 to 10 (default 5).","minimum":1,"maximum":10},"digest":{"type":"boolean","description":"Also read the results as one batch with synthesis (\u6279\u91cf\u7efc\u5408) and return its batch_id."},"insight":{"type":"boolean","description":"With digest: draw every post's consumer insight, +1 credit a link."},"breakdown":{"type":"boolean","description":"With digest: take every post apart, +1 credit a link."}},"required":["query","platform"]}}}},"responses":{"200":{"description":"The links.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Search"}}}},"202":{"description":"The links, and the batch started over them (batch_id, batch).","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Search"}}}},"400":{"description":"Malformed, or a session-only platform (error_code session_only, extension_url).","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"description":"Missing or revoked API key.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Too many searches; honour Retry-After.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"503":{"description":"Search is not configured on this server (error_code search_unavailable).","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}}}}},"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Your API key (ld_live_\u2026) from https:\/\/linkdigest.dev\/signin?ref=openapi&next=\/app\/keys."}},"schemas":{"Radar":{"type":"object","description":"A Pain-Point Radar run (\u75db\u70b9\u96f7\u8fbe).","properties":{"radar_id":{"type":"string","description":"The run's id."},"topic":{"type":"string","description":"The topic."},"market":{"type":"string","description":"cn or global."},"size":{"type":"string","description":"quick, standard or deep."},"language":{"type":"string","description":"The report's language."},"status":{"type":"string","description":"searching, reading, aggregating, done or failed."},"created_at":{"type":"string","description":"When it started (ISO 8601)."},"credits_total":{"type":"integer","description":"Credits charged: the searches, the reads with insight and the aggregation."},"estimate":{"type":"integer","description":"The estimate given before the run."},"posts_read":{"type":"integer","description":"Posts read and aggregated."},"batch_id":{"type":"string","description":"The batch that read the posts (GET \/api\/v1\/digest\/batch\/{id}).","nullable":true},"weekly":{"type":"boolean","description":"Re-runs every week."},"radar":{"type":"object","description":"The radar, when done.","properties":{"summary":{"type":"string","description":"One paragraph."},"posts":{"type":"integer","description":"Posts aggregated."},"sections":{"type":"object","description":"The clusters, most-mentioned first.","properties":{"pain":{"type":"array","items":{"type":"object","description":"One cluster of findings.","properties":{"label":{"type":"string","description":"The cluster, in the report's language."},"count_posts":{"type":"integer","description":"How many of the posts read it came from \u2014 counted by code, not by the model."},"count_comments":{"type":"integer","description":"How many of the top comments read fall in it."},"share":{"type":"number","description":"count_posts \/ posts read, 0\u20131."},"heat":{"type":"integer","description":"Summed engagement of those posts (likes + 2 \u00d7 saves + comments)."},"quotes":{"type":"array","items":{"type":"object","description":"A quote.","properties":{"text":{"type":"string","description":"Verbatim from the post or one of its comments."},"gloss":{"type":"string","description":"A translation into the report's language when the quote is in another one; else empty."},"note":{"type":"integer","description":"Which post (1-based, in notes[])."},"kind":{"type":"string","description":"caption, transcript, on_screen, image or comment."},"verified":{"type":"boolean","description":"The engine found it word for word."}}},"description":"The quotes behind it."},"terms":{"type":"array","items":{"type":"string","description":"A search suggestion or question."},"description":"For demand points the suggestions behind it; for gaps what is left unanswered."}}},"description":"\u75db\u70b9: complaints, failures, regrets."},"needs":{"type":"array","items":{"type":"object","description":"One cluster of findings.","properties":{"label":{"type":"string","description":"The cluster, in the report's language."},"count_posts":{"type":"integer","description":"How many of the posts read it came from \u2014 counted by code, not by the model."},"count_comments":{"type":"integer","description":"How many of the top comments read fall in it."},"share":{"type":"number","description":"count_posts \/ posts read, 0\u20131."},"heat":{"type":"integer","description":"Summed engagement of those posts (likes + 2 \u00d7 saves + comments)."},"quotes":{"type":"array","items":{"type":"object","description":"A quote.","properties":{"text":{"type":"string","description":"Verbatim from the post or one of its comments."},"gloss":{"type":"string","description":"A translation into the report's language when the quote is in another one; else empty."},"note":{"type":"integer","description":"Which post (1-based, in notes[])."},"kind":{"type":"string","description":"caption, transcript, on_screen, image or comment."},"verified":{"type":"boolean","description":"The engine found it word for word."}}},"description":"The quotes behind it."},"terms":{"type":"array","items":{"type":"string","description":"A search suggestion or question."},"description":"For demand points the suggestions behind it; for gaps what is left unanswered."}}},"description":"\u9700\u6c42\u4e0e\u5356\u70b9: what buyers look for, and what the posts praise."},"blockers":{"type":"array","items":{"type":"object","description":"One cluster of findings.","properties":{"label":{"type":"string","description":"The cluster, in the report's language."},"count_posts":{"type":"integer","description":"How many of the posts read it came from \u2014 counted by code, not by the model."},"count_comments":{"type":"integer","description":"How many of the top comments read fall in it."},"share":{"type":"number","description":"count_posts \/ posts read, 0\u20131."},"heat":{"type":"integer","description":"Summed engagement of those posts (likes + 2 \u00d7 saves + comments)."},"quotes":{"type":"array","items":{"type":"object","description":"A quote.","properties":{"text":{"type":"string","description":"Verbatim from the post or one of its comments."},"gloss":{"type":"string","description":"A translation into the report's language when the quote is in another one; else empty."},"note":{"type":"integer","description":"Which post (1-based, in notes[])."},"kind":{"type":"string","description":"caption, transcript, on_screen, image or comment."},"verified":{"type":"boolean","description":"The engine found it word for word."}}},"description":"The quotes behind it."},"terms":{"type":"array","items":{"type":"string","description":"A search suggestion or question."},"description":"For demand points the suggestions behind it; for gaps what is left unanswered."}}},"description":"\u8d2d\u4e70\u987e\u8651: what stops a purchase."},"products":{"type":"array","items":{"type":"object","description":"One cluster of findings.","properties":{"label":{"type":"string","description":"The cluster, in the report's language."},"count_posts":{"type":"integer","description":"How many of the posts read it came from \u2014 counted by code, not by the model."},"count_comments":{"type":"integer","description":"How many of the top comments read fall in it."},"share":{"type":"number","description":"count_posts \/ posts read, 0\u20131."},"heat":{"type":"integer","description":"Summed engagement of those posts (likes + 2 \u00d7 saves + comments)."},"quotes":{"type":"array","items":{"type":"object","description":"A quote.","properties":{"text":{"type":"string","description":"Verbatim from the post or one of its comments."},"gloss":{"type":"string","description":"A translation into the report's language when the quote is in another one; else empty."},"note":{"type":"integer","description":"Which post (1-based, in notes[])."},"kind":{"type":"string","description":"caption, transcript, on_screen, image or comment."},"verified":{"type":"boolean","description":"The engine found it word for word."}}},"description":"The quotes behind it."},"terms":{"type":"array","items":{"type":"string","description":"A search suggestion or question."},"description":"For demand points the suggestions behind it; for gaps what is left unanswered."}}},"description":"\u88ab\u70b9\u540d\u7684\u4ea7\u54c1\u4e0e\u4ef7\u683c\u5e26."},"open_questions":{"type":"array","items":{"type":"object","description":"One cluster of findings.","properties":{"label":{"type":"string","description":"The cluster, in the report's language."},"count_posts":{"type":"integer","description":"How many of the posts read it came from \u2014 counted by code, not by the model."},"count_comments":{"type":"integer","description":"How many of the top comments read fall in it."},"share":{"type":"number","description":"count_posts \/ posts read, 0\u20131."},"heat":{"type":"integer","description":"Summed engagement of those posts (likes + 2 \u00d7 saves + comments)."},"quotes":{"type":"array","items":{"type":"object","description":"A quote.","properties":{"text":{"type":"string","description":"Verbatim from the post or one of its comments."},"gloss":{"type":"string","description":"A translation into the report's language when the quote is in another one; else empty."},"note":{"type":"integer","description":"Which post (1-based, in notes[])."},"kind":{"type":"string","description":"caption, transcript, on_screen, image or comment."},"verified":{"type":"boolean","description":"The engine found it word for word."}}},"description":"The quotes behind it."},"terms":{"type":"array","items":{"type":"string","description":"A search suggestion or question."},"description":"For demand points the suggestions behind it; for gaps what is left unanswered."}}},"description":"Reader questions no post answers."},"demand":{"type":"array","items":{"type":"object","description":"One cluster of findings.","properties":{"label":{"type":"string","description":"The cluster, in the report's language."},"count_posts":{"type":"integer","description":"How many of the posts read it came from \u2014 counted by code, not by the model."},"count_comments":{"type":"integer","description":"How many of the top comments read fall in it."},"share":{"type":"number","description":"count_posts \/ posts read, 0\u20131."},"heat":{"type":"integer","description":"Summed engagement of those posts (likes + 2 \u00d7 saves + comments)."},"quotes":{"type":"array","items":{"type":"object","description":"A quote.","properties":{"text":{"type":"string","description":"Verbatim from the post or one of its comments."},"gloss":{"type":"string","description":"A translation into the report's language when the quote is in another one; else empty."},"note":{"type":"integer","description":"Which post (1-based, in notes[])."},"kind":{"type":"string","description":"caption, transcript, on_screen, image or comment."},"verified":{"type":"boolean","description":"The engine found it word for word."}}},"description":"The quotes behind it."},"terms":{"type":"array","items":{"type":"string","description":"A search suggestion or question."},"description":"For demand points the suggestions behind it; for gaps what is left unanswered."}}},"description":"\u641c\u7d22\u9700\u6c42: the search suggestions, grouped by need."},"gaps":{"type":"array","items":{"type":"object","description":"One cluster of findings.","properties":{"label":{"type":"string","description":"The cluster, in the report's language."},"count_posts":{"type":"integer","description":"How many of the posts read it came from \u2014 counted by code, not by the model."},"count_comments":{"type":"integer","description":"How many of the top comments read fall in it."},"share":{"type":"number","description":"count_posts \/ posts read, 0\u20131."},"heat":{"type":"integer","description":"Summed engagement of those posts (likes + 2 \u00d7 saves + comments)."},"quotes":{"type":"array","items":{"type":"object","description":"A quote.","properties":{"text":{"type":"string","description":"Verbatim from the post or one of its comments."},"gloss":{"type":"string","description":"A translation into the report's language when the quote is in another one; else empty."},"note":{"type":"integer","description":"Which post (1-based, in notes[])."},"kind":{"type":"string","description":"caption, transcript, on_screen, image or comment."},"verified":{"type":"boolean","description":"The engine found it word for word."}}},"description":"The quotes behind it."},"terms":{"type":"array","items":{"type":"string","description":"A search suggestion or question."},"description":"For demand points the suggestions behind it; for gaps what is left unanswered."}}},"description":"\u673a\u4f1a: demand or questions no post cluster covers."}}},"missing":{"type":"array","items":{"type":"string","description":"A limit."},"description":"What could not be read or supported."},"raw_markdown":{"type":"string","description":"The report as Markdown."}},"nullable":true},"diff":{"type":"object","description":"What changed since the previous run of the same topic.","properties":{"since":{"type":"string","description":"The previous run's date, or null for a first run.","nullable":true},"new_points":{"type":"array","items":{"type":"string","description":"A label."},"description":"Pain points and needs new this run."},"rising":{"type":"array","items":{"type":"object","description":"A rise of 0.15 or more.","properties":{"label":{"type":"string","description":"A label."},"from":{"type":"number","description":"Share before."},"to":{"type":"number","description":"Share now."}}},"description":"Rising."},"faded":{"type":"array","items":{"type":"string","description":"A label."},"description":"Gone since the last run."},"new_terms":{"type":"array","items":{"type":"string","description":"A suggestion."},"description":"Search suggestions new since the last run."},"recent_share":{"type":"number","description":"Share of the posts read that went up in the last 30 days."}},"nullable":true},"notes":{"type":"array","items":{"type":"object","description":"A post read.","properties":{"n":{"type":"integer","description":"1-based."},"title":{"type":"string","description":"The post's title."},"url":{"type":"string","description":"The post."},"platform":{"type":"string","description":"Its platform."},"heat":{"type":"integer","description":"Its engagement."}}},"description":"The posts read, hottest first."},"share_url":{"type":"string","description":"A public link to the report, valid 30 days, once done.","nullable":true},"error":{"type":"string","description":"Why it failed.","nullable":true},"poll":{"type":"string","description":"This run's URL."}}},"Pulse":{"type":"object","description":"A Topic Pulse run (\u8fd1\u671f\u70ed\u8bae).","properties":{"pulse_id":{"type":"string","description":"The run's id."},"status":{"type":"string","description":"searching \u2192 reading \u2192 aggregating \u2192 done, or failed.","enum":["searching","reading","aggregating","done","failed"]},"topic":{"type":"string","description":"The topic."},"days":{"type":"integer","description":"The window, in days."},"window":{"type":"object","description":"The window, both days inclusive, fixed when the run started.","properties":{"from":{"type":"string","description":"YYYY-MM-DD (UTC)."},"to":{"type":"string","description":"YYYY-MM-DD (UTC)."}}},"sources":{"type":"array","items":{"type":"string","description":"A source."},"description":"The sources asked."},"size":{"type":"string","description":"quick, standard or deep."},"language":{"type":"string","description":"The brief's language."},"created_at":{"type":"string","description":"ISO time."},"updated_at":{"type":"string","description":"ISO time."},"estimate":{"type":"integer","description":"What the run was expected to cost, said before it ran."},"credits_total":{"type":"integer","description":"What it has cost: the searches once they answered; the reads and the brief are added when the run ends."},"posts_read":{"type":"integer","description":"Posts read in full."},"coverage":{"type":"array","items":{"type":"object","description":"What one source returned.","properties":{"source":{"type":"string","description":"xiaohongshu, douyin or hackernews."},"state":{"type":"string","description":"ok, no_results, failed, rate_limited or not_asked. A failed source is not evidence of no discussion.","enum":["ok","no_results","failed","rate_limited","not_asked"]},"found":{"type":"integer","description":"Results the search or listing returned."},"in_window":{"type":"integer","description":"Of those, dated inside the window."},"read":{"type":"integer","description":"Posts read in full, or items listed with their counts."},"note":{"type":"string","description":"One plain sentence when the state is not ok."}}},"description":"Per source: what it returned."},"pulse":{"type":"object","description":"The brief, when done.","properties":{"items":{"type":"integer","description":"In-window evidence items the brief was written from."},"verdict":{"type":"string","description":"ok, or thin (few items, or nearly all from one source).","enum":["ok","thin"]},"summary":{"type":"string","description":"What people said about the topic in the window."},"themes":{"type":"array","items":{"type":"object","description":"One point of the brief.","properties":{"title":{"type":"string","description":"The point."},"text":{"type":"string","description":"One or two sentences."},"count":{"type":"integer","description":"Distinct items that show it, counted by code from checked quotes."},"sources":{"type":"array","items":{"type":"string","description":"A source."},"description":"Where those items come from."},"quotes":{"type":"array","items":{"type":"object","description":"Evidence.","properties":{"ref":{"type":"integer","description":"The item's number in `ranked`."},"quote":{"type":"string","description":"Its own words."},"verified":{"type":"boolean","description":"Found in that item's text by code."}}},"description":"The quotes behind the point."}}},"description":"The points, most-shown first."},"ranked":{"type":"array","items":{"type":"object","description":"One evidence item.","properties":{"ref":{"type":"integer","description":"The item's number everywhere in the report."},"source":{"type":"string","description":"Its source."},"title":{"type":"string","description":"Its title."},"url":{"type":"string","description":"The post or page."},"discussion_url":{"type":"string","description":"Listed items: the discussion page."},"author":{"type":"string","description":"Its author."},"posted_at":{"type":"string","description":"YYYY-MM-DD, or empty."},"in_window":{"type":"boolean","description":"true inside the window, false outside, null with no date.","nullable":true},"engagement":{"type":"object","description":"Raw native counts that are known (likes, comments, collects, shares, points).","properties":{},"additionalProperties":{"type":"number"}},"engagement_score":{"type":"number","description":"0-100 on a fixed log scale per source; null when no count is known.","nullable":true},"freshness":{"type":"number","description":"0-100: 100 on the window's last day."},"relevance":{"type":"number","description":"0-1: how much of the topic the item's own words carry."},"score":{"type":"number","description":"0-100, the order of the list."},"also":{"type":"array","items":{"type":"integer","description":"A ref."},"description":"Other items telling the same story, merged under this one."}}},"description":"Every item, ranked by code."},"coverage":{"type":"array","items":{"type":"object","description":"What one source returned.","properties":{"source":{"type":"string","description":"xiaohongshu, douyin or hackernews."},"state":{"type":"string","description":"ok, no_results, failed, rate_limited or not_asked. A failed source is not evidence of no discussion.","enum":["ok","no_results","failed","rate_limited","not_asked"]},"found":{"type":"integer","description":"Results the search or listing returned."},"in_window":{"type":"integer","description":"Of those, dated inside the window."},"read":{"type":"integer","description":"Posts read in full, or items listed with their counts."},"note":{"type":"string","description":"One plain sentence when the state is not ok."}}},"description":"Per source."},"warnings":{"type":"array","items":{"type":"string","description":"A sentence."},"description":"Thin evidence, a failed source, one source holding most of it."},"missing":{"type":"array","items":{"type":"string","description":"A sentence."},"description":"What could not be judged."},"markdown":{"type":"string","description":"The same report as Markdown."}},"nullable":true},"error":{"type":"string","description":"Why it failed, and what was and was not charged.","nullable":true},"error_code":{"type":"string","description":"credits_short, nothing_found, too_few_items, batch_failed, brief_failed or stale.","nullable":true},"poll":{"type":"string","description":"This run's URL."},"share_url":{"type":"string","description":"A public link to the report, valid 30 days, once done.","nullable":true}}},"Digest":{"type":"object","description":"A post as LLM-ready text. chapters, chapter_source, category, music, image_count, images_read, coverage and key_point_support (added 2026-10-05) may be absent from links cached before then, as may links (added the same day).","properties":{"platform":{"type":"string","description":"xiaohongshu, douyin, tiktok, youtube, x or web."},"author":{"type":"string","description":"The author's display name."},"title":{"type":"string","description":"The post's title. On Douyin its own title (item_title) when it has one, else the caption's first 120 characters; on YouTube the watch page's title when the page can be read, else Gemini's reading of the video."},"posted_at":{"type":"string","description":"When it was posted (YYYY-MM-DD), when known."},"caption":{"type":"string","description":"The post's own text."},"transcript":{"type":"array","items":{"type":"object","description":"One transcript segment.","properties":{"t":{"type":"number","description":"Start time in seconds."},"text":{"type":"string","description":"What was said."},"approx":{"type":"boolean","description":"True when t was estimated from the sentence's place inside a longer recogniser chunk."}}},"description":"What is said in the video, with times. Empty for image notes."},"transcript_source":{"type":"string","description":"native_captions, asr or none."},"ocr_text":{"type":"array","items":{"type":"string","description":"A piece of on-screen text."},"description":"Every distinct piece of text read from the images or frames."},"on_screen":{"type":"array","items":{"type":"object","description":"Text on screen at a time.","properties":{"t":{"type":"number","description":"Approximate time in seconds."},"text":{"type":"string","description":"The text on screen."}}},"description":"Video only: on-screen text with roughly when it appeared. Text shown for most of the video is in on_screen_persistent instead, once."},"on_screen_persistent":{"type":"array","items":{"type":"string","description":"A line of text shown for most of the video."},"description":"Video only: the title card, watermark or slogan that stayed on screen, taken out of each on_screen entry."},"frames":{"type":"array","items":{"type":"object","description":"One sampled frame.","properties":{"t":{"type":"number","description":"Seconds into the video the frame was taken."},"description":{"type":"string","description":"What the frame shows, in a few words."},"ocr":{"type":"string","description":"The text in that frame, verbatim."}}},"description":"Video only (2026-11-07; absent on links cached before then): every sampled frame with its time, a short description and its text."},"annotation":{"$ref":"#\/components\/schemas\/Annotation"},"images":{"type":"array","items":{"type":"object","description":"One post image.","properties":{"description":{"type":"string","description":"What the image shows."},"ocr":{"type":"string","description":"The text inside it, verbatim."}}},"description":"Each post image described and read (image notes)."},"key_points":{"type":"array","items":{"type":"string","description":"A takeaway."},"description":"The substantive takeaways, in the post's language."},"key_point_support":{"type":"array","items":{"type":"object","description":"The words behind one key point.","properties":{"point_index":{"type":"integer","description":"0-based index into key_points."},"kind":{"type":"string","description":"Where the quote was found: transcript, on_screen, image, caption or chapter.","enum":["transcript","on_screen","image","caption","chapter"]},"t":{"type":"number","description":"Seconds into the video where the quote is (transcript, on-screen text, chapter).","nullable":true},"image_index":{"type":"integer","description":"0-based index into images, when the quote is in one image.","nullable":true},"quote":{"type":"string","description":"A short phrase, verbatim from the post."},"verified":{"type":"boolean","description":"True when the engine found the quote word for word in the post; false rows are kept."},"approx":{"type":"boolean","description":"True when t is an estimate: a sentence placed inside a recogniser chunk, or a sampled frame's time."}}},"description":"One quote per key point the model could quote, checked against the post by code. A point with no verified row has no evidence in the post's own words."},"stats":{"type":"object","description":"Engagement counts as the platform reported them at fetch time.","properties":{"likes":{"type":"integer","description":"Likes (\u70b9\u8d5e) the platform showed when the post was read.","nullable":true},"comments":{"type":"integer","description":"Comments (\u8bc4\u8bba).","nullable":true},"shares":{"type":"integer","description":"Shares (\u5206\u4eab).","nullable":true},"collects":{"type":"integer","description":"Saves (\u6536\u85cf).","nullable":true},"plays":{"type":"integer","description":"Plays (\u64ad\u653e), when the platform reports them: Bilibili, Weibo, podcasts. Douyin and Xiaohongshu do not show a play count to a signed-out visitor.","nullable":true},"coins":{"type":"integer","description":"Bilibili only: coins (\u6295\u5e01).","nullable":true},"danmaku":{"type":"integer","description":"Bilibili only: how many bullet comments (\u5f39\u5e55) the video has.","nullable":true},"as_of":{"type":"string","description":"The day the counts were read (YYYY-MM-DD) \u2014 a snapshot, not a live figure."}},"nullable":true},"tags":{"type":"array","items":{"type":"string","description":"A hashtag, without #."},"description":"The post's hashtags."},"comments":{"type":"array","items":{"type":"object","description":"One comment from the post's share page.","properties":{"text":{"type":"string","description":"The comment, verbatim."},"likes":{"type":"number","description":"Likes on the comment, or null."},"replies":{"type":"number","description":"Replies under it, or null."},"posted_at":{"type":"string","description":"YYYY-MM-DD, or empty."},"reply_texts":{"type":"array","items":{"type":"string","description":"A reply, verbatim."},"description":"The first replies under it, text only."}}},"description":"The first comments the post's public share page served with it (Xiaohongshu: the top few), read with no second request and no login. Never the whole thread; coverage says how many of the post's comments these are. Empty on other platforms and on links cached before 2026-10-17."},"chapters":{"type":"array","items":{"type":"object","description":"One chapter.","properties":{"t":{"type":"number","description":"When the chapter starts, in seconds."},"title":{"type":"string","description":"The chapter's title, as marked."},"summary":{"type":"string","description":"Douyin's one-line summary of a chapter it generated, or empty."}}},"description":"Chapters marked on the video by its author or the platform \u2014 never inferred. On a partial read, only those in the part read. Empty when the video has none."},"chapter_source":{"type":"string","description":"Who marked the chapters: \"author\", \"platform\" (generated by Douyin), or empty."},"outline":{"type":"array","items":{"type":"object","description":"One section.","properties":{"start":{"type":"number","description":"Where the section starts, in seconds: a transcript line's own time."},"end":{"type":"number","description":"Where it ends: the next section's start, the last one the end of what was read."},"title":{"type":"string","description":"What the section is about."},"summary":{"type":"array","items":{"type":"string","description":"One line."},"description":"One to three lines saying what is said in the section."},"quote":{"type":"string","description":"A phrase from the section's own lines, kept only when it was found there word for word; else empty."},"generated":{"type":"string","description":"\"model\" (the model's plan, checked by code) or \"fallback\" (equal stretches titled by their opening words)."}}},"description":"A timed outline of a long video: for a transcript of 8 minutes or more on a video with no marked chapters, 5 to 20 sections in order that cover everything read. Included in the read, no extra credit. Empty on shorter videos, on videos that have chapters, and on links cached before 2026-11-10."},"parts":{"type":"object","description":"A multi-part Bilibili video's own parts (\u5206P). Null for a single video and on links cached before 2026-11-10. Each part is its own read: send the same link with ?p=<number>, one by one or as a batch.","properties":{"count":{"type":"integer","description":"How many parts the video has."},"current":{"type":"integer","description":"The part this digest is (the link's ?p=, 1 when it names none)."},"items":{"type":"array","items":{"type":"object","description":"One part.","properties":{"p":{"type":"integer","description":"The part number: read it with ?p=<number> on the same link."},"title":{"type":"string","description":"The part's own title."},"seconds":{"type":"number","description":"Its length in seconds."}}},"description":"The parts in order, at most 200."}},"nullable":true},"category":{"type":"array","items":{"type":"string","description":"One level, broadest first."},"description":"The platform's own category for the post, e.g. \u8d22\u7ecf \u203a \u6295\u8d44\u7406\u8d22 \u203a \u80a1\u7968 on Douyin, Education on YouTube."},"music":{"type":"string","description":"The soundtrack (title \u2014 artist) when it is not the poster's own voice; else empty."},"links":{"type":"array","items":{"type":"object","description":"A link the post points to. Nothing behind it was read.","properties":{"url":{"type":"string","description":"The address as found, scheme and host lower-cased. wxp:\/\/, alipays:\/\/ and other app links are kept."},"found_in":{"type":"string","description":"Where it was found: caption, description (YouTube), wechat_read_more (a WeChat article's \u9605\u8bfb\u539f\u6587), qr_code (decoded from an image or frame the read downloaded), on_screen (a well-formed URL in the on-screen or image text) or chapter.","enum":["caption","description","wechat_read_more","qr_code","on_screen","chapter"]},"label":{"type":"string","description":"What it is when known (\"WeChat Pay\", \"QQ group\", \"\u9605\u8bfb\u539f\u6587\"), else the words before it in the post, or empty."},"kind":{"type":"string","description":"What opening it would do: web, payment (a WeChat Pay, Alipay or other payment code), group_invite (joins a WeChat, QQ, Telegram\u2026 group), app_deeplink (opens an app) or other (a contact card, an account to follow).","enum":["web","payment","group_invite","app_deeplink","other"]}}},"description":"The links the post points to \u2014 in its caption or description, WeChat's \u9605\u8bfb\u539f\u6587, QR codes in its images or frames, on-screen text and chapters \u2014 deduplicated, at most 20, and never opened: a link worth reading is a separate digest. Payment codes and group invites are labelled by kind."},"breakdown":{"type":"object","description":"\u7206\u6b3e\u62c6\u89e3 \u2014 how the post is built. Present only when breakdown=true (+1 credit). Quotes are checked against the post; engagement and tags come from the platform, never the model.","properties":{"language":{"type":"string","description":"The language the analysis is written in, e.g. zh-CN or en."},"format":{"type":"string","description":"The kind of post, e.g. \u53e3\u64ad talking head, \u56fe\u6587\u7b14\u8bb0 image note, \u6559\u7a0b tutorial."},"hook":{"type":"object","description":"How the post holds people in its first seconds (first image for an image note).","properties":{"spoken":{"type":"string","description":"The opening words, verbatim from the transcript, or empty."},"on_screen":{"type":"string","description":"The opening on-screen or cover text, verbatim, or empty."},"visual":{"type":"string","description":"What is shown at the start."},"why":{"type":"string","description":"Why the opening holds attention."}}},"beats":{"type":"array","items":{"type":"object","description":"One step of the post's structure.","properties":{"t":{"type":"number","description":"Start time in seconds, approximate to a keyframe (video).","nullable":true},"image":{"type":"integer","description":"1-based image number (image notes).","nullable":true},"label":{"type":"string","description":"The step, e.g. \u75db\u70b9 pain point, \u65b9\u6cd5 method, \u884c\u52a8\u53f7\u53ec call to action."},"summary":{"type":"string","description":"What happens in this step."},"quote":{"type":"string","description":"A short line copied verbatim from the post, or empty."}}},"description":"The structure, 3 to 10 steps in order."},"title_formula":{"type":"string","description":"The pattern behind the title, e.g. \u6570\u5b57 + \u7ed3\u679c + \u4eba\u7fa4."},"cover_text":{"type":"string","description":"Cover or first-frame text, verbatim, or empty."},"cta":{"type":"string","description":"The call to action, verbatim, or empty."},"audience":{"type":"string","description":"Who the post is made for."},"tags":{"type":"array","items":{"type":"string","description":"A hashtag, without #."},"description":"The post's own hashtags, from the platform."},"engagement":{"type":"object","description":"Engagement counts as the platform reported them at fetch time.","properties":{"likes":{"type":"integer","description":"Likes (\u70b9\u8d5e) the platform showed when the post was read.","nullable":true},"comments":{"type":"integer","description":"Comments (\u8bc4\u8bba).","nullable":true},"shares":{"type":"integer","description":"Shares (\u5206\u4eab).","nullable":true},"collects":{"type":"integer","description":"Saves (\u6536\u85cf).","nullable":true},"plays":{"type":"integer","description":"Plays (\u64ad\u653e), when the platform reports them: Bilibili, Weibo, podcasts. Douyin and Xiaohongshu do not show a play count to a signed-out visitor.","nullable":true},"coins":{"type":"integer","description":"Bilibili only: coins (\u6295\u5e01).","nullable":true},"danmaku":{"type":"integer","description":"Bilibili only: how many bullet comments (\u5f39\u5e55) the video has.","nullable":true},"as_of":{"type":"string","description":"The day the counts were read (YYYY-MM-DD) \u2014 a snapshot, not a live figure."}},"nullable":true},"template":{"type":"array","items":{"type":"string","description":"One step with [placeholders]."},"description":"4 to 8 steps to make your own version."},"remix_ideas":{"type":"array","items":{"type":"string","description":"An angle."},"description":"2 or 3 angles for a different version of the same idea."},"missing":{"type":"array","items":{"type":"string","description":"A missing signal."},"description":"What the analysis could not see (no speech, a partial read\u2026)."}},"nullable":true},"answer":{"type":"object","description":"The caller's question answered from the post. Present only when ask was sent (+1 credit).","properties":{"question":{"type":"string","description":"The question, as cleaned by the engine."},"answer":{"type":"string","description":"The answer, from the post only; says the post does not say when it does not."},"found":{"type":"boolean","description":"False when the post does not address the question \u2014 nothing was invented."},"support":{"type":"array","items":{"type":"object","description":"One quote behind the answer, checked by code.","properties":{"kind":{"type":"string","description":"Where the quote is: transcript, on_screen, image, caption or chapter."},"t":{"type":"number","description":"Seconds into the video, when the quote has a time.","nullable":true},"image_index":{"type":"integer","description":"0-based image index, when the quote is in one image.","nullable":true},"quote":{"type":"string","description":"A short phrase the answer rests on, verbatim from the post."},"verified":{"type":"boolean","description":"True when the engine found the quote word for word in the post."},"approx":{"type":"boolean","description":"True when t is an estimate."}}},"description":"The quotes the answer rests on (1-3); empty when found is false."}},"nullable":true},"insight":{"type":"object","description":"\u6d88\u8d39\u8005\u6d1e\u5bdf \u2014 what the post says about the people it speaks to. Present only when insight=true (+1 credit). Every item is a quote checked against the post and its top comments; nothing is invented.","properties":{"language":{"type":"string","description":"The language the insight is written in, e.g. zh-CN or en."},"audience":{"type":"object","description":"Who the post speaks to.","properties":{"found":{"type":"boolean","description":"False when the post and its comments do not support this section; items is then empty."},"items":{"type":"array","items":{"type":"object","description":"One finding and the quote behind it, checked by code.","properties":{"text":{"type":"string","description":"The finding, in the insight's language."},"quote":{"type":"string","description":"The words it rests on, verbatim from the post or a comment."},"kind":{"type":"string","description":"Where the quote is: caption, transcript, on_screen, image, chapter or comment."},"verified":{"type":"boolean","description":"True when the engine found the quote word for word in the post or its comments."},"t":{"type":"number","description":"Seconds into the video, when the quote has a time.","nullable":true},"image_index":{"type":"integer","description":"0-based image index, when the quote is in one image.","nullable":true},"approx":{"type":"boolean","description":"True when t is an estimate."}}},"description":"The findings; empty when found is false."}}},"claims":{"type":"object","description":"The benefits and claims the post makes.","properties":{"found":{"type":"boolean","description":"False when the post and its comments do not support this section; items is then empty."},"items":{"type":"array","items":{"type":"object","description":"One finding and the quote behind it, checked by code.","properties":{"text":{"type":"string","description":"The finding, in the insight's language."},"quote":{"type":"string","description":"The words it rests on, verbatim from the post or a comment."},"kind":{"type":"string","description":"Where the quote is: caption, transcript, on_screen, image, chapter or comment."},"verified":{"type":"boolean","description":"True when the engine found the quote word for word in the post or its comments."},"t":{"type":"number","description":"Seconds into the video, when the quote has a time.","nullable":true},"image_index":{"type":"integer","description":"0-based image index, when the quote is in one image.","nullable":true},"approx":{"type":"boolean","description":"True when t is an estimate."}}},"description":"The findings; empty when found is false."}}},"objections":{"type":"object","description":"Pain points, complaints and doubts \u2014 from the comments when they were read.","properties":{"found":{"type":"boolean","description":"False when the post and its comments do not support this section; items is then empty."},"items":{"type":"array","items":{"type":"object","description":"One finding and the quote behind it, checked by code.","properties":{"text":{"type":"string","description":"The finding, in the insight's language."},"quote":{"type":"string","description":"The words it rests on, verbatim from the post or a comment."},"kind":{"type":"string","description":"Where the quote is: caption, transcript, on_screen, image, chapter or comment."},"verified":{"type":"boolean","description":"True when the engine found the quote word for word in the post or its comments."},"t":{"type":"number","description":"Seconds into the video, when the quote has a time.","nullable":true},"image_index":{"type":"integer","description":"0-based image index, when the quote is in one image.","nullable":true},"approx":{"type":"boolean","description":"True when t is an estimate."}}},"description":"The findings; empty when found is false."}}},"purchase_intent":{"type":"object","description":"Purchase-intent cues: \u6c42\u94fe\u63a5, \u591a\u5c11\u94b1, \u54ea\u91cc\u4e70 and the like.","properties":{"found":{"type":"boolean","description":"False when the post and its comments do not support this section; items is then empty."},"items":{"type":"array","items":{"type":"object","description":"One finding and the quote behind it, checked by code.","properties":{"text":{"type":"string","description":"The finding, in the insight's language."},"quote":{"type":"string","description":"The words it rests on, verbatim from the post or a comment."},"kind":{"type":"string","description":"Where the quote is: caption, transcript, on_screen, image, chapter or comment."},"verified":{"type":"boolean","description":"True when the engine found the quote word for word in the post or its comments."},"t":{"type":"number","description":"Seconds into the video, when the quote has a time.","nullable":true},"image_index":{"type":"integer","description":"0-based image index, when the quote is in one image.","nullable":true},"approx":{"type":"boolean","description":"True when t is an estimate."}}},"description":"The findings; empty when found is false."}}},"products":{"type":"object","description":"Products, brands and prices named.","properties":{"found":{"type":"boolean","description":"False when the post and its comments do not support this section; items is then empty."},"items":{"type":"array","items":{"type":"object","description":"One finding and the quote behind it, checked by code.","properties":{"text":{"type":"string","description":"The finding, in the insight's language."},"quote":{"type":"string","description":"The words it rests on, verbatim from the post or a comment."},"kind":{"type":"string","description":"Where the quote is: caption, transcript, on_screen, image, chapter or comment."},"verified":{"type":"boolean","description":"True when the engine found the quote word for word in the post or its comments."},"t":{"type":"number","description":"Seconds into the video, when the quote has a time.","nullable":true},"image_index":{"type":"integer","description":"0-based image index, when the quote is in one image.","nullable":true},"approx":{"type":"boolean","description":"True when t is an estimate."}}},"description":"The findings; empty when found is false."}}},"questions":{"type":"object","description":"Questions readers ask.","properties":{"found":{"type":"boolean","description":"False when the post and its comments do not support this section; items is then empty."},"items":{"type":"array","items":{"type":"object","description":"One finding and the quote behind it, checked by code.","properties":{"text":{"type":"string","description":"The finding, in the insight's language."},"quote":{"type":"string","description":"The words it rests on, verbatim from the post or a comment."},"kind":{"type":"string","description":"Where the quote is: caption, transcript, on_screen, image, chapter or comment."},"verified":{"type":"boolean","description":"True when the engine found the quote word for word in the post or its comments."},"t":{"type":"number","description":"Seconds into the video, when the quote has a time.","nullable":true},"image_index":{"type":"integer","description":"0-based image index, when the quote is in one image.","nullable":true},"approx":{"type":"boolean","description":"True when t is an estimate."}}},"description":"The findings; empty when found is false."}}},"comments_read":{"type":"integer","description":"How many comments were in the material the insight was drawn from."},"missing":{"type":"array","items":{"type":"string","description":"A section name."},"description":"The sections the material could not support."}},"nullable":true},"translation":{"type":"object","description":"Present only when translate_to was given (+1 credit). The originals are always kept.","properties":{"language":{"type":"string","description":"The language it was translated into."},"title":{"type":"string","description":"Translated title."},"caption":{"type":"string","description":"Translated caption."},"key_points":{"type":"array","items":{"type":"string","description":"A translated takeaway."},"description":"Translated key points."},"transcript_text":{"type":"string","description":"Translated transcript, as one text."},"ocr_text":{"type":"array","items":{"type":"string","description":"Translated on-screen text."},"description":"Translated on-screen text."},"image_descriptions":{"type":"array","items":{"type":"string","description":"Translated description."},"description":"Translated image descriptions."},"note":{"type":"string","description":"What the translation leaves out, else empty. A transcript past 24,000 characters is translated from its start only, said here and in coverage.not_captured, e.g. \"translation covers the first 27:12 of 60:00 of the transcript\". The original transcript is always whole. Added 2026-10-06."}},"nullable":true},"raw_markdown":{"type":"string","description":"The whole digest as Markdown, including any breakdown and translation."},"credits":{"type":"integer","description":"What this call cost. 0 when served from cache."},"credits_left":{"type":"integer","description":"Free accounts: credits left after this call (pack credits included). Absent on paying plans. In markdown, the X-Credits-Left header.","nullable":true},"low_balance":{"type":"boolean","description":"True when credits_left pays for fewer than 3 more reads like this one (or is 3 or fewer). Then the answer also carries the pay links a 402 would: starter_url for a new account, buy_url and mid_url for one that has paid before. Absent otherwise. In markdown, the X-Low-Balance header."},"credits_note":{"type":"string","description":"With low_balance: the balance, about how many more reads like this one it pays for, and the pay link, in English.","nullable":true},"offer_zh":{"type":"string","description":"The same in Chinese, its link opening the \u00a5 Alipay page; for an agent to relay to its user.","nullable":true},"cached":{"type":"boolean","description":"True when someone had already read this link \u2014 free."},"degraded":{"type":"array","items":{"type":"string","description":"A note."},"description":"Anything that did not read fully, said plainly."},"duration_seconds":{"type":"number","description":"Media length, when it has one.","nullable":true},"read_seconds":{"type":"number","description":"How much of the media was read.","nullable":true},"partial":{"type":"object","description":"Present only when partial_ok was set and the budget did not cover the whole video, or (since 2026-10-06) the whole image post: then image_count and images_read say how many images were taken.","properties":{"read_seconds":{"type":"number","description":"Seconds read from the start; 0 for an image post read in part."},"duration_seconds":{"type":"number","description":"The whole video's length; 0 for an image post read in part."},"read_credits":{"type":"integer","description":"What this read cost."},"full_credits":{"type":"integer","description":"What a complete read costs \u2014 a fresh digest, not a top-up."},"transcript_credits":{"type":"integer","description":"What a transcript-first read (depth=transcript) of the whole video costs \u2014 the cheaper read to ask for next. Equal to full_credits on a transcript-first partial; null when the video is past the transcript-first length cap too.","nullable":true}},"nullable":true},"depth":{"type":"string","description":"How the video was read: full (frames sampled densely), transcript (transcript-first: the whole transcript plus about a frame a minute, which coverage.not_captured says) or script (the speech only, no frames or on-screen text). A YouTube video read by Gemini is always full. Absent on links cached before 2026-10-05, which were all full.","enum":["full","transcript","script"]},"auto_depth":{"type":"object","nullable":true,"description":"Present when the read was switched to transcript-first by the service (2026-11-05): a long video that a full read would not fit in the caller's credits, read whole at transcript depth instead of in part at full depth. Only on the console and the keyless look of a free account; an API call gets the depth it asked for. full_credits is what a full read costs. Since 2026-11-12 also when the video is past the free plan's full-read length (10 minutes), pack credits or not: reason is then length, and the read goes transcript-first as far as that depth's own length cap. Since 2026-11-19 also when the platform would not serve a long video's picture to our servers (reason picture): the speech was read whole and the read is charged at the transcript-first price, not the full one.","properties":{"from":{"type":"string","description":"The depth asked for: full."},"full_credits":{"type":"integer","description":"What a full read of the whole video costs."},"reason":{"type":"string","description":"length when the switch was for the plan's full-read length cap rather than the credits; picture when the platform would not serve the video's picture to our servers. Absent otherwise."},"full_limit_seconds":{"type":"integer","description":"With reason length: the full-read length cap, in seconds."}}},"image_count":{"type":"integer","description":"How many images the post has, on posts with images.","nullable":true},"images_read":{"type":"integer","description":"How many of them were taken and priced: every one up to 60; past that the first 60, and with partial_ok the first ones the budget covers; degraded says so. Taken is not read: a failed download or vision read still counts here; coverage.images_read is how many were actually read.","nullable":true},"coverage":{"type":"object","description":"How much of the post this digest captured, computed in code. Null on links cached before 2026-10-05.","properties":{"seconds_transcribed":{"type":"number","description":"Video: seconds whose speech is in the transcript; 0 when there is none.","nullable":true},"duration_seconds":{"type":"number","description":"Video: its length.","nullable":true},"largest_frame_gap_seconds":{"type":"number","description":"Video: the longest stretch of the part read with no new sampled frame, start and end included.","nullable":true},"images_read":{"type":"integer","description":"Image posts: images that came back read.","nullable":true},"images_total":{"type":"integer","description":"Image posts: how many images the post has.","nullable":true},"transcript_source":{"type":"string","description":"native_captions, asr, gemini_video or none."},"not_captured":{"type":"array","items":{"type":"string","description":"A plain statement, e.g. \"minutes 12:00-43:58 not read (budget)\" or \"3 of 21 images skipped\"."},"description":"What was not read, and why. Always names comments, which are never read."},"links_found":{"type":"integer","description":"How many distinct links the post points to; links lists the first 20.","nullable":true}},"nullable":true},"source_url":{"type":"string","description":"The link as resolved."}}},"Annotation":{"type":"object","description":"Present only when format=annotation: the read as a timeline \u2014 speech with start and end, timed frame descriptions, on-screen spans, chapters and key points with quotes. Ends are derived, not measured.","properties":{"version":{"type":"string","description":"The shape's version, \"1\"."},"source":{"type":"string","description":"The link or page the video came from."},"platform":{"type":"string","description":"Where it came from."},"title":{"type":"string","description":"The post's title."},"duration_seconds":{"type":"number","description":"Length of the video.","nullable":true},"depth":{"type":"string","description":"full, transcript or script."},"speech":{"type":"array","items":{"type":"object","description":"One speech segment.","properties":{"start":{"type":"number","description":"Seconds."},"end":{"type":"number","description":"Seconds: the next segment's start, the last one the end of what was read."},"text":{"type":"string","description":"What was said."},"approx":{"type":"boolean","description":"True when start was estimated inside a recogniser chunk."}}},"description":"What was said, in order."},"frames":{"type":"array","items":{"type":"object","description":"One sampled frame.","properties":{"t":{"type":"number","description":"Seconds."},"description":{"type":"string","description":"What the frame shows."},"ocr":{"type":"string","description":"Its text, verbatim."}}},"description":"Every sampled frame, in time order (empty on reads cached before 2026-11-07)."},"on_screen":{"type":"array","items":{"type":"object","description":"On-screen text with its span.","properties":{"start":{"type":"number","description":"Seconds."},"end":{"type":"number","description":"Seconds; derived from the next item's start."},"text":{"type":"string","description":"On-screen text"}}},"description":"On-screen text: until the next text appears or the next frame, else the end."},"chapters":{"type":"array","items":{"type":"object","description":"One chapter.","properties":{"t":{"type":"number","description":"Seconds."},"title":{"type":"string","description":"The chapter title."}}},"description":"Chapters the author or platform marked."},"outline":{"type":"array","items":{"type":"object","description":"One outline section.","properties":{"start":{"type":"number","description":"Seconds."},"end":{"type":"number","description":"Seconds."},"title":{"type":"string","description":"What the section is about."},"summary":{"type":"array","items":{"type":"string","description":"One line."},"description":"What is said in it."}}},"description":"The timed outline of a long video (the digest's `outline`); empty when it has none."},"key_points":{"type":"array","items":{"type":"object","description":"One key point with its quote.","properties":{"text":{"type":"string","description":"The point."},"quote":{"type":"string","description":"The words in the post that back it.","nullable":true},"t":{"type":"number","description":"Seconds, when the quote is from the speech, the screen or a chapter.","nullable":true},"verified":{"type":"boolean","description":"True when the quote was found word for word.","nullable":true}}},"description":"The key points, each with the quote it rests on."},"coverage":{"type":"object","description":"The digest's coverage receipt.","nullable":true}}},"Breakdown":{"type":"object","description":"\u7206\u6b3e\u62c6\u89e3 \u2014 how the post is built. Present only when breakdown=true (+1 credit). Quotes are checked against the post; engagement and tags come from the platform, never the model.","properties":{"language":{"type":"string","description":"The language the analysis is written in, e.g. zh-CN or en."},"format":{"type":"string","description":"The kind of post, e.g. \u53e3\u64ad talking head, \u56fe\u6587\u7b14\u8bb0 image note, \u6559\u7a0b tutorial."},"hook":{"type":"object","description":"How the post holds people in its first seconds (first image for an image note).","properties":{"spoken":{"type":"string","description":"The opening words, verbatim from the transcript, or empty."},"on_screen":{"type":"string","description":"The opening on-screen or cover text, verbatim, or empty."},"visual":{"type":"string","description":"What is shown at the start."},"why":{"type":"string","description":"Why the opening holds attention."}}},"beats":{"type":"array","items":{"type":"object","description":"One step of the post's structure.","properties":{"t":{"type":"number","description":"Start time in seconds, approximate to a keyframe (video).","nullable":true},"image":{"type":"integer","description":"1-based image number (image notes).","nullable":true},"label":{"type":"string","description":"The step, e.g. \u75db\u70b9 pain point, \u65b9\u6cd5 method, \u884c\u52a8\u53f7\u53ec call to action."},"summary":{"type":"string","description":"What happens in this step."},"quote":{"type":"string","description":"A short line copied verbatim from the post, or empty."}}},"description":"The structure, 3 to 10 steps in order."},"title_formula":{"type":"string","description":"The pattern behind the title, e.g. \u6570\u5b57 + \u7ed3\u679c + \u4eba\u7fa4."},"cover_text":{"type":"string","description":"Cover or first-frame text, verbatim, or empty."},"cta":{"type":"string","description":"The call to action, verbatim, or empty."},"audience":{"type":"string","description":"Who the post is made for."},"tags":{"type":"array","items":{"type":"string","description":"A hashtag, without #."},"description":"The post's own hashtags, from the platform."},"engagement":{"type":"object","description":"Engagement counts as the platform reported them at fetch time.","properties":{"likes":{"type":"integer","description":"Likes (\u70b9\u8d5e) the platform showed when the post was read.","nullable":true},"comments":{"type":"integer","description":"Comments (\u8bc4\u8bba).","nullable":true},"shares":{"type":"integer","description":"Shares (\u5206\u4eab).","nullable":true},"collects":{"type":"integer","description":"Saves (\u6536\u85cf).","nullable":true},"plays":{"type":"integer","description":"Plays (\u64ad\u653e), when the platform reports them: Bilibili, Weibo, podcasts. Douyin and Xiaohongshu do not show a play count to a signed-out visitor.","nullable":true},"coins":{"type":"integer","description":"Bilibili only: coins (\u6295\u5e01).","nullable":true},"danmaku":{"type":"integer","description":"Bilibili only: how many bullet comments (\u5f39\u5e55) the video has.","nullable":true},"as_of":{"type":"string","description":"The day the counts were read (YYYY-MM-DD) \u2014 a snapshot, not a live figure."}},"nullable":true},"template":{"type":"array","items":{"type":"string","description":"One step with [placeholders]."},"description":"4 to 8 steps to make your own version."},"remix_ideas":{"type":"array","items":{"type":"string","description":"An angle."},"description":"2 or 3 angles for a different version of the same idea."},"missing":{"type":"array","items":{"type":"string","description":"A missing signal."},"description":"What the analysis could not see (no speech, a partial read\u2026)."}},"nullable":true},"Insight":{"type":"object","description":"\u6d88\u8d39\u8005\u6d1e\u5bdf \u2014 what the post says about the people it speaks to. Present only when insight=true (+1 credit). Every item is a quote checked against the post and its top comments; nothing is invented.","properties":{"language":{"type":"string","description":"The language the insight is written in, e.g. zh-CN or en."},"audience":{"type":"object","description":"Who the post speaks to.","properties":{"found":{"type":"boolean","description":"False when the post and its comments do not support this section; items is then empty."},"items":{"type":"array","items":{"type":"object","description":"One finding and the quote behind it, checked by code.","properties":{"text":{"type":"string","description":"The finding, in the insight's language."},"quote":{"type":"string","description":"The words it rests on, verbatim from the post or a comment."},"kind":{"type":"string","description":"Where the quote is: caption, transcript, on_screen, image, chapter or comment."},"verified":{"type":"boolean","description":"True when the engine found the quote word for word in the post or its comments."},"t":{"type":"number","description":"Seconds into the video, when the quote has a time.","nullable":true},"image_index":{"type":"integer","description":"0-based image index, when the quote is in one image.","nullable":true},"approx":{"type":"boolean","description":"True when t is an estimate."}}},"description":"The findings; empty when found is false."}}},"claims":{"type":"object","description":"The benefits and claims the post makes.","properties":{"found":{"type":"boolean","description":"False when the post and its comments do not support this section; items is then empty."},"items":{"type":"array","items":{"type":"object","description":"One finding and the quote behind it, checked by code.","properties":{"text":{"type":"string","description":"The finding, in the insight's language."},"quote":{"type":"string","description":"The words it rests on, verbatim from the post or a comment."},"kind":{"type":"string","description":"Where the quote is: caption, transcript, on_screen, image, chapter or comment."},"verified":{"type":"boolean","description":"True when the engine found the quote word for word in the post or its comments."},"t":{"type":"number","description":"Seconds into the video, when the quote has a time.","nullable":true},"image_index":{"type":"integer","description":"0-based image index, when the quote is in one image.","nullable":true},"approx":{"type":"boolean","description":"True when t is an estimate."}}},"description":"The findings; empty when found is false."}}},"objections":{"type":"object","description":"Pain points, complaints and doubts \u2014 from the comments when they were read.","properties":{"found":{"type":"boolean","description":"False when the post and its comments do not support this section; items is then empty."},"items":{"type":"array","items":{"type":"object","description":"One finding and the quote behind it, checked by code.","properties":{"text":{"type":"string","description":"The finding, in the insight's language."},"quote":{"type":"string","description":"The words it rests on, verbatim from the post or a comment."},"kind":{"type":"string","description":"Where the quote is: caption, transcript, on_screen, image, chapter or comment."},"verified":{"type":"boolean","description":"True when the engine found the quote word for word in the post or its comments."},"t":{"type":"number","description":"Seconds into the video, when the quote has a time.","nullable":true},"image_index":{"type":"integer","description":"0-based image index, when the quote is in one image.","nullable":true},"approx":{"type":"boolean","description":"True when t is an estimate."}}},"description":"The findings; empty when found is false."}}},"purchase_intent":{"type":"object","description":"Purchase-intent cues: \u6c42\u94fe\u63a5, \u591a\u5c11\u94b1, \u54ea\u91cc\u4e70 and the like.","properties":{"found":{"type":"boolean","description":"False when the post and its comments do not support this section; items is then empty."},"items":{"type":"array","items":{"type":"object","description":"One finding and the quote behind it, checked by code.","properties":{"text":{"type":"string","description":"The finding, in the insight's language."},"quote":{"type":"string","description":"The words it rests on, verbatim from the post or a comment."},"kind":{"type":"string","description":"Where the quote is: caption, transcript, on_screen, image, chapter or comment."},"verified":{"type":"boolean","description":"True when the engine found the quote word for word in the post or its comments."},"t":{"type":"number","description":"Seconds into the video, when the quote has a time.","nullable":true},"image_index":{"type":"integer","description":"0-based image index, when the quote is in one image.","nullable":true},"approx":{"type":"boolean","description":"True when t is an estimate."}}},"description":"The findings; empty when found is false."}}},"products":{"type":"object","description":"Products, brands and prices named.","properties":{"found":{"type":"boolean","description":"False when the post and its comments do not support this section; items is then empty."},"items":{"type":"array","items":{"type":"object","description":"One finding and the quote behind it, checked by code.","properties":{"text":{"type":"string","description":"The finding, in the insight's language."},"quote":{"type":"string","description":"The words it rests on, verbatim from the post or a comment."},"kind":{"type":"string","description":"Where the quote is: caption, transcript, on_screen, image, chapter or comment."},"verified":{"type":"boolean","description":"True when the engine found the quote word for word in the post or its comments."},"t":{"type":"number","description":"Seconds into the video, when the quote has a time.","nullable":true},"image_index":{"type":"integer","description":"0-based image index, when the quote is in one image.","nullable":true},"approx":{"type":"boolean","description":"True when t is an estimate."}}},"description":"The findings; empty when found is false."}}},"questions":{"type":"object","description":"Questions readers ask.","properties":{"found":{"type":"boolean","description":"False when the post and its comments do not support this section; items is then empty."},"items":{"type":"array","items":{"type":"object","description":"One finding and the quote behind it, checked by code.","properties":{"text":{"type":"string","description":"The finding, in the insight's language."},"quote":{"type":"string","description":"The words it rests on, verbatim from the post or a comment."},"kind":{"type":"string","description":"Where the quote is: caption, transcript, on_screen, image, chapter or comment."},"verified":{"type":"boolean","description":"True when the engine found the quote word for word in the post or its comments."},"t":{"type":"number","description":"Seconds into the video, when the quote has a time.","nullable":true},"image_index":{"type":"integer","description":"0-based image index, when the quote is in one image.","nullable":true},"approx":{"type":"boolean","description":"True when t is an estimate."}}},"description":"The findings; empty when found is false."}}},"comments_read":{"type":"integer","description":"How many comments were in the material the insight was drawn from."},"missing":{"type":"array","items":{"type":"string","description":"A section name."},"description":"The sections the material could not support."}},"nullable":true},"Synthesis":{"type":"object","description":"\u6279\u91cf\u7efc\u5408 \u2014 one comparison over every link the batch read. Present only on a batch that asked for synthesis=true (null while it runs, or when it failed \u2014 synthesis_error says why and nothing was charged). 1 credit per started 10 notes, once per batch.","properties":{"language":{"type":"string","description":"The language the synthesis is written in, e.g. zh-CN or en."},"notes":{"type":"integer","description":"How many notes were compared."},"summary":{"type":"string","description":"The comparison in a paragraph."},"themes":{"type":"array","items":{"type":"object","description":"A theme the notes share.","properties":{"text":{"type":"string","description":"The point, in the synthesis's language."},"count":{"type":"integer","description":"How many of the notes it was seen in."},"examples":{"type":"array","items":{"type":"object","description":"One example and the note it came from, checked by code.","properties":{"note":{"type":"integer","description":"1-based index into the batch's read links, in order (the items with status done or cached)."},"quote":{"type":"string","description":"Verbatim from that note."},"verified":{"type":"boolean","description":"True when the engine found the quote word for word in that note."}}},"description":"Examples from the notes."}}},"description":"Shared themes."},"hooks":{"type":"array","items":{"type":"object","description":"An opening the notes use.","properties":{"text":{"type":"string","description":"The point, in the synthesis's language."},"count":{"type":"integer","description":"How many of the notes it was seen in."},"examples":{"type":"array","items":{"type":"object","description":"One example and the note it came from, checked by code.","properties":{"note":{"type":"integer","description":"1-based index into the batch's read links, in order (the items with status done or cached)."},"quote":{"type":"string","description":"Verbatim from that note."},"verified":{"type":"boolean","description":"True when the engine found the quote word for word in that note."}}},"description":"Examples from the notes."}}},"description":"Hooks."},"formats":{"type":"array","items":{"type":"object","description":"A format the notes use.","properties":{"text":{"type":"string","description":"The point, in the synthesis's language."},"count":{"type":"integer","description":"How many of the notes it was seen in."},"examples":{"type":"array","items":{"type":"object","description":"One example and the note it came from, checked by code.","properties":{"note":{"type":"integer","description":"1-based index into the batch's read links, in order (the items with status done or cached)."},"quote":{"type":"string","description":"Verbatim from that note."},"verified":{"type":"boolean","description":"True when the engine found the quote word for word in that note."}}},"description":"Examples from the notes."}}},"description":"Formats."},"claims":{"type":"array","items":{"type":"object","description":"A claim the notes make.","properties":{"text":{"type":"string","description":"The point, in the synthesis's language."},"count":{"type":"integer","description":"How many of the notes it was seen in."},"examples":{"type":"array","items":{"type":"object","description":"One example and the note it came from, checked by code.","properties":{"note":{"type":"integer","description":"1-based index into the batch's read links, in order (the items with status done or cached)."},"quote":{"type":"string","description":"Verbatim from that note."},"verified":{"type":"boolean","description":"True when the engine found the quote word for word in that note."}}},"description":"Examples from the notes."}}},"description":"Claims."},"objections":{"type":"array","items":{"type":"object","description":"An objection readers raise.","properties":{"text":{"type":"string","description":"The point, in the synthesis's language."},"count":{"type":"integer","description":"How many of the notes it was seen in."},"examples":{"type":"array","items":{"type":"object","description":"One example and the note it came from, checked by code.","properties":{"note":{"type":"integer","description":"1-based index into the batch's read links, in order (the items with status done or cached)."},"quote":{"type":"string","description":"Verbatim from that note."},"verified":{"type":"boolean","description":"True when the engine found the quote word for word in that note."}}},"description":"Examples from the notes."}}},"description":"Objections, from the comments when they were read."},"gaps":{"type":"array","items":{"type":"object","description":"Something none of the notes cover.","properties":{"text":{"type":"string","description":"The point, in the synthesis's language."},"count":{"type":"integer","description":"How many of the notes it was seen in."},"examples":{"type":"array","items":{"type":"object","description":"One example and the note it came from, checked by code.","properties":{"note":{"type":"integer","description":"1-based index into the batch's read links, in order (the items with status done or cached)."},"quote":{"type":"string","description":"Verbatim from that note."},"verified":{"type":"boolean","description":"True when the engine found the quote word for word in that note."}}},"description":"Examples from the notes."}}},"description":"Gaps."},"missing":{"type":"array","items":{"type":"string","description":"A section name."},"description":"The sections the material could not support."},"raw_markdown":{"type":"string","description":"The whole synthesis as Markdown (with the draft appended when one was asked for)."},"draft":{"type":"object","description":"\u6210\u7a3f \u2014 the post written from the batch (2026-10-31). Only on a batch that asked for draft=true; null while it runs. Every figure in it is in the notes. +1 credit once.","properties":{"language":{"type":"string","description":"The language it is written in."},"platform":{"type":"string","description":"xiaohongshu, douyin or en.","enum":["xiaohongshu","douyin","en"]},"titles":{"type":"array","items":{"type":"string","description":"A title."},"description":"Three titles to pick from."},"body":{"type":"string","description":"The post itself, ready to paste."},"hashtags":{"type":"array","items":{"type":"string","description":"A hashtag without #."},"description":"Hashtags."},"cover_text":{"type":"string","description":"The words for the cover image."},"cites":{"type":"array","items":{"type":"integer"},"description":"The notes (1-based, batch order) the draft draws on."},"made_by":{"type":"string","description":"\"model\", \"model_retry\", or \"fallback\" (the notes' own titles and key points, after two drafts carried figures not in the notes)."},"cut":{"type":"integer","description":"Sentences cut because their figure was not in any note."}},"nullable":true}},"nullable":true},"Pending":{"type":"object","description":"The digest is still running; collect it by job id.","properties":{"pending":{"type":"boolean","description":"True: still working."},"jobId":{"type":"string","description":"Collect it with GET \/api\/v1\/digest\/{jobId}."},"poll":{"type":"string","description":"The path to poll."},"retryAfter":{"type":"integer","description":"Seconds to wait before polling (or poll with wait=20)."},"stage":{"type":"string","description":"What the job is doing now."},"error":{"type":"string","description":"A sentence saying it is still running."}}},"CapturePending":{"type":"object","description":"The capture was accepted; collect it with get_capture.","properties":{"id":{"type":"string","description":"The capture id; poll get_capture with it."},"status":{"type":"string","description":"pending."},"poll":{"type":"string","description":"The path to poll."},"retryAfter":{"type":"integer","description":"Seconds to wait before the first poll."}}},"CaptureResult":{"type":"object","description":"A capture still being read, or the digest it produced. A capture is private to the account that sent it.","properties":{"status":{"type":"string","description":"running or done."},"stage":{"type":"string","description":"What the reader is doing now (running).","nullable":true},"retryAfter":{"type":"integer","description":"Seconds to wait before polling again (running).","nullable":true},"title":{"type":"string","description":"The digest's title (done).","nullable":true},"credits":{"type":"integer","description":"Credits this capture cost, charged once (done).","nullable":true},"view_url":{"type":"string","description":"The digest's page on the site (done).","nullable":true},"digest":{"$ref":"#\/components\/schemas\/Digest"},"annotation":{"$ref":"#\/components\/schemas\/Annotation"}}},"Wall":{"type":"object","description":"Out of credits, or this link costs more than is left. Nothing was spent.","properties":{"error":{"type":"string","description":"What happened, in a sentence."},"error_code":{"type":"string","description":"quota_exceeded, insufficient_credits or media_too_long."},"buy_url":{"type":"string","description":"Opens checkout for 250 credits ($5, once) for this key's account \u2014 no sign-in. Show it to the person."},"subscribe_url":{"type":"string","description":"Opens checkout for Dev ($9\/month, 500 credits) \u2014 no sign-in."},"starter_url":{"type":"string","description":"Opens checkout for the smallest pack, 50 credits for $1.50 \/ \u00a59.9 (Alipay or card), for this key's account \u2014 no sign-in."},"mid_url":{"type":"string","description":"Opens checkout for 750 credits ($15 \/ \u00a5108, once), the same price per credit as buy_url. Present only for an account that has paid before. No sign-in.","nullable":true},"volume_url":{"type":"string","description":"Opens checkout for 2,000 credits ($39 \/ \u00a5288, once). Present only for an account that has paid before. No sign-in.","nullable":true},"pass_url":{"type":"string","description":"Opens Alipay for the Dev pass: Dev (500 credits, Dev's length limits) for 30 days, \u00a565 paid once \u2014 it does not renew by itself. No sign-in. Absent at a wall a plan does not lift.","nullable":true},"offer_zh":{"type":"string","description":"The same offer as one Chinese sentence to show the person as it is: nothing charged, the smallest pack first, \u652f\u4ed8\u5b9d, no sign-in, one-time."},"upgradeRequired":{"type":"boolean","description":"True when paying would let this call go through."},"limited_by":{"type":"string","description":"insufficient_credits only: which ceiling refused the link \u2014 balance (buy links follow), key (this key's monthly cap) or max_credits (this request's own limit; the balance could pay).","nullable":true},"credits_left":{"type":"integer","description":"limited_by key or max_credits: the account's spendable credits, which could have paid."}}},"Error":{"type":"object","description":"An error.","properties":{"error":{"type":"string","description":"What went wrong, in a sentence."},"error_code":{"type":"string","description":"A stable code when there is one: platform_refused, not_served, not_a_post (422: the link names no post \u2014 a made-up id, a profile, a product page; do not retry it, ask for a real link), placeholder_link (400: the link still has a <...> placeholder from the docs in it; nothing was fetched), quota_exceeded, insufficient_credits, media_too_long, not_found (no such path under \/api\/v1: the body lists the endpoints and names the one that was probably meant), method_not_allowed.","nullable":true},"sample_url":{"type":"string","description":"not_a_post and placeholder_link only: a real Xiaohongshu note that has been read already. Reading it costs 0 credits, so it answers \"does my key work\" without inventing a link.","nullable":true},"how_to_read_now":{"type":"string","description":"platform_refused only: what the caller can do instead, including the exact `linkdigest capture <file>` command.","nullable":true},"retryAfter":{"type":"integer","description":"429 only: seconds to wait, the same figure as the Retry-After header.","nullable":true},"running":{"type":"array","items":{"type":"object","description":"A read of this account that is still running, or finished and not collected yet.","properties":{"jobId":{"type":"string","description":"The read's job id."},"poll":{"type":"string","description":"GET this with the same Authorization header to collect it; collecting frees the credits it holds."}}},"description":"429 only, when credits held by reads still running are the reason: those reads, oldest first."},"next":{"type":"string","description":"429 with running: what to do, in a sentence (next_zh is the same in Chinese).","nullable":true}}},"BatchListEntry":{"type":"object","description":"One line of a batch listing.","properties":{"batch_id":{"type":"string","description":"The batch id."},"label":{"type":"string","description":"What the batch was called, or null.","nullable":true},"created_at":{"type":"string","description":"When it was started, ISO 8601."},"status":{"type":"string","description":"running or done."},"total":{"type":"integer","description":"Links in the batch."},"done":{"type":"integer","description":"Finished."},"failed":{"type":"integer","description":"Failed."},"credits_total":{"type":"integer","description":"Credits spent so far."},"synthesis":{"type":"string","description":"ready, pending or failed; null on a batch that asked for no comparison.","nullable":true}}},"Search":{"type":"object","description":"Search results, and the batch over them when one was asked for.","properties":{"query":{"type":"string","description":"The topic, as searched."},"platform":{"type":"string","description":"Where it looked."},"results":{"type":"array","items":{"type":"object","description":"One result.","properties":{"url":{"type":"string","description":"A post link digest_url can read."},"title":{"type":"string","description":"Its title."},"snippet":{"type":"string","description":"Its summary line."},"posted_at":{"type":"string","description":"douyin and xiaohongshu: the day the post went up (YYYY-MM-DD, UTC), read from its id.","nullable":true}}},"description":"The links found, in rank order: on douyin and xiaohongshu, the posts that carry the words searched, newest first."},"credits":{"type":"integer","description":"What the search cost: 4 on douyin and xiaohongshu, 1 elsewhere, 0 when nothing was found."},"own_browser_url":{"type":"string","description":"xiaohongshu only: the same search in the user's own logged-in browser \u2014 the whole platform. The extension reads it there; GET \/digest\/batches?label=<query> picks the batch up.","nullable":true},"batch_id":{"type":"string","description":"With digest: the batch started over the results.","nullable":true},"batch":{"$ref":"#\/components\/schemas\/Batch"}}},"Batch":{"type":"object","description":"A batch of links.","properties":{"batch_id":{"type":"string","description":"The batch id."},"label":{"type":"string","description":"What the batch was called, or null.","nullable":true},"status":{"type":"string","description":"running or done."},"total":{"type":"integer","description":"Links in the batch."},"done":{"type":"integer","description":"Finished."},"failed":{"type":"integer","description":"Failed."},"credits_total":{"type":"integer","description":"Credits spent so far."},"poll":{"type":"string","description":"The path to poll."},"breakdown":{"type":"boolean","description":"Whether every link is taken apart."},"ask":{"type":"string","description":"The question every link was asked, or null.","nullable":true},"insight":{"type":"boolean","description":"Whether every link's consumer insight was drawn."},"depth":{"type":"string","description":"full, transcript or script: how every video in the batch is read.","enum":["full","transcript","script"]},"synthesis":{"$ref":"#\/components\/schemas\/Synthesis"},"synthesis_credits":{"type":"integer","description":"What the comparison cost (only on a batch that asked for synthesis)."},"synthesis_error":{"type":"string","description":"Why the comparison failed, or null (only on a batch that asked for synthesis).","nullable":true},"items":{"type":"array","items":{"type":"object","description":"One link.","properties":{"url":{"type":"string","description":"The link."},"status":{"type":"string","description":"queued, running, done, cached (read before, 0 credits) or error."},"cache_key":{"type":"string","description":"Where the digest is stored."},"credits":{"type":"integer","description":"What it cost."},"error":{"type":"string","description":"Why it failed, if it did."}}},"description":"Every link and its state."},"digests":{"type":"object","additionalProperties":{"$ref":"#\/components\/schemas\/Digest"},"description":"Only with ?include=digests: every finished digest, keyed by its link (an object, not an array)."}}}}}}