backfill_posts
Import a channel’s past posts
Description
Import this brand's PAST posts from a channel into the performance record, so 'which hook works' can draw on history rather than only on what was published since Hermoso started recording. Supports facebook, instagram, threads, youtube, tiktok, pinterest and bluesky; the others say plainly why they cannot (LinkedIn has no enumerate-my-posts endpoint on our grant, X bills per read so it is excluded from bulk import, Google Business has had no per-post insights since 2023, and Telegram's Bot API cannot read a chat's past messages at all — nothing published before Hermoso is recoverable through a bot token). BOUNDED, RESUMABLE AND QUOTED: it runs as a DRY RUN by default and tells you how many posts it found and what reading them will cost — pass confirm:true to import, and pass the returned cursor to continue. AN IMPORTED POST IS WEAKER EVIDENCE THAN A RECORDED ONE and is labelled 'backfilled': its hook is recovered ONLY where the post matches a Hermoso creation by asset or caption. A post made outside Hermoso stays UNATTRIBUTED — it counts toward channel and format totals but never votes on which hook works. Never guess a hook from a caption. Free.
Parameters
| Parameter | Type | Description |
|---|---|---|
channelrequired | "facebook" | "instagram" | "threads" | "youtube" | "tiktok" | "pinterest" | "bluesky" | which channel to import from |
confirm | boolean | actually import — omit for a dry run that only quotes the cost |
limit | number | how many posts this page (default 50, max 200) |
cursor | string | resume from a previous run |
accountRef | string | which Page / account, when the profile has more than one |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/backfill_posts.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"backfill_posts","arguments":{"channel":"<one of the listed values>"}}}
CLI
hermoso call backfill_posts --json '{"channel":"<one of the listed values>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
collect_post_metricsRead how the recorded posts performedmetrics_catalogMetrics catalog: what can be queriedmetrics_queryQuery metrics with groupBy and granularityanalytics_changesPost readings recorded since my last syncmanage_post_trackingWatch a post for N dayspost_authenticityDo our post's views look real?post_metrics_timelineEvery reading of one postanalytics_dashboardThis week vs last week, in one read