# Référence des outils MCP

> Tous les outils qu’une connexion MCP KNWN peut appeler, avec leurs paramètres, générés à partir du catalogue en direct du serveur.

https://knwn.app/docs/mcp-tools?lang=fr
Mis à jour le 26 novembre 2026 · 20 min de lecture

## Comment lire cette référence

Les clés MCP et les connexions OAuth peuvent utiliser 66 outils : 32 outils de lecture et 34 outils d’écriture. Cette page est générée à partir du catalogue du serveur lui-même ; elle correspond donc toujours à ce que voit votre assistant.

- Les outils de lecture ne modifient jamais rien. Une clé en lecture seule ne liste que ceux-là. Avec OAuth en lecture seule, les outils d’écriture sont aussi listés, marqués comme nécessitant un accès supplémentaire.
- Les outils d’écriture exigent l’accès Modifications et tâches d’IA et un `request_id` (un UUID). Rappeler un appel avec le même ID renvoie le résultat enregistré.
- Les outils marqués d’un coût ou d’un service extérieur demandent d’abord votre accord.
- `project_id` provient de `list_projects`. Une clé, ou une connexion avec un seul projet, le renseigne automatiquement.
- Quelques paramètres du propriétaire, comme la collecte automatique, le fuseau horaire des rapports et le budget mensuel, ne sont pas proposés aux clés MCP ni aux connexions OAuth. Modifiez-les dans l’app.

## Découverte et accès

Commencez ici : quels projets une connexion couvre et ce qu’elle peut faire.

### `list_projects` (Lecture)

List projects

List KNWN projects available to the signed-in account or project key.

Aucun paramètre.

### `get_project` (Lecture)

Get project

Read the project, competitors with their IDs, tracked prompts (ID, text, topic, engines, status), usable engines and the latest scan. Use list_prompts for full prompt settings. Does not return credentials.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |

### `account_status` (Lecture)

Access, credits and limits

What this connection can do and what remains: access (scope, role, whether changes and paid jobs are allowed), tracking credits, answers collected this month against the project budget, prompts, usable engines and requests left this minute. Check before paid work.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |

### `project_readiness` (Lecture)

Project readiness

Read project capability configuration and observed data. Configured credentials are not proof of a successful provider call.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |

### `get_operation` (Lecture)

Get write receipt

Read this MCP key’s durable write receipt. A running receipt may have an uncertain outcome after interruption; inspect saved records before considering another operation.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `request_id` | UUID | Oui | UUID generated once per intended action; reuse it unchanged when retrying. |

## Rapports

Visibilité mesurée, concurrents et sources. Tous acceptent les filtres communs.

### `visibility_report` (Lecture)

Visibility summary

Compact summary for the project brand and competitors: visibility, share of voice, position, sentiment and citations, with change from the preceding period over the matched answers. comparison says what the change covers (matched, new, dropped and failed answers, engine model or channel switches) and whether each change is clear (direction). Returns brands, engines, topics and actions by default; add sections for prompts, sources, trend, fan-out insights and more.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `filters` | object — see Filters |  | Optional. Default: last 30 days, all engines and markets, compared with the preceding period. |
| `sections` | list of values from `brands`, `engines`, `topics`, `prompts`, `actions`, `domains`, `pages`, `trend`, `recent`, `insights`, `facets`, `annotations`, `all`, 1–13 items |  | Sections to include; default brands, engines, topics, actions. prompts: per-prompt results with example and gap answer IDs. domains/pages: cited sources. trend: daily visibility per brand. recent: latest answers. insights: search fan-out queries, untracked brands, retrieved and inline sources, shopping and ads. all: everything. |
| `limit` | integer 1–250 |  | Maximum rows per list section; default 3. rowsOmitted names additional rows; request a larger limit or a focused section to read them. |

**Renvoie** `range`, `truncated`, `count`, `previousCount`, `outcomes`, `metrics`, `comparison`, `provenance`, `coverage`, `evidence`, `imported`, `branding`, `brands`, `engines`, `sections`

### `brand_report` (Lecture)

Brand comparison table

One table of every tracked brand’s visibility, share of voice, average position and sentiment counts, optionally split by up to four of engine, topic, day, week, month, country, prompt, tag, persona or language, with change from the preceding period. Answers competitor-by-engine or competitor-by-topic questions in one call.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `filters` | object — see Filters |  | Optional. Default: last 30 days, all engines and markets, compared with the preceding period. |
| `group_by` | one of `engine`, `method`, `topic`, `day`, `week`, `month`, `country`, `prompt`, `tag`, `persona`, `language` |  | Dimension for one row per group and brand; omit for overall totals. week starts Monday; month is YYYY-MM. |
| `then_by` | one of `engine`, `method`, `topic`, `day`, `week`, `month`, `country`, `prompt`, `tag`, `persona`, `language` |  | Optional second dimension, such as engine within topic or week. |
| `dimensions` | list of values from `engine`, `method`, `topic`, `day`, `week`, `month`, `country`, `prompt`, `tag`, `persona`, `language`, 1–4 items |  | Up to four dimensions in order, such as ["topic", "engine", "week"]; replaces group_by and then_by. |
| `brands` | list of string, 1–253 characters, 0–20 items |  | Only rows for these brand names, aliases or domains. |
| `prompt_id` | UUID |  | Only answers to this tracked prompt. |
| `limit` | integer 1–500 |  | Rows per page; default 100. |
| `offset` | integer 0–1000000 |  | Rows to skip when paging. |

**Renvoie** `range`, `truncated`, `columns`, `rows`, `rowCount`, `totalCount`, `offset`, `limit`, `hasMore`, `groupBy`, `answers`

### `citation_report` (Lecture)

Citation sources and gaps

Cited domains or pages ranked by citations or gaps, labelled owned, competitor or earned. gap_answers counts answers that cite the source and name a competitor but not your brand; quote one with get_answer using example_answer_id.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `filters` | object — see Filters |  | Optional. Default: last 30 days, all engines and markets, compared with the preceding period. |
| `level` | one of `domain`, `url` |  | domain (default) or url for individual pages. |
| `type` | one of `owned`, `competitor`, `earned` |  | Only owned, competitor or earned sources. |
| `gap_only` | boolean |  | Only sources with gap answers, sorted by gap_answers. |
| `sort` | one of `citations`, `answers`, `gap`, `gap_rate` |  | citations (default), answers, gap or gap_rate. |
| `category` | string, up to 70 characters |  | Only sources labelled with this category (see save_source_rule). |
| `source` | one of `citations`, `links`, `retrieved` |  | citations (default): sources answers cite; links: URLs written into answer text; retrieved: pages engines retrieved. |
| `prompt_id` | UUID |  | Only answers to this tracked prompt. |
| `limit` | integer 1–250 |  | Rows per page; default 25. |
| `offset` | integer 0–1000000 |  | Rows to skip when paging. |

**Renvoie** `range`, `truncated`, `columns`, `rows`, `rowCount`, `totalCount`, `offset`, `limit`, `hasMore`, `level`, `answers`, `citedAnswers`

### `fanout_report` (Lecture)

Search fan-out queries

Search fan-out queries the engines ran while answering, or two-word terms, with their answers and share of the answers with a captured search, the change in percentage points and status (new, rising, steady, declining, lost) versus the preceding period, and how often those answers mention your brand. Status and change are null, with statusReason, when the periods cannot be compared or the preceding one has no searched answers; new can mean a newly tracked prompt.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `filters` | object — see Filters |  | Optional. Default: last 30 days, all engines and markets, compared with the preceding period. |
| `view` | one of `queries`, `terms` |  | queries (default) or terms. |
| `status` | one of `new`, `rising`, `steady`, `declining`, `lost` |  | Only this trend. |
| `contains` | string, up to 120 characters |  | Only queries containing this text. |
| `prompt_id` | UUID |  | Only answers to this tracked prompt. |
| `limit` | integer 1–250 |  | Rows per page or section; default 25. |
| `offset` | integer 0–1000000 |  | Rows to skip when paging. |

