Update the brand’s measurement location — the market the AI answers are measured from. Send mode: "worldwide" to clear any country/city scope. Use the Geo endpoints to discover valid country and city values.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"agentled API","description":"Programmatic access to the agentled AI Search monitor.","colors":{"primary":"#4f7a12","light":"#c8f04a","dark":"#c8f04a"},"navbar":{"links":[{"href":"https://agentled.co/ai-search","label":"Dashboard"}],"primary":{"type":"button","label":"agentled.co","href":"https://agentled.co"}},"footer":{"socials":{"website":"https://agentled.co"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"agentled","hasAudioNarration":false,"actualSubdomain":"agentled","customDomains":["docs.agentled.co"],"gitSource":{"type":"github","owner":"agent-led-growth","repo":"agentled","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6a9b0d0c690697e6eeae31d1","collectionId":"4562b0be-7c5a-432d-91f8-de1ce354d839","liveDeploymentHistoryId":"6a9b0d0c690697e6eeae31d1","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6a9b0d0c690697e6eeae31d1","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"API reference","count":14},{"language":"default","tag":"Reference","count":14},{"language":"default","tag":"Guides","count":6},{"language":"default","tag":"Getting started","count":4},{"language":"default","tag":"Brands","count":4},{"language":"default","tag":"Prompts","count":3},{"language":"default","tag":"Concepts","count":2},{"language":"default","tag":"Geo","count":2},{"language":"default","tag":"Scans","count":2},{"language":"default","tag":"Answers","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":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":"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":"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":"llms-txt-v2","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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/brands/set-a-brands-location","slug":"/api-reference/brands/set-a-brands-location","pageMetadata":{"title":"Set a brand's location","description":"Update the brand's measurement location — the market the AI answers are measured from. Send `mode: \"worldwide\"` to clear any country/city scope. Use the Geo endpoints to discover valid `country` and `city` values.","deprecated":null,"version":null,"openapi":"https://agentled.co/api/v1/openapi.json patch /brands/{id}","href":"/api-reference/brands/set-a-brands-location","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: [\"Update the brand’s measurement location — the market the AI answers are measured from. Send \", _jsx(_components.code, {\n children: \"mode: \\\"worldwide\\\"\"\n }), \" to clear any country/city scope. Use the Geo endpoints to discover valid \", _jsx(_components.code, {\n children: \"country\"\n }), \" and \", _jsx(_components.code, {\n children: \"city\"\n }), \" values.\"]\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":"Set a brand's location","description":"Update the brand's measurement location — the market the AI answers are measured from. Send `mode: \"worldwide\"` to clear any country/city scope. Use the Geo endpoints to discover valid `country` and `city` values.","deprecated":null,"version":null,"openapi":"https://agentled.co/api/v1/openapi.json patch /brands/{id}","href":"/api-reference/brands/set-a-brands-location","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Brands"],"summary":"Set a brand's location","description":"Update the brand's measurement location — the market the AI answers are measured from. Send `mode: \"worldwide\"` to clear any country/city scope. Use the Geo endpoints to discover valid `country` and `city` values.","operationId":"updateBrandLocation","parameters":["405eaed6-b259-46f9-a3f3-37253045b93b"],"requestBody":"a36da848-0b86-4fbd-877b-34829c8e9594","responses":{"200":"b5850da2-97bc-4ca7-8cec-64379c7b72c8","400":"0f310cae-8008-41ac-adcd-1fffc120cb93","401":"a083f2d4-4b84-4f87-9dfd-c113b8e11de9","404":"aff82920-b121-4a08-8fc7-1fe6e99e44e3","500":"b1deebde-7415-4add-a28c-d6f3b12fbfe7"},"method":"patch","type":"path","servers":["e32573d4-e6d0-4ff4-9fdc-b15fc88db8a8"],"security":["486f0ac3-dba4-47f5-997f-38ccbb7cb049"],"path":"/brands/{id}","baseUrlOptions":["https://agentled.co/api/v1"],"title":"Set a brand's location","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"405eaed6-b259-46f9-a3f3-37253045b93b":{"name":"id","in":"path","required":true,"description":"Brand id (UUID). A value that is not a UUID returns 404.","schema":{"type":"string","format":"uuid","isRequired":true,"description":"Brand id (UUID). A value that is not a UUID returns 404.","uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["location"],"properties":{"location":{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["worldwide","country","city"],"description":"`worldwide` clears any scope. `country`/`city` require the fields below.","isRequired":true,"uniqueKey":"location.mode","typeLabel":"enum\u003cstring>"},"country":{"type":"string","description":"ISO 3166-1 alpha-2 (case-insensitive). Required when mode is country or city. See GET /geo/countries.","example":"US","uniqueKey":"location.country","typeLabel":"string"},"city":{"type":"string","description":"City name. Required when mode is city. Must be one of GET /geo/countries/{code}/cities.","example":"Austin","uniqueKey":"location.city","typeLabel":"string"}},"isRequired":true,"uniqueKey":"location","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"location":{"country":"US","city":"Austin"}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"b5850da2-97bc-4ca7-8cec-64379c7b72c8":{"description":"The updated brand.","content":{"application/json":{"schema":{"type":"object","required":["brand"],"properties":{"brand":{"type":"object","properties":{"id":{"type":"string","format":"uuid","uniqueKey":"brand.id","typeLabel":"string\u003cuuid>"},"domain":{"type":"string","uniqueKey":"brand.domain","typeLabel":"string"},"name":{"oneOf":[{"type":"string","uniqueKey":"brand.name.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"brand.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"brand.name","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","uniqueKey":"brand.description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"brand.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"brand.description","typeLabel":"string | null"},"logoUrl":{"oneOf":[{"type":"string","format":"uri","uniqueKey":"brand.logoUrl.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","uniqueKey":"brand.logoUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"brand.logoUrl","typeLabel":"string\u003curi> | null"},"status":{"type":"string","enum":["anonymous","active"],"description":"`active` once the brand is claimed by an account.","uniqueKey":"brand.status","typeLabel":"enum\u003cstring>"},"isActive":{"type":"boolean","uniqueKey":"brand.isActive","typeLabel":"boolean"},"firstScanCompletedAt":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"brand.firstScanCompletedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"brand.firstScanCompletedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"brand.firstScanCompletedAt","typeLabel":"string\u003cdate-time> | null"},"lastScanAt":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"brand.lastScanAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"brand.lastScanAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"brand.lastScanAt","typeLabel":"string\u003cdate-time> | null"},"createdAt":{"type":"string","format":"date-time","uniqueKey":"brand.createdAt","typeLabel":"string\u003cdate-time>"},"claimedAt":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"brand.claimedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"brand.claimedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"brand.claimedAt","typeLabel":"string\u003cdate-time> | null"},"location":{"type":"object","description":"The market a brand's AI answers are measured from.","required":["mode","country","city","label"],"properties":{"mode":{"type":"string","enum":["worldwide","country","city"],"description":"Scope granularity.","isRequired":true,"uniqueKey":"brand.location.mode","typeLabel":"enum\u003cstring>"},"country":{"oneOf":[{"type":"string","description":"ISO 3166-1 alpha-2 code, when scoped to a country or city.","isRequired":true,"uniqueKey":"brand.location.country.oneOf.0","typeLabel":"string"},{"type":"null","description":"ISO 3166-1 alpha-2 code, when scoped to a country or city.","isRequired":true,"uniqueKey":"brand.location.country.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"brand.location.country","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","description":"City name, when scoped to a city.","isRequired":true,"uniqueKey":"brand.location.city.oneOf.0","typeLabel":"string"},{"type":"null","description":"City name, when scoped to a city.","isRequired":true,"uniqueKey":"brand.location.city.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"brand.location.city","typeLabel":"string | null"},"label":{"oneOf":[{"type":"string","description":"Human-readable label, e.g. \"Austin, United States\".","isRequired":true,"uniqueKey":"brand.location.label.oneOf.0","typeLabel":"string"},{"type":"null","description":"Human-readable label, e.g. \"Austin, United States\".","isRequired":true,"uniqueKey":"brand.location.label.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"brand.location.label","typeLabel":"string | null"}},"uniqueKey":"brand.location","typeLabel":"object"}},"isRequired":true,"uniqueKey":"brand","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"brand":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","domain":"\u003cstring>","name":"\u003cstring>","description":"\u003cstring>","logoUrl":"\u003cstring>","status":"anonymous","isActive":true,"firstScanCompletedAt":"2023-11-07T05:31:56Z","lastScanAt":"2023-11-07T05:31:56Z","createdAt":"2023-11-07T05:31:56Z","claimedAt":"2023-11-07T05:31:56Z","location":{"mode":"worldwide","country":"\u003cstring>","city":"\u003cstring>","label":"\u003cstring>"}}}}},"exampleType":"generated"}},"exampleType":"generated"},"0f310cae-8008-41ac-adcd-1fffc120cb93":{"description":"The request body or a parameter was invalid.","content":{"application/json":{"schema":{"type":"object","description":"Every error has this shape. Branch on the stable `error.code`.","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Stable machine-readable code.","enum":["unauthorized","not_found","bad_request","limit_reached","server_error"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable explanation.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"upgradeUrl":{"type":"string","description":"Present only when `code` is `limit_reached`: where to upgrade the plan.","uniqueKey":"error.upgradeUrl","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"unauthorized","message":"\u003cstring>","upgradeUrl":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"a083f2d4-4b84-4f87-9dfd-c113b8e11de9":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"type":"object","description":"Every error has this shape. Branch on the stable `error.code`.","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Stable machine-readable code.","enum":["unauthorized","not_found","bad_request","limit_reached","server_error"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable explanation.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"upgradeUrl":{"type":"string","description":"Present only when `code` is `limit_reached`: where to upgrade the plan.","uniqueKey":"error.upgradeUrl","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"unauthorized","message":"\u003cstring>","upgradeUrl":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"aff82920-b121-4a08-8fc7-1fe6e99e44e3":{"description":"The resource does not exist, or your account cannot see it.","content":{"application/json":{"schema":{"type":"object","description":"Every error has this shape. Branch on the stable `error.code`.","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Stable machine-readable code.","enum":["unauthorized","not_found","bad_request","limit_reached","server_error"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable explanation.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"upgradeUrl":{"type":"string","description":"Present only when `code` is `limit_reached`: where to upgrade the plan.","uniqueKey":"error.upgradeUrl","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"unauthorized","message":"\u003cstring>","upgradeUrl":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"b1deebde-7415-4add-a28c-d6f3b12fbfe7":{"description":"Something went wrong. Retry.","content":{"application/json":{"schema":{"type":"object","description":"Every error has this shape. Branch on the stable `error.code`.","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Stable machine-readable code.","enum":["unauthorized","not_found","bad_request","limit_reached","server_error"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable explanation.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"upgradeUrl":{"type":"string","description":"Present only when `code` is `limit_reached`: where to upgrade the plan.","uniqueKey":"error.upgradeUrl","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"unauthorized","message":"\u003cstring>","upgradeUrl":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"486f0ac3-dba4-47f5-997f-38ccbb7cb049":{"bearerAuth":{"type":"http","scheme":"bearer","description":"An API key from the Account tab, sent as `Authorization: Bearer agl_live_...`. Keys are secret; store them server-side.","scopes":[]}}},"servers":{"e32573d4-e6d0-4ff4-9fdc-b15fc88db8a8":{"url":"https://agentled.co/api/v1","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"An API key from the Account tab, sent as `Authorization: Bearer agl_live_...`. Keys are secret; store them server-side.","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"An API key from the Account tab, sent as `Authorization: Bearer agl_live_...`. Keys are secret; store them server-side.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"https://agentled.co/api/v1/openapi.json"},"subdomain":"agentled","siteName":"agentled API","title":"Set a brand's location - agentled API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-04T11:20:23.091Z","originalFileLocation":"api-reference/brands/set-a-brands-location.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=\"Update the brand\u0026#x27;s measurement location — the market the AI answers are measured from. Send mode: \u0026quot;worldwide\u0026quot; to clear any country/city scope. Use the Geo endpoints to discover valid country and city values.\">\u003cmeta data-mint-head name=\"application-name\" content=\"agentled API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/agentled/_generated/favicon/apple-touch-icon.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/agentled/_generated/favicon/favicon-32x32.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/agentled/_generated/favicon/favicon-16x16.png?v=3\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/agentled/_generated/favicon/favicon.ico?v=3\">\u003cmeta data-mint-head property=\"og:title\" content=\"Set a brand\u0026#x27;s location - agentled API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Update the brand\u0026#x27;s measurement location — the market the AI answers are measured from. Send mode: \u0026quot;worldwide\u0026quot; to clear any country/city scope. Use the Geo endpoints to discover valid country and city values.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"agentled API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.agentled.co/api-reference/brands/set-a-brands-location\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://agentled.mintlify.app/_mintlify/api/og/v2?division=Brands\u0026amp;title=Set+a+brand%27s+location\u0026amp;description=Update+the+brand%27s+measurement+location+%E2%80%94+the+market+the+AI+answers+are+measured+from.+Send+%60mode%3A+%22worldwide%22%60+to+clear+any+country%2Fcity+scope.+Use+the+Geo+end\u0026amp;theme=74adf45d4470f5fd3e026ddc\u0026amp;signature=4df47d3b784d8230cc899be528c50fdc48113c52bde98d20eae9b8c448aaa52d\">\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=\"Set a brand\u0026#x27;s location - agentled API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Update the brand\u0026#x27;s measurement location — the market the AI answers are measured from. Send mode: \u0026quot;worldwide\u0026quot; to clear any country/city scope. Use the Geo endpoints to discover valid country and city values.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://agentled.mintlify.app/_mintlify/api/og/v2?division=Brands\u0026amp;title=Set+a+brand%27s+location\u0026amp;description=Update+the+brand%27s+measurement+location+%E2%80%94+the+market+the+AI+answers+are+measured+from.+Send+%60mode%3A+%22worldwide%22%60+to+clear+any+country%2Fcity+scope.+Use+the+Geo+end\u0026amp;theme=74adf45d4470f5fd3e026ddc\u0026amp;signature=4df47d3b784d8230cc899be528c50fdc48113c52bde98d20eae9b8c448aaa52d\">\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=\"https://mintlify.s3.us-west-1.amazonaws.com/agentled/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"agentled API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4f7a12\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.agentled.co/api-reference/brands/set-a-brands-location\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/brands/set-a-brands-location.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.agentled.co/#organization\",\"name\":\"agentled API\",\"url\":\"https://docs.agentled.co\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.agentled.co#website\",\"name\":\"agentled API\",\"url\":\"https://docs.agentled.co\",\"publisher\":{\"@id\":\"https://docs.agentled.co/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.agentled.co/api-reference/brands/set-a-brands-location#webpage\",\"url\":\"https://docs.agentled.co/api-reference/brands/set-a-brands-location\",\"name\":\"Set a brand's location\",\"description\":\"Update the brand's measurement location — the market the AI answers are measured from. Send mode: \\\"worldwide\\\" to clear any country/city scope. Use the Geo endpoints to discover valid country and city values.\",\"dateModified\":\"2026-09-04T11:20:23.091Z\",\"isPartOf\":{\"@id\":\"https://docs.agentled.co#website\"},\"breadcrumb\":{\"@id\":\"https://docs.agentled.co/api-reference/brands/set-a-brands-location#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.agentled.co/api-reference/brands/set-a-brands-location#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Reference\",\"item\":\"https://docs.agentled.co/api-reference/plan/get-the-accounts-plan\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Brands\",\"item\":\"https://docs.agentled.co/api-reference/brands/list-brands\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Set a brand's location\",\"item\":\"https://docs.agentled.co/api-reference/brands/set-a-brands-location\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.agentled.co/api-reference/brands/set-a-brands-location#apireference\",\"headline\":\"Set a brand's location\",\"name\":\"Set a brand's location\",\"description\":\"Update the brand's measurement location — the market the AI answers are measured from. Send mode: \\\"worldwide\\\" to clear any country/city scope. Use the Geo endpoints to discover valid country and city values.\",\"url\":\"https://docs.agentled.co/api-reference/brands/set-a-brands-location\",\"mainEntityOfPage\":{\"@id\":\"https://docs.agentled.co/api-reference/brands/set-a-brands-location#webpage\"},\"dateModified\":\"2026-09-04T11:20:23.091Z\",\"publisher\":{\"@id\":\"https://docs.agentled.co/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.agentled.co#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"agentled API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"agentled API","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"API reference","groups":[{"group":"Reference","pages":[{"group":"Plan","pages":[{"title":"Get the account's plan","deprecated":null,"version":null,"openapi":"https://agentled.co/api/v1/openapi.json get /plan","href":"/api-reference/plan/get-the-accounts-plan"}]},{"group":"Brands","pages":[{"title":"List brands","deprecated":null,"version":null,"openapi":"https://agentled.co/api/v1/openapi.json get /brands","href":"/api-reference/brands/list-brands"},{"title":"Create a brand","deprecated":null,"version":null,"openapi":"https://agentled.co/api/v1/openapi.json post /brands","href":"/api-reference/brands/create-a-brand"},{"title":"Get a brand","description":null,"deprecated":null,"version":null,"openapi":"https://agentled.co/api/v1/openapi.json get /brands/{id}","href":"/api-reference/brands/get-a-brand"},{"title":"Set a brand's location","deprecated":null,"version":null,"openapi":"https://agentled.co/api/v1/openapi.json patch /brands/{id}","href":"/api-reference/brands/set-a-brands-location"}]},{"group":"Prompts","pages":[{"title":"List a brand's prompts","description":"The brand's prompts. Returns both active and disabled prompts by default; filter with `?active=true` or `?active=false`. Disabling a prompt is a soft delete — it is kept for history and can be re-enabled.","deprecated":null,"version":null,"openapi":"https://agentled.co/api/v1/openapi.json get /brands/{id}/prompts","href":"/api-reference/prompts/list-a-brands-prompts"},{"title":"Add a prompt","deprecated":null,"version":null,"openapi":"https://agentled.co/api/v1/openapi.json post /brands/{id}/prompts","href":"/api-reference/prompts/add-a-prompt"},{"title":"Edit or enable/disable a prompt","deprecated":null,"version":null,"openapi":"https://agentled.co/api/v1/openapi.json patch /brands/{id}/prompts/{promptId}","href":"/api-reference/prompts/edit-or-enabledisable-a-prompt"}]},{"group":"Answers","pages":[{"title":"List a prompt's answers","deprecated":null,"version":null,"openapi":"https://agentled.co/api/v1/openapi.json get /brands/{id}/prompts/{promptId}/answers","href":"/api-reference/answers/list-a-prompts-answers"}]},{"group":"Metrics","pages":[{"title":"Get a brand's metrics","deprecated":null,"version":null,"openapi":"https://agentled.co/api/v1/openapi.json get /brands/{id}/metrics","href":"/api-reference/metrics/get-a-brands-metrics"}]},{"group":"Scans","pages":[{"title":"List a brand's scans","deprecated":null,"version":null,"openapi":"https://agentled.co/api/v1/openapi.json get /brands/{id}/scans","href":"/api-reference/scans/list-a-brands-scans"},{"title":"Get a scan","deprecated":null,"version":null,"openapi":"https://agentled.co/api/v1/openapi.json get /scans/{runId}","href":"/api-reference/scans/get-a-scan"}]},{"group":"Geo","pages":[{"title":"List countries","deprecated":null,"version":null,"openapi":"https://agentled.co/api/v1/openapi.json get /geo/countries","href":"/api-reference/geo/list-countries"},{"title":"List a country's cities","deprecated":null,"version":null,"openapi":"https://agentled.co/api/v1/openapi.json get /geo/countries/{code}/cities","href":"/api-reference/geo/list-a-countrys-cities"}]}]}]}]},"basePath":"","title":"Set a brand's location - agentled API","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","clsx-xpJZXxdP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BTZUMDnx.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DqdKa2R4.js"]}