# Ad-visibility breakdown by dimension Source: https://docs.cognizo.ai/api-reference/ads/ad-visibility-breakdown-by-dimension /api-reference/openapi.json get /api/v2/brands/{brand_id}/ads/breakdown # List ads (distinct creatives) running on a brand's prompts Source: https://docs.cognizo.ai/api-reference/ads/list-ads-distinct-creatives-running-on-a-brands-prompts /api-reference/openapi.json get /api/v2/brands/{brand_id}/ads # Single ad detail (with copy) Source: https://docs.cognizo.ai/api-reference/ads/single-ad-detail-with-copy /api-reference/openapi.json get /api/v2/brands/{brand_id}/ads/{ad_id} # Ads an advertiser ran Source: https://docs.cognizo.ai/api-reference/advertisers/ads-an-advertiser-ran /api-reference/openapi.json get /api/v2/brands/{brand_id}/advertisers/{advertiser_id}/ads # Advertiser summary Source: https://docs.cognizo.ai/api-reference/advertisers/advertiser-summary /api-reference/openapi.json get /api/v2/brands/{brand_id}/advertisers/{advertiser_id} # List advertisers running ads on a brand's prompts Source: https://docs.cognizo.ai/api-reference/advertisers/list-advertisers-running-ads-on-a-brands-prompts /api-reference/openapi.json get /api/v2/brands/{brand_id}/advertisers # Complete an action (informational cards' "Got it") Source: https://docs.cognizo.ai/api-reference/brandactions/complete-an-action-informational-cards-"got-it" /api-reference/openapi.json post /api/v2/brands/{brand_id}/weekly_actions/{action_id}/complete # Dismiss an action (the (type, source) pair never returns) Source: https://docs.cognizo.ai/api-reference/brandactions/dismiss-an-action-the-type-source-pair-never-returns /api-reference/openapi.json post /api/v2/brands/{brand_id}/weekly_actions/{action_id}/dismiss # List this week's open decision cards Source: https://docs.cognizo.ai/api-reference/brandactions/list-this-weeks-open-decision-cards /api-reference/openapi.json get /api/v2/brands/{brand_id}/weekly_actions The decision deck: pending cards whose next move is the user's (dismiss / snooze / act). Pipeline rows — generating, ready_to_review, publish_changes, generation_failed — are not decisions and live on GET /weekly_tasks; they are excluded here by default and meta.counts never includes them. # Restore a snoozed or dismissed action back onto the deck Source: https://docs.cognizo.ai/api-reference/brandactions/restore-a-snoozed-or-dismissed-action-back-onto-the-deck /api-reference/openapi.json post /api/v2/brands/{brand_id}/weekly_actions/{action_id}/restore The undo: the row returns to pending and renders on the deck again. Restoring a dismissed action also lifts its permanent suppression, so the (type, source) pair can be dealt in future weeks. Only snoozed and dismissed actions restore — anything else is 409. # Snooze an action to next week ("Later") Source: https://docs.cognizo.ai/api-reference/brandactions/snooze-an-action-to-next-week-"later" /api-reference/openapi.json post /api/v2/brands/{brand_id}/weekly_actions/{action_id}/snooze # The card's evidence pane — generic blocks behind the one-line description Source: https://docs.cognizo.ai/api-reference/brandactions/the-cards-evidence-pane-—-generic-blocks-behind-the-one-line-description /api-reference/openapi.json get /api/v2/brands/{brand_id}/weekly_actions/{action_id}/details Everything backing the card, composed server-side and fetched lazily when the card gets focus. Every pane follows the same rhythm regardless of action_type: a `why` block (what fired the card) followed by `source` blocks (the evidence — facts, lists, sparklines). Lists are pre-trimmed to fit the pane and close with an "…and N more" row carrying the true remainder. Clients render the blocks GENERICALLY — `role` drives styling only, never behavior, and clients never branch on action_type. body/heading copy is inline markdown under the same two-marker rule as `description`. # Create (or reactivate) a brand Source: https://docs.cognizo.ai/api-reference/brands/create-or-reactivate-a-brand /api-reference/openapi.json post /api/v2/brands # Get a brand Source: https://docs.cognizo.ai/api-reference/brands/get-a-brand /api-reference/openapi.json get /api/v2/brands/{brand_id} # List brands Source: https://docs.cognizo.ai/api-reference/brands/list-brands /api-reference/openapi.json get /api/v2/brands # Soft-delete a brand Source: https://docs.cognizo.ai/api-reference/brands/soft-delete-a-brand /api-reference/openapi.json delete /api/v2/brands/{brand_id} # Update a brand Source: https://docs.cognizo.ai/api-reference/brands/update-a-brand /api-reference/openapi.json patch /api/v2/brands/{brand_id} Only fields sent with a value are applied. Sending an empty string leaves that field unchanged rather than clearing it, so a description or category cannot be blanked through the API. # Brand-mention share time series Source: https://docs.cognizo.ai/api-reference/citations/brand-mention-share-time-series /api-reference/openapi.json get /api/v2/brands/{brand_id}/citations/mention_share # Citation summary by domain type Source: https://docs.cognizo.ai/api-reference/citations/citation-summary-by-domain-type /api-reference/openapi.json get /api/v2/brands/{brand_id}/citations/summary # Citations overview (summary stats, distributions, top growing) Source: https://docs.cognizo.ai/api-reference/citations/citations-overview-summary-stats-distributions-top-growing /api-reference/openapi.json get /api/v2/brands/{brand_id}/citations/overview # Domain-level share overview (citation/mention series + type breakdown) Source: https://docs.cognizo.ai/api-reference/citations/domain-level-share-overview-citationmention-series-+-type-breakdown /api-reference/openapi.json get /api/v2/brands/{brand_id}/citations/domains/overview # Most-cited domains Source: https://docs.cognizo.ai/api-reference/citations/most-cited-domains /api-reference/openapi.json get /api/v2/brands/{brand_id}/citations/domains # Most-cited pages Source: https://docs.cognizo.ai/api-reference/citations/most-cited-pages /api-reference/openapi.json get /api/v2/brands/{brand_id}/citations/pages # Owned-citation share time series Source: https://docs.cognizo.ai/api-reference/citations/owned-citation-share-time-series /api-reference/openapi.json get /api/v2/brands/{brand_id}/citations/citation_share # Page-level share overview (citation/mention series + page-type breakdown) Source: https://docs.cognizo.ai/api-reference/citations/page-level-share-overview-citationmention-series-+-page-type-breakdown /api-reference/openapi.json get /api/v2/brands/{brand_id}/citations/pages/overview # Accept a suggestion and track the competitor Source: https://docs.cognizo.ai/api-reference/competitor-suggestions/accept-a-suggestion-and-track-the-competitor /api-reference/openapi.json post /api/v2/brands/{brand_id}/competitor_suggestions/{suggestion_id}/accept # List pending suggestions (last week, ranked by visibility) Source: https://docs.cognizo.ai/api-reference/competitor-suggestions/list-pending-suggestions-last-week-ranked-by-visibility /api-reference/openapi.json get /api/v2/brands/{brand_id}/competitor_suggestions # Reject a suggestion Source: https://docs.cognizo.ai/api-reference/competitor-suggestions/reject-a-suggestion /api-reference/openapi.json delete /api/v2/brands/{brand_id}/competitor_suggestions/{suggestion_id} # List tracked competitors Source: https://docs.cognizo.ai/api-reference/competitors/list-tracked-competitors /api-reference/openapi.json get /api/v2/brands/{brand_id}/competitors # Track a competitor directly Source: https://docs.cognizo.ai/api-reference/competitors/track-a-competitor-directly /api-reference/openapi.json post /api/v2/brands/{brand_id}/competitors # Untrack a competitor Source: https://docs.cognizo.ai/api-reference/competitors/untrack-a-competitor /api-reference/openapi.json delete /api/v2/brands/{brand_id}/competitors/{competitor_id} # Create a custom brief (triggers async brief generation) Source: https://docs.cognizo.ai/api-reference/contentstudio/create-a-custom-brief-triggers-async-brief-generation /api-reference/openapi.json post /api/v2/brands/{brand_id}/content_studio/briefs # Get the brand's content guideline document Source: https://docs.cognizo.ai/api-reference/contentstudio/get-the-brands-content-guideline-document /api-reference/openapi.json get /api/v2/brands/{brand_id}/content_studio/brand_guidelines # List a brand's feed leads (paginated, newest-first) Source: https://docs.cognizo.ai/api-reference/contentstudio/list-a-brands-feed-leads-paginated-newest-first /api-reference/openapi.json get /api/v2/brands/{brand_id}/content_studio/feed_leads # List content briefs Source: https://docs.cognizo.ai/api-reference/contentstudio/list-content-briefs /api-reference/openapi.json get /api/v2/brands/{brand_id}/content_studio/briefs # List content recommendations Source: https://docs.cognizo.ai/api-reference/contentstudio/list-content-recommendations /api-reference/openapi.json get /api/v2/brands/{brand_id}/content_studio/recommendations # Rename a content brief Source: https://docs.cognizo.ai/api-reference/contentstudio/rename-a-content-brief /api-reference/openapi.json patch /api/v2/brands/{brand_id}/content_studio/briefs/{id} # Show one article Source: https://docs.cognizo.ai/api-reference/contentstudio/show-one-article /api-reference/openapi.json get /api/v2/brands/{brand_id}/content_studio/articles/{id} # Show one brief Source: https://docs.cognizo.ai/api-reference/contentstudio/show-one-brief /api-reference/openapi.json get /api/v2/brands/{brand_id}/content_studio/briefs/{id} # Soft-delete a brief Source: https://docs.cognizo.ai/api-reference/contentstudio/soft-delete-a-brief /api-reference/openapi.json delete /api/v2/brands/{brand_id}/content_studio/briefs/{id} # Soft-delete an article Source: https://docs.cognizo.ai/api-reference/contentstudio/soft-delete-an-article /api-reference/openapi.json delete /api/v2/brands/{brand_id}/content_studio/articles/{id} # Trigger async article generation from the finalized brief Source: https://docs.cognizo.ai/api-reference/contentstudio/trigger-async-article-generation-from-the-finalized-brief /api-reference/openapi.json post /api/v2/brands/{brand_id}/content_studio/briefs/{id}/generate_article # Update an article's content Source: https://docs.cognizo.ai/api-reference/contentstudio/update-an-articles-content /api-reference/openapi.json put /api/v2/brands/{brand_id}/content_studio/articles/{id} # Update one or more sections of the brand guidelines Source: https://docs.cognizo.ai/api-reference/contentstudio/update-one-or-more-sections-of-the-brand-guidelines /api-reference/openapi.json patch /api/v2/brands/{brand_id}/content_studio/brand_guidelines # List available regions with their ids and country codes Source: https://docs.cognizo.ai/api-reference/filters/list-available-regions-with-their-ids-and-country-codes /api-reference/openapi.json get /api/v2/regions # API Reference Source: https://docs.cognizo.ai/api-reference/introduction Base URL, auth, response envelope, and the full endpoint list. The reference pages below are generated from the Cognizo public OpenAPI spec. Each endpoint has an interactive console — paste your API key once and call it live. ## Base URL ``` https://core.cognizo.ai ``` ## Authentication Send your key in the `X-API-KEY` header on every request. See [Authentication](/guides/authentication). ## Response envelope * Success (single): `{ "data": { … } }` * Success (list): `{ "data": [ … ], "meta": { page, page_size, total_items, total_pages } }` * Error: `{ "error": { "code", "message", "details"? } }` Timestamps are ISO 8601 strings; JSON keys are `snake_case`. ## The surface 58 operations across 40 paths: | Group | Operations | | - | - | | **Brands** | `list_brands`, `create_brand`, `get_brand`, `update_brand`, `delete_brand` | | **Brand metrics** | `get_brand_visibility`, `get_brand_share_of_voice`, `get_brand_sentiment` | | **Topics** | `list_brand_topics`, `create_brand_topics`, `get_brand_topic`, `update_brand_topic`, `delete_brand_topic` | | **Prompts** | `list_brand_prompts`, `create_brand_prompts`, `update_brand_prompts`, `get_brand_prompt_region` + its `visibility` / `share_of_voice` / `sentiment` variants | | **Citations** | `list_brand_citations_domains`, `list_brand_citations_pages`, their `overview` variants, plus `get_brand_citations_overview`, `_summary`, `_citation_share`, `_mention_share` | | **Competitors** | `list_brand_competitors`, `create_brand_competitor`, `update_brand_competitor`, `delete_brand_competitor` | | **Ads & advertisers** | `list_brand_ads`, `get_brand_ads_breakdown`, `get_brand_ad`, `list_brand_advertisers`, `get_brand_advertiser`, `list_brand_advertiser_ads` | | **Regions** | `list_regions` | | **Opportunities** | `list_brand_ad_opportunities`, `get_brand_ad_opportunity`, `update_brand_ad_opportunity_list_membership`, the `opportunity_list` endpoints (`list`, `create`, `update`, `delete`), plus `get_brand_ad_opportunities_compute` / `create_brand_ad_opportunities_compute` | | **Content Studio** | `list_brand_content_studio_recommendations`, the brief endpoints (`list`, `get`, `create`, `update`, `delete`, `generate_article`), and the article endpoints (`get`, `update`, `delete`) | Those operation ids are also the [MCP tool names](/mcp/tools) — one vocabulary whether you call the API directly or through an AI client. Deletes are **soft**. A deleted brand, topic or prompt drops out of the list endpoints and its history is retained rather than purged. Deleting a topic also deactivates the prompts under it. Archived prompts keep their metrics and citations: pass `filter[is_deleted]=true` to list them, and the single-prompt endpoint still resolves one directly. > [!NOTE] > > Set your API key in the console's **X-API-KEY** field to try requests directly > from these pages. # Brand-level average position (aggregate + time series) Source: https://docs.cognizo.ai/api-reference/metrics/brand-level-average-position-aggregate-+-time-series /api-reference/openapi.json get /api/v2/brands/{brand_id}/average_position Mean best position of each brand in the AI answers it appears in: per answer the brand's highest listing counts once. 1.00 = always listed first; lower is better, and rank 1 is the lowest average. `value` is null for brands with no appearances in the window. # Brand-level sentiment (aggregate + time series) Source: https://docs.cognizo.ai/api-reference/metrics/brand-level-sentiment-aggregate-+-time-series /api-reference/openapi.json get /api/v2/brands/{brand_id}/sentiment # Brand-level share of voice (aggregate + time series) Source: https://docs.cognizo.ai/api-reference/metrics/brand-level-share-of-voice-aggregate-+-time-series /api-reference/openapi.json get /api/v2/brands/{brand_id}/share_of_voice # Brand-level visibility (aggregate + time series) Source: https://docs.cognizo.ai/api-reference/metrics/brand-level-visibility-aggregate-+-time-series /api-reference/openapi.json get /api/v2/brands/{brand_id}/visibility # Current compute-worker state + daily quota snapshot Source: https://docs.cognizo.ai/api-reference/opportunities/current-compute-worker-state-+-daily-quota-snapshot /api-reference/openapi.json get /api/v2/brands/{brand_id}/opportunities/compute # Detail payload for a single opportunity Source: https://docs.cognizo.ai/api-reference/opportunities/detail-payload-for-a-single-opportunity /api-reference/openapi.json get /api/v2/brands/{brand_id}/opportunities/{id} # Enqueue a per-brand opportunity recompute Source: https://docs.cognizo.ai/api-reference/opportunities/enqueue-a-per-brand-opportunity-recompute /api-reference/openapi.json post /api/v2/brands/{brand_id}/opportunities/compute # List opportunities for a brand (filterable, paginated, sortable) Source: https://docs.cognizo.ai/api-reference/opportunities/list-opportunities-for-a-brand-filterable-paginated-sortable /api-reference/openapi.json get /api/v2/brands/{brand_id}/opportunities # Replace the opportunity's strategy-list memberships (multi-list) Source: https://docs.cognizo.ai/api-reference/opportunities/replace-the-opportunitys-strategy-list-memberships-multi-list /api-reference/openapi.json put /api/v2/brands/{brand_id}/opportunities/{id}/lists # Create a new strategy list Source: https://docs.cognizo.ai/api-reference/opportunity-lists/create-a-new-strategy-list /api-reference/openapi.json post /api/v2/brands/{brand_id}/opportunity_lists # Delete a strategy list Source: https://docs.cognizo.ai/api-reference/opportunity-lists/delete-a-strategy-list /api-reference/openapi.json delete /api/v2/brands/{brand_id}/opportunity_lists/{id} # List the brand's strategy lists Source: https://docs.cognizo.ai/api-reference/opportunity-lists/list-the-brands-strategy-lists /api-reference/openapi.json get /api/v2/brands/{brand_id}/opportunity_lists # Rename / recolor / reorder a strategy list Source: https://docs.cognizo.ai/api-reference/opportunity-lists/rename-recolor-reorder-a-strategy-list /api-reference/openapi.json patch /api/v2/brands/{brand_id}/opportunity_lists/{id} # Bulk-add prompts to a brand Source: https://docs.cognizo.ai/api-reference/prompts/bulk-add-prompts-to-a-brand /api-reference/openapi.json post /api/v2/brands/{brand_id}/prompts Validates and creates prompts under their topics (one prompt variety per subscription provider). A prompt the brand already tracks in that region is rejected — under any topic, and matched case-insensitively, so a casing variant of a tracked prompt is a duplicate too. A prompt the brand DEACTIVATED is reactivated instead: the existing link is un-archived and moved to the requested topic, never duplicated. Rejected rows are reported per row while the valid ones are written: 201 with errors_and_warnings when at least one prompt was added, 422 VALIDATION_ERROR (details keyed by row index) when nothing was written. Usage limits are enforced transactionally — a batch that would exceed them is rolled back entirely (422 USAGE_LIMIT_REACHED). # Bulk-edit prompts (move topic / soft delete / reactivate) Source: https://docs.cognizo.ai/api-reference/prompts/bulk-edit-prompts-move-topic-soft-delete-reactivate /api-reference/openapi.json patch /api/v2/brands/{brand_id}/prompts Each update targets a (prompt_id, region_id) pair across all its provider varieties. Reactivations are limit-enforced (422 rolls back). Response data aligns with the request order: [{index, success}]. # Get a single prompt's metrics row Source: https://docs.cognizo.ai/api-reference/prompts/get-a-single-prompts-metrics-row /api-reference/openapi.json get /api/v2/brands/{brand_id}/prompts/{prompt_id}/{region_id} Same computation as the prompts list, for one (prompt_id, region_id) pair. # List a brand's prompts with their metrics Source: https://docs.cognizo.ai/api-reference/prompts/list-a-brands-prompts-with-their-metrics /api-reference/openapi.json get /api/v2/brands/{brand_id}/prompts # Prompt-level average position (aggregate + time series) Source: https://docs.cognizo.ai/api-reference/prompts/prompt-level-average-position-aggregate-+-time-series /api-reference/openapi.json get /api/v2/brands/{brand_id}/prompts/{prompt_id}/{region_id}/average_position Mean best position of each brand in the AI answers it appears in: per answer the brand's highest listing counts once. 1.00 = always listed first; lower is better, and rank 1 is the lowest average. `value` is null for brands with no appearances in the window. # Prompt-level sentiment (aggregate + time series) Source: https://docs.cognizo.ai/api-reference/prompts/prompt-level-sentiment-aggregate-+-time-series /api-reference/openapi.json get /api/v2/brands/{brand_id}/prompts/{prompt_id}/{region_id}/sentiment # Prompt-level share of voice (aggregate + time series) Source: https://docs.cognizo.ai/api-reference/prompts/prompt-level-share-of-voice-aggregate-+-time-series /api-reference/openapi.json get /api/v2/brands/{brand_id}/prompts/{prompt_id}/{region_id}/share_of_voice # Prompt-level visibility (aggregate + time series) Source: https://docs.cognizo.ai/api-reference/prompts/prompt-level-visibility-aggregate-+-time-series /api-reference/openapi.json get /api/v2/brands/{brand_id}/prompts/{prompt_id}/{region_id}/visibility # Add a website to audit (any site, e.g. a docs or regional site) without making it a brand domain Source: https://docs.cognizo.ai/api-reference/technical-audit/add-a-website-to-audit-any-site-eg-a-docs-or-regional-site-without-making-it-a-brand-domain /api-reference/openapi.json post /api/v2/brands/{brand_id}/technical_audit/domains For a docs site, a regional site… Audit-only domains don't change citation attribution. Idempotent: a domain the brand already has (own or audit-only) returns that row with 200. Up to 10 audit-only domains per brand. # Every check of a domain's latest technical audit, with what was found and how to fix it Source: https://docs.cognizo.ai/api-reference/technical-audit/every-check-of-a-domains-latest-technical-audit-with-what-was-found-and-how-to-fix-it /api-reference/openapi.json get /api/v2/brands/{brand_id}/technical_audit/checks # List the websites the brand can audit, with each one's latest technical audit Source: https://docs.cognizo.ai/api-reference/technical-audit/list-the-websites-the-brand-can-audit-with-each-ones-latest-technical-audit /api-reference/openapi.json get /api/v2/brands/{brand_id}/technical_audit/domains # Pages a technical audit check flagged, most important first, with each page's fix Source: https://docs.cognizo.ai/api-reference/technical-audit/pages-a-technical-audit-check-flagged-most-important-first-with-each-pages-fix /api-reference/openapi.json get /api/v2/brands/{brand_id}/technical_audit/checks/{check_key}/pages # Start a technical audit on one domain; uses the monthly audit quota, then poll the summary until running is null Source: https://docs.cognizo.ai/api-reference/technical-audit/start-a-technical-audit-on-one-domain;-uses-the-monthly-audit-quota-then-poll-the-summary-until-running-is-null /api-reference/openapi.json post /api/v2/brands/{brand_id}/technical_audit # Technical audit summary for one domain: counts, the top problems to fix, and any run in progress Source: https://docs.cognizo.ai/api-reference/technical-audit/technical-audit-summary-for-one-domain:-counts-the-top-problems-to-fix-and-any-run-in-progress /api-reference/openapi.json get /api/v2/brands/{brand_id}/technical_audit # Bulk-create topics (reactivates soft-deleted names) Source: https://docs.cognizo.ai/api-reference/topics/bulk-create-topics-reactivates-soft-deleted-names /api-reference/openapi.json post /api/v2/brands/{brand_id}/topics # Get one topic with extended metrics Source: https://docs.cognizo.ai/api-reference/topics/get-one-topic-with-extended-metrics /api-reference/openapi.json get /api/v2/brands/{brand_id}/topics/{topic_id} # List a brand's topics with their metrics and prompt counts Source: https://docs.cognizo.ai/api-reference/topics/list-a-brands-topics-with-their-metrics-and-prompt-counts /api-reference/openapi.json get /api/v2/brands/{brand_id}/topics # Rename / soft-delete a topic Source: https://docs.cognizo.ai/api-reference/topics/rename-soft-delete-a-topic /api-reference/openapi.json patch /api/v2/brands/{brand_id}/topics/{topic_id} # Soft-delete a topic and deactivate its prompts Source: https://docs.cognizo.ai/api-reference/topics/soft-delete-a-topic-and-deactivate-its-prompts /api-reference/openapi.json delete /api/v2/brands/{brand_id}/topics/{topic_id} # List this week's tasks — work in motion and work done Source: https://docs.cognizo.ai/api-reference/weeklytasks/list-this-weeks-tasks-—-work-in-motion-and-work-done /api-reference/openapi.json get /api/v2/brands/{brand_id}/weekly_tasks The home's work rail, fully server-composed: /weekly_actions stays the decision deck (pending cards to act on), this endpoint carries everything those decisions set in motion plus everything already settled this week. One task per piece of work — a brief that morphed create → generating → ready_to_review is ONE row, its live phase winning. Each brief-backed task ships a `document` that answers brief-vs-article authoritatively, so clients never probe briefs per row to decide whether to show Publish. Task ids are weekly_action ids: dismiss and details reuse the weekly_actions member endpoints; retry rides the failed task's cta. # Authentication Source: https://docs.cognizo.ai/guides/authentication API keys and the X-API-KEY header. The Cognizo REST API authenticates with **API keys**: create a key in the dashboard and send it as a header on every request. There is no OAuth flow for the REST API. > [!NOTE] > > The [MCP server](/mcp/overview) also accepts a **browser sign-in** for Claude's > web, desktop, mobile and Cowork clients, so those need no key at all. Every > other client — including Claude Code — uses the API key described here. See > [Connect a client](/mcp/setup). ## The header ```bash theme={null} curl https://core.cognizo.ai/api/v2/brands \ -H "X-API-KEY: YOUR_API_KEY" ``` Requests without a valid key get `401 UNAUTHORIZED`; a valid key that tries to reach an endpoint outside the public API surface gets `403 FORBIDDEN`. ## Creating a key 1. Open [app.cognizo.ai/api-keys](https://app.cognizo.ai/api-keys). 2. **Create key**, give it a name (e.g. `production`, `zapier`, `local`), and optionally an expiry date. 3. Copy the secret — it starts with `cog_sk_` and is shown **only once**. A key belongs to the user who created it but is scoped to your **organization**: it can read and write every brand your org owns, exactly like signing in to the app. > [!NOTE] > > **Don't see API Keys in the sidebar?** The feature is enabled per > organization. If the page says *"API keys aren't enabled for this > organization"*, get in touch and we'll turn it on. ## Key anatomy ``` cog_sk_2f9K1xQe… 43 random characters after the prefix └──┬──┘ └─ prefix, always cog_sk_ ``` Only a SHA-256 digest of the key is stored, so nobody — including us — can recover the plaintext after creation. The dashboard shows the first few characters and the last four so you can tell keys apart. ## Expiry, rotation, revocation * A key can carry an **expiry date**. After it passes, the key stops authenticating and requests fail with `401` — no grace period. * **Rotating:** create the new key, switch your integration to it, then revoke the old one. Both work in parallel until you do. * **Revoking is immediate.** The next request with that key gets `401`, including requests already queued in your own retry loop. * Hold one key per integration. It keeps rotation cheap and shrinks the blast radius when something leaks. > [!WARNING] > > Treat an API key like a password. Anyone holding it can act as your entire > organization. Never commit keys to source control or paste them into a > browser console; keep them in a secret manager or a server-side env var. ## Scope An API key has full read + write access **to the public API surface** — the endpoints listed in the [API Reference](/api-reference/introduction) — and nothing else. Every other endpoint the platform runs (internal tooling, billing, content generation, admin) rejects API keys outright with `403`, even for the org that owns the key. Within that surface the key sees exactly what a signed-in member of your org sees: your brands and the data attached to them, never another org's. ## Using a key with the MCP server The [MCP server](/mcp/overview) takes the same key in the same header and forwards it upstream per request — it stores nothing. That's how Claude Code, Cursor, VS Code and Windsurf connect. Claude's web, desktop, mobile and Cowork clients and ChatGPT **sign in** instead: add Cognizo from [Claude's connector directory](https://claude.ai/directory/cognizo) or as a custom MCP server in ChatGPT, authorize once in the browser, and pick which organization the connector reads. No key is created or pasted, and you can disconnect it from Claude at any time. Both routes land on the same tools with the same permissions. See [Connect a client](/mcp/setup) for each, and [Security & troubleshooting](/mcp/troubleshooting) for how each credential is handled. # Errors Source: https://docs.cognizo.ai/guides/errors The error envelope, the codes you can get, and how to handle them. Every failure returns the same envelope — never alongside `data`: ```json theme={null} { "error": { "code": "VALIDATION_ERROR", "message": "Domain is not a valid hostname", "details": [ { "field": "domain", "code": "INVALID_FORMAT", "message": "Domain is not a valid hostname" } ] } } ``` `code` and `message` are always present; `details` only appears on field-level failures. > [!WARNING] > > Branch on `error.code`, never on `error.message`. Messages are written for > humans and change without notice; codes are a contract. ## Codes | Status | Code | When | | - | - | - | | 400 | `BAD_REQUEST` | A parameter is malformed or a required one is missing — e.g. a date that won't parse. | | 401 | `UNAUTHORIZED` | No `X-API-KEY` header, or the key is unknown, revoked, or expired. | | 403 | `FORBIDDEN` | The key is valid but the path isn't part of the public API, or the brand belongs to another organization. | | 404 | `NOT_FOUND` | The brand, prompt, topic, competitor or ad doesn't exist — including a brand that's been soft-deleted. | | 422 | `VALIDATION_ERROR` | The payload parsed but failed validation. Look at `details`. | | 422 | `USAGE_LIMIT_REACHED` | A write would push your subscription past its prompt/region limits. **The whole batch is rolled back** — nothing partial is written. | | 429 | `RATE_LIMITED` | Too many requests. See [Rate limits](/guides/rate-limits). | | 500 | `INTERNAL_ERROR` | Something broke on our side. Safe to retry with backoff; if it persists, get in touch. | ### Field codes Inside `details[].code` on a `VALIDATION_ERROR`: | Code | Meaning | | - | - | | `REQUIRED` | The field is missing or empty. | | `INVALID_FORMAT` | Present but malformed (a domain that isn't a hostname, a bad UUID). | | `OUT_OF_RANGE` | A number or date outside the accepted range. | | `DUPLICATE` | Conflicts with something that already exists. | ## Partial success on bulk writes Bulk endpoints are not all-or-nothing in the same way. `create_brand_prompts` writes the valid rows and reports the rest in the response body — a `201` can still contain failures: ```json theme={null} { "data": { "total_prompts": 12, "prompts_added": 10, "prompts_failed": 2, "duplicates": ["best crm for startups"], "invalid_regions": ["xx"], "errors_and_warnings": [ ] } } ``` Check `prompts_failed` and `errors_and_warnings` even on a success status. The one exception is **usage limits**: if the batch as a whole would exceed your subscription, the entire mutation is rolled back and you get a `422` `USAGE_LIMIT_REACHED` instead — no rows are written. ## Handling errors * **401** — stop retrying. The key is bad, revoked, or expired; retrying won't fix it. * **403** — you're calling an endpoint outside the public surface, or a brand your org doesn't own. Also not retryable. * **404** — treat as terminal. A soft-deleted brand starts returning it mid-integration, so handle it as "gone", not as a transient failure. * **422** — a bug in your payload. Log `details` and fix the caller. * **429** — back off exponentially and retry. Don't rotate keys to get around it; the per-IP backstop catches that too. * **500** — retry with backoff, cap the attempts, and alert if it sticks. # Metrics & units Source: https://docs.cognizo.ai/guides/metrics What visibility, share of voice and sentiment actually measure — and the units traps. Cognizo's metrics all come out of the same machinery: every tracked prompt is run against AI providers on a schedule, each answer is parsed for brand mentions, and the metrics are aggregations over those **runs**. Three endpoints return the canonical metric envelope — `visibility`, `share_of_voice` and `sentiment` — at both brand and prompt/region level. They share one response shape. ## The metric envelope ```json theme={null} { "data": { "metric_type": "visibility", "date_range": ["2026-07-06T00:00:00Z", "2026-08-05T23:59:59Z"], "aggregate_metrics": { "start_date": "2026-07-06", "end_date": "2026-08-05", "values": [ { "brand_name": "Acme", "found_brand_id": "…", "value": 42.1, "diff": 3.4, "rank": 1, "is_target": true }, { "brand_name": "Globex", "found_brand_id": "…", "value": 30.8, "diff": -1.2, "rank": 2, "is_target": false } ] }, "time_based_metrics": [ { "start_date": "2026-07-06", "end_date": "2026-07-12", "values": [ ] } ] } } ``` | Field | Meaning | | - | - | | `metric_type` | `visibility`, `share_of_voice`, `sentiment`, or the position metrics `first_position` / `middle_position` / `last_position`. | | `aggregate_metrics` | One row per brand for the **whole window**. | | `time_based_metrics` | The same rows per bucket — bucket size comes from `filter[granularity]` (`day` by default). | | `value` | The number. **Its unit depends on `metric_type`** — see below. | | `diff` | Change vs the **previous equal-length period**, in the same unit. `null` when no prior value can be computed. | | `rank` | 1-based rank by `value` within the metric (1 = highest). Present on aggregate rows, `null` when unranked. | | `is_target` | `true` for your own brand, `false` for competitors. | | `found_brand_id` | Canonical brand-mapping id; `null` when the brand wasn't resolved to a mapping. | ## The units trap > [!WARNING] > > `value` is **not** the same unit across metric types. This is the single most > common integration bug. | Metric | Unit | Null? | | - | - | - | | `visibility` | 0–100 **percentage** of the brand's runs where it appeared | Never — `0` when there's no data | | `share_of_voice` | 0–100 **percentage** of all brand mentions that were this brand | Never — `0` when there's no data | | `first_position` / `middle_position` / `last_position` | 0–100 **percentage** of runs where the brand appeared in that slot | Never — `0` when there's no data | | `sentiment` | **Average score on a 1–100 scale** — not a percentage | `null` when the brand has no scored runs in the window | Two consequences: * **Don't re-aggregate `sentiment` client-side.** It's already an average, not a count. Averaging the daily averages is not the window average — read `aggregate_metrics` for that. * **`0` and `null` mean different things.** For visibility and share of voice, `0` means "we ran the prompts and the brand never showed up". For sentiment, `null` means "nothing was scored", which is not the same as neutral. ## Metrics on list endpoints List endpoints embed the same numbers as flat fields — same units, same `_diff` convention against the previous equal-length period: * **Prompts** (`list_brand_prompts`): `visibility`, `visibility_diff`, `sentiment`, `sentiment_diff`, `citation_share`, `citation_share_diff`, `mentioned`, `top_competitors`, `last_run`, plus search-volume fields. * **Topics** (`list_brand_topics`): `visibility`, `share_of_voice`, `sentiment`, `citation_share` and their diffs, plus `prompt_count` and `top_brands`. * **Brands** (`list_brands`): `visibility` is the 30-day figure, `null` on brands where it hasn't been computed. ### Search volume Prompt rows carry both a raw `volume` and a bucketed `volume_range` (`<10`, `10-50`, … `1m+`). The bucket is derived from the raw number — use `volume_range` for display and grouping, `volume` for sorting, and expect both to be `null` for prompts where volume hasn't been estimated yet. ## Citation metrics Citations are counted per AI answer, so they follow their own vocabulary: | Metric | Meaning | | - | - | | `total_citation_count` | All citations of that domain/page in the window. | | `brand_citation_count` | The subset attributed to the target brand. | | `citation_share` | Your share of the citations in scope, as a percentage. | | `mention_share` | Your share of the brand mentions in scope, as a percentage. | | `target_brand_mentioned` | Whether your brand appears on that cited page. | The `citation_share` and `mention_share` endpoints return a time series where each point carries `count`, `total`, `share_percent`, plus rolling `average_count` / `average_percentage`. > [!NOTE] > > Dates on the citation share series come back as `"YYYY-MM-DDT00:00:00"` with > no timezone offset — they're period starts in the workspace's local time, not > UTC instants. Parse them as local dates. # Pagination & filtering Source: https://docs.cognizo.ai/guides/pagination-filtering Page, sort, and filter list endpoints consistently. Every list endpoint follows the same conventions. ## Pagination Top-level `page` and `page_size` query params: ```bash theme={null} curl "https://core.cognizo.ai/api/v2/brands/BRAND_ID/prompts?page=2&page_size=50" \ -H "X-API-KEY: YOUR_API_KEY" ``` On most list endpoints — prompts, citations, ads, advertisers — `page_size` defaults to **25** and caps at **100**. Opportunities default to **50** and cap at **500**. A value above the cap is **clamped, not rejected**, so asking for 1,000 returns the maximum. The `meta` block reports what you actually received: ```json theme={null} { "data": [ ], "meta": { "page": 2, "page_size": 50, "total_items": 240, "total_pages": 5 } } ``` > [!NOTE] > > `page` + `page_size` is the only pagination contract — `limit`, `offset`, > `skip`, and `per_page` are not accepted. `list_brands` is the exception: send neither parameter and it returns every brand your organization owns, with no `meta` block. Send either one and it paginates, defaulting to 50 per page. `list_brand_ad_opportunity_lists` doesn't paginate at all — a brand has a handful of strategy lists, so it returns all of them with no `meta` block. ## Sorting `sort` takes a comma-separated list of keys; prefix a key with `-` for descending. **Unknown keys are ignored** and the endpoint falls back to its documented default — a typo silently gives you the default order rather than an error, so check the key names. ``` ?sort=-visibility,prompt ``` Each endpoint whitelists its own keys; the reference page lists them. The common ones: | Endpoint | Sort keys | | - | - | | `list_brand_prompts` | `prompt`, `topic`, `region`, `visibility`, `sentiment`, `volume`, `competitors`, `last_run`, `citation_share` | | `list_brand_citations_domains` | `citation_count`, `brand_citation_count`, … | | `list_brand_ads` | `appearances`, `prompts`, `last_seen` | | `list_brand_advertisers` | `appearances`, `prompts`, `ads`, `advertiser`, `last_seen` | | `list_brand_ad_opportunities` | `score`, `type`, `intent`, `difficulty` (`kd`), `volume`, `cpc`, `text` — defaults to `-score` | ## Filtering Filters live under `filter[…]` bracket notation: * **List filters** end in `_ids` and are plural — repeat the key or pass a CSV: ``` ?filter[topic_ids][]=a&filter[topic_ids][]=b ?filter[topic_ids]=a,b ``` * **Enum lists** are plural too: `?filter[page_types][]=article` * **Single-value filters** are scalar: `?filter[citation_domain]=example.com` * **Free-text search** is always `?filter[query]=…` (never `?search=`) * **Date ranges** are `?filter[ran_at_start]=…&filter[ran_at_end]=…`, ISO 8601 date or datetime Filters AND together: `filter[topic_ids]` + `filter[provider_ids]` narrows to prompts that match both. ### Common filters | Filter | What it does | | - | - | | `filter[ran_at_start]` / `filter[ran_at_end]` | The window the metrics cover. Defaults to the **last 30 days** on metric and citation endpoints, **90 days** on ads. | | `filter[granularity]` | Bucket size of the time series (`day` by default) on the metric and share endpoints. | | `filter[target_brand]` | Which brand name counts as "yours" for target metrics. Defaults to the brand's own name. | | `filter[brand_ids]` | Found-brand mapping ids — narrows which competitor rows count toward the metric. | | `filter[provider_ids]` / `filter[region_ids]` | Scope to specific AI providers or regions. | | `filter[topic_ids]` | Scope to prompts under these topics. Available on the prompt, citation and topic endpoints. | | `filter[prompt_ids]` | Restrict a prompt list to specific prompts. | | `filter[prompt_regions]` | `"promptId,regionId"` pairs, for when a prompt is tracked in several regions. | | `filter[is_deleted]` | Include soft-deleted rows. Defaults to `false`. | | `filter[types]` | Opportunity kind: `context_hint` (anchored on a tracked prompt), `keyword` (from a synced Google Ads account). Through the [MCP server](/mcp/tools#opportunities) this is pinned to `context_hint`. | | `filter[intents]` | Opportunity intent: `C` commercial, `I` informational, `T` transactional, `N` navigational. | | `filter[list_ids]` | Restrict opportunities to members of these strategy lists. | ## Time windows Metric endpoints return an `aggregate_metrics` block for the whole window plus `time_based_metrics`, one entry per bucket. `diff` on each row compares against the **previous equal-length period** — request 7 days and you're comparing to the 7 days before that. ```bash theme={null} curl "https://core.cognizo.ai/api/v2/brands/BRAND_ID/share_of_voice?\ filter[ran_at_start]=2026-07-01&filter[ran_at_end]=2026-07-31&filter[granularity]=week" \ -H "X-API-KEY: YOUR_API_KEY" ``` See [Metrics & units](/guides/metrics) for what the numbers mean. # Rate limits Source: https://docs.cognizo.ai/guides/rate-limits Limits, the 429 response, and how to back off. The public API is rate limited per API key. The limits are set high enough that a steady integration stays well under them; they exist to contain runaway loops. ## The limits * **600 requests per minute per key.** * **600 requests per minute per IP**, counted across every API-key request from that address. Because a key belongs to one organization, per-key is effectively per-org. The per-IP counter is a backstop: splitting a hot loop across several keys on one host still trips it. Both windows are rolling 60-second buckets, shared across all web processes. The limit is the same however your requests are distributed. ## When you exceed it You get `429 Too Many Requests` with the standard error envelope: ```json theme={null} { "error": { "code": "RATE_LIMITED", "message": "Too many requests. Please try again shortly." } } ``` ## Handling it * Back off and retry after a short delay — exponential backoff with jitter is ideal. * Prefer bigger pages over more requests — `page_size` up to 100 on most list endpoints — instead of fanning out parallel calls. * Cache what doesn't change per minute. Brand and topic lists rarely move; metric windows only shift as new runs land. * If you need a higher limit, get in touch. Rotating keys or IPs doesn't work — the per-IP counter catches it. > [!NOTE] > > The [MCP server](/mcp/overview) forwards your key upstream unchanged, so its > calls count against the same per-key budget as your own integrations. See [Errors](/guides/errors) for the full code list and what's retryable. # Cognizo API Source: https://docs.cognizo.ai/index Track and grow your brand's visibility across AI search — programmatically. The Cognizo API gives you programmatic access to your brand's AI-search data: visibility, share of voice, sentiment, prompts, citations, competitors, ads and ad opportunities. Everything the Cognizo app shows, you can pull into your own tools, dashboards, and agents. > **[Quickstart](/quickstart)** > > Create an API key and make your first request in a couple of minutes. > **[API Reference](/api-reference/introduction)** > > All 58 operations, with an interactive "try it" console. > **[Metrics & units](/guides/metrics)** > > What `visibility`, `share_of_voice` and `sentiment` actually measure. > **[MCP Server](/mcp/overview)** > > Connect Cognizo to Claude, Cursor, ChatGPT and other AI clients. ## Base URL All requests go to: ``` https://core.cognizo.ai ``` ## Authentication in one line Send your API key in the `X-API-KEY` header: ```bash theme={null} curl https://core.cognizo.ai/api/v2/brands \ -H "X-API-KEY: YOUR_API_KEY" ``` See [Authentication](/guides/authentication) for how to create and manage keys. ## Response shape Every response uses one envelope: ```json theme={null} { "data": { }, "meta": { } } ``` `data` is the resource or list; `meta` carries pagination and operation metadata. Errors return an `error` object instead — never alongside `data`: ```json theme={null} { "error": { "code": "NOT_FOUND", "message": "Brand not found" } } ``` Branch on `error.code`, not on the message. The full list is in [Errors](/guides/errors). ## What's in the API > **[Brands & topics](/api-reference/brands/)** > > List, create, update and soft-delete brands; manage the topics your > prompts hang off. > **[Prompts](api-reference/prompts/)** > > Bulk-add prompts, list them with per-prompt metrics, and drill into a > single prompt in one region. > **[Citations](api-reference/citations/)** > > Most-cited domains and pages, ownership share, and mention share over > time. > **[Competitors & ads](api-reference/competitors/)** > > Tracked competitors, plus the advertisers and creatives showing up on > your prompts. Conventions that hold everywhere: `snake_case` JSON keys, ISO 8601 timestamps, `page`/`page_size` pagination, and `filter[…]` query parameters — see [Pagination & filtering](/guides/pagination-filtering). # MCP Server Source: https://docs.cognizo.ai/mcp/overview What the Cognizo MCP server is, and how it fits with the API. The Cognizo **MCP server** lets an AI client call the Cognizo API on your behalf — "how did Acme's visibility move this week", "which prompts are we losing", "which domains cite our competitors but not us". It's a hosted, remote [Model Context Protocol](https://modelcontextprotocol.io) server, so there's nothing to install. > **[Connect a client](/mcp/setup)** > > Claude and ChatGPT sign in; Cursor, VS Code and Windsurf take a key. > **[Tools](/mcp/tools)** > > All 62 tools: 58 API operations plus 4 workflow tools. ## At a glance | | | | - | - | | **URL** | `https://mcp.cognizo.ai/mcp` | | **Transport** | Streamable HTTP (over TLS) | | **Auth** | Sign in (Claude web/desktop/mobile/Cowork, ChatGPT) **or** your API key in the `X-API-KEY` header | | **Tools** | 62 — 58 generated from the public API, 4 hand-written workflows | | **State** | None. The server stores nothing between requests. | ## How it works ``` Your AI client │ Streamable HTTP + TLS │ either X-API-KEY: cog_sk_… (Claude Code, Cursor, VS Code, Windsurf) │ or Authorization: Bearer … (Claude web/desktop/mobile, ChatGPT, after sign-in) ▼ mcp.cognizo.ai/mcp │ tools generated from the public OpenAPI spec │ + workflow tools that chain several calls │ forwards YOUR credential on every upstream request ▼ Cognizo public API → { data, meta } ``` The tool surface is generated from the same [public OpenAPI spec](/api-reference/introduction) that powers the API reference, so the tools and the endpoints never drift apart: one new public endpoint means one new tool, named after the same operation id. On top of that sit four **workflow tools** — hand-written shortcuts that chain several API calls into the answer a question actually needs, so the model doesn't have to orchestrate three round-trips to say how a brand is doing. ## Two ways to authenticate **Sign in** — Claude's web, desktop, mobile and Cowork clients can't send a custom header, so they authorize in the browser instead. Cognizo is an official Claude connector, so you add it from [the directory](https://claude.ai/directory/cognizo) and pick which organization it reads. ChatGPT signs in the same way, as a custom MCP server. No key is ever created or pasted. **API key** — everything else, including Claude Code, sends `X-API-KEY`. The organization comes from the key. Both end up in the same place: one organization's data, the public surface only. [Connect a client](/mcp/setup) covers each. ## What it can reach Exactly what your credential can reach, and nothing more: * The [public API surface](/api-reference/introduction) — brands, topics, prompts, citations, competitors, ads, regions, opportunities and Content Studio. * Only brands your organization owns. Anything outside that surface is rejected upstream with `403`, the same as a direct API call. The MCP server has no privileges of its own — it is a proxy, not an account. > [!NOTE] > > The server holds **no** credentials. Your key or token travels with each > request from your client, is forwarded upstream, and is never persisted. See > [Security & troubleshooting](/mcp/troubleshooting). ## Read and write The generated tools cover writes as well as reads — creating brands, bulk-adding prompts, tracking competitors, soft-deleting topics. An assistant with your key can change your workspace, so treat MCP access like handing over dashboard access. If you want a read-only setup, issue a key you can revoke independently and keep an eye on what your client is allowed to call — most clients let you approve tools individually. Claude shows each tool's read/write nature before you approve it; ChatGPT asks you to confirm write actions and shows the input it's about to send. # Connect a client Source: https://docs.cognizo.ai/mcp/setup Connect Claude, Cursor, VS Code, Windsurf or ChatGPT to the Cognizo MCP server. The server is at **`https://mcp.cognizo.ai/mcp`**, transport **Streamable HTTP** — you need that URL for the API-key clients below. Claude finds it for you. How you authenticate depends on the client: | Your client | How it connects | | - | - | | Claude — web, desktop, mobile, Cowork | **Sign in.** Connect from [the directory](https://claude.ai/directory/cognizo), then pick your organization. | | Claude Code, Cursor, VS Code, Windsurf | **API key** in the `X-API-KEY` header. | | ChatGPT | **Sign in.** Add a custom MCP server under Plugins, with DCR registration. | All of them reach the same tools with the same permissions. The difference is only where the credential comes from — a browser sign-in, or a key you created. ## Claude (web, desktop, mobile, Cowork) Cognizo is an **official Claude connector**. Nothing to create beforehand, no URL to paste and no key. **1. Add the connector** Open [claude.ai/directory/cognizo](https://claude.ai/directory/cognizo) and click **Connect** — or find it yourself under **Settings → Connectors → Browse connectors**. **2. Sign in** You'll be sent to Cognizo to sign in, then shown a consent screen asking to share your organization membership. **3. Pick your organization** The consent screen has an organization selector. **The one you choose is the one the connector reads** — Claude sees that organization's brands and no others. > [!NOTE] > > Connected to the wrong organization? Disconnect the connector and connect it > again — the selector appears each time you authorize, so switching > organizations is the same three clicks. > [!NOTE] > > **Added Cognizo as a custom connector before?** Disconnect and remove it, then > add the official one. Same tools, same sign-in — but nothing to keep pasting. ## Claude Code, Cursor, VS Code, Windsurf These send a header themselves, so they use an API key. Create one at [app.cognizo.ai/api-keys](https://app.cognizo.ai/api-keys). One key per client makes it easy to revoke a single machine later — see [Authentication](/guides/authentication) for expiry, rotation and scope. **Claude Code** ```bash theme={null} claude mcp add cognizo --transport http https://mcp.cognizo.ai/mcp \ --header "X-API-KEY: YOUR_API_KEY" ``` Check it registered with `claude mcp list`. **Cursor** Settings → **Tools & Integrations → MCP → Add custom MCP**, then: ```json theme={null} { "mcpServers": { "cognizo": { "url": "https://mcp.cognizo.ai/mcp", "headers": { "X-API-KEY": "YOUR_API_KEY" } } } } ``` **VS Code** Add to `.vscode/mcp.json` (workspace) or your user `mcp.json`: ```json theme={null} { "servers": { "cognizo": { "type": "http", "url": "https://mcp.cognizo.ai/mcp", "headers": { "X-API-KEY": "YOUR_API_KEY" } } } } ``` Don't commit a real key — use an input variable or an env var reference if the file is checked in. **Windsurf** Settings → **MCP → Add Server**. Set the URL to `https://mcp.cognizo.ai/mcp` and add a header `X-API-KEY: YOUR_API_KEY`. Any MCP client that speaks Streamable HTTP works — either sign-in or a custom header. Those are the ones we test. ## ChatGPT ChatGPT connects by **signing in** to Cognizo. **1. Add a custom MCP server** In ChatGPT, go to **Plugins → Add custom MCP server** (on a Business or Enterprise plan, a workspace admin may need to do this) and fill in: | Field | Value | | - | - | | **Name** | `Cognizo` | | **Description** | Anything you like, e.g. `All things AEO` | | **Connection** | **Server URL**: `https://mcp.cognizo.ai/mcp` | | **Authentication** | **OAuth** | **2. Select Dynamic Client Registration** Open **Advanced OAuth settings**. Under **Client registration**, set **Registration method** to **Dynamic Client Registration (DCR)**. Leave everything else as discovered. ![ChatGPT's Add custom MCP server form with the Cognizo server URL, OAuth authentication, and Registration method set to Dynamic Client Registration (DCR)](https://mintcdn.com/cognizo/0N03KRc7n2Fj3LrZ/images/chatgpt-custom-mcp-dcr.png?fit=max\&auto=format\&n=0N03KRc7n2Fj3LrZ\&q=85\&s=26261c9d343657ffea26e7ac3f0a343e) Registration method set to Dynamic Client Registration (DCR). > [!WARNING] > > The default, **Client Identifier Metadata Document (CIMD)**, doesn't work > with Cognizo — the connection fails with **invalid client**. **3. Create the plugin** Tick **I understand and want to continue**, then click **Create as a plugin**. **4. Sign in with Cognizo** ChatGPT sends you to Cognizo to sign in, then shows a consent screen with an organization selector — **the one you choose is the one ChatGPT reads**. > [!WARNING] > > ChatGPT asks you to confirm **write** actions and shows the input it is about > to send. Review that input before approving: the same connection that lists > your brands can also create, update and delete them. See > [Writes](/mcp/tools#writes). ## Verify Ask your assistant: > List my Cognizo brands. You should get your brands back. If the client shows a tool call, it'll be `list_brands`. Nothing? Head to [Security & troubleshooting](/mcp/troubleshooting). ## First things to try Once it's connected, these are the questions the tools are shaped for: > How is Acme doing in AI search this week? > Which of our tracked prompts have zero visibility? > Which domains get cited for our space, and are we on them? > What content should we create next, and why? > Who's advertising on our prompts, and what are they saying? > Review our ad opportunities and sort them into strategy lists. The model picks the tools; you can watch which ones it calls in the client's tool log. The full list is in [Tools](/mcp/tools). # Tools Source: https://docs.cognizo.ai/mcp/tools All 62 tools the Cognizo MCP server exposes. The server exposes **62 tools**: 58 generated from the public API — one per operation, named after its operation id — and 4 hand-written workflow tools that chain calls together. You don't need to memorise these; the model picks them. The list is here so you can tell what it did, and approve or block individual tools in clients that support it. ## Workflow tools Shortcuts for the questions people actually ask. Each takes a single `brand_id` and returns the already-joined result, so the model spends one round-trip instead of three. | Tool | Returns | Ask it like | | - | - | - | | `weekly_visibility_pulse` | Visibility, share of voice and sentiment for one brand | *"How is Acme doing this week?"* | | `competitor_radar` | The brand's tracked competitors, ready to rank | *"Who are we up against and how do we compare?"* | | `citation_gap_report` | The domains cited in the brand's space | *"Where should we be earning citations?"* | | `prompt_coverage_audit` | **Every** tracked prompt with its visibility | *"Which prompts are we losing?"* | > [!NOTE] > > Workflow tools use the API's default window — the **last 30 days** — and no > filters. For a specific period, region or provider, the model should reach for > the generated tools below, which take the full > [filter set](/guides/pagination-filtering). `prompt_coverage_audit` returns the whole brand — it pages through the API for you. Ad creatives and competitor lists are left out to keep the response small; pass `include_ads_and_competitors` if you need them. ## Generated tools Every tool takes the same parameters as the underlying endpoint: path ids as plain arguments, and the query parameters (`page`, `page_size`, `sort`, `filter[…]`) as optional ones. ### Brands > [!NOTE] > > `update_brand` only applies fields you send a value for. Sending an empty > string leaves the field unchanged rather than clearing it — there's no way to > blank a brand's description or category through the API. | Tool | What it does | | - | - | | `list_brands` | List the brands your organization owns | | `get_brand` | Get one brand | | `create_brand` | Create (or reactivate) a brand | | `update_brand` | Update a brand's name, status, description or category | | `delete_brand` | Soft-delete a brand | ### Brand metrics | Tool | What it does | | - | - | | `get_brand_visibility` | Brand-level visibility (aggregate + time series) | | `get_brand_share_of_voice` | Brand-level share of voice (aggregate + time series) | | `get_brand_sentiment` | Brand-level sentiment (aggregate + time series) | ### Topics | Tool | What it does | | - | - | | `list_brand_topics` | A brand's topics with metrics and prompt counts | | `get_brand_topic` | One topic with extended metrics | | `create_brand_topics` | Bulk-create topics (reactivates soft-deleted names) | | `update_brand_topic` | Rename or soft-delete a topic | | `delete_brand_topic` | Soft-delete a topic and deactivate its prompts | ### Prompts Each row carries every ad that ran on that prompt plus its competitor list. When you only need the metrics, pass `exclude=ads,top_competitors` — on a brand with ads that cuts the response by roughly three quarters. | Tool | What it does | | - | - | | `list_brand_prompts` | A brand's prompts with their metrics | | `create_brand_prompts` | Bulk-add prompts to a brand | | `update_brand_prompts` | Bulk-edit prompts (move topic, soft delete, reactivate) | | `get_brand_prompt_region` | One prompt's metrics row in one region | | `get_brand_prompt_region_visibility` | Prompt-level visibility (aggregate + time series) | | `get_brand_prompt_region_share_of_voice` | Prompt-level share of voice | | `get_brand_prompt_region_sentiment` | Prompt-level sentiment | ### Regions Region ids are UUIDs, required by `filter[region_ids]` and every prompt-region path. `list_regions` resolves a country name to its id. | Tool | What it does | | - | - | | `list_regions` | Every region with its id, name and country code | ### Citations | Tool | What it does | | - | - | | `list_brand_citations_domains` | Most-cited domains | | `get_brand_citations_domains_overview` | Domain-level share overview + type breakdown | | `list_brand_citations_pages` | Most-cited pages | | `get_brand_citations_pages_overview` | Page-level share overview + page-type breakdown | | `get_brand_citations_overview` | Summary stats, distributions, top growing | | `get_brand_citations_summary` | Citation summary by domain type | | `get_brand_citations_citation_share` | Owned-citation share time series | | `get_brand_citations_mention_share` | Brand-mention share time series | ### Competitors | Tool | What it does | | - | - | | `list_brand_competitors` | List tracked competitors | | `create_brand_competitor` | Track a competitor directly | | `delete_brand_competitor` | Untrack a competitor | | `list_brand_competitor_suggestions` | Competitors Cognizo found in AI answers to your prompts, waiting for review, highest visibility first | | `accept_brand_competitor_suggestion` | Start tracking a suggested competitor (optionally with its domain) | | `reject_brand_competitor_suggestion` | Dismiss a suggestion; it isn't suggested again | Accepting always tracks the competitor the suggestion names. To track a competitor under a different name, use `create_brand_competitor`. ### Ads & advertisers | Tool | What it does | | - | - | | `list_brand_ads` | Distinct creatives running on the brand's prompts | | `get_brand_ads_breakdown` | Ad-visibility breakdown by dimension | | `get_brand_ad` | One ad, with its copy | | `list_brand_advertisers` | Advertisers running ads on the brand's prompts | | `get_brand_advertiser` | Advertiser summary | | `list_brand_advertiser_ads` | Ads a specific advertiser ran | ### Opportunities Ad opportunities and the **strategy lists** you sort them into. Each carries the reasoning tags and score behind its ranking. > [!NOTE] > > Through MCP these tools return **prompt-anchored opportunities only** — the > ones derived from your tracked Cognizo prompts. Opportunities derived from a > synced Google Ads account are not yet available to assistants, and > `filter[types]` is pinned accordingly: passing `keyword` returns the > prompt-anchored set regardless. The REST API is unaffected; see > [Pagination & filtering](/guides/pagination-filtering). | Tool | What it does | | - | - | | `list_brand_ad_opportunities` | Ranked opportunities, filterable and sortable | | `get_brand_ad_opportunity` | One opportunity in full | | `update_brand_ad_opportunity_list_membership` | Set which strategy lists an opportunity belongs to | | `list_brand_ad_opportunity_lists` | The brand's strategy lists | | `create_brand_ad_opportunity_list` | Create a strategy list | | `update_brand_ad_opportunity_list` | Rename, recolor or reorder a list | | `delete_brand_ad_opportunity_list` | Delete a list | | `get_brand_ad_opportunities_compute` | Whether a recompute is running, and how much daily quota is left | | `create_brand_ad_opportunities_compute` | Start a recompute | > [!NOTE] > > `update_brand_ad_opportunity_list_membership` **replaces** an opportunity's > memberships rather than adding to them — send the complete set of list ids, > including the ones it should keep. It's the one to reach for when moving an > opportunity between lists; `update_brand_ad_opportunity_list` edits the list > itself. > [!WARNING] > > `create_brand_ad_opportunities_compute` recomputes the whole brand. It spends a > **daily quota** (3 runs per brand) and incurs AI and keyword-data cost — check > `get_brand_ad_opportunities_compute` for what's left before calling it. CSV export isn't exposed as a tool. Export from the app when you need a file. ### Content Studio Content recommendations, briefs and the articles generated from them. | Tool | What it does | | - | - | | `list_brand_content_studio_recommendations` | What to write next, with the reasoning | | `list_brand_content_studio_briefs` | The brand's content briefs | | `get_brand_content_studio_brief` | One brief, including its article stub | | `create_brand_content_studio_brief` | Create a brief | | `update_brand_content_studio_brief` | Update a brief | | `delete_brand_content_studio_brief` | Delete a brief | | `create_brand_content_studio_brief_generate_article` | Generate the article for a brief | | `get_brand_content_studio_article` | Read a generated article | | `update_brand_content_studio_article` | Update an article | | `delete_brand_content_studio_article` | Delete an article | There's no "list articles" tool and none is needed: each brief carries an article stub, so the path is list briefs → read the stub → fetch the article by id. > [!WARNING] > > Generating an article **consumes your article quota**, the same as clicking > the button in the app. It's the one tool here with a cost attached, so it's > worth using a client that asks before each call. ## Reading the results Tools return the API's `data` payload, so [metric units](/guides/metrics) apply unchanged. `sentiment` is a 1–100 average, not a percentage: if an assistant reports it as "62%", the label is wrong but the number is correct. ## Writes These tools mutate data: * **Brands** — `create_brand`, `update_brand`, `delete_brand` * **Topics** — `create_brand_topics`, `update_brand_topic`, `delete_brand_topic` * **Prompts** — `create_brand_prompts`, `update_brand_prompts` * **Competitors** — `create_brand_competitor`, `delete_brand_competitor`, `accept_brand_competitor_suggestion`, `reject_brand_competitor_suggestion` * **Content Studio** — the six brief/article writes, plus `create_brand_content_studio_brief_generate_article`, which spends article quota * **Opportunities** — `update_brand_ad_opportunity_list_membership`, the three `*_ad_opportunity_list` writes, plus `create_brand_ad_opportunities_compute`, which spends recompute quota Deletes are soft for brands, topics and prompts — the row drops out of the lists but its history is kept, and an archived prompt can still be read directly. Deleting a strategy list is permanent, but it removes only the grouping: the opportunities in it survive. Two of these spend money on your behalf — `create_brand_content_studio_brief_generate_article` (article quota) and `create_brand_ad_opportunities_compute` (recompute quota, AI and keyword-data cost). > [!WARNING] > > An assistant holding your key can call the write tools. If that's not what you > want, use a client that asks before each tool call, or one that lets you > disable tools individually. # Security & troubleshooting Source: https://docs.cognizo.ai/mcp/troubleshooting How your credentials are handled, and what to do when a tool call fails. ## How your credentials are handled Whichever way you connect, the credential is sent by **your client**, on every request, over TLS. The MCP server attaches it to the upstream API call and forgets it when the request ends. It is never persisted, and the server holds no credentials of its own — it can't call the API without something you supplied. ### If you signed in (Claude web, desktop, mobile, Cowork) Claude holds a short-lived token issued by Cognizo, refreshes it as needed, and sends it as a bearer token. You never see or store it. * **Revoke from either end.** Disconnect the connector in Claude, or revoke the authorization in Cognizo. * **Tokens are short-lived and refreshed automatically.** A revoked authorization stops working within minutes rather than instantly — the refresh is what fails. * **The organization is fixed at sign-in.** To read a different one, reconnect and pick it on the consent screen. ### If you used an API key The server reads it from the `X-API-KEY` header and forwards it upstream. That has three practical consequences: * **The key lives in your client's config.** Whoever can read that file (or that machine) can act as your organization. Treat it like an SSH key. * **Revoking is instant and total.** Delete the key in the dashboard and the next tool call fails with `401` — no session to expire, no cache to wait out. * **One key per client** keeps that blast radius small. Revoke a laptop without breaking your CI integration. > [!WARNING] > > A connected assistant can call the [write tools](/mcp/tools#writes) — creating > brands, bulk-adding prompts, soft-deleting topics, generating articles and > recomputing opportunities. The last two spend quota. Prefer a client that asks > before each tool call. Everything else about scope is the same as the REST API: only the public surface, only your organization's brands. See [Authentication](/guides/authentication#scope). ## Troubleshooting > **An API-key client shows no Cognizo tools at all** > > In Claude Code, Cursor, VS Code or Windsurf this is almost always > a transport or header problem, not an auth one — the server lists its tools > before any key is checked. > > * The URL must end in **`/mcp`**: `https://mcp.cognizo.ai/mcp`. > * The transport must be **Streamable HTTP** (sometimes labelled "HTTP"), > not SSE and not stdio. > * Restart the client after editing its config — most read MCP config only > at startup. > **Claude connects, then every tool call fails** > > The connector authorized but the token can't reach your data. Usually the > organization: the consent screen's selector decides which one the connector > reads, and picking the wrong one gives a valid token with no access to the > brands you expect. > > Disconnect the connector, add it again, and check the organization on the > consent screen. Ask the assistant to run `list_brands` first — if it > returns a different set than the dashboard, that's the mismatch. > **Claude can't find Cognizo, or won't connect to it** > > Cognizo is an official connector, so there's no URL, header or client id to > get wrong. > > * **Go straight to > [claude.ai/directory/cognizo](https://claude.ai/directory/cognizo)**, or > look under **Browse connectors** — not "Add custom connector". > * **An old custom connector gets in the way.** If you added > `https://mcp.cognizo.ai/mcp` by hand before, disconnect and remove it, > then add the official connector. > * **If Connect itself fails**, it stopped at sign-in rather than discovery. > Retry it: you should land on the Cognizo sign-in page and then a consent > screen with an organization selector. > **Every tool call fails with 401 (API key clients)** > > The key isn't reaching the API, or it isn't valid. > > * Check the header name is exactly `X-API-KEY`. > * Check the value has no `Bearer ` prefix and no stray quotes or trailing > whitespace — copy-paste from a terminal is a common culprit. > * Confirm the key still exists at > [app.cognizo.ai/api-keys](https://app.cognizo.ai/api-keys) and hasn't > expired or been revoked. > * Test the same key straight against the API: > > ```bash theme={null} > curl https://core.cognizo.ai/api/v2/brands -H "X-API-KEY: YOUR_API_KEY" > ``` > > If that works and MCP doesn't, the client isn't sending the header. > **ChatGPT says "invalid client" when connecting** > > The registration method is wrong. Add the server again under **Plugins → > Add custom MCP server**, and in **Advanced OAuth settings → Client > registration** set **Registration method** to **Dynamic Client Registration > (DCR)** instead of the default CIMD. > > Other things to check: > > * The **Server URL** is exactly `https://mcp.cognizo.ai/mcp` and > authentication is **OAuth**. > * On Business and Enterprise plans, adding a custom server may require a > workspace admin. > * Connected to the wrong organization? Disconnect and connect again — the > consent screen's selector decides which one ChatGPT reads. > **A tool call fails with 403** > > The key is valid but the request is out of scope: a brand another > organization owns, or an endpoint outside the public API surface. Ask the > assistant which brand id it used and check it against `list_brands`. > **Calls start failing with 429** > > You've hit the [rate limit](/guides/rate-limits) — 600 requests per minute > per key. An assistant looping over prompts one call at a time can get > there. Ask it to use a list tool with `page_size` up to 100 instead of > fetching rows individually, and wait a minute before retrying. > **The numbers don't match the dashboard** > > Usually a window mismatch. The workflow tools use the API default — the > **last 30 days** — while the app may be showing a different range, and the > ads endpoints default to 90 days. Ask the assistant to pass explicit > `filter[ran_at_start]` / `filter[ran_at_end]` values. > > If sentiment looks wrong, check the unit: it's a 1–100 average, not a > percentage. See [Metrics & units](/guides/metrics). > **The assistant invents a tool that doesn't exist** > > Tool names mirror the API's operation ids exactly (`list_brand_prompts`, > `get_brand_visibility`, …). If your client reports an unknown tool, it's > working from a stale tool list — reconnect the server. The current list is > on the [Tools](/mcp/tools) page. ## Still stuck Get in touch with the failing tool name and the approximate timestamp. If you're using an API key, include its first few characters (`cog_sk_…` — never the whole thing); if you signed in, say which organization you picked. That's enough to trace the request without exposing anything secret. # Quickstart Source: https://docs.cognizo.ai/quickstart From zero to your first API call. **1. Create an API key** Open [app.cognizo.ai/api-keys](https://app.cognizo.ai/api-keys), click **Create key**, name it, and copy the secret. The full key (starting `cog_sk_`) is shown **once** — store it somewhere safe. It inherits your organization's access, so it can reach every brand your org owns. Only connecting Claude? You may not need a key at all — its web, desktop and mobile clients [sign in instead](/mcp/setup). **2. Make a request** Send the key in the `X-API-KEY` header: ```bash theme={null} curl https://core.cognizo.ai/api/v2/brands \ -H "X-API-KEY: YOUR_API_KEY" ``` You'll get your brands back in the standard envelope: ```json theme={null} { "data": [ { "id": "b1a2c3d4-…", "name": "Acme", "domains": ["acme.com"], "status": "completed", "visibility": 42.1, "mode": "diy" } ], "meta": { "page": 1, "page_size": 25, "total_items": 1, "total_pages": 1 } } ``` **3. Pull a metric** Once you have a brand id, fetch its visibility. The window defaults to the last 30 days; pass `filter[ran_at_start]` / `filter[ran_at_end]` to change it and `filter[granularity]` to change the bucket size. ```bash theme={null} curl "https://core.cognizo.ai/api/v2/brands/BRAND_ID/visibility?filter[granularity]=week" \ -H "X-API-KEY: YOUR_API_KEY" ``` You get one aggregate row plus a time series, each listing your brand and its competitors: ```json theme={null} { "data": { "metric_type": "visibility", "date_range": ["2026-07-06T00:00:00Z", "2026-08-05T23:59:59Z"], "aggregate_metrics": { "start_date": "2026-07-06", "values": [ { "brand_name": "Acme", "value": 42.1, "diff": 3.4, "rank": 1, "is_target": true }, { "brand_name": "Globex", "value": 30.8, "diff": -1.2, "rank": 2, "is_target": false } ] }, "time_based_metrics": [ ] } } ``` `value` is a 0–100 percentage here — but **not** for every metric. Read [Metrics & units](/guides/metrics) before you chart or re-aggregate it. **4. Explore** Browse the [API Reference](/api-reference/introduction) and try any endpoint live from the console — or connect the [MCP server](/mcp/overview) so your AI assistant can call the API for you. > [!NOTE] > > Keys are scoped to your organization, not a single brand — which brands you > can reach is determined by what your org owns, exactly like the app.