**Renvoie** `range`, `truncated`, `columns`, `rows`, `rowCount`, `totalCount`, `offset`, `limit`, `hasMore`, `view`, `answers`, `searchedAnswers`

### `source_detail` (Lecture)

Source deep dive

Deep dive into one cited domain or page: citation trend, engines, prompts, brands named alongside, its pages and the answers citing it, compared with the preceding period.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `filters` | object — see Filters |  | Optional. Default: last 30 days, all engines and markets, compared with the preceding period. |
| `domain` | string, up to 253 characters |  | A cited domain, such as g2.com. |
| `url` | string, up to 2000 characters |  | An exact cited page URL. |
| `limit` | integer 1–100 |  | Rows per page or section; default 10. |

### `compare_competitor` (Lecture)

Head-to-head with a competitor

Head-to-head with one competitor: answers naming only you, only them, both or neither, by topic, prompt and the sources cited when only they appear. Add focus_kind/focus_value or outcome to list matching answers.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `filters` | object — see Filters |  | Optional. Default: last 30 days, all engines and markets, compared with the preceding period. |
| `competitor` | string, 1–253 characters | Oui | Competitor name, alias, domain or ID. |
| `outcome` | one of `competitorOnly`, `ownOnly`, `both`, `neither` |  | Only answers with this outcome in evidence. |
| `focus_kind` | one of `topic`, `prompt`, `source` |  | What focus_value names. |
| `focus_value` | string, up to 2000 characters |  | Topic name, prompt ID or cited domain. |
| `limit` | integer 1–100 |  | Rows per page or section; default 10. |

### `brand_perception` (Lecture)

Brand perception

Get brand attributes, objection themes and fact-check evidence.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `filters` | object — see Filters |  | Optional. Default: last 30 days, all engines and markets, compared with the preceding period. |

### `page_inventory` (Lecture)

Page inventory

Get project pages, citation counts, traffic and the latest audit status.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `filters` | object — see Filters |  | Optional. Default: last 30 days, all engines and markets, compared with the preceding period. |

### `social_citations` (Lecture)

Social citations

Get cited social posts and tracked-channel performance for a project.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `filters` | object — see Filters |  | Optional. Default: last 30 days, all engines and markets, compared with the preceding period. |

## Réponses et preuves

Les réponses enregistrées derrière chaque chiffre.

### `list_answers` (Lecture)

List answers

List answers newest first with prompt, engine, day and whether your brand was mentioned. With brands, brand_absent, gap_only, cites, sentiment or limit, rows also give your position and sentiment, the brands named in order and cited domains. Use get_answer for the text.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `filters` | object — see Filters |  | Optional. Default: last 30 days, all engines and markets, compared with the preceding period. |
| `brands` | list of string, 1–253 characters, 1–5 items |  | Only answers naming all of these brands (names, aliases or domains). |
| `brand_absent` | boolean |  | Only answers that do not mention your brand. |
| `gap_only` | boolean |  | Only answers naming a competitor but not your brand. |
| `cites` | string, up to 253 characters |  | Only answers citing this domain. |
| `sentiment` | one of `positive`, `neutral`, `negative` |  | Only answers where your brand has this sentiment. |
| `page` | integer 1–10000 |  | Page number; 30 answers per page. A page past the end is empty. |
| `cursor` | string, 1–600 characters |  | nextCursor from the previous page: the next page of the same snapshot, with no repeats. |
| `limit` | integer 1–100 |  | Answers per page; default 30. |

### `get_answer` (Lecture)

Get answer evidence

Get one answer’s text, brand mentions with position and sentiment, source citations and search fan-out queries.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `answer_id` | UUID | Oui | Answer ID from list_answers, citation_report or visibility_report. |

## Demande, trafic et analyses

Demande de recherche en IA, trafic des robots d’IA et des référents, et analyses Google et pixel.

### `search_volume` (Lecture)

AI search volume

Saved monthly AI search volume estimates per keyword and market, with the latest month, change, average and intent (saved, or estimated from the keyword). group_by intent returns each intent’s share of AI searches.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `market` | one of `US`, `GB`, `CA`, `AU`, `DE`, `FR`, `ES`, `IT`, … (61 values) |  | Only this market. |
| `keyword` | string, up to 120 characters |  | Only keywords containing this text. |
| `group_by` | one of `intent` |  | intent: totals and share of the latest month per intent. |
| `limit` | integer 1–500 |  | Rows per page; default 50. |
| `offset` | integer 0–1000000 |  | Rows to skip when paging. |

**Renvoie** `range`, `truncated`, `columns`, `rows`, `rowCount`, `totalCount`, `offset`, `limit`, `hasMore`

### `lookup_search_volume` (Écriture · Utilise l’usage d’IA)

Look up AI search volume

estimate monthly AI search volume for up to eight keywords in one market and save the results. Uses AI usage to estimate search volumes; ask first.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `keywords` | list of string, 1–120 characters, 1–8 items | Oui | Keywords or short questions. |
| `market` | one of `US`, `GB`, `CA`, `AU`, `DE`, `FR`, `ES`, `IT`, … (61 values) | Oui | Market to estimate. |
| `request_id` | UUID | Oui | UUID generated once per intended action; reuse it unchanged when retrying. |

### `save_search_volumes` (Écriture)

Import AI search volumes

Save AI search volume rows you already have, such as an export from a keyword tool, with an optional intent. A row with the same keyword, market, month and source is replaced.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `rows` | list of object { keyword: string, 1–120 characters; market: one of `US`, `GB`, `CA`, `AU`, `DE`, `FR`, `ES`, `IT`, … (61 values); month: string, 7–7 characters; volume: integer 0–1000000000; source?: string, up to 120 characters; intent?: one of `Branded`, `Comparison`, `Transactional`, `Discovery`, `Informational` }, 1–100 items | Oui | Up to 100 rows. |
| `request_id` | UUID | Oui | UUID generated once per intended action; reuse it unchanged when retrying. |

### `ai_traffic_report` (Lecture)

AI crawler and referral traffic

AI crawler visits (crawl) and AI-assistant referrals (referral) to the project website from imported request logs, grouped by platform, path, day or kind, with change from the preceding period. Referrals count requests whose referrer is a known AI service (utm_source is not read); GA4 sessions are in analytics_report and count differently. Crawler names come from user agents, which can be faked: report verified requests, and the mismatched and unchecked ones separately.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `period` | object `{ days, start, end }` — see Filters |  | Optional. Default: last 30 days. |
| `group_by` | one of `platform`, `path`, `day`, `kind` |  | Default platform. |
| `kind` | one of `crawl`, `referral` |  | Only crawler visits or only referrals. |
| `platform` | string, up to 80 characters |  | Only this platform, such as GPTBot or ChatGPT. |
| `limit` | integer 1–500 |  | Rows per page; default 50. |
| `offset` | integer 0–1000000 |  | Rows to skip when paging. |

**Renvoie** `range`, `truncated`, `columns`, `rows`, `rowCount`, `totalCount`, `offset`, `limit`, `hasMore`, `requests`

### `analytics_report` (Lecture)

Analytics referrals and conversions

