Frase SEO
v0.24.2SEO, GEO & AI Visibility — research, write, optimize, publish & monitor content.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_sites
List all sites in your Frase account. Sites are domains you've connected for SEO tracking and content optimization.
| Parameter | Type | Description |
|---|---|---|
page | number | default 1 |
page_size | number | default 20, max 100 |
create_site
Create a new site to track. A site represents a domain you want to manage content and SEO for.
| Parameter | Type | Description |
|---|---|---|
domain * | string | e.g. example.com (protocol and trailing slashes are stripped) |
name * | string | Display name |
description | string |
list_briefs
List content briefs in your account. Briefs contain research, outlines, and settings for generating content.
| Parameter | Type | Description |
|---|---|---|
page | number | default 1 |
page_size | number | default 20, max 100 |
site_id | string | Filter by site ID (from list_sites). |
status | string | brief_outline (outline/research stage) or drafting (content generating). For Team Review/Published content use list_content. |
create_brief
Create a content brief (topic, keywords, outline) from a completed research session (run start_research first).
| Parameter | Type | Description |
|---|---|---|
research_session_id * | string | ID of a completed research session (from start_research). |
content_type | string | Content format; pick the most specific. Default: blog_post. |
refresh | boolean | Rebuild an existing brief after its research changed. |
target_word_count | number | Word count (80–10000). Omit for the type default. |
get_brief
Get a brief: outline, research data, evidence budget. `facts` returns its claim ledger.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
facts | boolean |
get_brief_status
Check the generation status of a brief. Useful for tracking briefs that are being researched or generated.
| Parameter | Type | Description |
|---|---|---|
id * | string |
export_brief
Export a brief in JSON or Markdown format.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
format | string | default json |
update_brief
Update a brief's metadata/outline; or ONE section: section_number + expected_updated_at (get_brief's; null if null); 409 = re-read, retry.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
assigned_to | string | |
audience_context | object | |
competitor_urls | array | |
content_type | string | |
description | string | |
expected_heading | string | |
expected_updated_at | string | null | |
format_instructions | string | null | |
heading | string | |
key_points | array | |
outline | array | |
owned_keywords | array | null | max 20 |
search_intent | string | |
section_number | number | 1-based |
suggested_word_count | number | |
target_country | string | |
target_keywords | array | appended, deduped |
target_language | string | |
target_word_count | number | |
topic | string | |
topic_guardrails | object | |
variation_overrides | object |
list_content
List content items, filtered by status or site. For only Content Guard guarded content, use list_guarded_content. status 'archived' lists trashed items.
| Parameter | Type | Description |
|---|---|---|
is_monitored | boolean | true = only Content Guard monitored articles, false = exclude, omit = all. |
page | number | default: 1 |
page_size | number | max 100 (default: 20) |
site_id | string | Filter by site ID (from list_sites). |
status | string | Filter by status. archived = trashed/deleted items. |
list_guarded_content
List content under Content Guard monitoring (guarded / monitored / watched articles). Same as list_content with is_monitored=true.
| Parameter | Type | Description |
|---|---|---|
page | number | default: 1 |
page_size | number | max 100 (default: 20) |
site_id | string | Filter by site ID. |
list_trash
List trashed/deleted content items. Returns content that has been soft-deleted (moved to trash).
| Parameter | Type | Description |
|---|---|---|
limit | number | default 20, max 100 |
offset | number | items to skip, default 0 |
site_id | string | Filter by site ID (from list_sites). |
get_content
Get details of a specific content item, including its full body text.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
include_body | boolean | Include the full body (default true) |
get_content_summary
Content counts grouped by status (draft, generating, review, published, archived). Prefer over list_content for a per-status overview.
generate_content
Generate a NEW article from a brief with a complete outline. Always creates a new article and never overwrites the brief's existing content (use regenerate_content to rewrite one). Returns a content ID for get_job_status.
| Parameter | Type | Description |
|---|---|---|
brief_id * | string | |
generate_images | boolean | Generate a hero image (default false) |
update_content
Update a content item's title, body, status, or meta tags. To archive/trash, use delete_content instead.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
body | string | Body content (HTML) |
meta_description | string | |
meta_title | string | |
status | string | New status. To archive/trash, use delete_content instead. |
title | string |
delete_content
Delete a content item (soft delete - moves to trash).
| Parameter | Type | Description |
|---|---|---|
id * | string |
restore_content
Restore a trashed (soft-deleted) content item. Content can be restored within 30 days of deletion. Use list_content with status 'archived' to find trashed items.
| Parameter | Type | Description |
|---|---|---|
id * | string |
get_content_status
Check the generation status and progress of a content item. Useful for tracking content that is currently being generated.
| Parameter | Type | Description |
|---|---|---|
id * | string |
export_content
Export a content item in JSON, HTML, or Markdown format.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
format | string | default json |
regenerate_content
Async regenerate/improve content. No instructions: full regen from brief (~2-5 min; poll get_content_status). With instructions: AI rewrite (~30-60s; check improvingStatus via get_content). Rewrites may change length - say 'maintain word count' to keep it.
| Parameter | Type | Description |
|---|---|---|
content_id * | string | |
brief_id | string | Brief to regenerate from (defaults to the content's linked brief). |
instructions | string | AI-rewrite instructions (max 2000 chars). Omit to fully regenerate from brief. Add 'maintain word count' to preserve length. |
generate_hero_image
AI hero image for an EXISTING article, attached as its featured image; the body is untouched (for a new article use generate_content with generate_images). Async (~20-60s): poll get_content until Hero Image Job reads completed and Featured Image shows a new URL; stop on failed. Costs one image credit and one AI-image unit of the site budget. Refuses if a hero exists unless replace is true, which overwrites it.
| Parameter | Type | Description |
|---|---|---|
content_id * | string | |
replace | boolean | Overwrite an existing hero image (default false). Leave off in pipelines so a hand-picked image is never replaced silently. |
rescore_content
Recalculate SEO, GEO, and EEAT scores for a content item. Costs one API request, plus a scoring model pass if the body changed (cached otherwise). Much cheaper than a full optimization, but not free: do not loop it.
| Parameter | Type | Description |
|---|---|---|
content_id * | string |
import_content
Import an article written outside Frase as an ARTICLE IN THE APP, scored and optimizable — not a CMS post (for that use write_cms_post). Frase does not generate it. Supply body (markdown or HTML) or source_url, not both. Costs one article credit. Returns the content id and editor URL; set target_keywords or the SEO score is capped.
| Parameter | Type | Description |
|---|---|---|
title * | string | |
body | string | Article body. Set body_format to say which syntax. |
body_format | string | Syntax of body. Default: markdown. |
content_type | string | Default: blog_post. |
site_id | string | Site to file it under. |
source_url | string | Fetch the article from this URL instead of passing body. |
target_keywords | array | Keywords to score against. Index 0 is primary. |
list_research
List research sessions in your account. Research provides AI-powered insights on topics.
| Parameter | Type | Description |
|---|---|---|
page | number | default 1 |
page_size | number | default 20, max 100 |
site_id | string | Filter by site ID (from list_sites). |
start_research
Start a research session (keywords, SERP, gaps, and evidence run in parallel). Async: returns immediately — poll get_job_status (type: research), then get_research for results.
| Parameter | Type | Description |
|---|---|---|
query * | string | Topic or question to research (max 500 chars) |
site_id * | string | Site providing brand/language/country defaults. Use list_sites for IDs. |
audience | string | Target audience context |
competitor_domains | array | Domains to analyze (used with type=competitor or gap) |
country | string | ISO 3166-1 alpha-2 code (e.g. 'us'). Falls back to site country. |
focus | string | Focus area or differentiation lens |
language | string | ISO 639-1 code (e.g. 'en'). Falls back to site language. |
objective | string | What the research should accomplish |
type | string | Default 'general' (full analysis). 'topic' maps subtopics; 'competitor'/'gap' add type-specific context. |
get_research
Get details of a specific research session, including findings, sources, and type-specific structured data.
| Parameter | Type | Description |
|---|---|---|
id * | string |
delete_research
Delete a research session (soft delete - moves to trash).
| Parameter | Type | Description |
|---|---|---|
id * | string |
export_research
Export research findings in JSON or Markdown format.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
format | string | default json |
get_job_status
Check the status of an async job (audit, research, content generation, brief outline, optimization). Specify the type for faster lookup, or omit to search all types.
| Parameter | Type | Description |
|---|---|---|
id * | string | The job/resource ID to check |
type | string | The type of job (optional, for faster lookup) |
list_audits
List site audits (SEO, content-quality, and technical issues). Each audit is scoped to one site — evaluate independently, don't compare across domains.
| Parameter | Type | Description |
|---|---|---|
page | number | default 1 |
page_size | number | default 20, max 100 |
site_id | string | |
status | string |
start_audit
Start a site audit (crawls for SEO, content-quality, and technical issues). Async: poll get_job_status with the returned id.
| Parameter | Type | Description |
|---|---|---|
site_id * | string | |
include_paths | array | Path prefixes to limit crawling, e.g. ['/blog', '/products'] |
max_pages | number | Max pages to crawl, 1-1000 (default 100) |
name | string | |
selected_page_urls | array | Specific page URLs to audit (max 500) |
settings | object | Audit settings object |
type | string | Default 'full'. Use 'section' for path-scoped audits. |
get_audit
Get details of a specific audit, including summary statistics and optionally page-level data. IMPORTANT: Each audit is scoped to a single site. Never compare metrics between audits from different domains.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
include_pages | boolean | Include page-level data with issues; default true |
page_limit | number | Max pages when include_pages, 1-100, default 50 |
export_audit
Export audit data. Returns detailed page-level data for analysis. This export is for a single site — do not compare with exports from other domains.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
format | string | default json |
audit_page
Audit a single page URL; returns E-E-A-T, GEO, and SEO scores with issues. Auto-routes: audit_page_id re-audits in-place; no existing site audit starts one async (poll audit_id); else synchronous.
| Parameter | Type | Description |
|---|---|---|
url * | string | |
audit_page_id | string | Re-audit this page in-place within its site audit instead of a standalone audit. |
confirm_target_keyword_change | boolean | Set true after explicit user confirmation. |
keyword | string | Target keyword for SEO scoring context |
site_audit_id | string | Site audit the page belongs to; use with audit_page_id. |
site_id | string | Force routing to this site instead of auto-detecting by domain. |
analyze_serp
Analyze search engine results for a keyword. Returns top results, featured snippets, and related searches.
| Parameter | Type | Description |
|---|---|---|
keyword * | string | The search keyword to analyze (required) |
country | string | Two-letter country code (default: us) |
language | string | Two-letter language code (default: en) |
analyze_competitors
Analyze the top-ranking pages for a search keyword. Pass your own page as the first `urls` entry to also get its ranking vs. those competitors.
| Parameter | Type | Description |
|---|---|---|
keyword * | string | The search keyword (required) |
country | string | Two-letter country code (default: us) |
language | string | Two-letter language code (default: en) |
urls | array | Optional. The FIRST entry is your own page, scored against the SERP; omit to just list competitors. |
get_search_intent
Analyze the search intent behind a keyword. Returns intent classification and content recommendations.
| Parameter | Type | Description |
|---|---|---|
keyword * | string | The search keyword to analyze (required) |
get_ai_visibility
Get an overview of your AI visibility metrics - how your content appears in AI search results like ChatGPT, Perplexity, etc. Use site_id to filter to a specific site (recommended), or omit for aggregated data across all sites.
| Parameter | Type | Description |
|---|---|---|
days | number | Number of days to look back (1-90, default: 30) |
site_id | string | Site ID for per-site metrics. Use list_sites to get available IDs. If omitted, returns aggregated data across all sites. |
get_industry_benchmark
Compare your site/org to industry benchmarks (citation rates, Geo score, share-of-voice) across AI search platforms.
| Parameter | Type | Description |
|---|---|---|
include_org | boolean | Include org overlay fields (orgRate, orgP50, articleCount, orgPct). false = industry-only. |
site_id | string | Site UUID (from list_sites). Omit for org-level aggregate; cross-org IDs are silently dropped. |
get_citation_formula
Get the top content moves linked to higher AI search citation rates in your industry. Returns a plain-language recommendation (or use flavor=full for the ranked list of all moves). Some industries may have no recommendation yet if the data is still maturing.
| Parameter | Type | Description |
|---|---|---|
flavor | string | 'active' (default) returns a single top recommendation. 'full' returns the ranked list of every move for your industry, in both directions. |
list_prompts
List AI visibility prompts you're tracking. Prompts are search queries that AI tools might use.
| Parameter | Type | Description |
|---|---|---|
page | number | Page number (default: 1) |
page_size | number | Items per page, max 100 (default: 20) |
site_id | string | Filter by site ID |
create_prompt
Track a search query to monitor how AI search results respond for your brand.
| Parameter | Type | Description |
|---|---|---|
prompt_text * | string | Query to track (10-1000 chars) |
target_brand * | string | Brand name to track visibility for |
brand_variants | array | Alternative brand spellings to match |
category | string | default: product |
frequency | string | Crawl frequency (default: daily) |
location | string | Defaults to site country |
platforms | array | AI platforms to track (e.g. chatgpt, perplexity, claude, gemini, google_ai, grok, copilot, deepseek) |
site_id | string | Strongly recommended — prompts without a site_id will NOT appear in the Frase app. From list_sites. |
get_prompt
Get details of a specific AI visibility prompt, including the latest search results.
| Parameter | Type | Description |
|---|---|---|
id * | string | The prompt ID (required) |
update_prompt
Update an AI visibility prompt's status, frequency, platforms, or brand variants.
| Parameter | Type | Description |
|---|---|---|
id * | string | Prompt ID |
brand_variants | array | Alternative brand spellings to match |
frequency | string | |
platforms | array | AI platforms to track (e.g. chatgpt, perplexity, claude, gemini, google_ai, grok, copilot, deepseek) |
status | string |
get_competitors
Get AI visibility competitors - domains that appear alongside your content in AI search results.
| Parameter | Type | Description |
|---|---|---|
days | number | Number of days to look back (1-90, default: 30) |
page | number | Page number (default: 1) |
page_size | number | Items per page, max 100 (default: 20) |
site_id | string | Filter competitors by site ID. Use list_sites to get available IDs. |
get_alerts
Get AI visibility alerts - notifications about changes in your AI search presence.
| Parameter | Type | Description |
|---|---|---|
limit | number | Max alerts to return (default: 20) |
unread_only | boolean | Only return unread alerts (default: false) |
get_insights
Get AI visibility insights - actionable recommendations based on your AI search data.
| Parameter | Type | Description |
|---|---|---|
page | number | Page number (default: 1) |
page_size | number | Items per page, max 100 (default: 20) |
status | string |
get_crawler_logs
View AI bot crawl activity on your sites - see which AI platforms are crawling your content.
| Parameter | Type | Description |
|---|---|---|
site_id * | string | The site ID (required) |
days | number | Days back (1-90, default 7) |
page | number | |
platform | string |
get_gsc_overview
Google Search Console overview for a site (clicks, impressions, CTR, avg position) vs the previous equivalent period.
| Parameter | Type | Description |
|---|---|---|
site_id * | string | |
days | number | 1-180, default 28 (app presets: 7, 28, 90, 180). |
get_gsc_queries
Get top search queries from Google Search Console for a site.
| Parameter | Type | Description |
|---|---|---|
site_id * | string | |
days | number | 1-90, default 28 |
page_size | number | default 20, max 100 |
sort_by | string | default clicks |
get_gsc_pages
Get top performing pages from Google Search Console for a site.
| Parameter | Type | Description |
|---|---|---|
site_id * | string | |
days | number | 1-90, default 28 |
page_size | number | default 20, max 100 |
sort_by | string | default clicks |
get_content_gaps
Get content gap opportunities - topics your competitors rank for that you don't.
| Parameter | Type | Description |
|---|---|---|
include_off_strategy | boolean | Include rows withheld as off-strategy (no cluster fit or competitor evidence awaiting review). |
page | number | default 1 |
page_size | number | default 20, max 100 |
site_id | string | Filter by site ID |
status | string | |
type | string | Opportunity type filter |
list_performance_alerts
List performance alerts such as traffic drops, ranking changes, and other significant events.
| Parameter | Type | Description |
|---|---|---|
page | number | default 1 |
page_size | number | default 20, max 100 |
severity | string | |
status | string | default all |
type | string |
resolve_alert
Mark a performance alert as resolved, optionally with a resolution note.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
resolution | string | Optional resolution note (max 1000 chars) |
list_optimizations
List content optimization sessions; each holds suggestions to improve content.
| Parameter | Type | Description |
|---|---|---|
content_id | string | |
page | number | default 1 |
page_size | number | default 20, max 100 |
status | string |
start_optimization
Start an optimization analysis for a piece of content. Provide EXACTLY ONE of content_id (UUID) or content_name. If multiple docs share the name, the response lists candidates — retry with a content_id.
| Parameter | Type | Description |
|---|---|---|
alert_id | string | Alert that triggered this optimization |
content_id | string | |
content_name | string | Content title; case-insensitive exact match. Returns needs_disambiguation candidates if multiple docs share it. |
get_optimization
Get details of an optimization session, including all suggestions.
| Parameter | Type | Description |
|---|---|---|
id * | string |
apply_optimization
Apply an optimization suggestion. Starts a background job and returns immediately; poll get_optimization until the suggestion shows as Applied.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
suggestion_id * | string | Suggestion ID copied verbatim from get_optimization (opaque string, not always a UUID — "suggestion-1" is valid). |
get_optimization_insights
Learning data from optimization outcomes showing which optimization types work best.
| Parameter | Type | Description |
|---|---|---|
days | number | look-back window, 7-90, default 30 |
dismiss_optimization
Dismiss an ENTIRE optimization session with ALL its suggestions. This marks the whole session (not individual suggestions) as dismissed. Use this when you want to skip all suggestions for a piece of content.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
reason | string | Optional, max 500 chars |
republish_content
Accept a suggestion application and re-publish to its CMS in place (no duplicates). Content-editor role. Failure returns a typed code (UNAUTHORIZED, RATE_LIMITED, TIMEOUT, NO_EXTERNAL_POST_ID, UPDATE_FAILED, REMOTE_POST_MISSING, REMOTE_CONTENT_CHANGED, CONCURRENT_EDIT, COMMIT_FAILED, RULES_BLOCKED, UNKNOWN). REMOTE_CONTENT_CHANGED means the CMS copy is newer - do NOT retry; the user can review and overwrite from the Guard tab.
| Parameter | Type | Description |
|---|---|---|
application_id * | string | Suggestion application ID to accept & re-publish |
content_id * | string | |
optimization_id * | string |
toggle_content_monitoring
Enable or disable Content Guard monitoring for an article. Enabling needs a live page: the stored URL, or one the server recovers (CMS inventory; FraseCMS re-derivation when a published post + domain exist). Quota-checked per plan. Needs write:content scope.
| Parameter | Type | Description |
|---|---|---|
content_id * | string | |
enable * | boolean | true to start, false to stop monitoring |
get_monitoring_status
Get the current Content Guard monitoring status for an article — includes quota, CMS/GSC connection health, pending review state. Use after toggle or before advising a user on whether to enable Guard.
| Parameter | Type | Description |
|---|---|---|
content_id * | string |
list_webhooks
List all webhooks configured for your account. Webhooks send HTTP notifications when events occur.
| Parameter | Type | Description |
|---|---|---|
page | number | default 1 |
page_size | number | default 20, max 100 |
list_competitive_analyses
List competitive page analyses. Each analysis compares your page against competitors to find content gaps and optimization opportunities.
| Parameter | Type | Description |
|---|---|---|
page | number | Page number (default: 1) |
page_size | number | Items per page, max 100 (default: 20) |
site_id | string | Filter by site ID |
status | string | Filter by analysis status |
start_competitive_analysis
Start a competitive page analysis (content gaps, missing topics, optimization opportunities). Async: poll get_competitive_analysis with the returned id for results.
| Parameter | Type | Description |
|---|---|---|
url * | string | Page URL to analyze |
competitor_urls | array | Up to 3 competitor URLs for direct comparison |
industry | string | Industry context, e.g. 'SaaS', 'E-commerce' |
location_name | string | Exact location for localized SERP, e.g. 'London,England,United Kingdom'. Use search_locations for valid values. |
site_id | string | Site ID if the page belongs to a tracked site |
get_competitive_analysis
Get details of a competitive analysis, including rankings, competitor data, gap analysis, and opportunity score.
| Parameter | Type | Description |
|---|---|---|
id * | string | The competitive analysis ID (required) |
generate_brief_from_analysis
Generate an optimization brief from a completed competitive analysis. The brief includes missing topics, keyword targets, and structural recommendations.
| Parameter | Type | Description |
|---|---|---|
id * | string | The competitive analysis ID (required, must be in 'ready' status) |
delete_competitive_analysis
Delete a competitive analysis.
| Parameter | Type | Description |
|---|---|---|
id * | string | The competitive analysis ID (required) |
search_locations
Search for valid location names for use with start_competitive_analysis. Type a city or region name to find the exact location_name value. Tip: append a 2-letter country code after a comma to narrow results (e.g., 'Birm, US').
| Parameter | Type | Description |
|---|---|---|
q * | string | Search query, at least 2 characters (e.g., 'Birmingham', 'London, GB', 'Abuja, NG') |
publish_content
Publish or unschedule content on a connected CMS. Check connections first with list_cms_connections.
| Parameter | Type | Description |
|---|---|---|
content_id * | string | The content ID to publish |
destination | string | Target CMS platform |
force | boolean | Override a warning-only rules refusal. |
scheduled_at | string | UTC (Z) ISO 8601 datetime for scheduled publishing |
site_id | string | Site ID with the CMS connection (see list_sites). |
status | string | default: publish |
unschedule | boolean | true = clear the scheduled publish instead. |
list_cms_connections
List each CMS platform's connection status for a site (Frase CMS, WordPress, Webflow, Sanity, Wix).
| Parameter | Type | Description |
|---|---|---|
site_id * | string | The site ID to check connections for. Use list_sites to get available site IDs. (required) |
list_rule_sets
List all available content rule sets. Rule sets define quality, style, and compliance rules that content can be evaluated against.
| Parameter | Type | Description |
|---|---|---|
page | number | default 1 |
page_size | number | default 20, max 100 |
site_id | string |
get_rule_set
Get details of a specific rule set, including all its individual rules. Use list_rule_sets first to find available rule set IDs.
| Parameter | Type | Description |
|---|---|---|
rule_set_id * | string |
evaluate_rules
Evaluate content rules against ONE of: content_id, post_id (CMS post), or text. rule_set_id optional (omitted = every enabled set). Returns per-rule pass/fail + overall status without saving results; fail means publishing would refuse.
| Parameter | Type | Description |
|---|---|---|
content_id | string | |
post_id | string | CMS post |
rule_set_id | string | Omit to evaluate all enabled sets |
save_results | boolean | Deprecated compatibility field; evaluations are never saved |
seo_description | string | With text |
seo_title | string | With text |
site_id | string | |
target_keywords | array | Scores score_threshold rules for post/text |
text | string | Raw body (preflight) |
create_rule
Create a content rule. Config omitted → smart defaults. config by condition_type: - score_threshold: {"scoreType":"seo","operator":">=","threshold":70} - word_count: {"operator":">=","min":300} - meta_required: {"requireTitle":true,"requireDescription":true} - verify_chips: {"maxAllowed":0} - term_compliance: {"checkNever":true,"checkAvoid":true} - link_count: {"linkType":"internal","operator":">=","min":2} - section_required: {"headingPattern":"FAQ","isRegex":false} * - regex_pattern: {"pattern":"\\bTODO\\b","flags":"gi","mustMatch":false} * - competitor_filter: {"competitors":["Acme"]} * (…
| Parameter | Type | Description |
|---|---|---|
condition_type * | string | |
name * | string | e.g. 'Minimum Word Count' |
config | object | Config per condition type (examples in tool description). Required for section_required, regex_pattern, competitor_filter. |
description | string | What this rule checks |
fix_hint | string | Shown on failure, e.g. 'Add at least 300 words' |
severity | string | default: warning |
update_rule
Update a rule's name, severity, config, description, or fix_hint (rule IDs via get_rule_set).
| Parameter | Type | Description |
|---|---|---|
id * | string | |
config | object | New condition-specific config |
description | string | |
fix_hint | string | Shown on failure |
name | string | |
severity | string |
delete_rule
Delete a content rule permanently. Use get_rule_set to find rule IDs.
| Parameter | Type | Description |
|---|---|---|
id * | string |
create_rule_set
Create a new rule set. Rule sets group related rules together for batch evaluation. Optionally include existing rule IDs to populate the set.
| Parameter | Type | Description |
|---|---|---|
name * | string | e.g. 'Blog Post Quality Standards' |
description | string | |
rule_ids | array | Existing rule IDs to add |
brand
Brand reads. action=context: brand voice, terminology, reference + approved-brand sections (author on-brand before writing). action=terminology: check raw text against brand terms.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
site_id | string | |
text | string | terminology only: the text to check |
topic | string | context only |
list_playbooks
List all available content playbooks. Playbooks are multi-step automated workflows for content creation (research, brief, generate, review, quality check).
| Parameter | Type | Description |
|---|---|---|
page | number | Page number (default: 1) |
page_size | number | Items per page (default: 20, max: 100) |
site_id | string | Filter by site ID (optional) |
get_playbook
Get details of a specific playbook, including all step definitions. Use list_playbooks first to find available playbook IDs.
| Parameter | Type | Description |
|---|---|---|
playbook_id * | string | The playbook ID to retrieve (required) |
run_playbook
Start a private Frase workflow that may create research, briefs, articles, images, or optimizations and auto-apply content changes. Returns a run ID.
| Parameter | Type | Description |
|---|---|---|
playbook_id * | string | Playbook ID to execute |
content_id | string | Existing content ID to run against (e.g. optimization playbooks like Quick Update) |
site_id | string | Pin the run to a site. Required for brief-creating system playbooks (e.g. SEO Blog Post) when no content_id is given. |
topic | string | Content topic for this run |
get_playbook_run_status
Get the current status and step results of a playbook run. Requires both playbook_id and run_id because the API uses nested routing (/playbooks/:id/runs/:runId).
| Parameter | Type | Description |
|---|---|---|
playbook_id * | string | The playbook ID (required) |
run_id * | string | The run ID to check (required) |
provide_playbook_input
Resume a paused private Frase workflow with human input. Later steps may create records or auto-apply content changes.
| Parameter | Type | Description |
|---|---|---|
input * | string | The human review input/feedback (required) |
playbook_id * | string | The playbook ID (required) |
run_id * | string | The run ID to resume (required) |
list_templates
List content templates (outline headings, word counts, boilerplate, field defaults). Optionally filter by content type.
| Parameter | Type | Description |
|---|---|---|
content_type | string | Filter by content type. See create_brief for the taxonomy. |
page | number | default: 1 |
page_size | number | default: 20, max: 100 |
get_template
Get full details of a specific content template, including all section definitions, boilerplate blocks, and field defaults. Use list_templates first to find available template IDs.
| Parameter | Type | Description |
|---|---|---|
template_id * | string | The template ID to retrieve (required) |
create_template
Create a custom content template (outline sections with headings, word counts, key points). Plan limits apply.
| Parameter | Type | Description |
|---|---|---|
name * | string | max 255 chars |
sections * | array | Outline sections, at least 1. |
boilerplate_blocks | array | |
content_type | string | Omit for universal. See create_brief for the taxonomy. |
description | string | |
field_defaults | object |
apply_template
Resolve a template's outline, defaults, and boilerplate without modifying data. Use list_templates for IDs.
| Parameter | Type | Description |
|---|---|---|
template_id * | string | The template ID to apply (required) |
extract_template
Extract a template from a brief or article. Saves it when outline sections exist; otherwise returns it unsaved.
| Parameter | Type | Description |
|---|---|---|
source_id * | string | The brief ID or content ID to extract from (required) |
source_type * | string | Source type: "brief" or "content" (required) |
create_atomization
Generate one derived format for an article, replacing prior results of that type; completion can notify configured webhooks.
| Parameter | Type | Description |
|---|---|---|
content_id * | string | Article ID |
type * | string | Format |
get_atomization
Get a derived format’s status, content and assets.
| Parameter | Type | Description |
|---|---|---|
id * | string | Atomization ID |
batch_atomize
Generate 1–4 formats for one article, replacing prior results; returns IDs to poll and can send completion webhooks.
| Parameter | Type | Description |
|---|---|---|
content_id * | string | Article to repurpose |
types * | array |
export_atomization
Export atomization results in JSON, plain text, or Markdown format.
| Parameter | Type | Description |
|---|---|---|
id * | string | Atomization ID |
format | string | Export format (default: json) |
list_opportunities
Get unified content opportunities scored by Impact (35%), Effort (25%), Speed (20%), and Strategic value (20%). Views: quick-wins (low effort, proven demand), growth (medium effort, validated gaps), strategic (high effort, high reward).
| Parameter | Type | Description |
|---|---|---|
site_id * | string | |
page_size | number | default 20, max 100 |
view | string | default all |
get_opportunity
Get opportunity details with a full scoring breakdown (impact, effort, speed, strategic value), the detection methodology, and any competitor gaps.
| Parameter | Type | Description |
|---|---|---|
id * | string |
create_from_opportunity
Generate a content brief directly from an opportunity — pre-fills topic, keywords, and competitive context.
| Parameter | Type | Description |
|---|---|---|
id * | string |
list_clusters
List topic clusters. Each cluster has a pillar topic and supporting content pieces organized around it.
| Parameter | Type | Description |
|---|---|---|
site_id | string | Filter by site ID |
create_cluster
Create a topic cluster from a name, optional description, and seed keywords. Content and briefs can be assigned afterwards.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
description | string | What the cluster is about |
seed_keywords | array | Keywords that seed the cluster |
site_id | string | Associate with a site |
assign_to_cluster
Assign content or a brief to a topic cluster.
| Parameter | Type | Description |
|---|---|---|
cluster_id * | string | |
brief_id | string | Brief to assign |
content_id | string | Content to assign |
set_cluster_pillar
Make a content item (not a brief; already assigned via assign_to_cluster) the pillar of a topic cluster. Replaces any sitting pillar, which stays as a supporting piece.
| Parameter | Type | Description |
|---|---|---|
cluster_id * | string | |
content_id * | string | Content already in the cluster to elect as its pillar |
suggest_clusters
Get AI-powered cluster suggestions based on your existing content and keyword data. Suggests pillar topics and supporting articles.
| Parameter | Type | Description |
|---|---|---|
site_id * | string |
get_site_health
Get overall site health score, issue counts by severity, and page statistics. Use this before diving into specific issues.
| Parameter | Type | Description |
|---|---|---|
site_id * | string |
get_cannibalization
Detect pages competing for the same keywords. Shows keyword groups with conflicting pages and their positions. Requires an audit_id — get it from `list_audits` or `get_audit`.
| Parameter | Type | Description |
|---|---|---|
audit_id * | string | From list_audits or get_audit |
get_link_graph
Get internal link structure analysis for a specific page — inbound/outbound links, link depth, and authority metrics. Requires a page_id — get it from the pages list in `get_audit`.
| Parameter | Type | Description |
|---|---|---|
page_id * | string | From get_audit pages list |
get_next_actions
What to do now on a site, ranked across opportunities, site health, analytics, optimizations and AI visibility; each item names the next tool.
| Parameter | Type | Description |
|---|---|---|
site_id * | string | UUID |
get_auto_optimization_status
Get auto-optimization (watchdog) status for a site. Shows decay detection settings, pending auto-applies, and content health trends.
| Parameter | Type | Description |
|---|---|---|
site_id * | string |
toggle_auto_optimization
Enable or disable auto-optimization for a site. When enabled, the watchdog monitors content for decay (age, traffic trend, ranking trend, competitor activity) and auto-applies safe optimization suggestions.
| Parameter | Type | Description |
|---|---|---|
enabled * | boolean | true = enable, false = disable |
site_id * | string |
get_delivery_token
Reveal the current live CMS credential without rotating it; only on explicit user request. If revoked, use rotate_delivery_token.
| Parameter | Type | Description |
|---|---|---|
site_id * | string | The site whose delivery token to fetch |
rotate_delivery_token
Rotate a site's FraseCMS delivery token: invalidates every previously-issued token for the site and returns the new one.
| Parameter | Type | Description |
|---|---|---|
site_id * | string | The site whose delivery token to rotate |
list_cms_posts
List/search a site's CMS posts (paginated). Filter by status, type, category/tag/author slug, updated_since; q = ranked full-text search; sort=demand = visitor-question demand.
| Parameter | Type | Description |
|---|---|---|
site_id * | string | From list_sites. |
author | string | Author slug (primary or co-author). |
category | string | Category slug. |
page | number | Default 1. |
page_size | number | Max 100, default 20. |
q | string | Full-text search over title + body (ranked). |
sort | string | Order. demand = visitor-question demand desc. Default created_at (or relevance when q set). |
status | string | |
tag | string | Tag slug. |
type | string | |
updated_since | string | ISO-8601; only posts changed at/after this. |
cms_post
Read one CMS post. action=get → full body + SEO + taxonomy by post_id (optional include_research / include_blocks). action=get_by_slug → same by site_id + slug. action=performance → GSC metrics, quality scores, health, visitor demand.
| Parameter | Type | Description |
|---|---|---|
action * | string | get & performance require post_id; get_by_slug requires site_id + slug. |
include_blocks | boolean | get only: attach a derived blocks array; null with a note if not enabled. |
include_research | boolean | get only: attach the originating research session if any. |
post_id | string | Post id. Required for get, performance. |
site_id | string | Required for get_by_slug. |
slug | string | Required for get_by_slug. |
write_cms_post
Create or update a CMS post. action=create requires site_id, title, content (HTML). action=update requires post_id; omitted fields stay unchanged, [] clears array fields. Writes default to agent_authored=true (pass false for human-authored). Publishing is rules-gated; force overrides warning-only refusals.
| Parameter | Type | Description |
|---|---|---|
action * | string | create → requires site_id, title, content. update → requires post_id. |
agent_authored | boolean | Provenance. Default true (AI-authored); pass false for human-authored. |
authors | array | Names or { name, bio?, avatar_url?, email?, social_links? }; first = primary. |
canonical_url | string | HTTPS. |
categories | array | Names; find-or-create. |
content | string | HTML. Required for create. |
content_type_config | object | Per-type config; validated server-side per type. |
excerpt | string | |
faqs | array | { question, answer } → FAQPage schema. |
featured_image | string | HTTPS URL. |
focus_keyword | string | Target SEO keyword. |
force | boolean | Override a warning-only rules refusal. |
post_id | string | Post id. Required for update. |
published_at | string | create only (rejected on update). ISO 8601. |
related_post_ids | array | ≤3 published blog-post ids, same site; [] clears. |
schema_markup | object | JSON-LD. |
seo_description | string | |
seo_title | string | |
site_id | string | Required for create. |
slug | string | Auto-generated from title if omitted. |
status | string | create only (rejected on update). Default draft. To publish/unpublish an existing post use bulk_cms_posts. |
tags | array | Names; find-or-create. |
title | string | Required for create. |
type | string | Default blog_post. |
bulk_cms_posts
Publish, unpublish, or delete one or more CMS posts (1-25) by id. Use a single-element post_ids for one post. Returns per-id succeeded/failed; one bad id never aborts the batch. Delete needs delete scope. Publish is rules-gated: force overrides warning-only refusals.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
post_ids * | array | Post UUIDs (1-25) |
force | boolean | publish only: override warning-only rules refusals. |
import_cms_posts
Async bulk import of CMS posts (max 100). Returns a job ID; poll get_cms_import_status for completion.
| Parameter | Type | Description |
|---|---|---|
posts * | array | Max 100. Each requires title and content. |
site_id * | string | |
options | object |
get_cms_import_status
Check the status of a CMS bulk import job. Shows posts queued, succeeded, failed, and skipped counts.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | Import job ID (required) |
rehost_cms_media
Rehost an external https image onto Frase-hosted storage for FraseCMS content (SSRF-guarded), returning a stable hosted URL so published content never hotlinks a third-party image that may move or rate-limit.
| Parameter | Type | Description |
|---|---|---|
site_id * | string | Site to rehost the media for. |
url * | string | Public https URL of the image. |
list_content_comments
List comments on a content article (human + AI suggestions). Default returns only open comments; pass status=all to include resolved. Non-admin users only see AI comments they requested or were @-mentioned in.
| Parameter | Type | Description |
|---|---|---|
content_id * | string | UUID of the content article. |
status | string | Filter by comment status. Defaults to 'open'. |
set_comment_status
Resolve or reopen a single comment by ID. Hidden AI comments (visibility gate) return not-found.
| Parameter | Type | Description |
|---|---|---|
comment_id * | string | |
status * | string |
bulk_set_comment_status
Resolve or reopen up to 100 comments in a single call. Comments that are missing or hidden by the visibility gate are returned in `skipped`.
| Parameter | Type | Description |
|---|---|---|
comment_ids * | array | |
status * | string |
get_usage
Check remaining quota: what each pool has used, its limit, when it refills, and what has recently been refused. Call before large batches to pace work, or after a 429 to see why.