hermosodocs

backfill_posts

Import a channel’s past posts

Area: ANALYTICS + METRICS PARITY · Publishing & scheduling. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
channelrequired"facebook" | "instagram" | "threads" | "youtube" | "tiktok" | "pinterest" | "bluesky"which channel to import from
confirmbooleanactually import — omit for a dry run that only quotes the cost
limitnumberhow many posts this page (default 50, max 200)
cursorstringresume from a previous run
accountRefstringwhich 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.

All 728 Publishing & scheduling tools · tools.json