GA4 sessions from AI assistants, Search Console clicks or pixel conversions, grouped by source, landing path or day, with change from the preceding period.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `period` | object `{ days, start, end }` — see Filters |  | Optional. Default: last 30 days. |
| `dataset` | one of `ga4`, `gsc`, `conversion` |  | ga4 (default), gsc or conversion. |
| `group_by` | one of `source`, `path`, `day` |  | Default source (path for gsc). |
| `limit` | integer 1–500 |  | Rows per page or section; default 50. |
| `offset` | integer 0–1000000 |  | Rows to skip when paging. |

**Renvoie** `range`, `truncated`, `columns`, `rows`, `rowCount`, `totalCount`, `offset`, `limit`, `hasMore`, `dataset`, `connected`, `totals`

### `sync_google_analytics` (Écriture · Imports depuis Google)

Import Google analytics

import GA4 AI-referral sessions or Search Console clicks for the period from the connected Google property. Calls Google; ask first.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `dataset` | one of `ga4`, `gsc` | Oui | Which Google source to import. |
| `period` | object `{ days, start, end }` — see Filters |  | Optional. Default: last 30 days. |
| `request_id` | UUID | Oui | UUID generated once per intended action; reuse it unchanged when retrying. |

## Configuration du suivi

Prompts, découverte de prompts, concurrents et profil de marque.

### `list_prompts` (Lecture)

List prompts

List tracked prompts with ID, text, topic, tags, engines, market, language, persona and status, newest first. Narrow with topic, tag, active or contains.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `topic` | string, up to 70 characters |  | Only this topic. |
| `tag` | string, up to 80 characters |  | Only prompts with this tag. |
| `active` | boolean |  | Only active (true) or paused (false) prompts. |
| `contains` | string, up to 120 characters |  | Only prompts containing this text. |

### `suggest_prompts` (Lecture)

Suggest prompts

Suggest questions to track from KNWN templates for the project, a topic and a market, leaving out prompts already tracked. Does not call a model or save anything; track the chosen ones with create_prompts.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `topic` | string, up to 70 characters |  | Topic or category; default the project industry. |
| `country` | one of `GLOBAL`, `US`, `GB`, `CA`, `AU`, `DE`, `FR`, `ES`, … (62 values) |  | Market to ask from. |
| `language` | one of `""`, `en`, `es`, `fr`, `de`, `it`, `pt`, `nl`, `sv`, `pl`, `cs`, `ro`, `el`, `tr`, … (28 values) |  | Question language code. Chat models receive an Answer language line; Google AI Overviews and AI Mode search in this language. |
| `persona` | string, up to 120 characters |  | Optional persona, sent to chat models as an Audience context line before the question; Google AI Overviews and AI Mode search the question as written. |
| `purpose` | one of `visibility`, `perception`, `objections`, `factcheck` |  | Prompt purpose. |
| `engines` | list of values from `chatgpt`, `perplexity`, `gemini`, `claude`, `copilot`, `grok`, `deepseek`, `meta`, `overview`, `google`, `perplexity_ui`, `naver`, `ernie`, `bing_ai`, … (40 values), 1–40 items |  | Engine IDs to collect answers from. |

### `create_prompt` (Écriture)

Track a prompt

Add an active tracked prompt, or reuse its exact existing configuration. Conflicting or paused matches require update_prompt. Do not call concurrently for the same prompt.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `text` | string, 1–600 characters | Oui | The question, worded as a user would ask an assistant. |
| `topic` | string, 1–70 characters | Oui | Topic used to group results. |
| `engines` | list of values from `chatgpt`, `perplexity`, `gemini`, `claude`, `copilot`, `grok`, `deepseek`, `meta`, `overview`, `google`, `perplexity_ui`, `naver`, `ernie`, `bing_ai`, … (40 values), 1–40 items | Oui | Engine IDs to collect answers from. |
| `country` | one of `GLOBAL`, `US`, `GB`, `CA`, `AU`, `DE`, `FR`, `ES`, … (62 values) |  | Market to ask from. |
| `tags` | list of string, 1–80 characters, 0–8 items |  | Labels for filtering. |
| `language` | one of `""`, `en`, `es`, `fr`, `de`, `it`, `pt`, `nl`, `sv`, `pl`, `cs`, `ro`, `el`, `tr`, … (28 values) |  | Question language code. Chat models receive an Answer language line; Google AI Overviews and AI Mode search in this language. |
| `persona` | string, up to 120 characters |  | Optional persona, sent to chat models as an Audience context line before the question; Google AI Overviews and AI Mode search the question as written. |
| `purpose` | one of `visibility`, `perception`, `objections`, `factcheck` |  | Prompt purpose. |
| `thinking` | object mapping each key to one of `off`, `minimal`, `low`, `medium`, `high` |  | Thinking level per selected API model, such as {"claude_sonnet":"high"}: off, minimal, low, medium or high, as the model offers. Omitted models use the provider default level. Higher levels cost more credits. |
| `request_id` | UUID | Oui | UUID generated once per intended action; reuse it unchanged when retrying. |

### `create_prompts` (Écriture)

Track prompts in bulk

Track up to 25 prompts in one call. Each item is created, reused (an identical active prompt exists), conflict (a paused or differently configured match; use update_prompt) or duplicate (repeated in the request). preview true saves nothing and returns the plan, including prompt-limit problems; then repeat with preview false.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `prompts` | list of object { text: string, 1–600 characters; topic: string, 1–70 characters; engines: list of values from `chatgpt`, `perplexity`, `gemini`, `claude`, `copilot`, `grok`, `deepseek`, `meta`, `overview`, `google`, `perplexity_ui`, `naver`, `ernie`, `bing_ai`, … (40 values), 1–40 items; country?: one of `GLOBAL`, `US`, `GB`, `CA`, `AU`, `DE`, `FR`, `ES`, … (62 values); tags?: list of string, 1–80 characters, 0–8 items; language?: one of `""`, `en`, `es`, `fr`, `de`, `it`, `pt`, `nl`, `sv`, `pl`, `cs`, `ro`, `el`, `tr`, … (28 values); persona?: string, up to 120 characters; purpose?: one of `visibility`, `perception`, `objections`, `factcheck`; thinking?: object mapping each key to one of `off`, `minimal`, `low`, `medium`, `high` }, 1–25 items | Oui | Prompts to track. |
| `preview` | boolean |  | true returns the plan without saving. |
| `request_id` | UUID | Oui | UUID generated once per intended action; reuse it unchanged when retrying. |

### `update_prompt` (Écriture)

Update prompt

Update a tracked prompt or pause/resume it. Preserves omitted fields and does not collect answers.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `prompt_id` | UUID | Oui | Tracked prompt ID from list_prompts. |
| `text` | string, 1–600 characters |  | The question, worded as a user would ask an assistant. |
| `topic` | string, 1–70 characters |  | Topic used to group results. |
| `engines` | list of values from `chatgpt`, `perplexity`, `gemini`, `claude`, `copilot`, `grok`, `deepseek`, `meta`, `overview`, `google`, `perplexity_ui`, `naver`, `ernie`, `bing_ai`, … (40 values), 1–40 items |  | Engine IDs to collect answers from. |
| `country` | one of `GLOBAL`, `US`, `GB`, `CA`, `AU`, `DE`, `FR`, `ES`, … (62 values) |  | Market to ask from. |
| `tags` | list of string, 1–80 characters, 0–8 items |  | Labels for filtering. |
| `language` | one of `""`, `en`, `es`, `fr`, `de`, `it`, `pt`, `nl`, `sv`, `pl`, `cs`, `ro`, `el`, `tr`, … (28 values) |  | Question language code. Chat models receive an Answer language line; Google AI Overviews and AI Mode search in this language. |
| `persona` | string, up to 120 characters |  | Optional persona, sent to chat models as an Audience context line before the question; Google AI Overviews and AI Mode search the question as written. |
| `purpose` | one of `visibility`, `perception`, `objections`, `factcheck` |  | Prompt purpose. |
| `thinking` | object mapping each key to one of `off`, `minimal`, `low`, `medium`, `high` |  | Thinking level per selected API model, such as {"claude_sonnet":"high"}: off, minimal, low, medium or high, as the model offers. Omitted models use the provider default level. Higher levels cost more credits. |
| `active` | boolean |  | false pauses the prompt; true resumes it. |
| `request_id` | UUID | Oui | UUID generated once per intended action; reuse it unchanged when retrying. |

