The dimensions, measures, the fields scope and filters each accept (with their role, operators and the dimension each needs) and the related blocks one report entity offers. Use it to build or validate a query body before calling POST /api/v1/projects/{project}/reports/{entity}. The schema is the same for every project.
The report entity.
A report entity. visibility: brand visibility, mentions, position, sentiment and rank; with the answer dimension, one row per AI answer (a list, no compare window). sources: cited domains, hostnames, URLs and pages. narratives: reputation narratives, themes and sentiment (needs the Reputation capability). queries: the web searches AI platforms ran while answering, per search text, prompt, platform or time bucket; only searches the platform ran count, never suggested follow-up questions.
Available options:
visibility,
sources,
narratives,
queries
Response
200 - application/json
The entity schema. scope_fields and filter_fields give each field's role, operators and the dimension it needs in that list. The example is an excerpt.
What one entity accepts: its dimensions, measures, the fields scope and filters each take with their roles, operators and needed dimension, and related blocks.
A report entity. visibility: brand visibility, mentions, position, sentiment and rank; with the answer dimension, one row per AI answer (a list, no compare window). sources: cited domains, hostnames, URLs and pages. narratives: reputation narratives, themes and sentiment (needs the Reputation capability). queries: the web searches AI platforms ran while answering, per search text, prompt, platform or time bucket; only searches the platform ran count, never suggested follow-up questions.
Every field order_by accepts: dimensions, measures with their compare columns, and extra sort fields such as answered_at on visibility. Key fields such as brand_uuid are not sort fields: sort by the dimension.
The brand-list fields that also take the reserved value competitors: the brands marked as competitors in the project, alone or beside brand UUIDs. brand_uuid and mentions_brand; the one-brand lenses do not. On visibility and narratives, a brand_uuid list in scope ranks the brands it keeps against each other; in filters it picks their rows and leaves every rank as it was. On sources, brand_uuid is scope-only and selects the page comparison set, with no brand dimension required.
The scope brand lists that can combine brands: brand_uuid on visibility, empty elsewhere. With the field's dimension (brand) in dimensions, the list picks which brands get a row. Without it, and without answer, the list picks which brands the aggregate rows add together: visibility is their average, counting a brand never named as 0; position and sentiment pool their mentions; every answer still counts. Such a field's scope dimension is null because it needs no dimension to combine; on answer rows and in filters it still needs brand.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Surfacd","colors":{"primary":"#0022FF","light":"#DCFAFF","dark":"#0022FF"},"logo":{"light":"https://mintcdn.com/surfacd/65GopWtG2yt60uTI/logo/logo.svg?fit=max\u0026auto=format\u0026n=65GopWtG2yt60uTI\u0026q=85\u0026s=85d232e50682fcc869278871aa268280","dark":"https://mintcdn.com/surfacd/65GopWtG2yt60uTI/logo/dark-mode-logo.svg?fit=max\u0026auto=format\u0026n=65GopWtG2yt60uTI\u0026q=85\u0026s=0565d6e3852ca4ae622cba323c05c578"},"favicon":"https://mintcdn.com/surfacd/65GopWtG2yt60uTI/favicon/favicon.ico?fit=max\u0026auto=format\u0026n=65GopWtG2yt60uTI\u0026q=85\u0026s=3a80d8cdb1f5d36c3cbb2f2b86ba9dd7","background":{"decoration":"grid"},"navbar":{"links":[{"href":"https://surfacd.com","label":"Home"},{"href":"mailto:[email protected]","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.surfacd.com"}},"footer":{"socials":{}},"fonts":{"family":"Zalando Sans"},"contextual":{"options":["copy"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"surfacd","hasAudioNarration":false,"actualSubdomain":"surfacd","customDomains":["docs.surfacd.com"],"gitSource":{"type":"github","owner":"clarityglobal","repo":"ai-visibility","deployBranch":"master","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6af600a42c14f7d2bdeccd8f","clientVersion":"0.0.4124","searchFilterCounts":[{"language":"default","tag":"API Reference","count":68},{"language":"default","tag":"Docs","count":40},{"language":"default","tag":"Projects","count":19},{"language":"default","tag":"Reputation","count":18},{"language":"default","tag":"Team","count":15},{"language":"default","tag":"Reporting","count":10},{"language":"default","tag":"Reports \u0026 Analysis","count":9},{"language":"default","tag":"API \u0026 MCP","count":8},{"language":"default","tag":"Account","count":6},{"language":"default","tag":"Prompts","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"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":"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":".nav-logo{height:40px!important;padding:3px}#page-title{font-weight:600}"}],"page":{"pagePath":"api-reference/reports/report-entity-schema","slug":"/api-reference/reports/report-entity-schema","pageMetadata":{"title":"Report Entity Schema","description":"The dimensions, measures, the fields `scope` and `filters` each accept (with their role, operators and the dimension each needs) and the related blocks one report entity offers. Use it to build or validate a query body before calling `POST /api/v1/projects/{project}/reports/{entity}`. The schema is the same for every project.","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/reports/{entity}/schema","href":"/api-reference/reports/report-entity-schema","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"The dimensions, measures, the fields \", _jsx(_components.code, {\n children: \"scope\"\n }), \" and \", _jsx(_components.code, {\n children: \"filters\"\n }), \" each accept (with their role, operators and the dimension each needs) and the related blocks one report entity offers. Use it to build or validate a query body before calling \", _jsx(_components.code, {\n children: \"POST /api/v1/projects/{project}/reports/{entity}\"\n }), \". The schema is the same for every project.\"]\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":"Report Entity Schema","description":"The dimensions, measures, the fields `scope` and `filters` each accept (with their role, operators and the dimension each needs) and the related blocks one report entity offers. Use it to build or validate a query body before calling `POST /api/v1/projects/{project}/reports/{entity}`. The schema is the same for every project.","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/reports/{entity}/schema","href":"/api-reference/reports/report-entity-schema","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"v1ReferenceReportsSchema","summary":"Report Entity Schema","description":"The dimensions, measures, the fields `scope` and `filters` each accept (with their role, operators and the dimension each needs) and the related blocks one report entity offers. Use it to build or validate a query body before calling `POST /api/v1/projects/{project}/reports/{entity}`. The schema is the same for every project.","tags":["Reports"],"responses":{"200":"a9aa45b9-f3aa-47ac-a889-1777fc752470"},"method":"get","type":"path","servers":["585d9884-bdce-435f-8d57-dd957b4940cc"],"security":["4679da14-28d3-4f79-a47f-b1bcec9e0cbd"],"path":"/api/v1/reports/{entity}/schema","baseUrlOptions":["https://app.surfacd.com"],"title":"Report Entity Schema","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"83355aa6-cbcd-42c8-b021-4bf2d1d206d6":{"name":"entity","in":"path","required":true,"description":"The report entity.","schema":{"type":"string","enum":["visibility","sources","narratives","queries"],"description":"The report entity.\nA report entity. `visibility`: brand visibility, mentions, position, sentiment and rank; with the `answer` dimension, one row per AI answer (a list, no compare window). `sources`: cited domains, hostnames, URLs and pages. `narratives`: reputation narratives, themes and sentiment (needs the Reputation capability). `queries`: the web searches AI platforms ran while answering, per search text, prompt, platform or time bucket; only searches the platform ran count, never suggested follow-up questions.","isRequired":true,"uniqueKey":"","typeLabel":"enum\u003cstring>"}}},"responses":{"a9aa45b9-f3aa-47ac-a889-1777fc752470":{"description":"The entity schema. `scope_fields` and `filter_fields` give each field's role, operators and the dimension it needs in that list. The example is an excerpt.","content":{"application/json":{"schema":{"type":"object","description":"What one entity accepts: its dimensions, measures, the fields `scope` and `filters` each take with their roles, operators and needed dimension, and related blocks.","properties":{"entity":{"type":"string","enum":["visibility","sources","narratives","queries"],"description":"A report entity. `visibility`: brand visibility, mentions, position, sentiment and rank; with the `answer` dimension, one row per AI answer (a list, no compare window). `sources`: cited domains, hostnames, URLs and pages. `narratives`: reputation narratives, themes and sentiment (needs the Reputation capability). `queries`: the web searches AI platforms ran while answering, per search text, prompt, platform or time bucket; only searches the platform ran count, never suggested follow-up questions.","isRequired":true,"uniqueKey":"entity","typeLabel":"enum\u003cstring>"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"requires_dimensions":{"type":"boolean","isRequired":true,"uniqueKey":"requires_dimensions","typeLabel":"boolean"},"entity_columns":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"entity_columns.items.[INDEX].id","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"entity_columns.items.[INDEX].title","typeLabel":"string"},"type":{"type":"string","enum":["dimension","measure","date"],"isRequired":true,"uniqueKey":"entity_columns.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"format":{"type":"string","enum":["number","percent"],"isRequired":true,"uniqueKey":"entity_columns.items.[INDEX].format","typeLabel":"enum\u003cstring>"},"decimals":{"oneOf":[{"type":"integer","isRequired":true,"uniqueKey":"entity_columns.items.[INDEX].decimals.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"entity_columns.items.[INDEX].decimals.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"entity_columns.items.[INDEX].decimals","typeLabel":"integer | null"},"prefix":{"type":"string","isRequired":true,"uniqueKey":"entity_columns.items.[INDEX].prefix","typeLabel":"string"},"suffix":{"type":"string","isRequired":true,"uniqueKey":"entity_columns.items.[INDEX].suffix","typeLabel":"string"},"lower_is_better":{"type":"boolean","description":"For measures: whether a lower value is the better one, such as `avg_position`.","isRequired":true,"uniqueKey":"entity_columns.items.[INDEX].lower_is_better","typeLabel":"boolean"}},"required":["id","title","type","format","decimals","prefix","suffix","lower_is_better"],"uniqueKey":"entity_columns.items.[INDEX]","typeLabel":"object"},"description":"Columns every row carries before the dimension columns. Empty on every current entity.","isRequired":true,"uniqueKey":"entity_columns","typeLabel":"object[]"},"dimensions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"dimensions.items.[INDEX].id","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"dimensions.items.[INDEX].title","typeLabel":"string"},"type":{"type":"string","enum":["dimension","measure","date"],"isRequired":true,"uniqueKey":"dimensions.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"format":{"type":"string","enum":["number","percent"],"isRequired":true,"uniqueKey":"dimensions.items.[INDEX].format","typeLabel":"enum\u003cstring>"},"decimals":{"oneOf":[{"type":"integer","isRequired":true,"uniqueKey":"dimensions.items.[INDEX].decimals.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"dimensions.items.[INDEX].decimals.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"dimensions.items.[INDEX].decimals","typeLabel":"integer | null"},"prefix":{"type":"string","isRequired":true,"uniqueKey":"dimensions.items.[INDEX].prefix","typeLabel":"string"},"suffix":{"type":"string","isRequired":true,"uniqueKey":"dimensions.items.[INDEX].suffix","typeLabel":"string"},"lower_is_better":{"type":"boolean","description":"For measures: whether a lower value is the better one, such as `avg_position`.","isRequired":true,"uniqueKey":"dimensions.items.[INDEX].lower_is_better","typeLabel":"boolean"}},"required":["id","title","type","format","decimals","prefix","suffix","lower_is_better"],"uniqueKey":"dimensions.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"dimensions","typeLabel":"object[]"},"measures":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"measures.items.[INDEX].id","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"measures.items.[INDEX].title","typeLabel":"string"},"type":{"type":"string","enum":["dimension","measure","date"],"isRequired":true,"uniqueKey":"measures.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"format":{"type":"string","enum":["number","percent"],"isRequired":true,"uniqueKey":"measures.items.[INDEX].format","typeLabel":"enum\u003cstring>"},"decimals":{"oneOf":[{"type":"integer","isRequired":true,"uniqueKey":"measures.items.[INDEX].decimals.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"measures.items.[INDEX].decimals.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"measures.items.[INDEX].decimals","typeLabel":"integer | null"},"prefix":{"type":"string","isRequired":true,"uniqueKey":"measures.items.[INDEX].prefix","typeLabel":"string"},"suffix":{"type":"string","isRequired":true,"uniqueKey":"measures.items.[INDEX].suffix","typeLabel":"string"},"lower_is_better":{"type":"boolean","description":"For measures: whether a lower value is the better one, such as `avg_position`.","isRequired":true,"uniqueKey":"measures.items.[INDEX].lower_is_better","typeLabel":"boolean"}},"required":["id","title","type","format","decimals","prefix","suffix","lower_is_better"],"uniqueKey":"measures.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"measures","typeLabel":"object[]"},"scope_fields":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","isRequired":true,"uniqueKey":"scope_fields.items.[INDEX].field","typeLabel":"string"},"role":{"type":"string","enum":["population","lens","page","entity","measure","compare"],"description":"What kind of field it is. `population`: an attribute of the AI answers (where they came from, what they contain); in `scope` it narrows which answers count, and in `filters` (as a dimension column such as `topic` or `service_provider`) it picks rows of that dimension. `lens` (`page_brand` on sources, `answer_brand` on visibility answer rows): in `scope`, the brand the selected columns describe; it removes no rows. `page` (sources): in `scope`, selects the page comparison brands (`brand_uuid`) or narrows which cited pages count. `entity`: a row field such as `brand_uuid`, `domain` or `query`; in `scope` it keeps the rows that are ranked (on visibility without `brand` or `answer` rows, `brand_uuid` instead picks the brands the totals combine), in `filters` it picks rows. `measure`: in `filters`, hides rows by a computed value. `compare` (`momentum` on narratives): in `filters`, hides rows by the band a compare window adds.","isRequired":true,"uniqueKey":"scope_fields.items.[INDEX].role","typeLabel":"enum\u003cstring>"},"operators":{"type":"array","items":{"type":"string","enum":["in","not_in","all","eq","gt","gte","lt","lte","contains","is_null","not_null"],"description":"`in` and `not_in` take `values`. `all` takes `values` and is only accepted by `tag_uuid` in `scope`, where it keeps prompts that carry every listed tag. `eq`, `gt`, `gte`, `lt` and `lte` take a numeric `value` and test a measure in `filters`. `contains` takes a text `value` and matches a name or label case-insensitively and literally: `%` and `_` match themselves. In `filters` it hides rows and never changes a number; in `scope`, on an answer field such as `topic` or `prompt`, it counts only the answers whose topic or prompt matches. `is_null` and `not_null` take neither and go in `filters`: they test a measure, or a row field or dimension column whose dimension is on the row, for a missing value, such as `citations_compare is_null` for sources with no observation in the compare window, or `topic not_null` to drop the group of prompts without a topic.","uniqueKey":"scope_fields.items.[INDEX].operators.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"The operators the field takes in this list.","isRequired":true,"uniqueKey":"scope_fields.items.[INDEX].operators","typeLabel":"enum\u003cstring>[]"},"dimension":{"oneOf":[{"type":"string","description":"The dimension that must be in `dimensions` to use the field in this list, or null when it needs none.","isRequired":true,"uniqueKey":"scope_fields.items.[INDEX].dimension.oneOf.0","typeLabel":"string"},{"type":"null","description":"The dimension that must be in `dimensions` to use the field in this list, or null when it needs none.","isRequired":true,"uniqueKey":"scope_fields.items.[INDEX].dimension.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"scope_fields.items.[INDEX].dimension","typeLabel":"string | null"}},"required":["field","role","operators","dimension"],"description":"One field `scope` or `filters` accepts, with the operators it takes in that list.","examples":[{"field":"topic","role":"population","operators":["in","contains"],"dimension":null},{"field":"topic","role":"population","operators":["in","not_in","contains","is_null","not_null"],"dimension":"topic"},{"field":"brand_uuid","role":"entity","operators":["in","not_in"],"dimension":"brand"}],"uniqueKey":"scope_fields.items.[INDEX]","typeLabel":"object"},"description":"Every field `scope` accepts: the answer fields, the lens, the page conditions (sources) and the row fields that set what is ranked.","isRequired":true,"uniqueKey":"scope_fields","typeLabel":"object[]"},"filter_fields":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","isRequired":true,"uniqueKey":"filter_fields.items.[INDEX].field","typeLabel":"string"},"role":{"type":"string","enum":["population","lens","page","entity","measure","compare"],"description":"What kind of field it is. `population`: an attribute of the AI answers (where they came from, what they contain); in `scope` it narrows which answers count, and in `filters` (as a dimension column such as `topic` or `service_provider`) it picks rows of that dimension. `lens` (`page_brand` on sources, `answer_brand` on visibility answer rows): in `scope`, the brand the selected columns describe; it removes no rows. `page` (sources): in `scope`, selects the page comparison brands (`brand_uuid`) or narrows which cited pages count. `entity`: a row field such as `brand_uuid`, `domain` or `query`; in `scope` it keeps the rows that are ranked (on visibility without `brand` or `answer` rows, `brand_uuid` instead picks the brands the totals combine), in `filters` it picks rows. `measure`: in `filters`, hides rows by a computed value. `compare` (`momentum` on narratives): in `filters`, hides rows by the band a compare window adds.","isRequired":true,"uniqueKey":"filter_fields.items.[INDEX].role","typeLabel":"enum\u003cstring>"},"operators":{"type":"array","items":{"type":"string","enum":["in","not_in","all","eq","gt","gte","lt","lte","contains","is_null","not_null"],"description":"`in` and `not_in` take `values`. `all` takes `values` and is only accepted by `tag_uuid` in `scope`, where it keeps prompts that carry every listed tag. `eq`, `gt`, `gte`, `lt` and `lte` take a numeric `value` and test a measure in `filters`. `contains` takes a text `value` and matches a name or label case-insensitively and literally: `%` and `_` match themselves. In `filters` it hides rows and never changes a number; in `scope`, on an answer field such as `topic` or `prompt`, it counts only the answers whose topic or prompt matches. `is_null` and `not_null` take neither and go in `filters`: they test a measure, or a row field or dimension column whose dimension is on the row, for a missing value, such as `citations_compare is_null` for sources with no observation in the compare window, or `topic not_null` to drop the group of prompts without a topic.","uniqueKey":"filter_fields.items.[INDEX].operators.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"The operators the field takes in this list.","isRequired":true,"uniqueKey":"filter_fields.items.[INDEX].operators","typeLabel":"enum\u003cstring>[]"},"dimension":{"oneOf":[{"type":"string","description":"The dimension that must be in `dimensions` to use the field in this list, or null when it needs none.","isRequired":true,"uniqueKey":"filter_fields.items.[INDEX].dimension.oneOf.0","typeLabel":"string"},{"type":"null","description":"The dimension that must be in `dimensions` to use the field in this list, or null when it needs none.","isRequired":true,"uniqueKey":"filter_fields.items.[INDEX].dimension.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"filter_fields.items.[INDEX].dimension","typeLabel":"string | null"}},"required":["field","role","operators","dimension"],"description":"One field `scope` or `filters` accepts, with the operators it takes in that list.","examples":[{"field":"topic","role":"population","operators":["in","contains"],"dimension":null},{"field":"topic","role":"population","operators":["in","not_in","contains","is_null","not_null"],"dimension":"topic"},{"field":"brand_uuid","role":"entity","operators":["in","not_in"],"dimension":"brand"}],"uniqueKey":"filter_fields.items.[INDEX]","typeLabel":"object"},"description":"Every field `filters` accepts: the row fields, the dimension columns, the measures with their compare columns, and the compare bands.","isRequired":true,"uniqueKey":"filter_fields","typeLabel":"object[]"},"order_fields":{"type":"array","items":{"type":"string","uniqueKey":"order_fields.items.[INDEX]","typeLabel":"string"},"description":"Every field `order_by` accepts: dimensions, measures with their compare columns, and extra sort fields such as `answered_at` on `visibility`. Key fields such as `brand_uuid` are not sort fields: sort by the dimension.","isRequired":true,"uniqueKey":"order_fields","typeLabel":"string[]"},"related":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"related.additionalProperties","typeLabel":"string"},"description":"Related block id to a one-line description.","isRequired":true,"uniqueKey":"related","typeLabel":"object"},"competitor_fields":{"type":"array","items":{"type":"string","uniqueKey":"competitor_fields.items.[INDEX]","typeLabel":"string"},"description":"The brand-list fields that also take the reserved value `competitors`: the brands marked as competitors in the project, alone or beside brand UUIDs. `brand_uuid` and `mentions_brand`; the one-brand lenses do not. On visibility and narratives, a `brand_uuid` list in `scope` ranks the brands it keeps against each other; in `filters` it picks their rows and leaves every rank as it was. On sources, `brand_uuid` is scope-only and selects the page comparison set, with no brand dimension required.","isRequired":true,"uniqueKey":"competitor_fields","typeLabel":"string[]"},"combined_brand_fields":{"type":"array","items":{"type":"string","uniqueKey":"combined_brand_fields.items.[INDEX]","typeLabel":"string"},"description":"The scope brand lists that can combine brands: `brand_uuid` on visibility, empty elsewhere. With the field's dimension (`brand`) in `dimensions`, the list picks which brands get a row. Without it, and without `answer`, the list picks which brands the aggregate rows add together: visibility is their average, counting a brand never named as 0; position and sentiment pool their mentions; every answer still counts. Such a field's scope `dimension` is null because it needs no dimension to combine; on answer rows and in `filters` it still needs `brand`.","isRequired":true,"uniqueKey":"combined_brand_fields","typeLabel":"string[]"}},"required":["entity","title","requires_dimensions","entity_columns","dimensions","measures","scope_fields","filter_fields","order_fields","related","competitor_fields","combined_brand_fields"],"uniqueKey":"","typeLabel":"object"},"example":{"entity":"visibility","title":"Visibility","requires_dimensions":false,"entity_columns":[],"dimensions":[{"id":"brand","title":"Brand","type":"dimension","format":"number","decimals":null,"prefix":"","suffix":"","lower_is_better":false},{"id":"topic","title":"Topic","type":"dimension","format":"number","decimals":null,"prefix":"","suffix":"","lower_is_better":false}],"measures":[{"id":"visibility","title":"Visibility","type":"measure","format":"percent","decimals":1,"prefix":"","suffix":"","lower_is_better":false},{"id":"rank","title":"Rank","type":"measure","format":"number","decimals":null,"prefix":"","suffix":"","lower_is_better":true}],"scope_fields":[{"field":"service_provider","role":"population","operators":["in"],"dimension":null},{"field":"topic","role":"population","operators":["in","contains"],"dimension":null},{"field":"tag_uuid","role":"population","operators":["in","all"],"dimension":null},{"field":"mentions_brand","role":"population","operators":["in","not_in"],"dimension":null},{"field":"answer_brand","role":"lens","operators":["in"],"dimension":"answer"},{"field":"brand_uuid","role":"entity","operators":["in","not_in"],"dimension":"brand"}],"filter_fields":[{"field":"topic","role":"population","operators":["in","not_in","contains","is_null","not_null"],"dimension":"topic"},{"field":"brand_uuid","role":"entity","operators":["in","not_in","is_null","not_null"],"dimension":"brand"},{"field":"brand","role":"entity","operators":["in","not_in","contains","is_null","not_null"],"dimension":"brand"},{"field":"visibility","role":"measure","operators":["eq","gt","gte","lt","lte","is_null","not_null"],"dimension":null}],"order_fields":["brand","topic","visibility","visibility_compare","visibility_change","rank","rank_compare","rank_change"],"related":{"top_brands":"Per row: the five tracked brands named in most of the answers in the row's group (its prompt, topic, platform, date...; whatever brand the row is for), with those answers and their average position, ties broken by the lower summed position, then the name. Not with answer on the row."},"competitor_fields":["brand_uuid","mentions_brand"],"combined_brand_fields":["brand_uuid"]},"examples":{"Example":{"title":"Example","value":{"entity":"visibility","title":"Visibility","requires_dimensions":false,"entity_columns":[],"dimensions":[{"id":"brand","title":"Brand","type":"dimension","format":"number","decimals":null,"prefix":"","suffix":"","lower_is_better":false},{"id":"topic","title":"Topic","type":"dimension","format":"number","decimals":null,"prefix":"","suffix":"","lower_is_better":false}],"measures":[{"id":"visibility","title":"Visibility","type":"measure","format":"percent","decimals":1,"prefix":"","suffix":"","lower_is_better":false},{"id":"rank","title":"Rank","type":"measure","format":"number","decimals":null,"prefix":"","suffix":"","lower_is_better":true}],"scope_fields":[{"field":"service_provider","role":"population","operators":["in"],"dimension":null},{"field":"topic","role":"population","operators":["in","contains"],"dimension":null},{"field":"tag_uuid","role":"population","operators":["in","all"],"dimension":null},{"field":"mentions_brand","role":"population","operators":["in","not_in"],"dimension":null},{"field":"answer_brand","role":"lens","operators":["in"],"dimension":"answer"},{"field":"brand_uuid","role":"entity","operators":["in","not_in"],"dimension":"brand"}],"filter_fields":[{"field":"topic","role":"population","operators":["in","not_in","contains","is_null","not_null"],"dimension":"topic"},{"field":"brand_uuid","role":"entity","operators":["in","not_in","is_null","not_null"],"dimension":"brand"},{"field":"brand","role":"entity","operators":["in","not_in","contains","is_null","not_null"],"dimension":"brand"},{"field":"visibility","role":"measure","operators":["eq","gt","gte","lt","lte","is_null","not_null"],"dimension":null}],"order_fields":["brand","topic","visibility","visibility_compare","visibility_change","rank","rank_compare","rank_change"],"related":{"top_brands":"Per row: the five tracked brands named in most of the answers in the row's group (its prompt, topic, platform, date...; whatever brand the row is for), with those answers and their average position, ties broken by the lower summed position, then the name. Not with answer on the row."},"competitor_fields":["brand_uuid","mentions_brand"],"combined_brand_fields":["brand_uuid"]}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"4679da14-28d3-4f79-a47f-b1bcec9e0cbd":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"token","description":"Team API key created in Team Settings. Use it with URLs for the same team.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"585d9884-bdce-435f-8d57-dd957b4940cc":{"url":"https://app.surfacd.com","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"token","description":"Team API key created in Team Settings. Use it with URLs for the same team.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Team API key created in Team Settings. Use it with URLs for the same team.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"surfacd","siteName":"Surfacd","title":"Report Entity Schema - Surfacd","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-12T18:08:51.113Z","originalFileLocation":"api-reference/reports/report-entity-schema.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=\"The dimensions, measures, the fields scope and filters each accept (with their role, operators and the dimension each needs) and the related blocks one report entity offers. Use it to build or validate a query body before calling POST /api/v1/projects/{project}/reports/{entity}. The schema is the same for every project.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Surfacd\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/surfacd/CCDK0O2pAaAm02eC/_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/surfacd/CCDK0O2pAaAm02eC/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/surfacd/CCDK0O2pAaAm02eC/_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/surfacd/CCDK0O2pAaAm02eC/_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/surfacd/CCDK0O2pAaAm02eC/_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/surfacd/CCDK0O2pAaAm02eC/_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/surfacd/CCDK0O2pAaAm02eC/_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/surfacd/CCDK0O2pAaAm02eC/_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/surfacd/CCDK0O2pAaAm02eC/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Report Entity Schema - Surfacd\">\u003cmeta data-mint-head property=\"og:description\" content=\"The dimensions, measures, the fields scope and filters each accept (with their role, operators and the dimension each needs) and the related blocks one report entity offers. Use it to build or validate a query body before calling POST /api/v1/projects/{project}/reports/{entity}. The schema is the same for every project.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Surfacd\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.surfacd.com/api-reference/reports/report-entity-schema\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://surfacd.mintlify.site/_mintlify/api/og/v2?division=Reports\u0026amp;title=Report+Entity+Schema\u0026amp;description=The+dimensions%2C+measures%2C+the+fields+%60scope%60+and+%60filters%60+each+accept+%28with+their+role%2C+operators+and+the+dimension+each+needs%29+and+the+related+blocks+one+repo\u0026amp;theme=35819ffbe2459afb1f458868\u0026amp;signature=00cedec39857cf0aabf2f96d6ad88aa31ca0e90c9378a596462edb3ad707af6e\">\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=\"Report Entity Schema - Surfacd\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"The dimensions, measures, the fields scope and filters each accept (with their role, operators and the dimension each needs) and the related blocks one report entity offers. Use it to build or validate a query body before calling POST /api/v1/projects/{project}/reports/{entity}. The schema is the same for every project.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://surfacd.mintlify.site/_mintlify/api/og/v2?division=Reports\u0026amp;title=Report+Entity+Schema\u0026amp;description=The+dimensions%2C+measures%2C+the+fields+%60scope%60+and+%60filters%60+each+accept+%28with+their+role%2C+operators+and+the+dimension+each+needs%29+and+the+related+blocks+one+repo\u0026amp;theme=35819ffbe2459afb1f458868\u0026amp;signature=00cedec39857cf0aabf2f96d6ad88aa31ca0e90c9378a596462edb3ad707af6e\">\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/surfacd/CCDK0O2pAaAm02eC/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Surfacd\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0022FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.surfacd.com/api-reference/reports/report-entity-schema\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/reports/report-entity-schema.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.surfacd.com/#organization\",\"name\":\"Surfacd\",\"url\":\"https://docs.surfacd.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/surfacd/65GopWtG2yt60uTI/logo/logo.svg?fit=max\u0026auto=format\u0026n=65GopWtG2yt60uTI\u0026q=85\u0026s=85d232e50682fcc869278871aa268280\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.surfacd.com#website\",\"name\":\"Surfacd\",\"url\":\"https://docs.surfacd.com\",\"publisher\":{\"@id\":\"https://docs.surfacd.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.surfacd.com/api-reference/reports/report-entity-schema#webpage\",\"url\":\"https://docs.surfacd.com/api-reference/reports/report-entity-schema\",\"name\":\"Report Entity Schema\",\"description\":\"The dimensions, measures, the fields scope and filters each accept (with their role, operators and the dimension each needs) and the related blocks one report entity offers. Use it to build or validate a query body before calling POST /api/v1/projects/{project}/reports/{entity}. The schema is the same for every project.\",\"dateModified\":\"2026-11-12T18:08:51.113Z\",\"isPartOf\":{\"@id\":\"https://docs.surfacd.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.surfacd.com/api-reference/reports/report-entity-schema#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.surfacd.com/api-reference/reports/report-entity-schema#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Reports\",\"item\":\"https://docs.surfacd.com/api-reference/reports/run-a-report-query\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Report Entity Schema\",\"item\":\"https://docs.surfacd.com/api-reference/reports/report-entity-schema\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.surfacd.com/api-reference/reports/report-entity-schema#apireference\",\"headline\":\"Report Entity Schema\",\"name\":\"Report Entity Schema\",\"description\":\"The dimensions, measures, the fields scope and filters each accept (with their role, operators and the dimension each needs) and the related blocks one report entity offers. Use it to build or validate a query body before calling POST /api/v1/projects/{project}/reports/{entity}. The schema is the same for every project.\",\"url\":\"https://docs.surfacd.com/api-reference/reports/report-entity-schema\",\"mainEntityOfPage\":{\"@id\":\"https://docs.surfacd.com/api-reference/reports/report-entity-schema#webpage\"},\"dateModified\":\"2026-11-12T18:08:51.113Z\",\"publisher\":{\"@id\":\"https://docs.surfacd.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.surfacd.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Surfacd\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Surfacd\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/reports/report-entity-schema.md","siteName":"Surfacd","nav":{"global":{"anchors":[]},"tabs":[{"tab":"Docs","pages":[{"title":"Docs","href":"/docs/introduction"}]},{"tab":"API Reference","groups":[{"group":"Reference","pages":[{"title":"List available countries","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/countries","href":"/api-reference/reference/list-available-countries"},{"title":"List available platforms","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/platforms","href":"/api-reference/reference/list-available-platforms"},{"title":"List domain categories","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/domain-categories","href":"/api-reference/reference/list-domain-categories"},{"title":"List Brands","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/brands","href":"/api-reference/reference/list-brands"},{"title":"List Topics","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/topics","href":"/api-reference/reference/list-topics"}]},{"group":"Projects","pages":[{"title":"List Projects","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/projects","href":"/api-reference/projects/list-projects"},{"title":"Create Project","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/projects","href":"/api-reference/projects/create-project"},{"title":"Show Project","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}","href":"/api-reference/projects/show-project"},{"title":"Delete Project","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/projects/{project}","href":"/api-reference/projects/delete-project"},{"title":"Update Project","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/projects/{project}","href":"/api-reference/projects/update-project"},{"title":"Archive or Restore Project","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/projects/{project}/archive","href":"/api-reference/projects/archive-or-restore-project"},{"title":"Promote Pitch Project","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/projects/{project}/promote","href":"/api-reference/projects/promote-pitch-project"},{"title":"Manage Project Sharing","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/projects/{project}/share","href":"/api-reference/projects/manage-project-sharing"},{"title":"List Projects (team-scoped)","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/teams/{teamUuid}/projects","href":"/api-reference/projects/list-projects-team-scoped"},{"title":"Create Project (team-scoped)","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/teams/{teamUuid}/projects","href":"/api-reference/projects/create-project-team-scoped"}]},{"group":"Prompts","pages":[{"title":"List Prompts","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/prompts","href":"/api-reference/prompts/list-prompts"},{"title":"Create Prompts","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/projects/{project}/prompts","href":"/api-reference/prompts/create-prompts"},{"title":"Show Prompt","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/prompts/{prompt}","href":"/api-reference/prompts/show-prompt"},{"title":"Delete Prompt","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/projects/{project}/prompts/{prompt}","href":"/api-reference/prompts/delete-prompt"},{"title":"Update Prompt","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/projects/{project}/prompts/{prompt}","href":"/api-reference/prompts/update-prompt"},{"title":"Update Prompt Tags","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/projects/{project}/prompts/tags","href":"/api-reference/prompts/update-prompt-tags"}]},{"group":"Reporting","pages":[{"title":"Brand Rankings","deprecated":true,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/brand-rankings","href":"/api-reference/reporting/brand-rankings"},{"title":"Visibility Over Time","deprecated":true,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/visibility-over-time","href":"/api-reference/reporting/visibility-over-time"},{"title":"Visibility Change Decomposition","deprecated":true,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/visibility-decomposition","href":"/api-reference/reporting/visibility-change-decomposition"},{"title":"Brand Mentions","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/mentions","href":"/api-reference/reporting/brand-mentions"},{"title":"Matrix Analysis","deprecated":true,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/matrix-analysis","href":"/api-reference/reporting/matrix-analysis"},{"title":"Sources (Domains)","deprecated":true,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/sources-data/domains","href":"/api-reference/reporting/sources-domains"},{"title":"Sources (Hostnames)","deprecated":true,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/sources-data/hostnames","href":"/api-reference/reporting/sources-hostnames"},{"title":"Sources (URLs)","deprecated":true,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/sources-data/urls","href":"/api-reference/reporting/sources-urls"},{"title":"Sources (Category Distribution)","deprecated":true,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/sources-data/category-distribution","href":"/api-reference/reporting/sources-category-distribution"},{"title":"Get Answer","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/responses/{response}","href":"/api-reference/reporting/get-answer"}]},{"group":"Tags","pages":[{"title":"List Tags","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/tags","href":"/api-reference/tags/list-tags"},{"title":"Create Tag","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/projects/{project}/tags","href":"/api-reference/tags/create-tag"},{"title":"Show Tag","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/tags/{tag}","href":"/api-reference/tags/show-tag"},{"title":"Delete Tag","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/projects/{project}/tags/{tag}","href":"/api-reference/tags/delete-tag"},{"title":"Update Tag","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/projects/{project}/tags/{tag}","href":"/api-reference/tags/update-tag"}]},{"group":"Reputation","pages":[{"title":"Get Theme Record","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/themes/{theme}","href":"/api-reference/reputation/get-theme-record"},{"title":"Get Narrative Record","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/narratives/{narrative}","href":"/api-reference/reputation/get-narrative-record"},{"title":"Reputation Overview","deprecated":true,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/reputation/overview","href":"/api-reference/reputation/reputation-overview"},{"title":"List Themes","deprecated":true,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/reputation/themes","href":"/api-reference/reputation/list-themes"},{"title":"Get Theme","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/reputation/themes/{theme}","href":"/api-reference/reputation/get-theme"},{"title":"List Narratives","deprecated":true,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/reputation/narratives","href":"/api-reference/reputation/list-narratives"},{"title":"Get Narrative","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/reputation/narratives/{narrative}","href":"/api-reference/reputation/get-narrative"},{"title":"List Responses","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/reputation/responses","href":"/api-reference/reputation/list-responses"},{"title":"Get Response","deprecated":true,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/reputation/responses/{response}","href":"/api-reference/reputation/get-response"},{"title":"Reputation Sources (Domains)","deprecated":true,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/reputation/sources/domains","href":"/api-reference/reputation/reputation-sources-domains"},{"title":"Reputation Sources (URLs)","deprecated":true,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/reputation/sources/urls","href":"/api-reference/reputation/reputation-sources-urls"},{"title":"Reputation Sources (Prompts)","deprecated":true,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/reputation/sources/prompts","href":"/api-reference/reputation/reputation-sources-prompts"},{"title":"Sentiment Over Time","deprecated":true,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/reputation/sentiment-series","href":"/api-reference/reputation/sentiment-over-time"},{"title":"Sentiment by Platform","deprecated":true,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/reputation/sentiment-by-model","href":"/api-reference/reputation/sentiment-by-platform"}]},{"group":"Team","pages":[{"title":"Get Team Settings","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/teams/{teamUuid}","href":"/api-reference/team/get-team-settings"},{"title":"Get Team Usage","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/teams/{teamUuid}/usage","href":"/api-reference/team/get-team-usage"},{"title":"List Team Members","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/teams/{teamUuid}/members","href":"/api-reference/team/list-team-members"},{"title":"Invite Team Member","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/teams/{teamUuid}/members","href":"/api-reference/team/invite-team-member"},{"title":"Show Team Member","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/teams/{teamUuid}/members/{email}","href":"/api-reference/team/show-team-member"},{"title":"Remove Team Member","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/teams/{teamUuid}/members/{email}","href":"/api-reference/team/remove-team-member"},{"title":"Update Member Role","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/teams/{teamUuid}/members/{email}","href":"/api-reference/team/update-member-role"},{"title":"List teams","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/teams","href":"/api-reference/team/list-teams"},{"title":"Get Team Settings","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/team","href":"/api-reference/team/get-team-settings-1"},{"title":"Get Team Usage","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/team/usage","href":"/api-reference/team/get-team-usage-1"},{"title":"List Team Members","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/team/members","href":"/api-reference/team/list-team-members-1"},{"title":"Invite Team Member","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/team/members","href":"/api-reference/team/invite-team-member-1"},{"title":"Show Team Member","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/team/members/{email}","href":"/api-reference/team/show-team-member-1"},{"title":"Remove Team Member","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/team/members/{email}","href":"/api-reference/team/remove-team-member-1"},{"title":"Update Member Role","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/team/members/{email}","href":"/api-reference/team/update-member-role-1"}]},{"group":"Reports","pages":[{"title":"Run a Report Query","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/projects/{project}/reports/{entity}","href":"/api-reference/reports/run-a-report-query"},{"title":"List Report Field Values","description":"The values one scope or filter field accepts for the project, so a condition can be filled without guessing. A key field lists its keys with their names as labels: brand UUIDs (`brand_uuid`; primary brand first; `brand_uuid` and `mentions_brand` start with `competitors`, the brands marked as competitors), narrative, theme, prompt, topic (`no_topic` first) and tag (`untagged` first) UUIDs, platform slugs (`service_provider`) and country codes (`country_code`), so a client never maps codes to names itself. A name field (`brand`, `topic`, `tag`, `prompt`, `service`, `country`, `narrative`, `theme`) lists the names. Also listed: the domains the project's answers cite (most cited first) and the fixed vocabularies (`page_type`, `category`, `brand_on_page`, `mention_sentiment`, `page_sentiment`, `narrative_sentiment`, `carries_sentiment`).\n\nPut the returned `value` in the condition; `label` and `description` are for people. `search` matches the label case-insensitively (prompts, domains and narratives search in the database). `total` counts the matches before `limit`. The narrative and theme fields need the Reputation capability.","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/reports/values/{field}","href":"/api-reference/reports/list-report-field-values"},{"title":"Report Entity Schema","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/reports/{entity}/schema","href":"/api-reference/reports/report-entity-schema"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Report Entity Schema - Surfacd","buildId":"dpl_8hoxaqFTU7hTr6A2fUraxAyjuiZo","deploymentId":"dpl_8hoxaqFTU7hTr6A2fUraxAyjuiZo","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CDiBsYGW.js","utils-KF9rPlmF.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C26urKTX.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BdjmJAC1.js","snippetPresets-3IpDBjt3.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-D4x_2vvo.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BIWdc5Pa.js","shallow-LQqfiMNd.js","getApiPlaygroundDisplay-DryzlOZG.js","CodeSnippet-tcJujU4r.js","CodeSnippets-BHp0nVLL.js","Page-1CZdsdAn.js","getPastedJson-DU-1ayUv.js","icon-CZK2hPr4.js","MethodPill-DOaqmTFC.js","DuplicateIcon-B5-nUxxl.js","createIcon-CDP_U77G.js","DynamicMarkdown-GHvayGOn.js","SectionHeading-BYvpkmUD.js","axios-vUo_bRtp.js","Markdown-uxhlayGT.js","clsx-B35qUV0p.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BvrGG8gU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CAf0yVYe.js"]}