Query one analytics metric (sov, citations, traffic, sentiment) grouped by at most one dimension, scoped by filters and a date window. Returns flat rows plus column metadata for generic rendering.
products:read: Read product metadata and competitor data
products:write: Update product settings and competitor lists
Body
application/json
productId
string
required
Product ID to scope the query to.
Minimum string length: 1
metric
enum<string>
required
Metric to query. Ungrouped and date-dimension SoV use configurable trailing snapshots rather than additive period totals.
Available options:
sov,
citations,
traffic,
sentiment
dimensions
string[]
At most one dimension to group by. Omit or pass [] for a summary. For metric=sov when dimensions are omitted or dimensions=[date] or dimensions=[engine], sov, mentions, and runs are trailing-window snapshot values. granularity selects day, week, or month buckets and rollingWindow counts those buckets; they default to day and 30. Omit dimensions to return the latest product snapshot, use dimensions=[date] for one snapshot per date, or use dimensions=[engine] for the latest snapshot per engine. The window selects eligible snapshot dates; it is not a period aggregation. Custom rolling settings are supported for product, date, and engine SOV series. Do not sum mentions or runs across dated rows because their rolling windows overlap. Capabilities — sov: dimensions [date, prompt, topic, engine, competitor], filters [viewId, promptId, topicId, engine, regionId], sortBy depends on the dimension (prompt, topic, and engine rows sort by sov, mentions, runs, or label; competitor rows sort by sov or mentions, desc only; date and ungrouped results do not sort); citations: dimensions [source, category, type, author, model, date], filters [viewId, topicId, regionId, category, contentType, model, author, searchTerm, productMentioned], sortBy [citations, mentions]; traffic: dimensions [date, page, model, category], filters [trafficType, provider, category]; sentiment: dimensions [prompt], filters [viewId, promptId, topicId].
Maximum array length: 1
Minimum string length: 1
filters
object
Show child attributes
window
object
Date window; both start and end or neither. Defaults to the last 30 days. Maximum 366 inclusive days. For metric=sov when dimensions are omitted or dimensions=[date] or dimensions=[engine], sov, mentions, and runs are trailing-window snapshot values. granularity selects day, week, or month buckets and rollingWindow counts those buckets; they default to day and 30. Omit dimensions to return the latest product snapshot, use dimensions=[date] for one snapshot per date, or use dimensions=[engine] for the latest snapshot per engine. The window selects eligible snapshot dates; it is not a period aggregation. Custom rolling settings are supported for product, date, and engine SOV series. Do not sum mentions or runs across dated rows because their rolling windows overlap.
Show child attributes
granularity
enum<string>
UTC bucket and rollingWindow unit for metric=sov, or time bucket for metric=traffic with dimensions=[date]. Defaults to day.
Available options:
day,
week,
month
rollingWindow
integer
Number of granularity buckets in each metric=sov snapshot. Defaults to 30.
Required range: 1 <= x <= 30
compare
enum<string>
Week-over-week comparison, metric=sentiment only.
Available options:
wow
page
integer
Required range: 1 <= x <= 100
pageSize
integer
Required range: 1 <= x <= 100
sortBy
string
Minimum string length: 1
sortDirection
enum<string>
Available options:
asc,
desc
Response
Successful response
ok
enum<boolean>
required
Available options:
true
data
object
required
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"The Prompting Company","colors":{"primary":"#007AFF","light":"#5AC8FA","dark":"#0051D5"},"logo":{"light":"https://mintcdn.com/thepromptingcompany/VgmeRsP9pdtnPg-3/logo/light.svg?fit=max\u0026auto=format\u0026n=VgmeRsP9pdtnPg-3\u0026q=85\u0026s=1322994eab9c544529d97a7305a05028","dark":"https://mintcdn.com/thepromptingcompany/VgmeRsP9pdtnPg-3/logo/dark.svg?fit=max\u0026auto=format\u0026n=VgmeRsP9pdtnPg-3\u0026q=85\u0026s=2b31947222602121a12c16a7e4b7a8cc"},"favicon":"https://mintcdn.com/thepromptingcompany/VgmeRsP9pdtnPg-3/favicon.svg?fit=max\u0026auto=format\u0026n=VgmeRsP9pdtnPg-3\u0026q=85\u0026s=2e9bd99887db77f590c768f2090e41c0","api":{"playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["curl","javascript","python"],"prefill":true},"url":"full"},"navbar":{"links":[{"href":"mailto:support@promptingco.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.promptingco.com"}},"footer":{"socials":{"x":"https://x.com/promptingco","github":"https://github.com/promptingcompany","linkedin":"https://linkedin.com/company/prompting-company"}},"seo":{"metatags":{"og:image":"https://docs.promptingcompany.com/images/og.png","og:image:width":"1200","og:image:height":"630","twitter:image":"https://docs.promptingcompany.com/images/og.png"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Platform","icon":"globe","href":"https://app.promptingco.com"},{"anchor":"GitHub","icon":"github","href":"https://github.com/promptingcompany"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"thepromptingcompany","hasAudioNarration":false,"actualSubdomain":"thepromptingcompany","customDomains":["docs.promptingcompany.com"],"gitSource":{"type":"github","owner":"promptingcompany","repo":"ctrl0","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b03ed7a6418b78986174625","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"API","count":123},{"language":"default","tag":"API Reference","count":111},{"language":"default","tag":"Content","count":31},{"language":"default","tag":"Apps \u0026 Publishing","count":29},{"language":"default","tag":"Visibility \u0026 Mentions","count":26},{"language":"default","tag":"Guides","count":25},{"language":"default","tag":"CLI","count":24},{"language":"default","tag":"Commands","count":17},{"language":"default","tag":"Get started","count":14},{"language":"default","tag":"Content publishing","count":8}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api/reference/visibility-\u0026-mentions/run-a-dimensional-analytics-query-for-a-product","slug":"/api/reference/visibility-\u0026-mentions/run-a-dimensional-analytics-query-for-a-product","pageMetadata":{"title":"Run a dimensional analytics query for a product","description":"Query one analytics metric (sov, citations, traffic, sentiment) grouped by at most one dimension, scoped by filters and a date window. Returns flat rows plus column metadata for generic rendering.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/analytics/explore","href":"/api/reference/visibility-\u0026-mentions/run-a-dimensional-analytics-query-for-a-product","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Query one analytics metric (sov, citations, traffic, sentiment) grouped by at most one dimension, scoped by filters and a date window. Returns flat rows plus column metadata for generic rendering.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Run a dimensional analytics query for a product","description":"Query one analytics metric (sov, citations, traffic, sentiment) grouped by at most one dimension, scoped by filters and a date window. Returns flat rows plus column metadata for generic rendering.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/analytics/explore","href":"/api/reference/visibility-\u0026-mentions/run-a-dimensional-analytics-query-for-a-product","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"postAnalyticsExplore","summary":"Run a dimensional analytics query for a product","description":"Query one analytics metric (sov, citations, traffic, sentiment) grouped by at most one dimension, scoped by filters and a date window. Returns flat rows plus column metadata for generic rendering.","tags":["Visibility \u0026 Mentions"],"security":["5ec07c30-762f-4f93-b6df-cfe78150f812","e564f109-25e4-4182-8754-eea501550301","ee775adb-5d92-44e7-a8f7-eebc60eb59c5"],"requestBody":"bb197e7e-35ce-4a2d-9026-03fc71de2535","responses":{"200":"3e352ee6-c3cc-4388-9edb-2adeb789123b","400":"d3a4a072-5ae0-46a0-b41f-31f529b3bc89","401":"abb3596c-4281-4361-a9ca-37f1bea14934","403":"f7d73286-b266-42e2-9d06-c7b6855b0320","404":"a16807ba-fbed-4092-9f76-44878093b89a","422":"a9421582-c0ff-4d95-ba04-953828b13d85","500":"0cb7f114-3314-40ad-8bf5-0363ef4969eb"},"method":"post","type":"path","servers":["0dac90cf-4c88-437a-ab73-305b76191aab","6cfdaa1d-2608-48f2-9711-81bd50a90f8b"],"path":"/api/v1/analytics/explore","baseUrlOptions":["https://app.promptingco.com","http://localhost:3000"],"title":"Run a dimensional analytics query for a product","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.productId":"\u003cstring>","body.dimensions.items.0":"\u003cstring>","body.filters.viewId":"\u003cstring>","body.filters.promptId":"\u003cstring>","body.filters.topicId":"\u003cstring>","body.filters.engine":"\u003cstring>","body.filters.regionId":"\u003cstring>","body.filters.category":"\u003cstring>","body.filters.contentType":"\u003cstring>","body.filters.model":"\u003cstring>","body.filters.author":"\u003cstring>","body.filters.searchTerm":"\u003cstring>","body.filters.provider":"\u003cstring>","body.window.start":"\u003cstring>","body.window.end":"\u003cstring>","body.rollingWindow":15,"body.compare":"wow","body.page":50,"body.pageSize":50,"body.sortBy":"\u003cstring>"}],"urlDisplay":"full"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"productId":{"type":"string","minLength":1,"description":"Product ID to scope the query to.","isRequired":true,"uniqueKey":"productId","typeLabel":"string"},"metric":{"type":"string","enum":["sov","citations","traffic","sentiment"],"description":"Metric to query. Ungrouped and date-dimension SoV use configurable trailing snapshots rather than additive period totals.","isRequired":true,"uniqueKey":"metric","typeLabel":"enum\u003cstring>"},"dimensions":{"type":"array","items":{"type":"string","minLength":1,"uniqueKey":"dimensions.items.[INDEX]","typeLabel":"string"},"maxItems":1,"description":"At most one dimension to group by. Omit or pass [] for a summary. For metric=sov when dimensions are omitted or dimensions=[date] or dimensions=[engine], sov, mentions, and runs are trailing-window snapshot values. granularity selects day, week, or month buckets and rollingWindow counts those buckets; they default to day and 30. Omit dimensions to return the latest product snapshot, use dimensions=[date] for one snapshot per date, or use dimensions=[engine] for the latest snapshot per engine. The window selects eligible snapshot dates; it is not a period aggregation. Custom rolling settings are supported for product, date, and engine SOV series. Do not sum mentions or runs across dated rows because their rolling windows overlap. Capabilities — sov: dimensions [date, prompt, topic, engine, competitor], filters [viewId, promptId, topicId, engine, regionId], sortBy depends on the dimension (prompt, topic, and engine rows sort by sov, mentions, runs, or label; competitor rows sort by sov or mentions, desc only; date and ungrouped results do not sort); citations: dimensions [source, category, type, author, model, date], filters [viewId, topicId, regionId, category, contentType, model, author, searchTerm, productMentioned], sortBy [citations, mentions]; traffic: dimensions [date, page, model, category], filters [trafficType, provider, category]; sentiment: dimensions [prompt], filters [viewId, promptId, topicId].","uniqueKey":"dimensions","typeLabel":"string[]"},"filters":{"type":"object","properties":{"viewId":{"type":"string","minLength":1,"description":"Scope to a saved view's prompts (sov, citations, sentiment).","uniqueKey":"filters.viewId","typeLabel":"string"},"promptId":{"type":"string","minLength":1,"description":"Scope to a single prompt (sov, sentiment). With metric=sov, use dimensions=[date] for the prompt's time series, [engine] for its share of voice per engine, or [competitor] for the ranking within that prompt.","uniqueKey":"filters.promptId","typeLabel":"string"},"topicId":{"type":"string","minLength":1,"description":"Scope to a single topic/category (sov, citations, sentiment). With metric=sov, use dimensions=[prompt] for each prompt's share of voice within the topic, [competitor] for the industry ranking within the topic, or [date] for the topic's time series.","uniqueKey":"filters.topicId","typeLabel":"string"},"engine":{"type":"string","minLength":1,"description":"Answer engine filter for sov, e.g. chatgpt or sonar.","uniqueKey":"filters.engine","typeLabel":"string"},"regionId":{"type":"string","minLength":1,"description":"Region scope.","uniqueKey":"filters.regionId","typeLabel":"string"},"category":{"type":"string","minLength":1,"description":"Source category (citations) or page category (traffic).","uniqueKey":"filters.category","typeLabel":"string"},"contentType":{"type":"string","minLength":1,"description":"Citations content type, e.g. article or youtube.","uniqueKey":"filters.contentType","typeLabel":"string"},"model":{"type":"string","minLength":1,"description":"Citations: answer engine/model that cited the source.","uniqueKey":"filters.model","typeLabel":"string"},"author":{"type":"string","minLength":1,"description":"Citations: author name filter.","uniqueKey":"filters.author","typeLabel":"string"},"searchTerm":{"type":"string","minLength":1,"description":"Citations: case-insensitive URL/title search.","uniqueKey":"filters.searchTerm","typeLabel":"string"},"productMentioned":{"type":"string","enum":["mentioned","not_mentioned"],"description":"Citations: only sources where the product was (not) mentioned.","uniqueKey":"filters.productMentioned","typeLabel":"enum\u003cstring>"},"trafficType":{"type":"string","enum":["ai","human"],"description":"Traffic: ai (default) or human.","uniqueKey":"filters.trafficType","typeLabel":"enum\u003cstring>"},"provider":{"type":"string","minLength":1,"description":"Traffic: AI crawler or assistant filter, for example chatgpt.","uniqueKey":"filters.provider","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"filters","typeLabel":"object"},"window":{"type":"object","properties":{"start":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"ISO date (YYYY-MM-DD).","uniqueKey":"window.start","typeLabel":"string"},"end":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"ISO date (YYYY-MM-DD).","uniqueKey":"window.end","typeLabel":"string"}},"description":"Date window; both start and end or neither. Defaults to the last 30 days. Maximum 366 inclusive days. For metric=sov when dimensions are omitted or dimensions=[date] or dimensions=[engine], sov, mentions, and runs are trailing-window snapshot values. granularity selects day, week, or month buckets and rollingWindow counts those buckets; they default to day and 30. Omit dimensions to return the latest product snapshot, use dimensions=[date] for one snapshot per date, or use dimensions=[engine] for the latest snapshot per engine. The window selects eligible snapshot dates; it is not a period aggregation. Custom rolling settings are supported for product, date, and engine SOV series. Do not sum mentions or runs across dated rows because their rolling windows overlap.","uniqueKey":"window","typeLabel":"object"},"granularity":{"type":"string","enum":["day","week","month"],"description":"UTC bucket and rollingWindow unit for metric=sov, or time bucket for metric=traffic with dimensions=[date]. Defaults to day.","uniqueKey":"granularity","typeLabel":"enum\u003cstring>"},"rollingWindow":{"type":"integer","minimum":1,"maximum":30,"description":"Number of granularity buckets in each metric=sov snapshot. Defaults to 30.","uniqueKey":"rollingWindow","typeLabel":"integer"},"compare":{"type":"string","enum":["wow"],"description":"Week-over-week comparison, metric=sentiment only.","uniqueKey":"compare","typeLabel":"enum\u003cstring>"},"page":{"type":"integer","minimum":1,"maximum":100,"uniqueKey":"page","typeLabel":"integer"},"pageSize":{"type":"integer","minimum":1,"maximum":100,"uniqueKey":"pageSize","typeLabel":"integer"},"sortBy":{"type":"string","minLength":1,"uniqueKey":"sortBy","typeLabel":"string"},"sortDirection":{"type":"string","enum":["asc","desc"],"uniqueKey":"sortDirection","typeLabel":"enum\u003cstring>"}},"required":["productId","metric"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"productId":"\u003cstring>","dimensions":["\u003cstring>"],"filters":{"viewId":"\u003cstring>","promptId":"\u003cstring>","topicId":"\u003cstring>","engine":"\u003cstring>","regionId":"\u003cstring>","category":"\u003cstring>","contentType":"\u003cstring>","model":"\u003cstring>","author":"\u003cstring>","searchTerm":"\u003cstring>","provider":"\u003cstring>"},"window":{"start":"\u003cstring>","end":"\u003cstring>"},"rollingWindow":15,"compare":"wow","page":50,"pageSize":50,"sortBy":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"3e352ee6-c3cc-4388-9edb-2adeb789123b":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[true],"isRequired":true,"uniqueKey":"ok","typeLabel":"enum\u003cboolean>"},"data":{"type":"object","properties":{"metric":{"type":"string","enum":["sov","citations","traffic","sentiment"],"isRequired":true,"uniqueKey":"data.metric","typeLabel":"enum\u003cstring>"},"dimensions":{"type":"array","items":{"type":"string","uniqueKey":"data.dimensions.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"data.dimensions","typeLabel":"string[]"},"scope":{"type":"object","properties":{"product":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.scope.product.id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"data.scope.product.name","typeLabel":"string"},"slug":{"type":"string","isRequired":true,"uniqueKey":"data.scope.product.slug","typeLabel":"string"}},"required":["id","name","slug"],"isRequired":true,"uniqueKey":"data.scope.product","typeLabel":"object"}},"required":["product"],"isRequired":true,"uniqueKey":"data.scope","typeLabel":"object"},"window":{"type":"object","properties":{"start":{"type":"string","isRequired":true,"uniqueKey":"data.window.start","typeLabel":"string"},"end":{"type":"string","isRequired":true,"uniqueKey":"data.window.end","typeLabel":"string"}},"required":["start","end"],"isRequired":true,"uniqueKey":"data.window","typeLabel":"object"},"columns":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","isRequired":true,"uniqueKey":"data.columns.items.[INDEX].key","typeLabel":"string"},"label":{"type":"string","isRequired":true,"uniqueKey":"data.columns.items.[INDEX].label","typeLabel":"string"},"kind":{"type":"string","enum":["dimension","metric"],"isRequired":true,"uniqueKey":"data.columns.items.[INDEX].kind","typeLabel":"enum\u003cstring>"},"type":{"type":"string","enum":["string","number","date"],"isRequired":true,"uniqueKey":"data.columns.items.[INDEX].type","typeLabel":"enum\u003cstring>"}},"required":["key","label","kind","type"],"uniqueKey":"data.columns.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.columns","typeLabel":"object[]"},"rows":{"type":"array","items":{"type":"object","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"data.rows.items.[INDEX].additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"data.rows.items.[INDEX].additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"data.rows.items.[INDEX].additionalProperties.oneOf.2","typeLabel":"boolean"},{"type":"null","uniqueKey":"data.rows.items.[INDEX].additionalProperties.oneOf.3","typeLabel":"null"}],"uniqueKey":"data.rows.items.[INDEX].additionalProperties","typeLabel":"string | number | boolean | null"},"uniqueKey":"data.rows.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.rows","typeLabel":"object[]"},"granularity":{"type":"string","enum":["day","week","month"],"uniqueKey":"data.granularity","typeLabel":"enum\u003cstring>"},"rollingWindow":{"type":"integer","minimum":1,"maximum":30,"uniqueKey":"data.rollingWindow","typeLabel":"integer"},"compare":{"type":"string","enum":["wow"],"uniqueKey":"data.compare","typeLabel":"enum\u003cstring>"},"pagination":{"type":"object","properties":{"page":{"type":"integer","isRequired":true,"uniqueKey":"data.pagination.page","typeLabel":"integer"},"pageSize":{"type":"integer","isRequired":true,"uniqueKey":"data.pagination.pageSize","typeLabel":"integer"},"total":{"type":"integer","isRequired":true,"uniqueKey":"data.pagination.total","typeLabel":"integer"},"totalPages":{"type":"integer","isRequired":true,"uniqueKey":"data.pagination.totalPages","typeLabel":"integer"}},"required":["page","pageSize","total","totalPages"],"uniqueKey":"data.pagination","typeLabel":"object"},"totals":{"type":"object","additionalProperties":{"type":"number","uniqueKey":"data.totals.additionalProperties","typeLabel":"number"},"uniqueKey":"data.totals","typeLabel":"object"}},"required":["metric","dimensions","scope","window","columns","rows"],"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"required":["ok","data"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"ok":true,"data":{"metric":"sov","dimensions":["\u003cstring>"],"scope":{"product":{"id":"\u003cstring>","name":"\u003cstring>","slug":"\u003cstring>"}},"window":{"start":"\u003cstring>","end":"\u003cstring>"},"columns":[{"key":"\u003cstring>","label":"\u003cstring>","kind":"dimension","type":"string"}],"rows":[{}],"granularity":"day","rollingWindow":15,"compare":"wow","pagination":{"page":123,"pageSize":123,"total":123,"totalPages":123},"totals":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"d3a4a072-5ae0-46a0-b41f-31f529b3bc89":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"ok","typeLabel":"enum\u003cboolean>"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"details","typeLabel":"any"}},"required":["ok","code","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"ok":false,"code":"\u003cstring>","message":"\u003cstring>","details":"\u003cunknown>"}}},"exampleType":"generated"}},"exampleType":"generated"},"abb3596c-4281-4361-a9ca-37f1bea14934":{"description":"Authentication required","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"ok","typeLabel":"enum\u003cboolean>"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"details","typeLabel":"any"}},"required":["ok","code","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"ok":false,"code":"\u003cstring>","message":"\u003cstring>","details":"\u003cunknown>"}}},"exampleType":"generated"}},"exampleType":"generated"},"f7d73286-b266-42e2-9d06-c7b6855b0320":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"ok","typeLabel":"enum\u003cboolean>"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"details","typeLabel":"any"}},"required":["ok","code","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"ok":false,"code":"\u003cstring>","message":"\u003cstring>","details":"\u003cunknown>"}}},"exampleType":"generated"}},"exampleType":"generated"},"a16807ba-fbed-4092-9f76-44878093b89a":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"ok","typeLabel":"enum\u003cboolean>"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"details","typeLabel":"any"}},"required":["ok","code","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"ok":false,"code":"\u003cstring>","message":"\u003cstring>","details":"\u003cunknown>"}}},"exampleType":"generated"}},"exampleType":"generated"},"a9421582-c0ff-4d95-ba04-953828b13d85":{"description":"Validation failed","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"ok","typeLabel":"enum\u003cboolean>"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"details","typeLabel":"any"}},"required":["ok","code","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"ok":false,"code":"\u003cstring>","message":"\u003cstring>","details":"\u003cunknown>"}}},"exampleType":"generated"}},"exampleType":"generated"},"0cb7f114-3314-40ad-8bf5-0363ef4969eb":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"ok","typeLabel":"enum\u003cboolean>"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"details","typeLabel":"any"}},"required":["ok","code","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"ok":false,"code":"\u003cstring>","message":"\u003cstring>","details":"\u003cunknown>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"5ec07c30-762f-4f93-b6df-cfe78150f812":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"Organization-scoped API key. Available scopes:\n- content:read: Read site pages, markdown content, and llms.txt files\n- content:write: Create, update, and delete site pages and content\n- prompts:read: Read prompts, topics, Radar topics, prompt suggestions, and prompt analysis results\n- prompts:write: Create, update, archive prompts and generate, edit, or review prompt suggestions\n- simulations:read: Read agent-simulation tasks, runs, environments, and analytics\n- simulations:write: Create and trigger simulation runs\n- logs:read: Read AI-traffic logs and request-level audit events\n- analytics:read: Read analytics aggregates (rankings, mentions, sources, SOV)\n- analytics:write: Write events to analytics\n- products:read: Read product metadata and competitor data\n- products:write: Update product settings and competitor lists","x-scopes":{"content:read":"Read site pages, markdown content, and llms.txt files","content:write":"Create, update, and delete site pages and content","prompts:read":"Read prompts, topics, Radar topics, prompt suggestions, and prompt analysis results","prompts:write":"Create, update, archive prompts and generate, edit, or review prompt suggestions","simulations:read":"Read agent-simulation tasks, runs, environments, and analytics","simulations:write":"Create and trigger simulation runs","logs:read":"Read AI-traffic logs and request-level audit events","analytics:read":"Read analytics aggregates (rankings, mentions, sources, SOV)","analytics:write":"Write events to analytics","products:read":"Read product metadata and competitor data","products:write":"Update product settings and competitor lists"},"scopes":[],"schemeName":"apiKeyAuth"}},"e564f109-25e4-4182-8754-eea501550301":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Bearer session or OAuth access token. Available OAuth scopes:\n- content:read: Read site pages, markdown content, and llms.txt files\n- content:write: Create, update, and delete site pages and content\n- prompts:read: Read prompts, topics, Radar topics, prompt suggestions, and prompt analysis results\n- prompts:write: Create, update, archive prompts and generate, edit, or review prompt suggestions\n- simulations:read: Read agent-simulation tasks, runs, environments, and analytics\n- simulations:write: Create and trigger simulation runs\n- logs:read: Read AI-traffic logs and request-level audit events\n- analytics:read: Read analytics aggregates (rankings, mentions, sources, SOV)\n- analytics:write: Write events to analytics\n- products:read: Read product metadata and competitor data\n- products:write: Update product settings and competitor lists","x-scopes":{"content:read":"Read site pages, markdown content, and llms.txt files","content:write":"Create, update, and delete site pages and content","prompts:read":"Read prompts, topics, Radar topics, prompt suggestions, and prompt analysis results","prompts:write":"Create, update, archive prompts and generate, edit, or review prompt suggestions","simulations:read":"Read agent-simulation tasks, runs, environments, and analytics","simulations:write":"Create and trigger simulation runs","logs:read":"Read AI-traffic logs and request-level audit events","analytics:read":"Read analytics aggregates (rankings, mentions, sources, SOV)","analytics:write":"Write events to analytics","products:read":"Read product metadata and competitor data","products:write":"Update product settings and competitor lists"},"scopes":[],"schemeName":"bearerAuth"}},"ee775adb-5d92-44e7-a8f7-eebc60eb59c5":{"cookieAuth":{"type":"apiKey","in":"cookie","name":"better-auth.session_token","description":"First-party browser session cookie.","scopes":[],"schemeName":"cookieAuth"}}},"servers":{"0dac90cf-4c88-437a-ab73-305b76191aab":{"url":"https://app.promptingco.com","description":"Production"},"6cfdaa1d-2608-48f2-9711-81bd50a90f8b":{"url":"http://localhost:3000","description":"Local development"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"Organization-scoped API key. Available scopes:\n- content:read: Read site pages, markdown content, and llms.txt files\n- content:write: Create, update, and delete site pages and content\n- prompts:read: Read prompts, topics, Radar topics, prompt suggestions, and prompt analysis results\n- prompts:write: Create, update, archive prompts and generate, edit, or review prompt suggestions\n- simulations:read: Read agent-simulation tasks, runs, environments, and analytics\n- simulations:write: Create and trigger simulation runs\n- logs:read: Read AI-traffic logs and request-level audit events\n- analytics:read: Read analytics aggregates (rankings, mentions, sources, SOV)\n- analytics:write: Write events to analytics\n- products:read: Read product metadata and competitor data\n- products:write: Update product settings and competitor lists","x-scopes":{"content:read":"Read site pages, markdown content, and llms.txt files","content:write":"Create, update, and delete site pages and content","prompts:read":"Read prompts, topics, Radar topics, prompt suggestions, and prompt analysis results","prompts:write":"Create, update, archive prompts and generate, edit, or review prompt suggestions","simulations:read":"Read agent-simulation tasks, runs, environments, and analytics","simulations:write":"Create and trigger simulation runs","logs:read":"Read AI-traffic logs and request-level audit events","analytics:read":"Read analytics aggregates (rankings, mentions, sources, SOV)","analytics:write":"Write events to analytics","products:read":"Read product metadata and competitor data","products:write":"Update product settings and competitor lists"},"scopes":[],"schemeName":"apiKeyAuth"},"schema":{"title":"x-api-key","type":"string","description":"Organization-scoped API key. Available scopes:\n- content:read: Read site pages, markdown content, and llms.txt files\n- content:write: Create, update, and delete site pages and content\n- prompts:read: Read prompts, topics, Radar topics, prompt suggestions, and prompt analysis results\n- prompts:write: Create, update, archive prompts and generate, edit, or review prompt suggestions\n- simulations:read: Read agent-simulation tasks, runs, environments, and analytics\n- simulations:write: Create and trigger simulation runs\n- logs:read: Read AI-traffic logs and request-level audit events\n- analytics:read: Read analytics aggregates (rankings, mentions, sources, SOV)\n- analytics:write: Write events to analytics\n- products:read: Read product metadata and competitor data\n- products:write: Update product settings and competitor lists","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKeyAuth","name":"x-api-key"}],"title":"apiKeyAuth"},{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Bearer session or OAuth access token. Available OAuth scopes:\n- content:read: Read site pages, markdown content, and llms.txt files\n- content:write: Create, update, and delete site pages and content\n- prompts:read: Read prompts, topics, Radar topics, prompt suggestions, and prompt analysis results\n- prompts:write: Create, update, archive prompts and generate, edit, or review prompt suggestions\n- simulations:read: Read agent-simulation tasks, runs, environments, and analytics\n- simulations:write: Create and trigger simulation runs\n- logs:read: Read AI-traffic logs and request-level audit events\n- analytics:read: Read analytics aggregates (rankings, mentions, sources, SOV)\n- analytics:write: Write events to analytics\n- products:read: Read product metadata and competitor data\n- products:write: Update product settings and competitor lists","x-scopes":{"content:read":"Read site pages, markdown content, and llms.txt files","content:write":"Create, update, and delete site pages and content","prompts:read":"Read prompts, topics, Radar topics, prompt suggestions, and prompt analysis results","prompts:write":"Create, update, archive prompts and generate, edit, or review prompt suggestions","simulations:read":"Read agent-simulation tasks, runs, environments, and analytics","simulations:write":"Create and trigger simulation runs","logs:read":"Read AI-traffic logs and request-level audit events","analytics:read":"Read analytics aggregates (rankings, mentions, sources, SOV)","analytics:write":"Write events to analytics","products:read":"Read product metadata and competitor data","products:write":"Update product settings and competitor lists"},"scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer session or OAuth access token. Available OAuth scopes:\n- content:read: Read site pages, markdown content, and llms.txt files\n- content:write: Create, update, and delete site pages and content\n- prompts:read: Read prompts, topics, Radar topics, prompt suggestions, and prompt analysis results\n- prompts:write: Create, update, archive prompts and generate, edit, or review prompt suggestions\n- simulations:read: Read agent-simulation tasks, runs, environments, and analytics\n- simulations:write: Create and trigger simulation runs\n- logs:read: Read AI-traffic logs and request-level audit events\n- analytics:read: Read analytics aggregates (rankings, mentions, sources, SOV)\n- analytics:write: Write events to analytics\n- products:read: Read product metadata and competitor data\n- products:write: Update product settings and competitor lists","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"},{"schemes":[{"scheme":{"type":"apiKey","in":"cookie","name":"better-auth.session_token","description":"First-party browser session cookie.","scopes":[],"schemeName":"cookieAuth"},"schema":{"title":"better-auth.session_token","type":"string","description":"First-party browser session cookie.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"cookieAuth","name":"better-auth.session_token"}],"title":"cookieAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"thepromptingcompany","siteName":"The Prompting Company","title":"Run a dimensional analytics query for a product - The Prompting Company","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-23T02:55:25.025Z","originalFileLocation":"api/reference/visibility-\u0026-mentions/run-a-dimensional-analytics-query-for-a-product.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Query one analytics metric (sov, citations, traffic, sentiment) grouped by at most one dimension, scoped by filters and a date window. Returns flat rows plus column metadata for generic rendering.\">\u003cmeta data-mint-head name=\"application-name\" content=\"The Prompting Company\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/thepromptingcompany/3Dm_3MJgkaWF2QZB/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/thepromptingcompany/3Dm_3MJgkaWF2QZB/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/thepromptingcompany/3Dm_3MJgkaWF2QZB/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/thepromptingcompany/3Dm_3MJgkaWF2QZB/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/thepromptingcompany/3Dm_3MJgkaWF2QZB/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/thepromptingcompany/3Dm_3MJgkaWF2QZB/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/thepromptingcompany/3Dm_3MJgkaWF2QZB/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/thepromptingcompany/3Dm_3MJgkaWF2QZB/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/thepromptingcompany/3Dm_3MJgkaWF2QZB/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Run a dimensional analytics query for a product - The Prompting Company\">\u003cmeta data-mint-head property=\"og:description\" content=\"Query one analytics metric (sov, citations, traffic, sentiment) grouped by at most one dimension, scoped by filters and a date window. Returns flat rows plus column metadata for generic rendering.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"The Prompting Company\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.promptingcompany.com/api/reference/visibility-\u0026amp;-mentions/run-a-dimensional-analytics-query-for-a-product\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://docs.promptingcompany.com/images/og.png\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Run a dimensional analytics query for a product - The Prompting Company\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Query one analytics metric (sov, citations, traffic, sentiment) grouped by at most one dimension, scoped by filters and a date window. Returns flat rows plus column metadata for generic rendering.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://docs.promptingcompany.com/images/og.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/thepromptingcompany/3Dm_3MJgkaWF2QZB/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"The Prompting Company\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#007AFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.promptingcompany.com/api/reference/visibility-\u0026amp;-mentions/run-a-dimensional-analytics-query-for-a-product\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api/reference/visibility-%26-mentions/run-a-dimensional-analytics-query-for-a-product.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.promptingcompany.com/#organization\",\"name\":\"The Prompting Company\",\"url\":\"https://docs.promptingcompany.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/thepromptingcompany/VgmeRsP9pdtnPg-3/logo/light.svg?fit=max\u0026auto=format\u0026n=VgmeRsP9pdtnPg-3\u0026q=85\u0026s=1322994eab9c544529d97a7305a05028\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.promptingcompany.com#website\",\"name\":\"The Prompting Company\",\"url\":\"https://docs.promptingcompany.com\",\"publisher\":{\"@id\":\"https://docs.promptingcompany.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.promptingcompany.com/api/reference/visibility-\u0026-mentions/run-a-dimensional-analytics-query-for-a-product#webpage\",\"url\":\"https://docs.promptingcompany.com/api/reference/visibility-\u0026-mentions/run-a-dimensional-analytics-query-for-a-product\",\"name\":\"Run a dimensional analytics query for a product\",\"description\":\"Query one analytics metric (sov, citations, traffic, sentiment) grouped by at most one dimension, scoped by filters and a date window. Returns flat rows plus column metadata for generic rendering.\",\"dateModified\":\"2026-11-23T02:55:25.025Z\",\"isPartOf\":{\"@id\":\"https://docs.promptingcompany.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.promptingcompany.com/api/reference/visibility-\u0026-mentions/run-a-dimensional-analytics-query-for-a-product#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.promptingcompany.com/api/reference/visibility-\u0026-mentions/run-a-dimensional-analytics-query-for-a-product#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.promptingcompany.com/api/reference/service-status/verify-production-runtime-capabilities\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Visibility \u0026 Mentions\",\"item\":\"https://docs.promptingcompany.com/api/reference/visibility-\u0026-mentions/get-share-of-voice-accumulated-over-a-date-range\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Run a dimensional analytics query for a product\",\"item\":\"https://docs.promptingcompany.com/api/reference/visibility-\u0026-mentions/run-a-dimensional-analytics-query-for-a-product\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.promptingcompany.com/api/reference/visibility-\u0026-mentions/run-a-dimensional-analytics-query-for-a-product#apireference\",\"headline\":\"Run a dimensional analytics query for a product\",\"name\":\"Run a dimensional analytics query for a product\",\"description\":\"Query one analytics metric (sov, citations, traffic, sentiment) grouped by at most one dimension, scoped by filters and a date window. Returns flat rows plus column metadata for generic rendering.\",\"url\":\"https://docs.promptingcompany.com/api/reference/visibility-\u0026-mentions/run-a-dimensional-analytics-query-for-a-product\",\"mainEntityOfPage\":{\"@id\":\"https://docs.promptingcompany.com/api/reference/visibility-\u0026-mentions/run-a-dimensional-analytics-query-for-a-product#webpage\"},\"image\":\"https://docs.promptingcompany.com/images/og.png\",\"dateModified\":\"2026-11-23T02:55:25.025Z\",\"publisher\":{\"@id\":\"https://docs.promptingcompany.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.promptingcompany.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"The Prompting Company\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"The Prompting Company\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api/reference/visibility-%26-mentions/run-a-dimensional-analytics-query-for-a-product.md","siteName":"The Prompting Company","nav":{"global":{"anchors":[{"anchor":"Platform","icon":"globe","href":"https://app.promptingco.com"},{"anchor":"GitHub","icon":"github","href":"https://github.com/promptingcompany"}]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/guides/quickstart-guide"}]},{"tab":"CLI","pages":[{"title":"CLI","href":"/cli/overview"}]},{"tab":"MCP","pages":[{"title":"MCP","href":"/mcp/connect"}]},{"tab":"API","groups":[{"group":"Get started","pages":[{"title":"API overview","href":"/api/overview"},{"title":"Quickstart","href":"/api/quickstart"},{"title":"Authentication","href":"/api/authentication"},{"title":"API reference","href":"/api/reference"}]},{"group":"Concepts","pages":[{"title":"Scopes","href":"/api/scopes"},{"title":"Rate limits","href":"/api/rate-limits"},{"title":"Idempotency","href":"/api/idempotency"},{"title":"Errors","href":"/api/errors"},{"title":"Audit log","href":"/api/audit-log"}]},{"group":"Content API","pages":[{"title":"Content API overview","href":"/api/content/overview"},{"title":"Site pages migration","href":"/api/content/site-pages"},{"title":"Content documents","href":"/api/content/documents"}]},{"group":"API Reference","pages":[{"group":"Service Status","pages":[{"title":"Verify production runtime capabilities","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/runtime-capabilities","href":"/api/reference/service-status/verify-production-runtime-capabilities"}]},{"group":"Visibility \u0026 Mentions","pages":[{"title":"Get share of voice accumulated over a date range","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/analytics/sov","href":"/api/reference/visibility-\u0026-mentions/get-share-of-voice-accumulated-over-a-date-range"},{"title":"Get rolling share of voice time series and breakdowns","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/analytics/sov/timeseries","href":"/api/reference/visibility-\u0026-mentions/get-rolling-share-of-voice-time-series-and-breakdowns"},{"title":"Get per-prompt sentiment analytics for a product","description":null,"deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/analytics/sentiment","href":"/api/reference/visibility-\u0026-mentions/get-per-prompt-sentiment-analytics-for-a-product"},{"title":"Run a dimensional analytics query for a product","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/analytics/explore","href":"/api/reference/visibility-\u0026-mentions/run-a-dimensional-analytics-query-for-a-product"},{"title":"Ingest server-side SDK analytics event (page_visit)","description":null,"deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/analytics/events","href":"/api/reference/visibility-\u0026-mentions/ingest-server-side-sdk-analytics-event-page_visit"},{"title":"List Radar topics with trend direction, size, and priority","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/radar/scope/topics","href":"/api/reference/visibility-\u0026-mentions/list-radar-topics-with-trend-direction-size-and-priority"},{"title":"Get the positive, neutral and negative perception split","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/products/{productId}/answer-analytics/sentiment","href":"/api/reference/visibility-\u0026-mentions/get-the-positive-neutral-and-negative-perception-split"},{"title":"List perceptions of a product in AI answers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/products/{productId}/perceptions","href":"/api/reference/visibility-\u0026-mentions/list-perceptions-of-a-product-in-ai-answers"},{"title":"List the answers behind one perception","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/products/{productId}/perceptions/answers","href":"/api/reference/visibility-\u0026-mentions/list-the-answers-behind-one-perception"},{"title":"List conversation queries","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/conversation-queries","href":"/api/reference/visibility-\u0026-mentions/list-conversation-queries"},{"title":"List views","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/views","href":"/api/reference/visibility-\u0026-mentions/list-views"},{"title":"Create a view","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/views","href":"/api/reference/visibility-\u0026-mentions/create-a-view"},{"title":"Get a view","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/views/{viewId}","href":"/api/reference/visibility-\u0026-mentions/get-a-view"},{"title":"Update a view","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/views/{viewId}","href":"/api/reference/visibility-\u0026-mentions/update-a-view"},{"title":"Add conversations to a view","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/views/{viewId}/conversations","href":"/api/reference/visibility-\u0026-mentions/add-conversations-to-a-view"},{"title":"Remove conversations from a view","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/views/{viewId}/conversations","href":"/api/reference/visibility-\u0026-mentions/remove-conversations-from-a-view"},{"title":"Summarize industry rankings across prompt topics","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/prompt-topics/industry-rankings/summary","href":"/api/reference/visibility-\u0026-mentions/summarize-industry-rankings-across-prompt-topics"},{"title":"Generate a product performance report PDF","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/weekly-reports/generate","href":"/api/reference/visibility-\u0026-mentions/generate-a-product-performance-report-pdf"},{"title":"List prompt suggestions for a product","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/prompt-suggestions","href":"/api/reference/visibility-\u0026-mentions/list-prompt-suggestions-for-a-product"},{"title":"Update a prompt suggestion's message, persona, or answer engines","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/prompt-suggestions/{id}","href":"/api/reference/visibility-\u0026-mentions/update-a-prompt-suggestions-message-persona-or-answer-engines"},{"title":"Generate more prompt suggestions for a product (fan-out by topic)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/prompt-suggestions/regenerate","href":"/api/reference/visibility-\u0026-mentions/generate-more-prompt-suggestions-for-a-product-fan-out-by-topic"},{"title":"Start generating prompt suggestions for a product as a background job","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/prompt-suggestions/regenerate/jobs","href":"/api/reference/visibility-\u0026-mentions/start-generating-prompt-suggestions-for-a-product-as-a-background-job"},{"title":"Get the status of a prompt suggestion generation job","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/prompt-suggestions/regenerate/jobs/{jobId}","href":"/api/reference/visibility-\u0026-mentions/get-the-status-of-a-prompt-suggestion-generation-job"},{"title":"Approve or reject prompt suggestions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/prompt-suggestions/review","href":"/api/reference/visibility-\u0026-mentions/approve-or-reject-prompt-suggestions"},{"title":"Import Radar trending prompts into the suggestion library","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/prompt-suggestions/import-radar","href":"/api/reference/visibility-\u0026-mentions/import-radar-trending-prompts-into-the-suggestion-library"},{"title":"Update a prompt message and its query analytics","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /api/v1/prompts/with-queries/{id}","href":"/api/reference/visibility-\u0026-mentions/update-a-prompt-message-and-its-query-analytics"}]},{"group":"Traffic \u0026 Sources","pages":[{"title":"Get cited-source analytics and citation events","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/sources/analytics","href":"/api/reference/traffic-\u0026-sources/get-cited-source-analytics-and-citation-events"}]},{"group":"Products","pages":[{"title":"List products (brands) in the active organization","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/brands","href":"/api/reference/products/list-products-brands-in-the-active-organization"},{"title":"Create a product (brand) in the active organization","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/brands","href":"/api/reference/products/create-a-product-brand-in-the-active-organization"},{"title":"Get a product by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/brands/{brandId}","href":"/api/reference/products/get-a-product-by-id"},{"title":"Replace product settings by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /api/v1/brands/{brandId}","href":"/api/reference/products/replace-product-settings-by-id"}]},{"group":"Knowledge","pages":[{"title":"Retrieve product knowledge across documents and generated knowledge","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/products/{productId}/knowledge/retrieve","href":"/api/reference/knowledge/retrieve-product-knowledge-across-documents-and-generated-knowledge"}]},{"group":"Content","pages":[{"title":"Get root public markdown content","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/md/by-path","href":"/api/reference/content/get-root-public-markdown-content"},{"title":"Get public markdown content by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/md/{id}","href":"/api/reference/content/get-public-markdown-content-by-id"},{"title":"Get public markdown content by path","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/md/by-path/{path}","href":"/api/reference/content/get-public-markdown-content-by-path"},{"title":"List site pages","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/site/pages","href":"/api/reference/content/list-site-pages"},{"title":"Create site pages","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/site/pages","href":"/api/reference/content/create-site-pages"},{"title":"Delete site pages","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/site/pages","href":"/api/reference/content/delete-site-pages"},{"title":"Update site pages","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/site/pages","href":"/api/reference/content/update-site-pages"},{"title":"List content","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/content","href":"/api/reference/content/list-content"},{"title":"Create content","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/content","href":"/api/reference/content/create-content"},{"title":"Generate content for prompts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/content/generate","href":"/api/reference/content/generate-content-for-prompts"},{"title":"Get content","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/content/{id}","href":"/api/reference/content/get-content"},{"title":"Replace content","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /api/v1/content/{id}","href":"/api/reference/content/replace-content"},{"title":"Delete content","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/content/{id}","href":"/api/reference/content/delete-content"},{"title":"Update content","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/content/{id}","href":"/api/reference/content/update-content"},{"title":"Cancel in-flight content generation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/content/{id}/cancel","href":"/api/reference/content/cancel-in-flight-content-generation"},{"title":"Review a content draft","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/content/{id}/review","href":"/api/reference/content/review-a-content-draft"},{"title":"Revise a content draft","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/content/{id}/revision","href":"/api/reference/content/revise-a-content-draft"},{"title":"Publish an approved content draft","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/content/{id}/publish","href":"/api/reference/content/publish-an-approved-content-draft"},{"title":"Revert published content to the review queue","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/content/{id}/revert","href":"/api/reference/content/revert-published-content-to-the-review-queue"},{"title":"Restore archived content","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/content/{id}/restore","href":"/api/reference/content/restore-archived-content"},{"title":"Get a product scraper configuration","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/products/{productId}/scraper","href":"/api/reference/content/get-a-product-scraper-configuration"},{"title":"Create or update a product scraper configuration","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /api/v1/products/{productId}/scraper","href":"/api/reference/content/create-or-update-a-product-scraper-configuration"},{"title":"Delete a product scraper configuration","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/products/{productId}/scraper","href":"/api/reference/content/delete-a-product-scraper-configuration"},{"title":"Queue a product scraping run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/products/{productId}/scraper/runs","href":"/api/reference/content/queue-a-product-scraping-run"},{"title":"Get content by path","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/content/by-path","href":"/api/reference/content/get-content-by-path"},{"title":"Update content domains","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/content/{id}/domains","href":"/api/reference/content/update-content-domains"},{"title":"Track a URL for citation analytics","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/tracked-urls","href":"/api/reference/content/track-a-url-for-citation-analytics"},{"title":"Update a tracked URL","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /api/v1/tracked-urls/{id}","href":"/api/reference/content/update-a-tracked-url"},{"title":"Untrack a URL","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/tracked-urls/{id}","href":"/api/reference/content/untrack-a-url"},{"title":"List tracked URLs ranked by citation count","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/tracked-urls/analytics","href":"/api/reference/content/list-tracked-urls-ranked-by-citation-count"},{"title":"Get summary metrics for tracked URLs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/tracked-urls/metrics","href":"/api/reference/content/get-summary-metrics-for-tracked-urls"}]},{"group":"Simulations","pages":[{"title":"List agent simulation runs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/agent-simulation/runs","href":"/api/reference/simulations/list-agent-simulation-runs"},{"title":"List an experiment's repository task bindings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/agent-simulation/experiments/{id}/repository-tasks","href":"/api/reference/simulations/list-an-experiments-repository-task-bindings"},{"title":"Bind an experiment's tasks to repository task directories","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /api/v1/agent-simulation/experiments/{id}/repository-tasks","href":"/api/reference/simulations/bind-an-experiments-tasks-to-repository-task-directories"}]},{"group":"Personal agents","pages":[{"title":"List a product's personal agents","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/personal-agents","href":"/api/reference/personal-agents/list-a-products-personal-agents"},{"title":"Request a personal agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/personal-agents","href":"/api/reference/personal-agents/request-a-personal-agent"},{"title":"Cancel a request; platform admins may remove active agents","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/personal-agents/{personalAgentId}","href":"/api/reference/personal-agents/cancel-a-request;-platform-admins-may-remove-active-agents"},{"title":"Rename a personal agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/personal-agents/{personalAgentId}","href":"/api/reference/personal-agents/rename-a-personal-agent"}]},{"group":"Apps \u0026 Publishing","pages":[{"title":"List Apps","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/apps","href":"/api/reference/apps-\u0026-publishing/list-apps"},{"title":"Create App","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/apps","href":"/api/reference/apps-\u0026-publishing/create-app"},{"title":"Get App","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/apps/{appId}","href":"/api/reference/apps-\u0026-publishing/get-app"},{"title":"Delete App","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/apps/{appId}","href":"/api/reference/apps-\u0026-publishing/delete-app"},{"title":"Update App","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/apps/{appId}","href":"/api/reference/apps-\u0026-publishing/update-app"},{"title":"List App resources","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/apps/{appId}/resources","href":"/api/reference/apps-\u0026-publishing/list-app-resources"},{"title":"Attach App resource","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/apps/{appId}/resources","href":"/api/reference/apps-\u0026-publishing/attach-app-resource"},{"title":"Detach App resource","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/apps/{appId}/resources","href":"/api/reference/apps-\u0026-publishing/detach-app-resource"},{"title":"Update App resource","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/apps/{appId}/resources/{resourceId}","href":"/api/reference/apps-\u0026-publishing/update-app-resource"},{"title":"List App domains","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/apps/{appId}/domains","href":"/api/reference/apps-\u0026-publishing/list-app-domains"},{"title":"Create App domain","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/apps/{appId}/domains","href":"/api/reference/apps-\u0026-publishing/create-app-domain"},{"title":"Delete App domain","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/apps/{appId}/domains/{domainId}","href":"/api/reference/apps-\u0026-publishing/delete-app-domain"},{"title":"Update App domain","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/apps/{appId}/domains/{domainId}","href":"/api/reference/apps-\u0026-publishing/update-app-domain"},{"title":"Get web-domain routing config","deprecated":true,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/domain/{id}/routing","href":"/api/reference/apps-\u0026-publishing/get-web-domain-routing-config"},{"title":"Save and publish web-domain routing config","deprecated":true,"version":null,"openapi":"/api-reference/openapi.json put /api/v1/domain/{id}/routing","href":"/api/reference/apps-\u0026-publishing/save-and-publish-web-domain-routing-config"},{"title":"Reset web-domain routing config","deprecated":true,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/domain/{id}/routing","href":"/api/reference/apps-\u0026-publishing/reset-web-domain-routing-config"},{"title":"Validate web-domain routing config","deprecated":true,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/domain/{id}/routing/validate","href":"/api/reference/apps-\u0026-publishing/validate-web-domain-routing-config"},{"title":"Publish web-domain routing config","deprecated":true,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/domain/{id}/routing/publish","href":"/api/reference/apps-\u0026-publishing/publish-web-domain-routing-config"},{"title":"Get App config","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/apps/{appId}/app-config","href":"/api/reference/apps-\u0026-publishing/get-app-config"},{"title":"Update App config","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/apps/{appId}/app-config","href":"/api/reference/apps-\u0026-publishing/update-app-config"},{"title":"List App route candidates","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/apps/{appId}/route-candidates","href":"/api/reference/apps-\u0026-publishing/list-app-route-candidates"},{"title":"List App routes","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/apps/{appId}/routes","href":"/api/reference/apps-\u0026-publishing/list-app-routes"},{"title":"Create App route","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/apps/{appId}/routes","href":"/api/reference/apps-\u0026-publishing/create-app-route"},{"title":"Auto-create App route for document","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/apps/{appId}/routes/auto","href":"/api/reference/apps-\u0026-publishing/auto-create-app-route-for-document"},{"title":"Generate App llms.txt","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/apps/{appId}/llms-txt","href":"/api/reference/apps-\u0026-publishing/generate-app-llmstxt"},{"title":"Delete App route","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/apps/{appId}/routes/{routeId}","href":"/api/reference/apps-\u0026-publishing/delete-app-route"},{"title":"Update App route","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/apps/{appId}/routes/{routeId}","href":"/api/reference/apps-\u0026-publishing/update-app-route"},{"title":"Preview App route import","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/apps/{appId}/routes/import-preview","href":"/api/reference/apps-\u0026-publishing/preview-app-route-import"},{"title":"Create App routes in batch","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/apps/{appId}/routes/batch","href":"/api/reference/apps-\u0026-publishing/create-app-routes-in-batch"}]},{"group":"Personas","pages":[{"title":"List personas","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/personas","href":"/api/reference/personas/list-personas"},{"title":"Create a persona","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/personas","href":"/api/reference/personas/create-a-persona"},{"title":"Get a persona","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/personas/{personaId}","href":"/api/reference/personas/get-a-persona"},{"title":"Update a persona","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /api/v1/personas/{personaId}","href":"/api/reference/personas/update-a-persona"},{"title":"Delete a persona","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/personas/{personaId}","href":"/api/reference/personas/delete-a-persona"},{"title":"Request personal agents for a persona","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/personas/{personaId}/personal-agents","href":"/api/reference/personas/request-personal-agents-for-a-persona"},{"title":"Cancel a persona's personal agent request","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/personas/{personaId}/personal-agents/{agent}","href":"/api/reference/personas/cancel-a-personas-personal-agent-request"}]},{"group":"Prompts","pages":[{"title":"Deactivate or reactivate prompts in bulk","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/prompts/bulk-polling","href":"/api/reference/prompts/deactivate-or-reactivate-prompts-in-bulk"},{"title":"List a prompt's answer engines","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/prompts/{id}/answer-engines","href":"/api/reference/prompts/list-a-prompts-answer-engines"},{"title":"List a prompt's active engine names","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/prompts/{id}/engines","href":"/api/reference/prompts/list-a-prompts-active-engine-names"}]},{"group":"Account","pages":[{"title":"Get the authenticated user id","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/user/identity","href":"/api/reference/account/get-the-authenticated-user-id"}]}]}]},{"tab":"SDK","pages":[{"title":"SDK","href":"/ts-sdk"}]}]},"basePath":"","title":"Run a dimensional analytics query for a product - The Prompting Company","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-_HcdDqS2.js","snippetPresets-CXnm-WO6.js","utils-Dg59J__o.js","style-to-object-BY3JEAdk.js","utils-D8TRpdk7.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-B6QaxWc5.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DeMZ-lcM.js","_Uint8Array-BjA2mcVW.js","isObject-FP1Yky1u.js","ApiExamples-cjPyMv63.js","usePlaygroundInputsStore-D7BWoaw4.js","shallow-Z1ceDNSG.js","isEqual-BObTuQrO.js","CodeSnippets-D1UZ1AE-.js","CodeSnippet-B373COAT.js","getApiPlaygroundDisplay-CfL-UuDS.js","Page-DuqezyvM.js","DynamicMarkdown-5yMTCLas.js","SectionHeading-BxT1HYfP.js","icon-DYJTTD3g.js","MethodPill-4AyycJeu.js","getPastedJson-Bp3WV6cN.js","Check2Icon-PhZu6Gry.js","axios-CsQoIw0U.js","Markdown-Dy9a8hT8.js","AssistantPageLink-87tSPwGm.js","dist-CXMB3QQU.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}