### `organize_prompts` (Écriture)

Organize prompts in bulk

Change up to 100 tracked prompts at once: set a topic, add or remove tags, or pause (active false) and resume them. Answers already collected keep the topic and tags they had; filters on past answers use those. Does not collect answers.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `prompt_ids` | list of UUID, 1–100 items | Oui | Prompt IDs from list_prompts. |
| `topic` | string, 1–70 characters |  | New topic for all of them. |
| `add_tags` | list of string, 1–80 characters, 1–8 items |  | Tags to add. |
| `remove_tags` | list of string, 1–80 characters, 1–8 items |  | Tags to remove. |
| `active` | boolean |  | false pauses; true resumes. |
| `request_id` | UUID | Oui | UUID generated once per intended action; reuse it unchanged when retrying. |

### `get_prompt_discovery` (Lecture)

Prompt discovery plans

Saved prompt discovery plans: suggested questions per topic and market with intent, reason and the brand facts or sources behind them, and whether each is already tracked. Supply plan_id for its candidates; review counts tracked and pending ones.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `plan_id` | UUID |  | Plan ID from the list. |

### `discover_prompts` (Écriture · Utilisation de l’IA avec use_model)

Discover prompts to track

Create a discovery plan: up to five suggested questions per topic and market, each with an intent and reason, grounded in the brand profile, competitors, facts and knowledge sources. use_model true (owner, analysis model, may incur usage) writes them with AI; otherwise templates are used. Nothing is tracked until accept_prompt_suggestions.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `topics` | list of string, 1–70 characters, 1–3 items | Oui | 1 to 3 topics. |
| `markets` | list of object { country: one of `GLOBAL`, `US`, `GB`, `CA`, `AU`, `DE`, `FR`, `ES`, … (62 values); language: one of `""`, `en`, `es`, `fr`, `de`, `it`, `pt`, `nl`, `sv`, `pl`, `cs`, `ro`, `el`, `tr`, … (28 values) }, 1–2 items | Oui | 1 or 2 country and language pairs. |
| `engines` | list of values from `chatgpt`, `perplexity`, `gemini`, `claude`, `copilot`, `grok`, `deepseek`, `meta`, `overview`, `google`, `perplexity_ui`, `naver`, `ernie`, `bing_ai`, … (40 values), 1–40 items | Oui | Engines the accepted prompts track. |
| `purpose` | one of `visibility`, `perception`, `objections`, `factcheck` |  | Prompt purpose. |
| `persona` | string, up to 120 characters |  | Optional persona, sent to chat models as an Audience context line before the question; Google AI Overviews and AI Mode search the question as written. |
| `instructions` | string, up to 1200 characters |  | Extra guidance for the suggestions. |
| `use_model` | boolean |  | true uses the analysis model; ask first. |
| `request_id` | UUID | Oui | UUID generated once per intended action; reuse it unchanged when retrying. |

### `accept_prompt_suggestions` (Écriture)

Track suggested prompts

Track chosen candidates from a discovery plan, optionally editing text, topic or tags first. Matches to existing prompts are reused; the plan revision guards against stale edits.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `plan_id` | UUID | Oui | Plan ID from get_prompt_discovery. |
| `revision` | integer 0–1000000 | Oui | The plan revision you read. |
| `candidates` | list of object { id: string, 1–90 characters; text?: string, 1–600 characters; topic?: string, 1–70 characters; tags?: list of string, 1–80 characters, 0–8 items }, 1–30 items | Oui | Candidates to track, with optional edits. |
| `request_id` | UUID | Oui | UUID generated once per intended action; reuse it unchanged when retrying. |

### `add_competitor` (Écriture)

Add competitor

Add a competitor, or reuse an exact active domain/name/alias match. Does not silently change an existing competitor.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `name` | string, 1–100 characters | Oui | Brand name as it appears in answers. |
| `domain` | string, 1–253 characters | Oui | Website domain, such as example.com. |
| `aliases` | list of string, 1–80 characters, 0–10 items |  | Other names that count as a mention. |
| `request_id` | UUID | Oui | UUID generated once per intended action; reuse it unchanged when retrying. |

### `update_competitor` (Écriture)

Update competitor

Rename a competitor, change its domain or aliases, or archive (active false) and restore it. Archived competitors are not matched in new answers; earlier answers keep their results. Competitor IDs are in get_project.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `competitor_id` | UUID | Oui | Competitor ID from get_project. |
| `name` | string, 1–100 characters |  | Brand name as it appears in answers. |
| `domain` | string, 1–253 characters |  | Website domain, such as example.com. |
| `aliases` | list of string, 1–80 characters, 0–10 items |  | Other names that count as a mention. |
| `active` | boolean |  | false archives the competitor; true restores it. |
| `request_id` | UUID | Oui | UUID generated once per intended action; reuse it unchanged when retrying. |

### `save_profile` (Écriture)

Update brand profile

update the brand profile used for prompt suggestions, briefs and drafts. Omitted fields are kept.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `industry` | string, up to 120 characters |  | Industry or category, such as Product analytics. |
| `description` | string, up to 1600 characters |  | What the brand offers. |
| `audience` | string, up to 600 characters |  | Who the brand serves. |
| `voice` | string, up to 600 characters |  | Writing voice for drafts. |
| `market` | one of `GLOBAL`, `US`, `GB`, `CA`, `AU`, `DE`, `FR`, `ES`, … (62 values) |  | Market to ask from. |
| `language` | one of `""`, `en`, `es`, `fr`, `de`, `it`, `pt`, `nl`, `sv`, `pl`, `cs`, `ro`, `el`, `tr`, … (28 values) |  | Question language code. Chat models receive an Answer language line; Google AI Overviews and AI Mode search in this language. |
| `request_id` | UUID | Oui | UUID generated once per intended action; reuse it unchanged when retrying. |

## Collecte

Collecte de nouvelles réponses : estimer le coût, lancer, faire avancer et reprendre.

### `preview_scan` (Lecture)

Preview collection cost

Preview eligible prompts, required credits and a snapshot token before collecting. Does not call a provider.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `prompt_id` | UUID |  | Tracked prompt ID from list_prompts. |

### `start_scan` (Écriture · Réserve des crédits de suivi)

Start collection

queue a scan of active prompts. Use a stable request_id and the preview_scan token; reuse request_id after uncertain responses. May incur provider usage when advanced. After an uncertain response read get_project before starting another scan.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `prompt_id` | UUID |  | Tracked prompt ID from list_prompts. |
| `request_id` | UUID | Oui | UUID generated once per intended action; reuse it unchanged when retrying. |
| `preview_token` | string, 1–256 characters |  | previewToken returned by preview_scan. |

### `advance_scan` (Écriture · Utilise des crédits de suivi)

Advance collection

process the next batch of a saved scan using configured providers. Repeat while pending is positive, respecting nextPollAt; completed samples are not collected again.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `scan_id` | UUID | Oui | Scan ID returned by start_scan. |
| `request_id` | UUID | Oui | UUID generated once per intended action; reuse it unchanged when retrying. |

### `get_scan` (Lecture)

