explain_competitor_performanceread
A competitor's best and worst posts side by side, with a written explanation of what the winners have in common. Reads a saved explanation; pass refresh=true to write a fresh one.
export_competitor_trackersread
Export competitor trackers and their stats as a CSV: one call, any number of rows, returned as a download link valid for 15 minutes. Columns: competitor, group, platform, handle, profile URL, tracker id, status, cadence, scrape channels, followers and 30-day change, posts and average views in 30 days, cost per day and 30-day spend. kind=posts exports the posts of those trackers (post URL, metrics, transcript yes/no) for the last `days`; kind=import writes the re-importable shape.
get_best_competitor_postsread
A competitor's posts that beat their own usual numbers by the widest margin, over a chosen window.
get_bulk_analysis_statusread
Whether a bulk analysis has finished, per post.
get_competitor_discovery_runread
Where a discovery run has got to: status, current step, how many competitors have been found so far, and whether the report is ready.
get_competitor_dossierread
Everything known about one competitor: their accounts, follower growth over time, how often they post on each platform, and how active they are right now.
get_competitor_heatread
Which tracked competitor accounts are unusually active right now, keyed by account, with what is driving it.
get_competitor_live_adsread
What a tracked competitor is running in the Meta Ad Library now, merged across every Facebook Page under the brand. Takes a brand_id from list_competitor_brands. Distinct from get_brand_ads, which reads the Foreplay library.
get_competitor_market_reportread
The written market report for a finished discovery run. Not ready until the run says so.
get_competitor_postread
One competitor post in full: metrics, caption, media link and its transcript and script breakdown if it was ever analysed. Free.
get_competitor_post_metrics_historyread
A competitor post's views, likes and comments over time, with the reading at 1 hour, 24 hours and 7 days after it went up.
get_competitor_posting_cadenceread
How often a competitor posts on each platform week by week, plus the day and hour their posts do best.
get_competitor_tracking_spendread
Credits spent on competitor tracking and analysis, per tracker, per group or per day.
get_generated_scriptread
One generated script with the competitor post it came from (and that post's numbers) and the post we published from it, if linked.
get_top_competitor_posts_across_groupread
The best posts ACROSS competitors — a tracker group or every tracked account — over the last N days. Ranks by how far each post beat its own account's usual numbers by default, or by raw views, likes, comments or engagement.
get_tracker_access_policyread
What a NEW tracker group in this workspace starts as: open to all, owners only, or selected employees.
get_tracker_group_accessread
Who may use one tracker group: whether it is restricted, and each member employee's rights (see / edit / spend). Owners and admins always have all three.
get_tracking_budgetread
The workspace's competitor-tracking budget (daily/monthly caps) and what it has spent today and this month.
get_worst_competitor_postsread
A competitor's posts that fell furthest below their own usual numbers — what not to copy.
list_competitor_brandsread
Every competitor being tracked, grouped by brand, with their accounts per platform, follower movement and how active they are. Start here — most other competitor tools take a brand_id from this.
list_competitor_creatorsread
Tracked competitor creators ranked by what they posted in a window: how many posts, total or average views, hottest (fastest views), engagement or account heat. Optional word / hashtag / topic filters count only matching posts, e.g. who posts most about AI agents.
list_competitor_hashtagsread
Hashtags used in tracked competitor posts over a window, with how many posts and creators use each and their total/average views. Narrow with words or a topic to see which tags a theme uses.
list_competitor_postsread
Find competitor posts. Use q for any search in plain words (e.g. q='ai receptionist'): it matches posts that say it or are about it, best matches first. Also filters by hashtags, account, platform, media type, date and minimum views/likes/comments; sorted newest, hottest (views per hour), most viewed/liked/commented, most engagement, engagement rate, best/worst vs the account's usual, or closest to the topic. For one competitor's winners or flops use get_best_competitor_posts / get_worst_competitor_posts instead.
list_competitor_trackers_pageread
Tracked competitor accounts as a paged table: group, cadence, paused or not, followers, cost per day and spend in the last 30 days. Filter by group, platform, status or text.
list_competitors_for_personaread
Which tracked competitors are chasing one buyer archetype, with their pages and how many ads we hold for each. The read half of link_audience_persona_to_competitor. Busiest competitor first.
list_discovered_competitorsread
The competitors a discovery run found, with the socials, website and contact details it could resolve for each.
list_generated_scriptsread
Scripts previously written from competitor posts, newest first, with the platform and model each one used.
list_script_modelsread
AI models for script writing — the model_id values generate_competitor_scripts accepts, and which this account can use.
list_script_templatesread
Saved script templates — the template_id values generate_competitor_scripts accepts.
list_tracker_groupsread
Tracker groups (tiers such as tier-a or ghl-affiliates) with how many trackers each holds, its cadence, its budget and what it spent today and this month.
list_trend_rulesread
The rules that decide when a competitor post counts as blowing up (metric, comparison, threshold, scope).
preview_bulk_competitor_trackingread
Price a bulk import of competitor handles (any handles, up to 1,000 rows) WITHOUT creating anything: per-row status (new / already tracked / invalid), cost per day and per month, and how many days the balance covers.
preview_competitor_trackingread
What tracking a discovered competitor would cover and what it would cost per day, before anything is created.
analyze_competitor_postwrite
Run the AI pass on one competitor post: transcript, tone, whether it reads as an ad, and its call to action. Uses credits.
analyze_competitor_postswrite
Analyse up to 50 competitor posts with one confirmation. The first call returns a quote (posts already transcribed are free); call again with confirm_cents set to that quote to start. Runs in the background.
bulk_create_competitor_trackerswrite
Start tracking up to 1,000 competitors in one call (one competitor per row, several platforms each). Idempotent: handles already tracked are skipped. Requires the daily cost from preview_bulk_competitor_tracking.
bulk_delete_competitor_trackerswrite
Stop tracking many competitors at once (by tracker ids or a whole group). History is kept; re-adding a handle brings it back.
bulk_update_competitor_trackerswrite
Change many trackers at once — by tracker ids or a whole group: set how often they are checked, apply the group's cadence, pause, resume, or move them to another group.
create_competitor_trackerwrite
Start tracking one competitor account. One call = one account on one platform.
create_post_share_linkwrite
Make a public share link for one competitor post (video, numbers, transcript and your note), e.g. to show a client or editor 'their VSL, let's make something like it'. Anyone with the link can open it without an account; it can be turned off in the app.
create_swipe_filewrite
Create an internal swipe file (not Foreplay) to collect competitor posts in. Add posts with add_to_swipe_file.
create_tracker_groupwrite
Create a tracker group (tier) with an optional cadence, daily/monthly budget and smart cadence.
create_trend_rulewrite
Create a trend rule, e.g. alert when a post gets 3x its account's usual views.
delete_competitor_trackerwrite
Stop a competitor tracker.
delete_tracker_groupwrite
Delete a tracker group. Its trackers keep running, ungrouped.
discover_competitorswrite
Go find competitors we are not tracking yet — businesses around a place, or creators in a hashtag space. Returns a run id to poll with get_competitor_discovery_run; the sweep takes minutes. Uses credits.
generate_competitor_scriptswrite
Write new scripts from chosen competitor posts, one per platform. Only posts that already have a transcript can be used.
link_audience_persona_to_competitorwrite
Record that a competitor targets one of your audience personas. Links two things that already exist; creates neither.
link_script_to_published_postwrite
Record which of our own posts was made from a generated script, so it can be compared with the competitor post it came from.
refresh_competitor_trackerwrite
Check a tracked competitor account right now instead of waiting for its next scheduled check. Uses credits.
set_tracker_access_policywrite
Set the default access for tracker groups created from now on in this workspace: all (everyone), owner_only, or selected (the given employees with the given rights). Existing groups keep their own access.
set_tracker_group_accesswrite
Restrict a tracker group to chosen employees and set what they may do: see (trackers, posts, analysis), edit (cadence, pause, move, remove) and spend (import, refresh, analyse posts, generate scripts). Replaces the member list. restricted=false opens the group to the whole workspace again.
set_tracking_budgetwrite
Set the workspace's competitor-tracking budget. At the cap every tracker in the workspace pauses; an alert goes out at alert_pct.
track_competitor_across_platformswrite
Start tracking one competitor on several platforms at once, grouped under a single brand. Use this rather than calling create_competitor_tracker repeatedly.
track_competitor_brandwrite
Start tracking a Foreplay brand for daily ad-library polling.
track_discovered_competitorwrite
Start tracking a discovered competitor for real, one tracker per platform. Show preview_competitor_tracking first — this costs money every day it runs.
untrack_competitor_brandwrite
Stop tracking a Foreplay brand.
update_competitor_trackerwrite
Rename a tracker, change how often it checks, pause or resume it, or move it under a different competitor brand.
update_tracker_groupwrite
Rename a tracker group or change its cadence, budget or smart cadence.
update_trend_rulewrite
Change a trend rule's name, threshold, metric or comparison, or switch it on or off.