[{"data":1,"prerenderedAt":601},["ShallowReactive",2],{"navigation_docs":3,"-api-agents-overview":188,"-api-agents-overview-surround":596},[4,23,52,81,134,148,166],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":22},"Getting started","i-lucide-rocket","/getting-started","1.getting-started",[10,14,18],{"title":11,"path":12,"stem":13},"Introduction","/getting-started/introduction","1.getting-started/1.introduction",{"title":15,"path":16,"stem":17},"Quickstart","/getting-started/quickstart","1.getting-started/2.quickstart",{"title":19,"path":20,"stem":21},"Core concepts","/getting-started/concepts","1.getting-started/3.concepts",false,{"title":24,"icon":25,"path":26,"stem":27,"children":28,"page":22},"API and agents","i-lucide-bot","/api-agents","10.api-agents",[29,33,36,40,44,48],{"title":30,"path":31,"stem":32},"Overview","/api-agents/overview","10.api-agents/1.overview",{"title":15,"path":34,"stem":35},"/api-agents/quickstart","10.api-agents/2.quickstart",{"title":37,"path":38,"stem":39},"Tools reference","/api-agents/tools-reference","10.api-agents/3.tools-reference",{"title":41,"path":42,"stem":43},"SEO × GEO playbook","/api-agents/playbook-seo-geo","10.api-agents/4.playbook-seo-geo",{"title":45,"path":46,"stem":47},"Scopes and error codes","/api-agents/scopes-and-errors","10.api-agents/5.scopes-and-errors",{"title":49,"path":50,"stem":51},"CLI reference","/api-agents/cli-reference","10.api-agents/6.cli-reference",{"title":53,"icon":54,"path":55,"stem":56,"children":57,"page":22},"Tracking","i-lucide-chart-line","/tracking","2.tracking",[58,61,65,69,73,77],{"title":30,"path":59,"stem":60},"/tracking/overview","2.tracking/1.overview",{"title":62,"path":63,"stem":64},"JavaScript SDK","/tracking/javascript","2.tracking/2.javascript",{"title":66,"path":67,"stem":68},"Google Tag Manager","/tracking/google-tag-manager","2.tracking/3.google-tag-manager",{"title":70,"path":71,"stem":72},"Events reference","/tracking/events","2.tracking/4.events",{"title":74,"path":75,"stem":76},"Event schema","/tracking/event-schema","2.tracking/5.event-schema",{"title":78,"path":79,"stem":80},"First-party tracking domain","/tracking/first-party-domain","2.tracking/6.first-party-domain",{"title":82,"icon":83,"path":84,"stem":85,"children":86,"page":22},"Connectors","i-lucide-plug","/connectors","3.connectors",[87,90,94,98,102,106,110,114,118,122,126,130],{"title":30,"path":88,"stem":89},"/connectors/overview","3.connectors/1.overview",{"title":91,"path":92,"stem":93},"Cloudflare AI crawlers","/connectors/cloudflare-ai-crawlers","3.connectors/10.cloudflare-ai-crawlers",{"title":95,"path":96,"stem":97},"Content change webhooks","/connectors/content-change-webhooks","3.connectors/11.content-change-webhooks",{"title":99,"path":100,"stem":101},"Shopify","/connectors/shopify","3.connectors/12.shopify",{"title":103,"path":104,"stem":105},"Google Ads","/connectors/google-ads","3.connectors/2.google-ads",{"title":107,"path":108,"stem":109},"Meta Ads","/connectors/meta-ads","3.connectors/3.meta-ads",{"title":111,"path":112,"stem":113},"TikTok Ads","/connectors/tiktok-ads","3.connectors/4.tiktok-ads",{"title":115,"path":116,"stem":117},"LinkedIn Ads","/connectors/linkedin-ads","3.connectors/5.linkedin-ads",{"title":119,"path":120,"stem":121},"Pinterest Ads","/connectors/pinterest-ads","3.connectors/6.pinterest-ads",{"title":123,"path":124,"stem":125},"Custom webhooks","/connectors/webhooks","3.connectors/7.webhooks",{"title":127,"path":128,"stem":129},"PrestaShop","/connectors/prestashop","3.connectors/8.prestashop",{"title":131,"path":132,"stem":133},"WooCommerce","/connectors/woocommerce","3.connectors/9.woocommerce",{"title":135,"icon":136,"path":137,"stem":138,"children":139,"page":22},"Analytics","i-lucide-layout-dashboard","/analytics","4.analytics",[140,144],{"title":141,"path":142,"stem":143},"Dashboard overview","/analytics/overview","4.analytics/1.overview",{"title":145,"path":146,"stem":147},"Metrics reference","/analytics/metrics","4.analytics/2.metrics",{"title":149,"icon":150,"path":151,"stem":152,"children":153,"page":22},"Attribution","i-lucide-git-fork","/attribution","5.attribution",[154,158,162],{"title":155,"path":156,"stem":157},"How attribution works","/attribution/overview","5.attribution/1.overview",{"title":159,"path":160,"stem":161},"Data-driven model","/attribution/data-driven","5.attribution/2.data-driven",{"title":163,"path":164,"stem":165},"Attribution windows","/attribution/windows","5.attribution/3.windows",{"title":167,"icon":168,"path":169,"stem":170,"children":171,"page":22},"Trust Center","i-lucide-shield-check","/trust-center","6.trust-center",[172,176,180,184],{"title":173,"path":174,"stem":175},"Trust Center overview","/trust-center/overview","6.trust-center/1.overview",{"title":177,"path":178,"stem":179},"Investigations","/trust-center/investigations","6.trust-center/2.investigations",{"title":181,"path":182,"stem":183},"Audits","/trust-center/audits","6.trust-center/3.audits",{"title":185,"path":186,"stem":187},"Alerts","/trust-center/alerts","6.trust-center/4.alerts",{"id":189,"title":30,"body":190,"description":589,"extension":590,"links":591,"meta":592,"navigation":593,"path":31,"seo":594,"stem":32,"__hash__":595},"docs/10.api-agents/1.overview.md",{"type":191,"value":192,"toc":581},"minimark",[193,197,205,210,239,243,250,407,415,419,466,523,527,536,540,568,572,577],[194,195,196],"p",{},"The TrustData MCP server lets any MCP-compatible AI agent (Claude, Claude Code, Cursor, ChatGPT, Gemini CLI) query your marketing data, work through anomaly investigations, and read, create and close recommendations.",[194,198,199,200,204],{},"It's the same surface as the public REST API (",[201,202,203],"code",{},"/api/v1/","), exposed over the Model Context Protocol. Your agent picks the right tool for each step. You don't write glue code.",[206,207,209],"h2",{"id":208},"who-this-is-for","Who this is for",[211,212,213,221,227,233],"ul",{},[214,215,216,220],"li",{},[217,218,219],"strong",{},"Marketing operators"," who want to chat with their dashboard (\"why did ROAS drop yesterday?\") instead of clicking through it.",[214,222,223,226],{},[217,224,225],{},"SEO × GEO specialists"," driving a weekly loop of diagnose → propose → ship → measure, with the agent doing the diagnosis and bookkeeping.",[214,228,229,232],{},[217,230,231],{},"Agencies"," who manage many clients and want an LLM to triage alerts and draft recommendations per property. One connection can read every workspace you grant it.",[214,234,235,238],{},[217,236,237],{},"Developers"," automating reports, anomaly digests, or deploy annotations without maintaining a scraping layer.",[206,240,242],{"id":241},"what-you-get","What you get",[194,244,245,246,249],{},"The server lists up to 40 tools. A token sees only the tools its scopes allow, and three tools that write search terms need the opt-in ",[201,247,248],{},"write:search_terms"," scope, so a token without it sees up to 37. The main families:",[251,252,253,275,301,322,336,352,375],"card-group",{},[254,255,258,261,262,261,265,261,268,261,271,274],"card",{"icon":256,"title":257},"i-lucide-compass","Discovery",[201,259,260],{},"list_properties",", ",[201,263,264],{},"list_data_sources",[201,266,267],{},"list_fields",[201,269,270],{},"get_context",[201,272,273],{},"get_query_instructions",": find the properties and data sources every other tool needs, and the metrics and dimensions a report accepts.",[254,276,279,261,282,261,285,261,288,261,291,261,294,297,298,300],{"icon":277,"title":278},"i-lucide-bar-chart-3","Reports",[201,280,281],{},"run_report",[201,283,284],{},"chart_report",[201,286,287],{},"run_funnel",[201,289,290],{},"get_attribution",[201,292,293],{},"get_retention",[201,295,296],{},"get_ltv",": the same numbers the dashboard shows, by date range and up to five dimensions. ",[201,299,284],{}," draws a report as a chart in the chat.",[254,302,305,261,308,261,311,261,314,317,318,321],{"icon":303,"title":304},"i-lucide-sparkles","AI search (GEO) & SEO",[201,306,307],{},"get_geo_visibility",[201,309,310],{},"list_brand_prompts",[201,312,313],{},"list_competitors",[201,315,316],{},"list_citation_gaps",": where your brand appears in AI answers, and which publishers cite you without a link. ",[201,319,320],{},"list_search_terms"," lists the search terms a property watches.",[254,323,326,261,329,261,332,335],{"icon":324,"title":325},"i-lucide-bell","Signals & changes",[201,327,328],{},"list_signals",[201,330,331],{},"update_alert",[201,333,334],{},"create_change_event",": one feed of alerts, anomalies and logged changes, plus the calls to triage alerts and report a change.",[254,337,339,261,342,261,345,261,348,351],{"icon":338,"title":177},"i-lucide-search-check",[201,340,341],{},"get_investigation",[201,343,344],{},"ask_investigation",[201,346,347],{},"ask_investigation_followup",[201,349,350],{},"submit_verdict",": read a Trust Center diagnosis, question it, and record whether it was right.",[254,353,356,261,359,261,362,261,365,261,368,261,371,374],{"icon":354,"title":355},"i-lucide-lightbulb","Beacon",[201,357,358],{},"list_recommendations",[201,360,361],{},"show_recommendations",[201,363,364],{},"create_recommendation",[201,366,367],{},"mark_recommendation_done",[201,369,370],{},"dismiss_recommendation",[201,372,373],{},"get_strategy",": propose hypotheses, close the loop, and learn from concluded outcomes.",[254,376,379,261,382,385,386,261,389,261,392,395,396,399,400,261,403,406],{"icon":377,"title":378},"i-lucide-layers","Dossiers, custom fields and connected accounts",[201,380,381],{},"add_to_dossier",[201,383,384],{},"read_dossier",": keep an analysis as proposals a member accepts or declines. ",[201,387,388],{},"list_custom_fields",[201,390,391],{},"add_custom_field",[201,393,394],{},"remove_custom_field",": register a param as a custom dimension or metric. ",[201,397,398],{},"call_data_source",": a read-only call to a connected Google Ads, Search Console, Google Analytics or Meta Ads data source. ",[201,401,402],{},"describe_warehouse",[201,404,405],{},"query_warehouse",": read a connected BigQuery warehouse with a SELECT.",[194,408,409,410,414],{},"See the ",[411,412,413],"a",{"href":38},"tools reference"," for each tool's parameters and the scope it needs.",[206,416,418],{"id":417},"how-it-works","How it works",[420,421,426],"pre",{"className":422,"code":423,"language":424,"meta":425,"style":425},"language-mermaid shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","flowchart TD\n  A[\"Your agent\u003Cbr/>(Claude / Cursor / ChatGPT / …)\"] -->|\"JSON-RPC over HTTPS (Streamable HTTP)\u003Cbr/>OAuth access token or td_live_… API token\"| E[\"mcp.trustdata.tech/mcp/\"]\n  E --> auth[\"Auth → resolves to your workspace(s) + scope set\"]\n  E --> scope[\"Scope filter: tools your grant can't use are not listed\"]\n  E --> rls[\"Tenant isolation: every query runs inside your organization\"]\n  E --> db[\"TrustData data store, results streamed back to the agent\"]\n","mermaid","",[201,427,428,436,442,448,454,460],{"__ignoreMap":425},[429,430,433],"span",{"class":431,"line":432},"line",1,[429,434,435],{},"flowchart TD\n",[429,437,439],{"class":431,"line":438},2,[429,440,441],{},"  A[\"Your agent\u003Cbr/>(Claude / Cursor / ChatGPT / …)\"] -->|\"JSON-RPC over HTTPS (Streamable HTTP)\u003Cbr/>OAuth access token or td_live_… API token\"| E[\"mcp.trustdata.tech/mcp/\"]\n",[429,443,445],{"class":431,"line":444},3,[429,446,447],{},"  E --> auth[\"Auth → resolves to your workspace(s) + scope set\"]\n",[429,449,451],{"class":431,"line":450},4,[429,452,453],{},"  E --> scope[\"Scope filter: tools your grant can't use are not listed\"]\n",[429,455,457],{"class":431,"line":456},5,[429,458,459],{},"  E --> rls[\"Tenant isolation: every query runs inside your organization\"]\n",[429,461,463],{"class":431,"line":462},6,[429,464,465],{},"  E --> db[\"TrustData data store, results streamed back to the agent\"]\n",[211,467,468,498,504,510],{},[214,469,470,473],{},[217,471,472],{},"Two ways to authenticate.",[211,474,475,485],{},[214,476,477,480,481,484],{},[217,478,479],{},"OAuth (recommended)"," for Claude, Claude Code, Cursor and ChatGPT: point the client at the URL, sign in, pick the workspace(s), approve the scopes. Nothing to copy or paste. Manage connected clients in ",[217,482,483],{},"Settings → Connected apps",".",[214,486,487,490,491,494,495,484],{},[217,488,489],{},"API token"," (",[201,492,493],{},"td_live_…",") for scripts, CI and clients without OAuth. Issue one in ",[217,496,497],{},"Organization settings → Developer",[214,499,500,503],{},[217,501,502],{},"Scopes = capabilities."," A read-only grant never sees write tools and can never write, even if the LLM asks it to. With OAuth, write tools also check that you can edit the property.",[214,505,506,509],{},[217,507,508],{},"Rate limit comes from your plan."," 30, 300 or 3,000 requests per minute, set automatically on every token. There's nothing to choose.",[214,511,512,515,516,519,520,484],{},[217,513,514],{},"Privacy is built in."," Breakdown rows backed by fewer than ten people are withheld and counts are rounded to the nearest ten. A withheld value comes back as ",[201,517,518],{},"null",", never as ",[201,521,522],{},"0",[206,524,526],{"id":525},"pricing","Pricing",[194,528,529,530,535],{},"The MCP server and the REST API are included in every TrustData plan. No tool is metered per call. See ",[411,531,525],{"href":532,"rel":533},"https://trustdata.tech/pricing",[534],"nofollow"," for plans.",[206,537,539],{"id":538},"also-available","Also available",[211,541,542,555],{},[214,543,544,547,548,551,552,484],{},[217,545,546],{},"Claude Code plugin."," Installs the MCP server and the TrustData skill in one step, with OAuth: ",[201,549,550],{},"claude plugin marketplace add trstdata/trustdata-integrations",", then ",[201,553,554],{},"claude plugin install trustdata@trustdata",[214,556,557,563,564,567],{},[217,558,559,562],{},[201,560,561],{},"trustdata"," CLI."," Every MCP tool as a terminal command (",[201,565,566],{},"trustdata \u003Cresource> \u003Cverb>","), for shell scripts, CI and deploy steps. It uses an API token.",[206,569,571],{"id":570},"next-step","Next step",[194,573,574,575],{},"Connect your agent in about 2 minutes: ",[411,576,15],{"href":34},[578,579,580],"style",{},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":425,"searchDepth":438,"depth":438,"links":582},[583,584,585,586,587,588],{"id":208,"depth":438,"text":209},{"id":241,"depth":438,"text":242},{"id":417,"depth":438,"text":418},{"id":525,"depth":438,"text":526},{"id":538,"depth":438,"text":539},{"id":570,"depth":438,"text":571},"What the TrustData MCP server is, who should use it, and how it connects.","md",null,{},true,{"title":30,"description":589},"zxJYFy_9F9yZsdoDiiYKKp-3K3rt2sr2_YdU-Msbguo",[597,599],{"title":19,"path":20,"stem":21,"description":598,"children":-1},"Understand TrustData's organization structure and key concepts.",{"title":15,"path":34,"stem":35,"description":600,"children":-1},"Connect your agent, sign in, and run your first tool call in about 2 minutes.",1794578008820]