Get collection

Read a saved scan and its samples, failures and remaining work.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `scan_id` | UUID | Oui | Scan ID returned by start_scan. |

### `retry_scan` (Écriture)

Retry failed answers

requeue eligible failed samples in the same scan. Follow with advance_scan; never creates another scan.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `scan_id` | UUID | Oui | Scan ID returned by start_scan. |
| `request_id` | UUID | Oui | UUID generated once per intended action; reuse it unchanged when retrying. |

### `collection_update_status` (Lecture)

Collection status

Read this project’s collection update history, waiting work and recovery needs, and whether KNWN’s automatic updates are running (automatic.state: on, off or stalled).

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |

## Connaissances et vérification des faits

Faits sur la marque, sources de connaissances et affirmations trouvées dans les réponses.

### `get_knowledge` (Lecture)

Brand knowledge and fact checks

Brand profile, saved facts, knowledge sources (excerpts drafts may cite) and fact-check claims found in answers with their matched fact, suggested verdict and review. Use query to search them, or knowledge_source_id for full text.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `query` | string, 2–200 characters |  | Search facts and knowledge sources for these words; returns matching excerpts. |
| `knowledge_source_id` | UUID |  | Knowledge source ID from get_knowledge. |
| `max_chars` | integer 500–28000 |  | Characters of text to return; default 8000. |

### `save_fact` (Écriture)

Save a brand fact

Add a verified brand fact used for fact checks and drafts, or update one with fact_id. An identical statement is reused. Phrase matching looks for the statement inside one answer sentence that names the brand, ignoring case, punctuation and formatting.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `fact_id` | UUID |  | Fact ID from get_knowledge. |
| `subject` | string, up to 150 characters |  | Optional phrase an answer sentence must contain to be checked, such as billing. |
| `statement` | string, 1–1800 characters |  | Short wording to find in answers, such as monthly billing; a sentence or two at most, each matched on its own. |
| `alternatives` | list of string, 1–350 characters, 0–10 items |  | Known incorrect variants, such as annual-only billing: an answer sentence that contains one, and not the statement, counts as contradicted. |
| `url` | string, up to 2000 characters |  | Where the fact is published. |
| `request_id` | UUID | Oui | UUID generated once per intended action; reuse it unchanged when retrying. |

### `save_knowledge_source` (Écriture)

Save a knowledge source

Save an excerpt drafts may cite: pasted text, or a page from the project website fetched by page_path. Supply knowledge_source_id to update.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `knowledge_source_id` | UUID |  | Knowledge source ID from get_knowledge. |
| `label` | string, up to 240 characters |  | Short name. |
| `topic` | string, up to 120 characters |  | Topic name. |
| `content` | string, up to 28000 characters |  | Excerpt text. |
| `url` | string, up to 2000 characters |  | Where the text comes from. |
| `page_path` | string, up to 500 characters |  | Path on the project website to fetch instead of content. |
| `request_id` | UUID | Oui | UUID generated once per intended action; reuse it unchanged when retrying. |

### `check_facts` (Écriture · Utilise l’usage d’IA)

Check answers against facts

use the analysis model to find claims about your brand in up to 10 recent answers and match them to saved facts; results appear in get_knowledge. May incur model usage; ask first.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `period` | object `{ days, start, end }` — see Filters |  | Optional. Default: last 30 days. |
| `request_id` | UUID | Oui | UUID generated once per intended action; reuse it unchanged when retrying. |

### `review_claim` (Écriture)

Review a fact-check claim

Record a verdict on a fact-check claim from get_knowledge: supported, contradicted or uncovered (shown as Not decided). One review applies to every answer with the same claim.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `claim_id` | string, 3–150 characters | Oui | Claim ID from get_knowledge. |
| `verdict` | one of `supported`, `contradicted`, `uncovered` | Oui | Your verdict. |
| `note` | string, up to 450 characters |  | Optional review note. |
| `request_id` | UUID | Oui | UUID generated once per intended action; reuse it unchanged when retrying. |

## Libellés de sources et instantanés

Étiquetez les sources citées et suivez l’évolution des pages citées.

### `get_source_library` (Lecture)

Source labels and snapshots

Source labelling rules (category, tag, watch) and saved page snapshots. With snapshot_id, returns that snapshot’s text and the sentences added or removed since the previous snapshot of the same URL.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `snapshot_id` | UUID |  | Snapshot ID from get_source_library. |
| `max_chars` | integer 500–28000 |  | Characters of text to return; default 8000. |

### `save_source_rule` (Écriture)

Label a source

Label cited sources: match a domain or URL prefix to a category and tag (such as Reviews or Forum), optionally watching it for snapshots. Reuses the rule for the same URL; labels appear in citation_report.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `rule_id` | UUID |  | Rule ID from get_source_library. |
| `url` | string, up to 2000 characters |  | Domain or URL prefix, such as https://www.g2.com/. |
| `category` | string, up to 70 characters |  | Source category, such as Reviews or Forum. |
| `tag` | string, up to 70 characters |  | Optional finer label. |
| `watch` | boolean |  | true marks the source for snapshots. |
| `label` | string, up to 240 characters |  | Optional name; default the category. |
| `request_id` | UUID | Oui | UUID generated once per intended action; reuse it unchanged when retrying. |

### `capture_snapshot` (Écriture)

Capture a page snapshot

Save the current text of a project page or an exact URL cited in captured answers, and report what changed since the previous snapshot of it.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `url` | string, 1–2000 characters | Oui | Project page or exact cited URL. |
| `request_id` | UUID | Oui | UUID generated once per intended action; reuse it unchanged when retrying. |

## Contenu

Briefs, brouillons d’articles et brouillons WordPress. Rien n’est jamais publié.

### `get_content` (Lecture)

Get content

List saved briefs, article drafts and documents with a short preview, plus WordPress draft records. Supply draft_id for one item’s full text. Does not return CMS credentials.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `draft_id` | string, 1–90 characters |  | Draft or document ID for its full text. |
| `max_chars` | integer 500–36000 |  | Characters of text to return; default 8000. |

### `create_content_brief` (Écriture)

Create content brief

Save a content brief from the current project evidence. Does not call a model or publish content. Read get_content after an uncertain response before retrying.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `topic` | string, up to 120 characters |  | Topic to focus the brief on. |
| `filters` | object — see Filters |  | Optional. Default: last 30 days, all engines and markets, compared with the preceding period. |
| `request_id` | UUID | Oui | UUID generated once per intended action; reuse it unchanged when retrying. |

### `create_source_brief` (Écriture)

Create a brief from a source

Save a content brief for one cited domain or page from the evidence: its gap answers, buyer questions, competitors and pages. Does not call a model or publish.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `filters` | object — see Filters |  | Optional. Default: last 30 days, all engines and markets, compared with the preceding period. |
| `domain` | string, up to 253 characters |  | A cited domain, such as g2.com. |
| `url` | string, up to 2000 characters |  | An exact cited page URL. |
| `request_id` | UUID | Oui | UUID generated once per intended action; reuse it unchanged when retrying. |

### `draft_article` (Écriture · Utilise l’usage d’IA)

Draft article

use the configured analysis provider to create an editable article from a saved brief. May incur model usage and never publishes. Read get_content after an uncertain response before retrying.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `brief_id` | string, 1–90 characters | Oui | Brief ID from get_content. |
| `title` | string, up to 180 characters |  | Optional article title. |
| `filters` | object — see Filters |  | Optional. Default: last 30 days, all engines and markets, compared with the preceding period. |
| `request_id` | UUID | Oui | UUID generated once per intended action; reuse it unchanged when retrying. |

### `send_draft_to_wordpress` (Écriture · Envoie vers WordPress)

