{"openapi":"3.1.0","info":{"title":"Footnote API","version":"1","description":"Read and act on your Footnote data: brands, prompts, scans, analytics, content audits and content gaps."},"paths":{"/v1/brands":{"get":{"tags":["Brands"],"operationId":"brands.list","parameters":[],"security":[{"apiKey":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/BrandEncoded"}}},"required":["items"],"additionalProperties":false}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"SubscriptionRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}}},"summary":"List brands"},"post":{"tags":["Brands"],"operationId":"brands.create","parameters":[],"security":[{"apiKey":[]}],"responses":{"201":{"description":"Brand","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrandEncoded"}}}},"400":{"description":"InvalidRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"PlanLimitExceeded | SubscriptionRequired","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/PlanLimitExceededEncoded"},{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}}},"summary":"Create a brand","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"url":{"type":"string","minLength":3,"maxLength":2048},"aliases":{"type":"array","items":{"type":"string","maxLength":80},"maxItems":10},"competitors":{"type":"array","items":{"type":"string","maxLength":80},"maxItems":20},"prompts":{"type":"array","prefixItems":[{"type":"string"}],"minItems":1,"items":{"type":"string"},"maxItems":300},"engines":{"type":"array","items":{"type":"string","enum":["chatgpt","perplexity","gemini","ai-overview","ai-mode","bing-ai-mode","claude"]},"minItems":1,"maxItems":7},"country":{"type":"string","enum":["us","gb","ca","au","in","de","fr","pk","ae"]},"frequency":{"type":"string","enum":["manual","daily","weekly"]},"profile":{"anyOf":[{"$ref":"#/components/schemas/BrandProfileEncoded"},{"type":"null"},{"type":"null"}]},"pages":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/SitePageEncoded"},"maxItems":5000},{"type":"null"}]}},"required":["name","url","aliases","competitors","prompts","engines","country","frequency"],"additionalProperties":false}}},"required":true}}},"/v1/brands/{brandId}":{"get":{"tags":["Brands"],"operationId":"brands.get","parameters":[{"name":"brandId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"BrandWithCompetitors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrandWithCompetitorsEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"SubscriptionRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}}},"summary":"Get a brand"},"patch":{"tags":["Brands"],"operationId":"brands.update","parameters":[{"name":"brandId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKey":[]}],"responses":{"204":{"description":"<No Content>"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"PlanLimitExceeded | SubscriptionRequired","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/PlanLimitExceededEncoded"},{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}}},"summary":"Update a brand","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}]},"aliases":{"anyOf":[{"type":"array","items":{"type":"string","maxLength":80},"maxItems":10},{"type":"null"}]},"engines":{"anyOf":[{"type":"array","items":{"type":"string","enum":["chatgpt","perplexity","gemini","ai-overview","ai-mode","bing-ai-mode","claude"]},"minItems":1,"maxItems":7},{"type":"null"}]},"country":{"anyOf":[{"type":"string","enum":["us","gb","ca","au","in","de","fr","pk","ae"]},{"type":"null"}]},"frequency":{"anyOf":[{"type":"string","enum":["manual","daily","weekly"]},{"type":"null"}]}},"additionalProperties":false}}},"required":true}},"delete":{"tags":["Brands"],"operationId":"brands.remove","parameters":[{"name":"brandId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKey":[]}],"responses":{"204":{"description":"<No Content>"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"SubscriptionRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}}},"summary":"Delete a brand"}},"/v1/brands/discover":{"post":{"tags":["Brands"],"operationId":"brands.discover","parameters":[],"security":[{"apiKey":[]}],"responses":{"202":{"description":"Job","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"SubscriptionRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}}},"summary":"Analyze a site","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","minLength":3,"maxLength":2048}},"required":["url"],"additionalProperties":false}}},"required":true}}},"/v1/brands/{brandId}/profile/refresh":{"post":{"tags":["Brands"],"operationId":"brands.refreshProfile","parameters":[{"name":"brandId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKey":[]}],"responses":{"202":{"description":"Job","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"SubscriptionRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}}},"summary":"Refresh a brand profile"}},"/v1/brands/{brandId}/competitors":{"post":{"tags":["Brands"],"operationId":"brands.addCompetitor","parameters":[{"name":"brandId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKey":[]}],"responses":{"201":{"description":"Competitor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompetitorEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"SubscriptionRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}}},"summary":"Add a competitor","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"domain":{"anyOf":[{"type":"string","maxLength":253},{"type":"null"}]}},"required":["name"],"additionalProperties":false}}},"required":true}}},"/v1/brands/{brandId}/competitors/{competitorId}":{"delete":{"tags":["Brands"],"operationId":"brands.removeCompetitor","parameters":[{"name":"brandId","in":"path","schema":{"type":"string"},"required":true},{"name":"competitorId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKey":[]}],"responses":{"204":{"description":"<No Content>"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"SubscriptionRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}}},"summary":"Remove a competitor"}},"/v1/brands/{brandId}/prompts":{"get":{"tags":["Prompts"],"operationId":"prompts.list","parameters":[{"name":"brandId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/PromptWithStatsEncoded"}}},"required":["items"],"additionalProperties":false}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"SubscriptionRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}}},"summary":"List prompts"},"post":{"tags":["Prompts"],"operationId":"prompts.add","parameters":[{"name":"brandId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKey":[]}],"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"prompts":{"type":"array","items":{"$ref":"#/components/schemas/PromptEncoded"}}},"required":["prompts"],"additionalProperties":false}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"PlanLimitExceeded | SubscriptionRequired","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/PlanLimitExceededEncoded"},{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}}},"summary":"Add prompts","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"prompts":{"type":"array","prefixItems":[{"type":"string"}],"minItems":1,"items":{"type":"string"},"maxItems":50},"topic":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}]}},"required":["prompts"],"additionalProperties":false}}},"required":true}}},"/v1/brands/{brandId}/prompts/{promptId}":{"get":{"tags":["Prompts"],"operationId":"prompts.get","parameters":[{"name":"brandId","in":"path","schema":{"type":"string"},"required":true},{"name":"promptId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"PromptDetail","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromptDetailEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"SubscriptionRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}}},"summary":"Get a prompt"},"patch":{"tags":["Prompts"],"operationId":"prompts.update","parameters":[{"name":"brandId","in":"path","schema":{"type":"string"},"required":true},{"name":"promptId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKey":[]}],"responses":{"204":{"description":"<No Content>"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"PlanLimitExceeded | SubscriptionRequired","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/PlanLimitExceededEncoded"},{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}}},"summary":"Update a prompt","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"anyOf":[{"type":"string"},{"type":"null"}]},"topic":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"},{"type":"null"}]},"active":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":false}}},"required":true}},"delete":{"tags":["Prompts"],"operationId":"prompts.remove","parameters":[{"name":"brandId","in":"path","schema":{"type":"string"},"required":true},{"name":"promptId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKey":[]}],"responses":{"204":{"description":"<No Content>"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"SubscriptionRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}}},"summary":"Delete a prompt"}},"/v1/brands/{brandId}/prompts/suggest":{"post":{"tags":["Prompts"],"operationId":"prompts.suggest","parameters":[{"name":"brandId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKey":[]}],"responses":{"202":{"description":"Job","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"SubscriptionRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}}},"summary":"Suggest prompts"}},"/v1/brands/{brandId}/overview":{"get":{"tags":["Analytics"],"operationId":"analytics.overview","parameters":[{"name":"brandId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"Overview","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OverviewEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"SubscriptionRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}}},"summary":"Get the visibility overview"}},"/v1/brands/{brandId}/citations":{"get":{"tags":["Analytics"],"operationId":"analytics.citations","parameters":[{"name":"brandId","in":"path","schema":{"type":"string"},"required":true},{"name":"days","in":"query","schema":{"type":"string","enum":["7","30","90"]},"required":false}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"Citations","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CitationsEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"SubscriptionRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}}},"summary":"Get citations"}},"/v1/brands/{brandId}/scans":{"post":{"tags":["Scans"],"operationId":"scans.start","parameters":[{"name":"brandId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"runId":{"type":"string"}},"required":["runId"],"additionalProperties":false}}}},"400":{"description":"InvalidRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"PlanLimitExceeded | SubscriptionRequired","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/PlanLimitExceededEncoded"},{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}}},"summary":"Start a scan","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"promptIds":{"anyOf":[{"type":"array","items":{"type":"string","maxLength":64},"maxItems":600},{"type":"null"}]}},"additionalProperties":false}}},"required":true}},"get":{"tags":["Scans"],"operationId":"scans.list","parameters":[{"name":"brandId","in":"path","schema":{"type":"string"},"required":true},{"name":"pageToken","in":"query","schema":{"type":"string","maxLength":200},"required":false}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/RunEncoded"}},"nextPageToken":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["items","nextPageToken"],"additionalProperties":false}}}},"400":{"description":"InvalidRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"SubscriptionRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}}},"summary":"List scans"}},"/v1/brands/{brandId}/scans/active":{"get":{"tags":["Scans"],"operationId":"scans.active","parameters":[{"name":"brandId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"run":{"anyOf":[{"$ref":"#/components/schemas/RunEncoded"},{"type":"null"}]}},"required":["run"],"additionalProperties":false}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"SubscriptionRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}}},"summary":"Get the active scan"}},"/v1/brands/{brandId}/audits":{"post":{"tags":["Content audits"],"operationId":"audits.start","parameters":[{"name":"brandId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"auditId":{"type":"string"}},"required":["auditId"],"additionalProperties":false}}}},"400":{"description":"InvalidRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"SubscriptionRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}}},"summary":"Start a content audit","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","minLength":3,"maxLength":2000}},"required":["url"],"additionalProperties":false}}},"required":true}},"get":{"tags":["Content audits"],"operationId":"audits.list","parameters":[{"name":"brandId","in":"path","schema":{"type":"string"},"required":true},{"name":"pageToken","in":"query","schema":{"type":"string","maxLength":200},"required":false}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/ContentAuditEncoded"}},"nextPageToken":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["items","nextPageToken"],"additionalProperties":false}}}},"400":{"description":"InvalidRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"SubscriptionRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}}},"summary":"List content audits"}},"/v1/brands/{brandId}/audits/{auditId}":{"get":{"tags":["Content audits"],"operationId":"audits.get","parameters":[{"name":"brandId","in":"path","schema":{"type":"string"},"required":true},{"name":"auditId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"ContentAuditDetail","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentAuditDetailEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"SubscriptionRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}}},"summary":"Get a content audit"},"delete":{"tags":["Content audits"],"operationId":"audits.remove","parameters":[{"name":"brandId","in":"path","schema":{"type":"string"},"required":true},{"name":"auditId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKey":[]}],"responses":{"204":{"description":"<No Content>"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"SubscriptionRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}}},"summary":"Delete a content audit"}},"/v1/brands/{brandId}/changes":{"get":{"tags":["Content gaps and briefs"],"operationId":"opportunities.changes","parameters":[{"name":"brandId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/ChangeEventEncoded"}}},"required":["items"],"additionalProperties":false}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"SubscriptionRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}}},"summary":"List recent changes"}},"/v1/brands/{brandId}/gaps":{"get":{"tags":["Content gaps and briefs"],"operationId":"opportunities.gaps","parameters":[{"name":"brandId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/ContentGapEncoded"}}},"required":["items"],"additionalProperties":false}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"SubscriptionRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}}},"summary":"List content gaps"}},"/v1/brands/{brandId}/gaps/{promptId}/brief":{"post":{"tags":["Content gaps and briefs"],"operationId":"opportunities.writeBrief","parameters":[{"name":"brandId","in":"path","schema":{"type":"string"},"required":true},{"name":"promptId","in":"path","schema":{"type":"string"},"required":true},{"name":"replaceDraft","in":"query","schema":{"type":"string","enum":["true","false"]},"required":false}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"ContentBrief","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentBriefEncoded"}}}},"400":{"description":"InvalidRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"SubscriptionRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}}},"summary":"Write a content brief"}},"/v1/brands/{brandId}/briefs/{briefId}/checklist":{"put":{"tags":["Content gaps and briefs"],"operationId":"opportunities.checkBrief","parameters":[{"name":"brandId","in":"path","schema":{"type":"string"},"required":true},{"name":"briefId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKey":[]}],"responses":{"204":{"description":"<No Content>"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"SubscriptionRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}}},"summary":"Update a brief checklist","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"checked":{"type":"array","items":{"type":"integer","minimum":0,"maximum":9007199254740991}}},"required":["checked"],"additionalProperties":false}}},"required":true}}},"/v1/brands/{brandId}/briefs/{briefId}":{"get":{"tags":["Content gaps and briefs"],"operationId":"opportunities.getBrief","parameters":[{"name":"brandId","in":"path","schema":{"type":"string"},"required":true},{"name":"briefId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"BriefDetail","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriefDetailEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"SubscriptionRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}}},"summary":"Get a content brief"}},"/v1/brands/{brandId}/briefs/{briefId}/draft":{"put":{"tags":["Content gaps and briefs"],"operationId":"opportunities.saveDraft","parameters":[{"name":"brandId","in":"path","schema":{"type":"string"},"required":true},{"name":"briefId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKey":[]}],"responses":{"204":{"description":"<No Content>"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"SubscriptionRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}}},"summary":"Save a draft","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"markdown":{"type":"string","maxLength":200000}},"required":["markdown"],"additionalProperties":false}}},"required":true}},"post":{"tags":["Content gaps and briefs"],"operationId":"opportunities.writeDraft","parameters":[{"name":"brandId","in":"path","schema":{"type":"string"},"required":true},{"name":"briefId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"ContentBrief","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentBriefEncoded"}}}},"400":{"description":"InvalidRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"PlanLimitExceeded | SubscriptionRequired","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/PlanLimitExceededEncoded"},{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}}},"summary":"Write a draft","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"rereadPage":{"type":"boolean"}},"required":["rereadPage"],"additionalProperties":false}}},"required":true}}},"/v1/brands/{brandId}/shelf":{"get":{"tags":["Content gaps and briefs"],"operationId":"opportunities.shelf","parameters":[{"name":"brandId","in":"path","schema":{"type":"string"},"required":true},{"name":"days","in":"query","schema":{"type":"string","enum":["7","30","90"]},"required":false}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"Shelf","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShelfEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"SubscriptionRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}}},"summary":"List cited sources"},"put":{"tags":["Content gaps and briefs"],"operationId":"opportunities.markShelf","parameters":[{"name":"brandId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKey":[]}],"responses":{"204":{"description":"<No Content>"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"SubscriptionRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}}},"summary":"Mark a cited source","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"domain":{"type":"string","minLength":1,"maxLength":253},"placement":{"anyOf":[{"type":"string","enum":["present","absent"]},{"type":"null"}]}},"required":["domain","placement"],"additionalProperties":false}}},"required":true}}},"/v1/brands/{brandId}/integrations":{"get":{"tags":["Search integrations"],"operationId":"integrations.list","parameters":[{"name":"brandId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/SearchIntegrationEncoded"}}},"required":["items"],"additionalProperties":false}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"SubscriptionRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}}},"summary":"List search integrations"}},"/v1/brands/{brandId}/search":{"get":{"tags":["Search integrations"],"operationId":"integrations.analytics","parameters":[{"name":"brandId","in":"path","schema":{"type":"string"},"required":true},{"name":"provider","in":"query","schema":{"type":"string","enum":["google","bing"]},"required":true},{"name":"days","in":"query","schema":{"type":"string","enum":["7","28","90","180","365"]},"required":false}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"analytics":{"anyOf":[{"$ref":"#/components/schemas/SearchAnalyticsEncoded"},{"type":"null"}]}},"required":["analytics"],"additionalProperties":false}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"SubscriptionRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}}},"summary":"Get search analytics"}},"/v1/brands/{brandId}/integrations/{provider}/sites":{"get":{"tags":["Search integrations"],"operationId":"integrations.listSites","parameters":[{"name":"brandId","in":"path","schema":{"type":"string"},"required":true},{"name":"provider","in":"path","schema":{"type":"string","enum":["google","bing"]},"required":true}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/SearchSiteEncoded"}}},"required":["items"],"additionalProperties":false}}}},"400":{"description":"InvalidRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"SubscriptionRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}},"502":{"description":"UpstreamError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpstreamErrorEncoded"}}}}},"summary":"List sites for a provider"}},"/v1/brands/{brandId}/integrations/{provider}/site":{"put":{"tags":["Search integrations"],"operationId":"integrations.selectSite","parameters":[{"name":"brandId","in":"path","schema":{"type":"string"},"required":true},{"name":"provider","in":"path","schema":{"type":"string","enum":["google","bing"]},"required":true}],"security":[{"apiKey":[]}],"responses":{"204":{"description":"<No Content>"},"400":{"description":"InvalidRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"SubscriptionRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}},"502":{"description":"UpstreamError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpstreamErrorEncoded"}}}}},"summary":"Select a site","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"siteUrl":{"type":"string","minLength":1,"maxLength":2048}},"required":["siteUrl"],"additionalProperties":false}}},"required":true}}},"/v1/brands/{brandId}/integrations/{provider}/sync":{"post":{"tags":["Search integrations"],"operationId":"integrations.sync","parameters":[{"name":"brandId","in":"path","schema":{"type":"string"},"required":true},{"name":"provider","in":"path","schema":{"type":"string","enum":["google","bing"]},"required":true}],"security":[{"apiKey":[]}],"responses":{"204":{"description":"<No Content>"},"400":{"description":"InvalidRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"SubscriptionRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}},"502":{"description":"UpstreamError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpstreamErrorEncoded"}}}}},"summary":"Sync search data"}},"/v1/brands/{brandId}/integrations/{provider}":{"delete":{"tags":["Search integrations"],"operationId":"integrations.disconnect","parameters":[{"name":"brandId","in":"path","schema":{"type":"string"},"required":true},{"name":"provider","in":"path","schema":{"type":"string","enum":["google","bing"]},"required":true}],"security":[{"apiKey":[]}],"responses":{"204":{"description":"<No Content>"},"400":{"description":"InvalidRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"SubscriptionRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}}},"summary":"Disconnect a provider"}},"/v1/billing":{"get":{"tags":["Billing"],"operationId":"billing.overview","parameters":[],"security":[{"apiKey":[]}],"responses":{"200":{"description":"BillingOverview","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingOverviewEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}},"502":{"description":"UpstreamError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpstreamErrorEncoded"}}}}},"summary":"Get plan and usage"}},"/v1/jobs/{jobId}":{"get":{"tags":["Jobs"],"operationId":"jobs.get","parameters":[{"name":"jobId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"Job","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}}},"402":{"description":"SubscriptionRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRequiredEncoded"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitedEncoded"}}}}},"summary":"Get a job"}},"/v1/health":{"get":{"tags":["System"],"operationId":"health","parameters":[],"security":[],"responses":{"204":{"description":"<No Content>"}},"summary":"Health check"}}},"components":{"schemas":{"RateLimitedEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["RateLimited"]},"message":{"type":"string"},"retryAfterSeconds":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["_tag","message","retryAfterSeconds"],"additionalProperties":false},"ForbiddenEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["Forbidden"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"UnauthorizedEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["Unauthorized"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"SubscriptionRequiredEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["SubscriptionRequired"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"NotFoundEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["NotFound"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"JobEncoded":{"type":"object","properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["discover","suggestPrompts","refreshProfile"]},"status":{"type":"string","enum":["running","completed","failed"]},"error":{"anyOf":[{"type":"string"},{"type":"null"}]},"discovery":{"anyOf":[{"$ref":"#/components/schemas/DiscoveryEncoded"},{"type":"null"}]},"prompts":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"createdAt":{"type":"string"},"finishedAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","kind","status","error","discovery","prompts","createdAt","finishedAt"],"additionalProperties":false},"DiscoveryEncoded":{"type":"object","properties":{"companyName":{"type":"string"},"domain":{"type":"string"},"aliases":{"type":"array","items":{"type":"string"}},"competitors":{"type":"array","items":{"type":"string"}},"prompts":{"type":"array","items":{"type":"string"}},"profile":{"anyOf":[{"$ref":"#/components/schemas/BrandProfileEncoded"},{"type":"null"}]},"pages":{"type":"array","items":{"$ref":"#/components/schemas/SitePageEncoded"}}},"required":["companyName","domain","aliases","competitors","prompts","profile","pages"],"additionalProperties":false},"SitePageEncoded":{"type":"object","properties":{"url":{"type":"string"},"kind":{"type":"string","enum":["home","pricing","product","integration","use-case","comparison","alternatives","blog","docs","changelog","customers","about","legal","other"]},"title":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["url","kind","title"],"additionalProperties":false},"BrandProfileEncoded":{"type":"object","properties":{"summary":{"type":"string"},"pricing":{"type":"string"},"platforms":{"type":"array","items":{"type":"string"}},"features":{"type":"array","items":{"type":"string"}},"audience":{"type":"string"},"notFor":{"type":"string"},"voice":{"type":"string"}},"required":["summary","pricing","platforms","features","audience","notFor","voice"],"additionalProperties":false},"UpstreamErrorEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["UpstreamError"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"BillingOverviewEncoded":{"type":"object","properties":{"state":{"$ref":"#/components/schemas/BillingStateEncoded"},"plans":{"type":"array","items":{"$ref":"#/components/schemas/BillingPlanEncoded"}}},"required":["state","plans"],"additionalProperties":false},"BillingPlanEncoded":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"price":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"limits":{"$ref":"#/components/schemas/BillingLimitsEncoded"},"trialDays":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"attachAction":{"type":"string","enum":["activate","upgrade","downgrade","purchase","none"]},"trialAvailable":{"type":"boolean"},"current":{"type":"boolean"},"scheduled":{"type":"boolean"}},"required":["id","name","price","limits","trialDays","attachAction","trialAvailable","current","scheduled"],"additionalProperties":false},"BillingLimitsEncoded":{"type":"object","properties":{"brands":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"prompts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"credits":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"articles":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"frequencies":{"type":"array","items":{"type":"string","enum":["manual","daily","weekly"]}}},"required":["brands","prompts","credits","articles","frequencies"],"additionalProperties":false},"BillingStateEncoded":{"type":"object","properties":{"status":{"type":"string","enum":["none","trialing","active","past_due"]},"hasAccess":{"type":"boolean"},"planId":{"anyOf":[{"type":"string"},{"type":"null"}]},"planName":{"anyOf":[{"type":"string"},{"type":"null"}]},"trialEndsAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"cancelsAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"renewsAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"scheduledPlanId":{"anyOf":[{"type":"string"},{"type":"null"}]},"limits":{"$ref":"#/components/schemas/BillingLimitsEncoded"},"usage":{"$ref":"#/components/schemas/BillingUsageEncoded"},"creditsRemaining":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"creditsPurchased":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"creditsResetAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"articlesRemaining":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"articlesPurchased":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"articlesResetAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"draftsIncluded":{"type":"boolean"},"topUps":{"type":"object","properties":{"credits":{"type":"boolean"},"articles":{"type":"boolean"}},"required":["credits","articles"],"additionalProperties":false}},"required":["status","hasAccess","planId","planName","trialEndsAt","cancelsAt","renewsAt","scheduledPlanId","limits","usage","creditsRemaining","creditsPurchased","creditsResetAt","articlesRemaining","articlesPurchased","articlesResetAt","draftsIncluded","topUps"],"additionalProperties":false},"BillingUsageEncoded":{"type":"object","properties":{"brands":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"prompts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"credits":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"articles":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["brands","prompts","credits","articles"],"additionalProperties":false},"InvalidRequestEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["InvalidRequest"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"SearchSiteEncoded":{"type":"object","properties":{"siteUrl":{"type":"string"},"match":{"anyOf":[{"type":"string","enum":["exact","related"]},{"type":"null"}]}},"required":["siteUrl","match"],"additionalProperties":false},"SearchAnalyticsEncoded":{"type":"object","properties":{"provider":{"type":"string","enum":["google","bing"]},"siteUrl":{"type":"string"},"startDate":{"type":"string"},"endDate":{"type":"string"},"previousStartDate":{"type":"string"},"previousEndDate":{"type":"string"},"totals":{"$ref":"#/components/schemas/SearchTotalsEncoded"},"previous":{"$ref":"#/components/schemas/SearchTotalsEncoded"},"daily":{"type":"array","items":{"$ref":"#/components/schemas/SearchDayEncoded"}},"queries":{"$ref":"#/components/schemas/SearchBreakdownEncoded"},"pages":{"$ref":"#/components/schemas/SearchBreakdownEncoded"},"devices":{"type":"array","items":{"$ref":"#/components/schemas/SearchRowEncoded"}},"countries":{"type":"array","items":{"$ref":"#/components/schemas/SearchRowEncoded"}}},"required":["provider","siteUrl","startDate","endDate","previousStartDate","previousEndDate","totals","previous","daily","queries","pages","devices","countries"],"additionalProperties":false},"SearchRowEncoded":{"type":"object","properties":{"key":{"type":"string"},"clicks":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"impressions":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"ctr":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]},{"type":"null"}]},"position":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]},{"type":"null"}]},"previousClicks":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]},{"type":"null"}]},"citations":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]}},"required":["key","clicks","impressions","ctr","position","previousClicks","citations"],"additionalProperties":false},"SearchBreakdownEncoded":{"type":"object","properties":{"granularity":{"type":"string","enum":["daily","weekly"]},"startDate":{"anyOf":[{"type":"string"},{"type":"null"}]},"endDate":{"anyOf":[{"type":"string"},{"type":"null"}]},"clicks":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"rows":{"type":"array","items":{"$ref":"#/components/schemas/SearchRowEncoded"}},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["granularity","startDate","endDate","clicks","rows","total"],"additionalProperties":false},"SearchDayEncoded":{"type":"object","properties":{"date":{"type":"string"},"clicks":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"impressions":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"ctr":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]},{"type":"null"}]},"position":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]},{"type":"null"}]}},"required":["date","clicks","impressions","ctr","position"],"additionalProperties":false},"SearchTotalsEncoded":{"type":"object","properties":{"clicks":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"impressions":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"ctr":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]},{"type":"null"}]},"position":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]},{"type":"null"}]},"days":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["clicks","impressions","ctr","position","days"],"additionalProperties":false},"SearchIntegrationEncoded":{"type":"object","properties":{"provider":{"type":"string","enum":["google","bing"]},"available":{"type":"boolean"},"connection":{"anyOf":[{"$ref":"#/components/schemas/SearchConnectionEncoded"},{"type":"null"}]},"property":{"anyOf":[{"$ref":"#/components/schemas/SearchPropertyEncoded"},{"type":"null"}]}},"required":["provider","available","connection","property"],"additionalProperties":false},"SearchPropertyEncoded":{"type":"object","properties":{"siteUrl":{"type":"string"},"lastSyncedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"backfilled":{"type":"boolean"},"firstDate":{"anyOf":[{"type":"string"},{"type":"null"}]},"lastDate":{"anyOf":[{"type":"string"},{"type":"null"}]},"error":{"anyOf":[{"type":"string"},{"type":"null"}]},"syncing":{"type":"boolean"}},"required":["siteUrl","lastSyncedAt","backfilled","firstDate","lastDate","error","syncing"],"additionalProperties":false},"SearchConnectionEncoded":{"type":"object","properties":{"status":{"type":"string","enum":["active","reauth_required"]},"account":{"anyOf":[{"type":"string"},{"type":"null"}]},"connectedBy":{"anyOf":[{"type":"string"},{"type":"null"}]},"connectedAt":{"type":"string"},"error":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["status","account","connectedBy","connectedAt","error"],"additionalProperties":false},"ShelfEncoded":{"type":"object","properties":{"days":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"answers":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"entries":{"type":"array","items":{"$ref":"#/components/schemas/ShelfEntryEncoded"}}},"required":["days","answers","entries"],"additionalProperties":false},"ShelfEntryEncoded":{"type":"object","properties":{"domain":{"type":"string"},"kind":{"type":"string","enum":["competitor","publisher","directory","community"]},"owner":{"anyOf":[{"type":"string"},{"type":"null"}]},"answers":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"engines":{"type":"array","items":{"type":"string"}},"prompts":{"type":"array","items":{"type":"string"}},"pages":{"type":"array","items":{"$ref":"#/components/schemas/ShelfPageEncoded"}},"placement":{"anyOf":[{"type":"string","enum":["present","absent"]},{"type":"null"}]}},"required":["domain","kind","owner","answers","engines","prompts","pages","placement"],"additionalProperties":false},"ShelfPageEncoded":{"type":"object","properties":{"url":{"type":"string"},"title":{"type":"string"},"answers":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["url","title","answers"],"additionalProperties":false},"PlanLimitExceededEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["PlanLimitExceeded"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"ContentBriefEncoded":{"type":"object","properties":{"id":{"type":"string"},"brandId":{"type":"string"},"promptId":{"type":"string"},"status":{"type":"string","enum":["running","completed","failed"]},"brief":{"anyOf":[{"$ref":"#/components/schemas/BriefDocEncoded"},{"type":"null"}]},"error":{"anyOf":[{"type":"string"},{"type":"null"}]},"baselineMentioned":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"baselineTotal":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"checked":{"type":"array","items":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"pageUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"pageFetchedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"draftStatus":{"anyOf":[{"type":"string","enum":["running","completed","failed"]},{"type":"null"}]},"draft":{"anyOf":[{"$ref":"#/components/schemas/BriefDraftEncoded"},{"type":"null"}]},"draftError":{"anyOf":[{"type":"string"},{"type":"null"}]},"draftedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"draftMarkdown":{"anyOf":[{"type":"string"},{"type":"null"}]},"draftEditedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"},"finishedAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","brandId","promptId","status","brief","error","baselineMentioned","baselineTotal","checked","pageUrl","pageFetchedAt","draftStatus","draft","draftError","draftedAt","draftMarkdown","draftEditedAt","createdAt","finishedAt"],"additionalProperties":false},"BriefDraftEncoded":{"type":"object","properties":{"title":{"type":"string"},"sections":{"type":"array","items":{"$ref":"#/components/schemas/DraftSectionEncoded"}}},"required":["title","sections"],"additionalProperties":false},"DraftSectionEncoded":{"type":"object","properties":{"heading":{"type":"string"},"change":{"type":"string","enum":["keep","update","add"]},"body":{"type":"string"}},"required":["heading","change","body"],"additionalProperties":false},"BriefDocEncoded":{"type":"object","properties":{"workingTitle":{"type":"string"},"format":{"type":"string"},"angle":{"type":"string"},"audience":{"type":"string"},"existingPage":{"anyOf":[{"type":"string"},{"type":"null"}]},"competitorsToCounter":{"type":"array","items":{"$ref":"#/components/schemas/BriefCounterEncoded"}},"alreadyCovers":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"missingCoverage":{"type":"array","items":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/BriefNoteEncoded"}]}},"outline":{"type":"array","items":{"$ref":"#/components/schemas/BriefSectionEncoded"}},"faq":{"type":"array","items":{"type":"string"}},"sources":{"type":"array","items":{"type":"string"}},"checklist":{"type":"array","items":{"type":"string"}}},"required":["workingTitle","format","angle","audience","existingPage","competitorsToCounter","missingCoverage","outline","faq","sources","checklist"],"additionalProperties":false},"BriefSectionEncoded":{"type":"object","properties":{"heading":{"type":"string"},"goal":{"type":"string"},"points":{"type":"array","items":{"type":"string"}},"entries":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"change":{"anyOf":[{"type":"string","enum":["keep","update","add"]},{"type":"null"}]}},"required":["heading","goal","points"],"additionalProperties":false},"BriefNoteEncoded":{"type":"object","properties":{"title":{"type":"string"},"detail":{"type":"string"}},"required":["title","detail"],"additionalProperties":false},"BriefCounterEncoded":{"type":"object","properties":{"name":{"type":"string"},"claim":{"type":"string"}},"required":["name","claim"],"additionalProperties":false},"BriefDetailEncoded":{"type":"object","properties":{"prompt":{"type":"string"},"brief":{"$ref":"#/components/schemas/ContentBriefEncoded"},"originalMarkdown":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["prompt","brief","originalMarkdown"],"additionalProperties":false},"ContentGapEncoded":{"type":"object","properties":{"promptId":{"type":"string"},"prompt":{"type":"string"},"topic":{"anyOf":[{"type":"string"},{"type":"null"}]},"open":{"type":"boolean"},"visible":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"engines":{"type":"array","items":{"$ref":"#/components/schemas/GapEngineEncoded"}},"instead":{"type":"array","items":{"$ref":"#/components/schemas/GapCompetitorEncoded"}},"sources":{"type":"array","items":{"$ref":"#/components/schemas/GapSourceEncoded"}},"brief":{"anyOf":[{"$ref":"#/components/schemas/ContentBriefEncoded"},{"type":"null"}]}},"required":["promptId","prompt","topic","open","visible","total","engines","instead","sources","brief"],"additionalProperties":false},"GapSourceEncoded":{"type":"object","properties":{"url":{"type":"string"},"title":{"type":"string"},"engines":{"type":"array","items":{"type":"string"}}},"required":["url","title","engines"],"additionalProperties":false},"GapCompetitorEncoded":{"type":"object","properties":{"key":{"type":"string"},"name":{"type":"string"},"domain":{"anyOf":[{"type":"string"},{"type":"null"}]},"answers":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"engines":{"type":"array","items":{"type":"string"}}},"required":["key","name","domain","answers","engines"],"additionalProperties":false},"GapEngineEncoded":{"type":"object","properties":{"engine":{"type":"string"},"mentioned":{"type":"boolean"}},"required":["engine","mentioned"],"additionalProperties":false},"ChangeEventEncoded":{"type":"object","properties":{"promptId":{"type":"string"},"prompt":{"type":"string"},"engine":{"type":"string"},"kind":{"type":"string","enum":["gained","lost","up","down"]},"position":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"previousPosition":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"at":{"type":"string"},"previousAt":{"type":"string"}},"required":["promptId","prompt","engine","kind","position","previousPosition","at","previousAt"],"additionalProperties":false},"ContentAuditDetailEncoded":{"type":"object","properties":{"id":{"type":"string"},"brandId":{"type":"string"},"url":{"type":"string"},"status":{"type":"string","enum":["running","completed","failed"]},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"score":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]},{"type":"null"}]},"error":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"},"finishedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"report":{"anyOf":[{"$ref":"#/components/schemas/AuditReportEncoded"},{"type":"null"}]}},"required":["id","brandId","url","status","title","score","error","createdAt","finishedAt","report"],"additionalProperties":false},"AuditReportEncoded":{"type":"object","properties":{"title":{"type":"string"},"summary":{"type":"string"},"scores":{"$ref":"#/components/schemas/AuditScoresEncoded"},"crawlers":{"type":"array","items":{"$ref":"#/components/schemas/CrawlerAccessEncoded"}},"staticContent":{"$ref":"#/components/schemas/StaticContentEncoded"},"structure":{"type":"array","items":{"$ref":"#/components/schemas/AuditCheckEncoded"}},"structuredData":{"$ref":"#/components/schemas/StructuredDataEncoded"},"readiness":{"type":"array","items":{"$ref":"#/components/schemas/ReadinessDimensionEncoded"}},"prompts":{"type":"array","items":{"$ref":"#/components/schemas/PromptCoverageEncoded"}},"recommendations":{"type":"array","items":{"$ref":"#/components/schemas/RecommendationEncoded"}}},"required":["title","summary","scores","crawlers","staticContent","structure","structuredData","readiness","prompts","recommendations"],"additionalProperties":false},"RecommendationEncoded":{"type":"object","properties":{"priority":{"type":"string","enum":["high","medium","low"]},"area":{"type":"string"},"title":{"type":"string"},"detail":{"type":"string"}},"required":["priority","area","title","detail"],"additionalProperties":false},"PromptCoverageEncoded":{"type":"object","properties":{"promptId":{"type":"string"},"text":{"type":"string"},"coverage":{"type":"string","enum":["answered","partial","missing"]}},"required":["promptId","text","coverage"],"additionalProperties":false},"ReadinessDimensionEncoded":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"score":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reason":{"type":"string"}},"required":["key","label","score","reason"],"additionalProperties":false},"StructuredDataEncoded":{"type":"object","properties":{"types":{"type":"array","items":{"type":"string"}},"blocks":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"checks":{"type":"array","items":{"$ref":"#/components/schemas/AuditCheckEncoded"}}},"required":["types","blocks","checks"],"additionalProperties":false},"AuditCheckEncoded":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"status":{"type":"string","enum":["pass","warn","fail"]},"detail":{"type":"string"}},"required":["key","label","status","detail"],"additionalProperties":false},"StaticContentEncoded":{"type":"object","properties":{"words":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"textRatio":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"scripts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"clientRendered":{"type":"boolean"}},"required":["words","textRatio","scripts","clientRendered"],"additionalProperties":false},"CrawlerAccessEncoded":{"type":"object","properties":{"bot":{"type":"string"},"vendor":{"type":"string"},"purpose":{"type":"string","enum":["search","user","training"]},"robotsAllowed":{"type":"boolean"},"httpStatus":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"serverAllowed":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["bot","vendor","purpose","robotsAllowed","httpStatus","serverAllowed"],"additionalProperties":false},"AuditScoresEncoded":{"type":"object","properties":{"overall":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"crawlability":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"staticContent":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"structure":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"structuredData":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"readiness":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["overall","crawlability","staticContent","structure","structuredData","readiness"],"additionalProperties":false},"ContentAuditEncoded":{"type":"object","properties":{"id":{"type":"string"},"brandId":{"type":"string"},"url":{"type":"string"},"status":{"type":"string","enum":["running","completed","failed"]},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"score":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]},{"type":"null"}]},"error":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"},"finishedAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","brandId","url","status","title","score","error","createdAt","finishedAt"],"additionalProperties":false},"RunEncoded":{"type":"object","properties":{"id":{"type":"string"},"brandId":{"type":"string"},"status":{"type":"string","enum":["queued","running","completed","failed"]},"trigger":{"type":"string","enum":["manual","schedule","onboarding"]},"engines":{"type":"array","items":{"type":"string"}},"promptIds":{"type":"array","items":{"type":"string"}},"totalTasks":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"doneTasks":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"error":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"},"startedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"finishedAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","brandId","status","trigger","engines","promptIds","totalTasks","doneTasks","error","createdAt","startedAt","finishedAt"],"additionalProperties":false},"CitationsEncoded":{"type":"object","properties":{"days":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"answers":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"brands":{"type":"array","items":{"$ref":"#/components/schemas/CitationBrandEncoded"}},"urls":{"type":"array","items":{"$ref":"#/components/schemas/CitationUrlEncoded"}}},"required":["days","answers","brands","urls"],"additionalProperties":false},"CitationUrlEncoded":{"type":"object","properties":{"url":{"type":"string"},"title":{"type":"string"},"domain":{"type":"string"},"contentType":{"type":"string","enum":["listicle","comparison","review","how-to","forum","video","product","article","other"]},"citations":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"engines":{"type":"object","additionalProperties":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"prompts":{"type":"array","items":{"$ref":"#/components/schemas/CitationPromptEncoded"}},"own":{"type":"boolean"},"competitor":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["url","title","domain","contentType","citations","engines","prompts","own","competitor"],"additionalProperties":false},"CitationPromptEncoded":{"type":"object","properties":{"id":{"type":"string"},"text":{"type":"string"}},"required":["id","text"],"additionalProperties":false},"CitationBrandEncoded":{"type":"object","properties":{"key":{"type":"string"},"name":{"type":"string"},"domain":{"anyOf":[{"type":"string"},{"type":"null"}]},"isOwn":{"type":"boolean"}},"required":["key","name","domain","isOwn"],"additionalProperties":false},"OverviewEncoded":{"type":"object","properties":{"brand":{"$ref":"#/components/schemas/BrandEncoded"},"runs":{"type":"array","items":{"$ref":"#/components/schemas/RunStatsEncoded"}},"engineRuns":{"type":"object","additionalProperties":{"type":"array","items":{"$ref":"#/components/schemas/RunStatsEncoded"}}},"latest":{"anyOf":[{"$ref":"#/components/schemas/LatestOverviewEncoded"},{"type":"null"}]}},"required":["brand","runs","engineRuns","latest"],"additionalProperties":false},"LatestOverviewEncoded":{"type":"object","properties":{"run":{"$ref":"#/components/schemas/RunEncoded"},"stats":{"$ref":"#/components/schemas/RunStatsEncoded"},"previous":{"anyOf":[{"$ref":"#/components/schemas/RunStatsEncoded"},{"type":"null"}]},"leaderboard":{"type":"array","items":{"$ref":"#/components/schemas/LeaderboardEntryEncoded"}},"chartKeys":{"type":"array","items":{"$ref":"#/components/schemas/ChartKeyEncoded"}},"competitorTrend":{"type":"array","items":{"$ref":"#/components/schemas/CompetitorTrendPointEncoded"}},"byEngine":{"type":"array","items":{"$ref":"#/components/schemas/EngineStatsEncoded"}},"domains":{"type":"array","items":{"$ref":"#/components/schemas/DomainStatsEncoded"}}},"required":["run","stats","previous","leaderboard","chartKeys","competitorTrend","byEngine","domains"],"additionalProperties":false},"DomainStatsEncoded":{"type":"object","properties":{"domain":{"type":"string"},"answers":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"urls":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"own":{"type":"boolean"},"competitor":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["domain","answers","urls","own","competitor"],"additionalProperties":false},"EngineStatsEncoded":{"type":"object","properties":{"engine":{"type":"string"},"answers":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"failed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"ok":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"mentioned":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"visibility":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"avgPosition":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]},{"type":"null"}]},"cited":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["engine","answers","failed","ok","mentioned","visibility","avgPosition","cited"],"additionalProperties":false},"CompetitorTrendPointEncoded":{"type":"object","properties":{"date":{"type":"string"},"visibility":{"type":"object","additionalProperties":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}}},"required":["date","visibility"],"additionalProperties":false},"ChartKeyEncoded":{"type":"object","properties":{"key":{"type":"string"},"name":{"type":"string"},"isOwn":{"type":"boolean"}},"required":["key","name","isOwn"],"additionalProperties":false},"LeaderboardEntryEncoded":{"type":"object","properties":{"key":{"type":"string"},"name":{"type":"string"},"domain":{"anyOf":[{"type":"string"},{"type":"null"}]},"isOwn":{"type":"boolean"},"tracked":{"type":"boolean"},"mentions":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"visibility":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"shareOfVoice":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"avgPosition":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]},{"type":"null"}]}},"required":["key","name","domain","isOwn","tracked","mentions","visibility","shareOfVoice","avgPosition"],"additionalProperties":false},"RunStatsEncoded":{"type":"object","properties":{"runId":{"type":"string"},"date":{"type":"string"},"answers":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"mentioned":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"visibility":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"shareOfVoice":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"avgPosition":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]},{"type":"null"}]},"positive":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"sentimentScore":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]},{"type":"null"}]},"cited":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"citationRate":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["runId","date","answers","mentioned","visibility","shareOfVoice","avgPosition","positive","sentimentScore","cited","citationRate"],"additionalProperties":false},"BrandEncoded":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"domain":{"type":"string"},"aliases":{"type":"array","items":{"type":"string"}},"country":{"type":"string"},"language":{"type":"string"},"engines":{"type":"array","items":{"type":"string"}},"frequency":{"type":"string","enum":["manual","daily","weekly"]},"nextScanAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","organizationId","name","domain","aliases","country","language","engines","frequency","nextScanAt","createdAt","updatedAt"],"additionalProperties":false},"PromptEncoded":{"type":"object","properties":{"id":{"type":"string"},"brandId":{"type":"string"},"text":{"type":"string"},"topic":{"anyOf":[{"type":"string"},{"type":"null"}]},"active":{"type":"boolean"},"createdAt":{"type":"string"}},"required":["id","brandId","text","topic","active","createdAt"],"additionalProperties":false},"PromptDetailEncoded":{"type":"object","properties":{"brand":{"$ref":"#/components/schemas/BrandEncoded"},"prompt":{"$ref":"#/components/schemas/PromptEncoded"},"history":{"type":"array","items":{"$ref":"#/components/schemas/PromptHistoryPointEncoded"}},"answers":{"type":"array","items":{"$ref":"#/components/schemas/AnswerWithDetailsEncoded"}}},"required":["brand","prompt","history","answers"],"additionalProperties":false},"AnswerWithDetailsEncoded":{"type":"object","properties":{"id":{"type":"string"},"runId":{"type":"string"},"promptId":{"type":"string"},"engine":{"type":"string"},"mode":{"type":"string","enum":["plain","search","ai-overview"]},"text":{"type":"string"},"error":{"anyOf":[{"type":"string"},{"type":"null"}]},"mentioned":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"position":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"sentiment":{"anyOf":[{"type":"string","enum":["positive","neutral","negative"]},{"type":"null"}]},"excerpt":{"anyOf":[{"type":"string"},{"type":"null"}]},"ownSiteCited":{"type":"boolean"},"createdAt":{"type":"string"},"sources":{"type":"array","items":{"$ref":"#/components/schemas/SourceEncoded"}},"mentions":{"type":"array","items":{"$ref":"#/components/schemas/MentionEncoded"}}},"required":["id","runId","promptId","engine","mode","text","error","mentioned","position","sentiment","excerpt","ownSiteCited","createdAt","sources","mentions"],"additionalProperties":false},"MentionEncoded":{"type":"object","properties":{"answerId":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"},"isOwn":{"type":"boolean"},"position":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"domain":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["answerId","name","key","isOwn","position","domain"],"additionalProperties":false},"SourceEncoded":{"type":"object","properties":{"answerId":{"type":"string"},"rank":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"url":{"type":"string"},"title":{"type":"string"},"domain":{"type":"string"}},"required":["answerId","rank","url","title","domain"],"additionalProperties":false},"PromptHistoryPointEncoded":{"type":"object","properties":{"runId":{"type":"string"},"date":{"type":"string"},"answers":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"mentioned":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"avgPosition":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]},{"type":"null"}]},"visibility":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"engines":{"type":"array","items":{"$ref":"#/components/schemas/PromptEngineResultEncoded"}}},"required":["runId","date","answers","mentioned","avgPosition","visibility","engines"],"additionalProperties":false},"PromptEngineResultEncoded":{"type":"object","properties":{"engine":{"type":"string"},"mentioned":{"type":"boolean"},"position":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]}},"required":["engine","mentioned","position"],"additionalProperties":false},"PromptWithStatsEncoded":{"type":"object","properties":{"id":{"type":"string"},"brandId":{"type":"string"},"text":{"type":"string"},"topic":{"anyOf":[{"type":"string"},{"type":"null"}]},"active":{"type":"boolean"},"createdAt":{"type":"string"},"stats":{"anyOf":[{"$ref":"#/components/schemas/PromptStatsEncoded"},{"type":"null"}]}},"required":["id","brandId","text","topic","active","createdAt","stats"],"additionalProperties":false},"PromptStatsEncoded":{"type":"object","properties":{"answers":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"mentioned":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"visibility":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"avgPosition":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]},{"type":"null"}]},"lastScannedAt":{"type":"string"},"engines":{"type":"array","items":{"$ref":"#/components/schemas/PromptEngineResultEncoded"}},"topBrands":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["name","count"],"additionalProperties":false}}},"required":["answers","mentioned","visibility","avgPosition","lastScannedAt","engines","topBrands"],"additionalProperties":false},"CompetitorEncoded":{"type":"object","properties":{"id":{"type":"string"},"brandId":{"type":"string"},"name":{"type":"string"},"domain":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"}},"required":["id","brandId","name","domain","createdAt"],"additionalProperties":false},"BrandWithCompetitorsEncoded":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"domain":{"type":"string"},"aliases":{"type":"array","items":{"type":"string"}},"country":{"type":"string"},"language":{"type":"string"},"engines":{"type":"array","items":{"type":"string"}},"frequency":{"type":"string","enum":["manual","daily","weekly"]},"nextScanAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"competitors":{"type":"array","items":{"$ref":"#/components/schemas/CompetitorEncoded"}},"profile":{"anyOf":[{"$ref":"#/components/schemas/BrandProfileEncoded"},{"type":"null"}]},"profileUpdatedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"siteContent":{"type":"array","items":{"$ref":"#/components/schemas/SiteContentCountEncoded"}}},"required":["id","organizationId","name","domain","aliases","country","language","engines","frequency","nextScanAt","createdAt","updatedAt","competitors","profile","profileUpdatedAt","siteContent"],"additionalProperties":false},"SiteContentCountEncoded":{"type":"object","properties":{"kind":{"type":"string","enum":["home","pricing","product","integration","use-case","comparison","alternatives","blog","docs","changelog","customers","about","legal","other"]},"count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["kind","count"],"additionalProperties":false}},"securitySchemes":{"apiKey":{"type":"http","scheme":"bearer","description":"An API key from Settings → API keys, sent as `Authorization: Bearer fn_...`."}}},"security":[{"apiKey":[]}],"tags":[{"name":"Brands"},{"name":"Prompts"},{"name":"Analytics"},{"name":"Scans"},{"name":"Content audits"},{"name":"Content gaps and briefs"},{"name":"Search integrations"},{"name":"Billing"},{"name":"Jobs"},{"name":"System"}],"servers":[{"url":"https://api.footnotehq.com"}]}