Send a draft to WordPress

send a saved draft or document to the connected WordPress site as a draft for a person to review and publish. Never publishes. Ask first.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `draft_id` | string, 1–90 characters | Oui | Draft or document ID from get_content. |
| `kind` | one of `drafts`, `documents` |  | Default drafts. |
| `request_id` | UUID | Oui | UUID generated once per intended action; reuse it unchanged when retrying. |

## Actions, tâches et chronologie

Actions recommandées, tâches avec comparaisons avant-après et annotations datées.

### `update_action_status` (Écriture)

Update action status

Mark a recommended action from visibility_report actions as open, planned or done, so later reports show its status.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `action_id` | string matching `^(prompt\|source):[A-Za-z0-9.-]{1,253}$` | Oui | Action id from visibility_report actions. |
| `status` | one of `open`, `planned`, `done` | Oui | New status. |
| `request_id` | UUID | Oui | UUID generated once per intended action; reuse it unchanged when retrying. |

### `get_tasks` (Lecture)

Get tasks and before-and-after figures

Tasks for visibility work with status, assignee, due date and linked prompt, answer and source. Completed tasks linked to a prompt include impact: that prompt's answers in the 14 days before and after completion, compared over matched answers (impact.comparison.direction), with each window's dates and counts and a caveat that it does not show the task caused a change.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `status` | one of `open`, `planned`, `done`, `declined` |  | Only tasks with this status. |

### `save_task` (Écriture)

Save a task

Create a task, or update one with task_id. Link a prompt so completing it compares that prompt's answers before and after; status done sets today as completed_at unless given.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `task_id` | UUID |  | Task ID from get_tasks. |
| `title` | string, up to 240 characters |  | Optional article title. |
| `detail` | string, up to 2500 characters |  | What needs doing. |
| `status` | one of `open`, `planned`, `done`, `declined` |  | Default open. |
| `assignee` | string, up to 120 characters |  | Person or team responsible. |
| `due` | string, up to 10 characters |  | YYYY-MM-DD. |
| `prompt_id` | UUID |  | Tracked prompt whose answers to compare before and after. |
| `answer_id` | UUID |  | Evidence answer. |
| `source_url` | string, up to 2000 characters |  | Page or source the task concerns. |
| `completed_at` | string, up to 10 characters |  | YYYY-MM-DD. |
| `checklist` | list of object { text: string, 1–170 characters; done?: boolean }, 0–20 items |  | Checklist items. |
| `request_id` | UUID | Oui | UUID generated once per intended action; reuse it unchanged when retrying. |

### `save_annotation` (Écriture)

Mark a date

Mark a date on the project timeline, such as a campaign, website change or engine update, or edit one with annotation_id. brand_report grouped by day, week or month returns the marks in its period.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `annotation_id` | UUID |  | Annotation ID to edit. |
| `day` | string, 10–10 characters |  | YYYY-MM-DD. |
| `note` | string, 1–450 characters |  | What happened. |
| `type` | one of `campaign`, `website`, `engine`, `other` |  | Default other. |
| `request_id` | UUID | Oui | UUID generated once per intended action; reuse it unchanged when retrying. |

## Workflows

Le workflow builder, les exécutions, les revues humaines et les lots.

### `get_workflow_builder` (Lecture)

Workflow builder guide

The workflow builder: every step type with what its value means and what it uses, ready-made templates, schedules and the rules a definition must follow. Use with save_workflow (template, validate_only).

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |

### `get_workflows` (Lecture)

Get workflows

Read saved workflows, recent runs (status, next step, review checkpoints) and batches. Supply run_id for one run’s full results or batch_id for one batch’s rows.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `run_id` | string, 1–90 characters |  | Run ID for full step results. |
| `batch_id` | UUID |  | Batch ID for its rows. |

### `save_workflow` (Écriture)

Save workflow

Create or update a manual workflow in this project. Recurring schedules must be managed in the app. Saving does not execute steps.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `workflow_id` | UUID |  | Workflow ID from get_workflows. |
| `label` | string, 1–240 characters |  | Workflow name. |
| `steps` | list of object { type: one of `report`, `opportunities`, `citations`, `fanouts`, `volumes`, `condition`, `brief`, `article`, `audit`, `scorecard`, `facts`, `collection`, `analysis`, `research`, … (15 values); value?: string, up to 450 characters; onFail?: integer 0–12 }, 1–12 items |  | Ordered steps; onFail is the step to jump to after a failure. |
| `cadence` | one of `manual` |  | MCP keys save manual workflows only. |
| `weekday` | integer 0–6 |  | Weekly run day, 0 = Sunday. |
| `defaultInput` | string, up to 450 characters |  | Input used when a run supplies none. |
| `filters` | object — see Filters |  | Optional. Default: last 30 days, all engines and markets, compared with the preceding period. |
| `template` | one of `visibility-review`, `topic-briefs`, `research-to-draft` |  | Start from this template; its name and steps apply unless given. |
| `validate_only` | boolean |  | true checks the definition and returns it without saving. |
| `request_id` | UUID | Oui | UUID generated once per intended action; reuse it unchanged when retrying. |

### `run_workflow` (Écriture · Peut consommer des crédits)

Run workflow

execute a saved workflow using a stable request_id. Reuse that ID after an uncertain response to return the same run. Stops at human review and never publishes content.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `workflow_id` | UUID | Oui | Workflow ID from get_workflows. |
| `request_id` | UUID | Oui | UUID generated once per intended action; reuse it unchanged when retrying. |
| `input` | string, up to 450 characters |  | Optional run input. |

### `review_workflow_run` (Écriture · Peut consommer des crédits)

Review workflow run

Only after explicit user approval: approve or decline the pending human review. Use the run next value as review_step. Approval executes subsequent steps and may incur provider usage.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `workflow_id` | UUID | Oui | Workflow ID from get_workflows. |
| `run_id` | string, 1–90 characters | Oui | Run ID from run_workflow or get_workflows. |
| `approved` | boolean | Oui | true approves the pending review; false declines it. |
| `review_step` | integer 1–12 | Oui | The run’s next value awaiting review. |
| `review_note` | string, up to 450 characters |  | Optional note saved with the decision. |
| `request_id` | UUID | Oui | UUID generated once per intended action; reuse it unchanged when retrying. |

### `retry_workflow_run` (Écriture · Peut consommer des crédits)

Retry workflow run

resume a failed run, or a running run with no saved progress for ten minutes. Keeps its original steps/input and does not approve human reviews.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `workflow_id` | UUID | Oui | Workflow ID from get_workflows. |
| `run_id` | string, 1–90 characters | Oui | Run ID from run_workflow or get_workflows. |
| `request_id` | UUID | Oui | UUID generated once per intended action; reuse it unchanged when retrying. |

### `run_workflow_batch` (Écriture · Peut consommer des crédits)

Run a workflow batch

run a saved workflow once for each of up to 25 inputs, such as topics. Supply batch_id (with a new request_id) to continue a batch; runs stop at human reviews and never publish. May incur provider usage; ask first.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `workflow_id` | UUID |  | Workflow ID from get_workflows. |
| `inputs` | list of string, 1–450 characters, 1–25 items |  | One run input per row. |
| `batch_id` | UUID |  | Batch to continue. |
| `request_id` | UUID | Oui | UUID generated once per intended action; reuse it unchanged when retrying. |

## Analyste

Conversations privées sur les données mesurées.

### `get_conversations` (Lecture)

Get analyst conversations

Read the signed-in caller’s private analyst conversations. Supply thread_id for saved messages and the latest revision.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `thread_id` | UUID |  | Conversation UUID; generate one for a new conversation. |

### `ask_visibility` (Écriture · Utilisation de l’IA avec use_model)

Ask the analyst

Ask about measured project data and save a private conversation. Supply stable thread_id/request_id values and the latest revision for retries. Optional model assistance and may incur usage.

| Paramètre | Type | Obligatoire | Description |
| --- | --- | --- | --- |
| `project_id` | UUID | Avec plusieurs projets | Project ID returned by list_projects or create_project. |
| `question` | string, 1–500 characters | Oui | Question about the measured project data. |
| `thread_id` | UUID | Oui | Conversation UUID; generate one for a new conversation. |
| `request_id` | UUID | Oui | UUID generated once per intended action; reuse it unchanged when retrying. |
| `revision` | integer 0–1000000 | Oui | Latest revision from get_conversations; 0 for a new thread. |
| `use_model` | boolean |  | Use the analysis model for the reply; may incur usage. |
| `filters` | object — see Filters |  | Optional. Default: last 30 days, all engines and markets, compared with the preceding period. |

## Filtres

L’objet `filters` que partagent les outils de rapport et de preuves. `where` prend une expression de filtre.

| Champ | Type | Description |
| --- | --- | --- |
| `days` | one of `7`, `14`, `30`, `60`, `90` | Default 30. |
| `engine` | engine ID, or `""` for all | Engine ID; see instructions. |
| `country` | market code, or `""` for all | Market the prompt was asked from. |
| `topic` | string, up to 70 characters | Exact topic the answer was collected under. |
| `tag` | string, up to 80 characters | Exact tag the answer was collected with. |
| `persona` | string, up to 120 characters | Exact persona. |
| `language` | one of `""`, `en`, `es`, `fr`, `de`, `it`, `pt`, `nl`, `sv`, `pl`, `cs`, `ro`, `el`, `tr`, … (28 values) | Answer language. |
| `purpose` | one of `""`, `visibility`, `perception`, `objections`, `factcheck` | Prompt purpose. |
| `method` | one of `""`, `api`, `browser`, `imported` | How the answer was collected. |
| `branding` | one of `""`, `branded`, `unbranded` | branded: only prompts that name a tracked brand; unbranded: only the others. |
| `start` | string, up to 10 characters | YYYY-MM-DD; with end, replaces days. |
| `end` | string, up to 10 characters | YYYY-MM-DD, inclusive; use with start. |
| `where` | string, up to 600 characters | Filter expression over any field, e.g. engine in (chatgpt, claude) and not tag = branded. Syntax: knwn://glossary. |
| `engines` | list of string, 1–40 characters, 1–30 items | Any of these engine IDs. |
| `topics` | list of string, 1–70 characters, 1–20 items | Any of these topics. |
| `tags` | list of string, 1–80 characters, 1–20 items | Prompts with any of these tags. |
| `exclude_tags` | list of string, 1–80 characters, 1–20 items | Leave out prompts with these tags, such as branded. |

- [Découvrir la syntaxe des expressions de filtre](https://knwn.app/docs/mcp-guide#where)

## Moteurs, marchés et langues

Utilisez ces ID dans `engine`, `engines` et `country`. Les moteurs disponibles pour un projet dépendent de son forfait ; `account_status` les liste.

| ID du moteur | Nom | Collecte |
| --- | --- | --- |
| `chatgpt` | ChatGPT | Consumer capture when available; otherwise a separately labelled OpenAI API answer. |
| `perplexity` | Perplexity API | Perplexity Agent API answer; separate from the consumer Perplexity experience. |
| `gemini` | Gemini | Consumer capture when available; otherwise a separately labelled Gemini API answer. |
| `claude` | Claude | Claude API answer with web search; the Claude app is not captured. |
| `copilot` | Copilot | Captured Microsoft Copilot consumer answer. |
| `grok` | Grok | Captured Grok consumer answer; separate from Grok API. |
| `deepseek` | DeepSeek | Captured DeepSeek consumer answer; separate from DeepSeek API. |
| `meta` | Meta AI | Captured Meta AI consumer answer; separate from Muse model APIs. |
| `overview` | Google AI Overviews | Google Search AI Overview capture; some queries have no overview. |
| `google` | Google AI Mode | Captured Google AI Mode answer. |
| `perplexity_ui` | Perplexity | Captured Perplexity consumer answer; separate from Perplexity API. |
| `naver` | Naver AI Briefing | Naver AI Briefing consumer search capture for supported Korean queries. |
| `ernie` | ERNIE (Baidu) | Baidu ERNIE consumer capture in supported markets. |
| `bing_ai` | Bing AI Mode | Bing AI Mode consumer capture; separate from Copilot. |
| `openai_luna` | OpenAI Luna API | OpenAI Luna model through the Responses API with web search. |
| `openai_astra` | OpenAI Astra API | OpenAI Astra model through the Responses API with web search. |
| `openai_sol` | OpenAI Sol API | OpenAI Sol model through the Responses API with web search. |
| `openai_terra` | OpenAI Terra API | OpenAI Terra model through the Responses API with web search. |
| `gemini_api` | Gemini Search API | Gemini API answer with Google Search grounding. |
| `claude_sonnet` | Claude Sonnet API | Claude Sonnet Messages API with web search. |
| `claude_haiku` | Claude Haiku API | Claude Haiku Messages API with web search. |
| `claude_opus` | Claude Opus API | Claude Opus Messages API with web search. |
| `claude_fable` | Claude Fable API | Claude Fable Messages API with web search. |
| `deepseek_api` | DeepSeek API | DeepSeek model API with provider-supported web search. |
| `grok_api` | Grok API | Grok Responses API with web search; not a consumer capture. |
| `qwen_api` | Qwen API | QwenCloud Responses API with web search in the configured region. |
| `muse_spark` | Muse Spark API | Muse Spark model API; excludes personalized Muse memory. |
| `meta_wonder` | Meta Wonder API | Muse Wonder model API; excludes personalized Muse memory. |
| `mistral_small` | Mistral Small API | Mistral Small Conversations API with web search. |
| `mistral_large` | Mistral Large API | Provider API |
| `mistral_medium` | Mistral Medium API | Mistral Medium Conversations API with web search. |
| `exa` | Exa API | Exa search-grounded Answer API; not a consumer chat capture. |
| `qwen_capture` | Qwen browser | Browser capture |
| `mistral_capture` | Mistral Vibe browser | Browser capture |
| `chatgpt_api` | ChatGPT API | Provider API |
| `gemini_default_api` | Gemini API | Provider API |
| `claude_api` | Claude API | Provider API |
| `chatgpt_capture` | ChatGPT browser | Browser capture |
| `gemini_capture` | Gemini browser | Browser capture |
| `claude_capture` | Claude browser | Browser capture |

### Marchés

`GLOBAL` Global · `US` United States · `GB` United Kingdom · `CA` Canada · `AU` Australia · `DE` Germany · `FR` France · `ES` Spain · `IT` Italy · `NL` Netherlands · `TR` Türkiye · `IN` India · `BR` Brazil · `MX` Mexico · `JP` Japan · `AE` United Arab Emirates · `AZ` Azerbaijan · `SG` Singapore · `NZ` New Zealand · `SE` Sweden · `KR` South Korea · `CN` China · `IE` Ireland · `BE` Belgium · `CH` Switzerland · `AT` Austria · `PT` Portugal · `DK` Denmark · `NO` Norway · `FI` Finland · `PL` Poland · `CZ` Czechia · `RO` Romania · `GR` Greece · `HU` Hungary · `UA` Ukraine · `KZ` Kazakhstan · `GE` Georgia · `AR` Argentina · `CL` Chile · `CO` Colombia · `PE` Peru · `SA` Saudi Arabia · `QA` Qatar · `KW` Kuwait · `BH` Bahrain · `OM` Oman · `EG` Egypt · `IL` Israel · `MA` Morocco · `ZA` South Africa · `NG` Nigeria · `KE` Kenya · `PK` Pakistan · `BD` Bangladesh · `ID` Indonesia · `MY` Malaysia · `PH` Philippines · `TH` Thailand · `VN` Vietnam · `HK` Hong Kong · `TW` Taiwan

### Langues

`en` English · `es` Spanish · `fr` French · `de` German · `it` Italian · `pt` Portuguese · `nl` Dutch · `sv` Swedish · `pl` Polish · `cs` Czech · `ro` Romanian · `el` Greek · `tr` Turkish · `az` Azerbaijani · `ru` Russian · `uk` Ukrainian · `ar` Arabic · `he` Hebrew · `fa` Persian · `hi` Hindi · `bn` Bengali · `id` Indonesian · `vi` Vietnamese · `th` Thai · `ja` Japanese · `ko` Korean · `zh` Chinese

## Prompts prêts à l’emploi

Prompts que le client peut vous proposer, via `prompts/list` et `prompts/get`.

| Prompt | Ce qu’il fait | Arguments |
| --- | --- | --- |
| `weekly_visibility` Weekly visibility review | Compare the latest seven days with the preceding seven: call visibility_report with filters.days 7, brand_report for competitor movement, and citation_report with gap_only for source gaps. Report visibility, share of voice, brand movements, new sources and evidence-backed follow-up actions. Include the answer counts and date range. | `project_id` |
| `citation_gaps` Citation opportunities | Call citation_report with gap_only true and type earned. For the leading sources, quote one representative answer with get_answer using example_answer_id, name the competitors cited alongside, and identify the cited page with level url. | `project_id` |
| `engine_scorecard` Engine scorecard | Call brand_report with group_by engine (automatically split by collection method). Compare engines on visibility, share of voice and position for the project brand and its competitors. Identify the clearest opportunities and flag engines with fewer than 20 answers as sparse. | `project_id` |
| `competitor_matrix` Competitor matrix | Call brand_report with group_by topic and then_by engine. Show where each competitor leads the project brand by the widest margin, and which brands gained or lost the most (visibility_change). | `project_id` |
| `prompt_gaps` Prompt gaps | Call visibility_report with sections ["prompts"] and limit 25. For prompts with low visibility and a gapId, quote that answer with get_answer and suggest one concrete content or source action per prompt. | `project_id` |
| `competitor_radar` Competitor radar | Find brands whose visibility changed by at least threshold (points) percentage points: call brand_report with group_by engine and again with group_by topic, and compare visibility_change. For each mover, quote one answer from list_answers (brands set to that competitor, gap_only true) with get_answer. | `project_id`, `threshold_pp` (facultatif) |
| `topic_heatmap` Topic heatmap | Call brand_report with group_by topic and then_by engine. Show a topic × engine grid of the project brand’s visibility with the leading competitor in each cell, and mark cells with fewer than 10 answers as sparse. | `project_id` |
| `source_authority` Source authority | Call citation_report with type earned and sort gap, then source_detail for the top three sources. Rank the sources that shape answers without the project brand, note their category labels, and suggest one outreach or content action for each; offer create_source_brief. | `project_id` |
| `campaign_tracker` Campaign tracker | Compare answers before and after the campaign on campaign date for topic: call brand_report with group_by week, then_by engine and filters.start/end covering four weeks either side, and read its annotations; check get_tasks for tasks completed near that date and their before-and-after comparison (impact.comparison). Report a change as a rise or fall only when its direction says so, say whether it exceeds normal week-to-week variation, and say that engine or model changes, competitor activity and AI updates can also explain it. | `project_id`, `campaign_date`, `topic` (facultatif) |
| `fact_check_review` Fact-check review | Call get_knowledge. Summarise contradicted and unreviewed claims with the answers they came from (get_answer), and propose review_claim verdicts for the user to confirm before recording them. If there are no claims and the user approves model usage, run check_facts. | `project_id` |
| `ai_traffic_review` AI traffic review | Call ai_traffic_report grouped by platform and by path, and analytics_report for GA4 AI referrals. Report which AI crawlers and assistants reach the site, which pages they favour, how that changed, and whether those pages are cited (citation_report with level url). | `project_id` |
| `fanout_opportunities` Fan-out opportunities | Call fanout_report with status rising and then new. Rising compares the share of searched answers; new can mean a prompt that was only just tracked, and statusReason means the periods cannot be compared. For searches where brand_visibility is low, suggest content that would answer them and offer create_content_brief for the strongest one. | `project_id` |

## Ressources

Texte de référence que l’assistant peut lire via `resources/read`, au format Markdown.

| URI | Sommaire |
| --- | --- |
| `knwn://glossary` | Metric glossary. Definitions of every metric and term the tools return. |
| `knwn://engines` | Engine catalog. Engine IDs, names and how each engine’s answers are collected. |
| `knwn://workflow-steps` | Workflow steps. Step types for save_workflow and which ones incur usage. |
| `knwn://docs/getting-started` | Get your first visibility baseline. Create an account, add your brand, and turn a few buyer questions into your first saved answers. |
| `knwn://docs/tracking-prompts` | Choose and organize tracking questions. Build a focused set of prompts, review suggestions, and control which questions are active. |
| `knwn://docs/running-scans` | Run a scan and manage collection. Preview the work, understand tracking credits, and follow each question through to a saved answer. |
| `knwn://docs/understanding-results` | Read your visibility results. Understand the headline metrics, inspect the evidence, and compare consistent slices of your data. |
| `knwn://docs/mystery-shopping` | Send mystery shoppers to AI models. See what AI models tell different buyers about your brand, question by question or across a whole conversation, compared with anyone asking the same questions. |
| `knwn://docs/pdf-reports` | Download PDF reports. Turn the current view into a branded PDF: an executive summary, a deep dive on one area, a Mystery Shopping study, or every report in one file. |
| `knwn://docs/teams` | Work with projects and teammates. Switch between brands, understand project roles, and grant access where your sign-in supports it. |
| `knwn://docs/integrations` | Connect optional reporting and publishing tools. Add your website’s reporting and KNWN Pixel, send reviewed drafts to WordPress, and post notices to Slack or Notion. |
| `knwn://docs/content-and-workflows` | Turn evidence into reviewed content. Create briefs and drafts, review suggestions, and use workflows with human checkpoints. |
| `knwn://docs/mcp` | Connect an AI assistant with MCP. Connect Claude, ChatGPT, Claude Code, Cursor or any MCP client to KNWN, so the assistant can read your AI visibility data and, when you allow it, act on it. |
| `knwn://docs/mcp-guide` | Work with KNWN through MCP. How the numbers read, how to filter and group them, and the tool sequences for the most common jobs. |
| `knwn://docs/mcp-tools` | MCP tool reference. Every tool a KNWN MCP connection can call, with its parameters, generated from the server’s live catalog. |
| `knwn://docs/mcp-limits` | MCP limits, errors and protocol. Rate limits, usage and size limits, error formats and codes, and the protocol and OAuth details for client developers. |
| `knwn://docs/rest-api` | REST API reference. Read reports and answers, capture answers and run scheduled collection with a project key: endpoints, filters, paging, the answer CSV, errors, rate limits and versions. |
| `knwn://docs/account-and-billing` | Manage your account, credits, and recovery. Keep access to your account and understand what the balance and plan controls mean. |
| `knwn://docs/accessibility` | Accessibility and supported browsers. The browsers and assistive technology KNWN is built for, what has been checked so far, and how to report a problem. |
