The whole octolens onboard read model: the current step, its status, the per-step view and what is next. A pure read. Answers for every org with an onboarding marker, including one waiting for review, a paywalled one and a finished one.
Clerk API key. Create one in Settings → API Keys. Pass as Authorization: Bearer <key>. Keys carry a scope — read, write (implies read) or admin (implies write) — chosen when the key is minted. Each operation's security requirement (and its x-required-scope extension) names the minimum scope it needs; request the least-privileged key that covers the operations you call.
needs_input = a decision or value is wanted · running = server work in flight, poll · needs_human = a person must act (open a link, read an email) · pending_review = the workspace waits for manual review · done = nothing left to do.
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Octolens","colors":{"primary":"#7551B5","light":"#9266CC","dark":"#553788"},"logo":"https://mintcdn.com/octolens/WNDsqX0Zcsk1Nv6R/logo.png?fit=max\u0026auto=format\u0026n=WNDsqX0Zcsk1Nv6R\u0026q=85\u0026s=3b4eb4dc59ef232691d1bfb70bd366ef","favicon":"https://mintcdn.com/octolens/WNDsqX0Zcsk1Nv6R/favicon.png?fit=max\u0026auto=format\u0026n=WNDsqX0Zcsk1Nv6R\u0026q=85\u0026s=8d4d87d123e6614f6f2b19d5d6dbc931","navbar":{"links":[{"href":"mailto:hi@octolens.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.octolens.com"}},"footer":{"socials":{"x":"https://x.com/Octolens","website":"https://octolens.com"}},"integrations":{"plausible":{"domain":"octolens.com"}},"contextual":{"options":["copy","view","chatgpt","claude",{"title":"Copy all docs as Markdown","description":"Full documentation including every API endpoint, for pasting into AI tools","icon":"books","href":"/llms-full.txt"}],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"octolens","hasAudioNarration":false,"actualSubdomain":"octolens","customDomains":["octolens.com"],"gitSource":{"type":"github","owner":"octolens","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6aed7fafcf04481e86d79d59","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"API Reference","count":116},{"language":"default","tag":"API v2","count":115},{"language":"default","tag":"CLI","count":39},{"language":"default","tag":"Documentation","count":24},{"language":"default","tag":"Onboarding","count":18},{"language":"default","tag":"Analytics","count":12},{"language":"default","tag":"Integrations","count":11},{"language":"default","tag":"Keywords","count":11},{"language":"default","tag":"Concepts","count":10},{"language":"default","tag":"Commands","count":9}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"@media (min-width: 1024px){#navbar-transition-maple{width:calc(100vw - 19rem)!important;max-width:calc(100vw - 19rem)!important}.nav-tabs{flex:1 1 auto;justify-content:center;padding-right:8rem}#octolens-go-to-app{position:fixed;right:1.5rem;top:0.5rem;z-index:50;display:inline-flex;align-items:center;gap:0.375rem;background:#553788;color:#fff;padding:0.375rem 0.875rem;border-radius:9999px;font-size:0.8125rem;font-weight:500;text-decoration:none;transition:background-color 0.15s ease;white-space:nowrap}#octolens-go-to-app:hover{background:#7551B5;color:#fff}#octolens-go-to-app svg{width:0.75rem;height:0.75rem}}@media (max-width: 1023px){#octolens-go-to-app{display:none}}"}],"page":{"pagePath":"api-reference/onboarding/read-the-onboarding-state","slug":"/api-reference/onboarding/read-the-onboarding-state","pageMetadata":{"title":"Read the onboarding state","description":"The whole `octolens onboard` read model: the current step, its status, the per-step view and what is next. A pure read. Answers for every org with an onboarding marker, including one waiting for review, a paywalled one and a finished one.","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/onboarding","href":"/api-reference/onboarding/read-the-onboarding-state","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"The whole \", _jsx(_components.code, {\n children: \"octolens onboard\"\n }), \" read model: the current step, its status, the per-step view and what is next. A pure read. Answers for every org with an onboarding marker, including one waiting for review, a paywalled one and a finished one.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Read the onboarding state","description":"The whole `octolens onboard` read model: the current step, its status, the per-step view and what is next. A pure read. Answers for every org with an onboarding marker, including one waiting for review, a paywalled one and a finished one.","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/onboarding","href":"/api-reference/onboarding/read-the-onboarding-state","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/octolens/e456fc9c822f0ecf/scripts.js"],"openApiReferenceData":{"operation":{"operationId":"getOnboarding","summary":"Read the onboarding state","description":"The whole `octolens onboard` read model: the current step, its status, the per-step view and what is next. A pure read. Answers for every org with an onboarding marker, including one waiting for review, a paywalled one and a finished one.","tags":["Onboarding"],"x-required-scope":"read","security":["ef58363a-a468-47c4-90e7-3faba4bbeaa6"],"responses":{"200":"f4c6d5e3-372f-4ca0-b3cf-5b152431820e","400":"5bde309b-c9cc-44fe-8359-8389f0b151a5","401":"6e75973c-de3e-4eec-a5f5-76f44ee22d8e","403":"2da78701-4976-4a21-b76c-b562be50d064","429":"83eba23d-78e7-413b-9152-9bb31fcb5dbf","500":"9e837724-7994-40ef-a8cb-3d2c6690ca2a"},"method":"get","type":"path","servers":["95c85c73-69fc-4455-89ee-030232ddd6be","7edc9ee9-5b0a-4aa6-8470-691b1ed2a22a"],"path":"/api/v2/onboarding","baseUrlOptions":["https://app.octolens.com","http://localhost:3000"],"title":"Read the onboarding state","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"responses":{"f4c6d5e3-372f-4ca0-b3cf-5b152431820e":{"description":"200 response","content":{"application/json":{"schema":{"type":"object","properties":{"step":{"description":"Where the onboarding is: `account → website → keywords → mentions → feeds → slack → mcp → complete`.","type":"string","enum":["account","website","keywords","mentions","feeds","slack","mcp","complete"],"isRequired":true,"uniqueKey":"step","typeLabel":"enum\u003cstring>"},"status":{"description":"`needs_input` = a decision or value is wanted · `running` = server work in flight, poll · `needs_human` = a person must act (open a link, read an email) · `pending_review` = the workspace waits for manual review · `done` = nothing left to do.","type":"string","enum":["needs_input","running","needs_human","pending_review","done"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"revision":{"description":"Hash of the onboarding timestamps, the draft's updatedAt and the marker's tail (`--if-revision`).","type":"string","isRequired":true,"uniqueKey":"revision","typeLabel":"string"},"engine":{"type":"string","enum":["sonar","classic"],"isRequired":true,"uniqueKey":"engine","typeLabel":"enum\u003cstring>"},"handle":{"type":"object","properties":{"orgId":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"handle.orgId.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"handle.orgId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"handle.orgId","typeLabel":"string | null"},"draftId":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"handle.draftId.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"handle.draftId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"handle.draftId","typeLabel":"string | null"},"proposalId":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"handle.proposalId.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"handle.proposalId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"handle.proposalId","typeLabel":"string | null"}},"required":["orgId","draftId","proposalId"],"additionalProperties":false,"isRequired":true,"uniqueKey":"handle","typeLabel":"object"},"completed":{"type":"array","items":{"description":"Where the onboarding is: `account → website → keywords → mentions → feeds → slack → mcp → complete`.","type":"string","enum":["account","website","keywords","mentions","feeds","slack","mcp","complete"],"uniqueKey":"completed.items.[INDEX]","typeLabel":"enum\u003cstring>"},"isRequired":true,"uniqueKey":"completed","typeLabel":"enum\u003cstring>[]"},"reviewed":{"description":"True after manual review approved the workspace (the post-review tail).","type":"boolean","isRequired":true,"uniqueKey":"reviewed","typeLabel":"boolean"},"pendingReview":{"type":"boolean","isRequired":true,"uniqueKey":"pendingReview","typeLabel":"boolean"},"trial":{"oneOf":[{"type":"object","description":"Null until the workspace exists (keywords confirmed).","required":["plan","allowance","startsAt","endsAt"],"properties":{"plan":{"type":"string","const":"Free_trial","isRequired":true,"uniqueKey":"trial.oneOf.0.plan","typeLabel":"string"},"allowance":{"description":"Trial mention allowance.","type":"integer","minimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"trial.oneOf.0.allowance","typeLabel":"integer"},"startsAt":{"oneOf":[{"type":"string","description":"`on_finish` until setup finishes (`onboardingFinishedAt`), then the ISO start.","const":"on_finish","isRequired":true,"uniqueKey":"trial.oneOf.0.startsAt.oneOf.0","typeLabel":"string"},{"type":"string","description":"`on_finish` until setup finishes (`onboardingFinishedAt`), then the ISO start.","isRequired":true,"uniqueKey":"trial.oneOf.0.startsAt.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"trial.oneOf.0.startsAt","typeLabel":"string"},"endsAt":{"oneOf":[{"type":"string","description":"Null until the trial clock started (design D11).","isRequired":true,"uniqueKey":"trial.oneOf.0.endsAt.oneOf.0","typeLabel":"string"},{"type":"null","description":"Null until the trial clock started (design D11).","isRequired":true,"uniqueKey":"trial.oneOf.0.endsAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"trial.oneOf.0.endsAt","typeLabel":"string | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"trial.oneOf.0","typeLabel":"object"},{"type":"null","description":"Null until the workspace exists (keywords confirmed).","isRequired":true,"uniqueKey":"trial.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"trial","typeLabel":"object | null"},"view":{"description":"The current step's section is set; the others may be null.","type":"object","properties":{"website":{"oneOf":[{"type":"object","required":["domain","scanSteps","profile","confirmed"],"properties":{"domain":{"type":"string","isRequired":true,"uniqueKey":"view.website.oneOf.0.domain","typeLabel":"string"},"scanSteps":{"type":"array","items":{"type":"object","properties":{"step":{"type":"string","enum":["cache","enrichment","basic_info","navigation","product_areas"],"isRequired":true,"uniqueKey":"view.website.oneOf.0.scanSteps.items.[INDEX].step","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["pending","ok","failed","skipped"],"isRequired":true,"uniqueKey":"view.website.oneOf.0.scanSteps.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"line":{"type":"string","isRequired":true,"uniqueKey":"view.website.oneOf.0.scanSteps.items.[INDEX].line","typeLabel":"string"},"ms":{"type":"integer","minimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"view.website.oneOf.0.scanSteps.items.[INDEX].ms","typeLabel":"integer"}},"required":["step","status","line","ms"],"additionalProperties":false,"uniqueKey":"view.website.oneOf.0.scanSteps.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"view.website.oneOf.0.scanSteps","typeLabel":"object[]"},"profile":{"oneOf":[{"type":"object","description":"What the domain scan learned about the company. Every field the wizard renders is editable.","required":["name","description","industry","website","domainVariants","productAreas","ownAccounts","founderHandles","protectedVocabulary","competitors","relevanceContext","productUseCases","companyMoat"],"properties":{"name":{"type":"string","maxLength":191,"isRequired":true,"uniqueKey":"view.website.oneOf.0.profile.oneOf.0.name","typeLabel":"string"},"description":{"type":"string","maxLength":2000,"isRequired":true,"uniqueKey":"view.website.oneOf.0.profile.oneOf.0.description","typeLabel":"string"},"industry":{"type":"string","maxLength":191,"isRequired":true,"uniqueKey":"view.website.oneOf.0.profile.oneOf.0.industry","typeLabel":"string"},"website":{"type":"string","maxLength":300,"isRequired":true,"uniqueKey":"view.website.oneOf.0.profile.oneOf.0.website","typeLabel":"string"},"domainVariants":{"maxItems":10,"type":"array","items":{"type":"string","maxLength":255,"uniqueKey":"view.website.oneOf.0.profile.oneOf.0.domainVariants.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"view.website.oneOf.0.profile.oneOf.0.domainVariants","typeLabel":"string[]"},"productAreas":{"maxItems":8,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":60,"isRequired":true,"uniqueKey":"view.website.oneOf.0.profile.oneOf.0.productAreas.items.[INDEX].label","typeLabel":"string"},"path":{"description":"Site path, e.g. `/pricing`.","type":"string","minLength":1,"maxLength":300,"isRequired":true,"uniqueKey":"view.website.oneOf.0.profile.oneOf.0.productAreas.items.[INDEX].path","typeLabel":"string"}},"required":["label","path"],"additionalProperties":false,"uniqueKey":"view.website.oneOf.0.profile.oneOf.0.productAreas.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"view.website.oneOf.0.profile.oneOf.0.productAreas","typeLabel":"object[]"},"ownAccounts":{"maxItems":30,"type":"array","items":{"type":"object","properties":{"platform":{"type":"string","enum":["x","linkedin","domain"],"isRequired":true,"uniqueKey":"view.website.oneOf.0.profile.oneOf.0.ownAccounts.items.[INDEX].platform","typeLabel":"enum\u003cstring>"},"handle":{"type":"string","minLength":1,"maxLength":191,"isRequired":true,"uniqueKey":"view.website.oneOf.0.profile.oneOf.0.ownAccounts.items.[INDEX].handle","typeLabel":"string"}},"required":["platform","handle"],"additionalProperties":false,"uniqueKey":"view.website.oneOf.0.profile.oneOf.0.ownAccounts.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"view.website.oneOf.0.profile.oneOf.0.ownAccounts","typeLabel":"object[]"},"founderHandles":{"maxItems":10,"type":"array","items":{"type":"string","maxLength":191,"uniqueKey":"view.website.oneOf.0.profile.oneOf.0.founderHandles.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"view.website.oneOf.0.profile.oneOf.0.founderHandles","typeLabel":"string[]"},"protectedVocabulary":{"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":60,"uniqueKey":"view.website.oneOf.0.profile.oneOf.0.protectedVocabulary.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"view.website.oneOf.0.profile.oneOf.0.protectedVocabulary","typeLabel":"string[]"},"competitors":{"maxItems":6,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120,"isRequired":true,"uniqueKey":"view.website.oneOf.0.profile.oneOf.0.competitors.items.[INDEX].name","typeLabel":"string"},"why":{"description":"One line: why they compete.","type":"string","maxLength":300,"isRequired":true,"uniqueKey":"view.website.oneOf.0.profile.oneOf.0.competitors.items.[INDEX].why","typeLabel":"string"},"domain":{"description":"The competitor's site as a bare host (`monocle.so`), when known. Absent, never empty.","example":"monocle.so","type":"string","maxLength":255,"uniqueKey":"view.website.oneOf.0.profile.oneOf.0.competitors.items.[INDEX].domain","typeLabel":"string"},"handle":{"description":"The competitor's X handle, with @ (`@monoclehq`), when known. Absent, never empty.","example":"@monoclehq","type":"string","maxLength":16,"uniqueKey":"view.website.oneOf.0.profile.oneOf.0.competitors.items.[INDEX].handle","typeLabel":"string"}},"required":["name","why"],"additionalProperties":false,"uniqueKey":"view.website.oneOf.0.profile.oneOf.0.competitors.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"view.website.oneOf.0.profile.oneOf.0.competitors","typeLabel":"object[]"},"relevanceContext":{"type":"string","maxLength":400,"isRequired":true,"uniqueKey":"view.website.oneOf.0.profile.oneOf.0.relevanceContext","typeLabel":"string"},"productUseCases":{"maxItems":5,"type":"array","items":{"type":"string","maxLength":500,"uniqueKey":"view.website.oneOf.0.profile.oneOf.0.productUseCases.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"view.website.oneOf.0.profile.oneOf.0.productUseCases","typeLabel":"string[]"},"companyMoat":{"type":"string","maxLength":2000,"isRequired":true,"uniqueKey":"view.website.oneOf.0.profile.oneOf.0.companyMoat","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"view.website.oneOf.0.profile.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"view.website.oneOf.0.profile.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"view.website.oneOf.0.profile","typeLabel":"object | null"},"confirmed":{"description":"The profile was confirmed (propose started).","type":"boolean","isRequired":true,"uniqueKey":"view.website.oneOf.0.confirmed","typeLabel":"boolean"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"view.website.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"view.website.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"view.website","typeLabel":"object | null"},"keywords":{"oneOf":[{"type":"object","required":["proposalStatus","archetype","openingLine","keywords","slots","problems"],"properties":{"proposalStatus":{"description":"`proposing → measuring (the first search pass) → sampling → proposing (the agent) → ready | failed`. Poll until it is one of the last two (`needs_narrowing` is a legacy terminal status no run produces any more).","type":"string","enum":["scanning","scanned","proposing","measuring","sampling","ready","needs_narrowing","failed","applied"],"isRequired":true,"uniqueKey":"view.keywords.oneOf.0.proposalStatus","typeLabel":"enum\u003cstring>"},"archetype":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"view.keywords.oneOf.0.archetype.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"view.keywords.oneOf.0.archetype.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"view.keywords.oneOf.0.archetype","typeLabel":"string | null"},"openingLine":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"view.keywords.oneOf.0.openingLine.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"view.keywords.oneOf.0.openingLine.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"view.keywords.oneOf.0.openingLine","typeLabel":"string | null"},"keywords":{"type":"array","items":{"type":"object","properties":{"ref":{"description":"`k1…k5` for proposal rows, `added_\u003cn>` for typed-in ones.","example":"k1","type":"string","isRequired":true,"uniqueKey":"view.keywords.oneOf.0.keywords.items.[INDEX].ref","typeLabel":"string"},"keyword":{"type":"string","isRequired":true,"uniqueKey":"view.keywords.oneOf.0.keywords.items.[INDEX].keyword","typeLabel":"string"},"tag":{"description":"Classification of what this keyword represents. Used to route posts to brand / competitor / industry-context workflows and pick the right AI prompt.","example":"own_brand","type":"string","enum":["own_brand","competitor","industry_term"],"isRequired":true,"uniqueKey":"view.keywords.oneOf.0.keywords.items.[INDEX].tag","typeLabel":"enum\u003cstring>"},"refinement":{"oneOf":[{"type":"object","description":"How the keyword is counted, when it is narrowed (OCT-1895: an everyday-word own brand carries its site and handles, its product and category terms and its competitors); null or absent when every post that names it counts.","required":["additionalTerms","excludeWords"],"properties":{"additionalTerms":{"description":"Must-also-mention terms (any of), in the order they ship.","type":"array","items":{"type":"string","uniqueKey":"view.keywords.oneOf.0.keywords.items.[INDEX].refinement.oneOf.0.additionalTerms.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"view.keywords.oneOf.0.keywords.items.[INDEX].refinement.oneOf.0.additionalTerms","typeLabel":"string[]"},"excludeWords":{"description":"Skip words: a post with one of them is not counted.","type":"array","items":{"type":"string","uniqueKey":"view.keywords.oneOf.0.keywords.items.[INDEX].refinement.oneOf.0.excludeWords.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"view.keywords.oneOf.0.keywords.items.[INDEX].refinement.oneOf.0.excludeWords","typeLabel":"string[]"}},"additionalProperties":false,"uniqueKey":"view.keywords.oneOf.0.keywords.items.[INDEX].refinement.oneOf.0","typeLabel":"object"},{"type":"null","description":"How the keyword is counted, when it is narrowed (OCT-1895: an everyday-word own brand carries its site and handles, its product and category terms and its competitors); null or absent when every post that names it counts.","uniqueKey":"view.keywords.oneOf.0.keywords.items.[INDEX].refinement.oneOf.1","typeLabel":"null"}],"uniqueKey":"view.keywords.oneOf.0.keywords.items.[INDEX].refinement","typeLabel":"object | null"}},"required":["ref","keyword","tag"],"additionalProperties":false,"uniqueKey":"view.keywords.oneOf.0.keywords.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"view.keywords.oneOf.0.keywords","typeLabel":"object[]"},"slots":{"type":"object","properties":{"used":{"type":"integer","minimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"view.keywords.oneOf.0.slots.used","typeLabel":"integer"},"of":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"view.keywords.oneOf.0.slots.of","typeLabel":"integer"}},"required":["used","of"],"additionalProperties":false,"isRequired":true,"uniqueKey":"view.keywords.oneOf.0.slots","typeLabel":"object"},"problems":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","enum":["too_many","no_brand","too_many_brand","too_few_competitors","too_many_industry","refused"],"isRequired":true,"uniqueKey":"view.keywords.oneOf.0.problems.items.[INDEX].code","typeLabel":"enum\u003cstring>"},"ref":{"oneOf":[{"type":"string","description":"The keyword the problem is about, when it is about one.","isRequired":true,"uniqueKey":"view.keywords.oneOf.0.problems.items.[INDEX].ref.oneOf.0","typeLabel":"string"},{"type":"null","description":"The keyword the problem is about, when it is about one.","isRequired":true,"uniqueKey":"view.keywords.oneOf.0.problems.items.[INDEX].ref.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"view.keywords.oneOf.0.problems.items.[INDEX].ref","typeLabel":"string | null"},"blocking":{"type":"boolean","isRequired":true,"uniqueKey":"view.keywords.oneOf.0.problems.items.[INDEX].blocking","typeLabel":"boolean"},"message":{"type":"string","isRequired":true,"uniqueKey":"view.keywords.oneOf.0.problems.items.[INDEX].message","typeLabel":"string"}},"required":["code","ref","blocking","message"],"additionalProperties":false,"uniqueKey":"view.keywords.oneOf.0.problems.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"view.keywords.oneOf.0.problems","typeLabel":"object[]"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"view.keywords.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"view.keywords.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"view.keywords","typeLabel":"object | null"},"mentions":{"oneOf":[{"type":"object","description":"Step 3 (\"Your mentions\") as the web wizard reads it.","required":["mode","draftId","status","stage","found","collectionEnd","progress","pairs","tiles","sources","posts","total","aboutYou","notAboutYou","proposal","decision","cleanedUp","canContinueWithoutDecision","allowance","keywords"],"properties":{"mode":{"type":"string","const":"setup","isRequired":true,"uniqueKey":"view.mentions.oneOf.0.mode","typeLabel":"string"},"draftId":{"type":"string","isRequired":true,"uniqueKey":"view.mentions.oneOf.0.draftId","typeLabel":"string"},"status":{"type":"string","enum":["collecting","ready","empty"],"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.status","typeLabel":"enum\u003cstring>"},"stage":{"type":"string","enum":["collecting","reading","optimizing","ready"],"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.stage","typeLabel":"enum\u003cstring>"},"found":{"type":"integer","minimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.found","typeLabel":"integer"},"collectionEnd":{"oneOf":[{"type":"string","enum":["runs_finished","sources_accounted","idle","landed","stale"],"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.collectionEnd.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","isRequired":true,"uniqueKey":"view.mentions.oneOf.0.collectionEnd.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.collectionEnd","typeLabel":"enum\u003cstring> | null"},"progress":{"type":"number","minimum":0,"maximum":100,"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.progress","typeLabel":"number"},"pairs":{"description":"The collecting stage's measure: keyword × platform searches the worker settled (posts in, nothing, or failed) of how many the setup runs; every pair is settled once collecting is over. `expected` is 0 when there is no applied setup to count.","type":"object","properties":{"expected":{"type":"integer","minimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.pairs.expected","typeLabel":"integer"},"settled":{"type":"integer","minimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.pairs.settled","typeLabel":"integer"}},"required":["expected","settled"],"additionalProperties":false,"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.pairs","typeLabel":"object"},"tiles":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","enum":["twitter","reddit","hackernews","bluesky","youtube","linkedin"],"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.tiles.items.[INDEX].source","typeLabel":"enum\u003cstring>"},"label":{"type":"string","isRequired":true,"uniqueKey":"view.mentions.oneOf.0.tiles.items.[INDEX].label","typeLabel":"string"},"state":{"type":"string","enum":["done","busy","waiting","none"],"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.tiles.items.[INDEX].state","typeLabel":"enum\u003cstring>"}},"required":["source","label","state"],"additionalProperties":false,"uniqueKey":"view.mentions.oneOf.0.tiles.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.tiles","typeLabel":"object[]"},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","isRequired":true,"uniqueKey":"view.mentions.oneOf.0.sources.items.[INDEX].source","typeLabel":"string"},"label":{"type":"string","isRequired":true,"uniqueKey":"view.mentions.oneOf.0.sources.items.[INDEX].label","typeLabel":"string"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.sources.items.[INDEX].count","typeLabel":"integer"},"state":{"type":"string","enum":["arriving","done","pending","none"],"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.sources.items.[INDEX].state","typeLabel":"enum\u003cstring>"},"atLeast":{"type":"boolean","uniqueKey":"view.mentions.oneOf.0.sources.items.[INDEX].atLeast","typeLabel":"boolean"},"failed":{"type":"boolean","uniqueKey":"view.mentions.oneOf.0.sources.items.[INDEX].failed","typeLabel":"boolean"}},"required":["source","label","count","state"],"additionalProperties":false,"uniqueKey":"view.mentions.oneOf.0.sources.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.sources","typeLabel":"object[]"},"posts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.posts.items.[INDEX].id","typeLabel":"integer"},"source":{"type":"string","isRequired":true,"uniqueKey":"view.mentions.oneOf.0.posts.items.[INDEX].source","typeLabel":"string"},"keyword":{"type":"string","isRequired":true,"uniqueKey":"view.mentions.oneOf.0.posts.items.[INDEX].keyword","typeLabel":"string"},"place":{"oneOf":[{"type":"object","required":["preposition","name"],"properties":{"preposition":{"type":"string","enum":["in","by"],"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.posts.items.[INDEX].place.oneOf.0.preposition","typeLabel":"enum\u003cstring>"},"name":{"type":"string","isRequired":true,"uniqueKey":"view.mentions.oneOf.0.posts.items.[INDEX].place.oneOf.0.name","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.posts.items.[INDEX].place.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"view.mentions.oneOf.0.posts.items.[INDEX].place.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.posts.items.[INDEX].place","typeLabel":"object | null"},"title":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"view.mentions.oneOf.0.posts.items.[INDEX].title.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"view.mentions.oneOf.0.posts.items.[INDEX].title.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.posts.items.[INDEX].title","typeLabel":"string | null"},"body":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"view.mentions.oneOf.0.posts.items.[INDEX].body.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"view.mentions.oneOf.0.posts.items.[INDEX].body.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.posts.items.[INDEX].body","typeLabel":"string | null"},"url":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"view.mentions.oneOf.0.posts.items.[INDEX].url.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"view.mentions.oneOf.0.posts.items.[INDEX].url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.posts.items.[INDEX].url","typeLabel":"string | null"},"timestamp":{"type":"string","isRequired":true,"uniqueKey":"view.mentions.oneOf.0.posts.items.[INDEX].timestamp","typeLabel":"string"},"aboutYou":{"type":"boolean","isRequired":true,"uniqueKey":"view.mentions.oneOf.0.posts.items.[INDEX].aboutYou","typeLabel":"boolean"},"giveaway":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"view.mentions.oneOf.0.posts.items.[INDEX].giveaway.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"view.mentions.oneOf.0.posts.items.[INDEX].giveaway.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.posts.items.[INDEX].giveaway","typeLabel":"string | null"},"whyNot":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"view.mentions.oneOf.0.posts.items.[INDEX].whyNot.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"view.mentions.oneOf.0.posts.items.[INDEX].whyNot.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.posts.items.[INDEX].whyNot","typeLabel":"string | null"},"sentimentLabel":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"view.mentions.oneOf.0.posts.items.[INDEX].sentimentLabel.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"view.mentions.oneOf.0.posts.items.[INDEX].sentimentLabel.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.posts.items.[INDEX].sentimentLabel","typeLabel":"string | null"},"tags":{"type":"array","items":{"type":"string","uniqueKey":"view.mentions.oneOf.0.posts.items.[INDEX].tags.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.posts.items.[INDEX].tags","typeLabel":"string[]"}},"required":["id","source","keyword","place","title","body","url","timestamp","aboutYou","giveaway","whyNot","sentimentLabel","tags"],"additionalProperties":false,"uniqueKey":"view.mentions.oneOf.0.posts.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.posts","typeLabel":"object[]"},"total":{"type":"integer","minimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.total","typeLabel":"integer"},"aboutYou":{"type":"integer","minimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.aboutYou","typeLabel":"integer"},"notAboutYou":{"type":"integer","minimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.notAboutYou","typeLabel":"integer"},"proposal":{"oneOf":[{"type":"object","required":["lines"],"properties":{"lines":{"type":"array","items":{"type":"object","properties":{"keyword":{"type":"string","isRequired":true,"uniqueKey":"view.mentions.oneOf.0.proposal.oneOf.0.lines.items.[INDEX].keyword","typeLabel":"string"},"setting":{"type":"string","enum":["additionalTerms","excludeWords","excludeAuthors","platforms"],"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.proposal.oneOf.0.lines.items.[INDEX].setting","typeLabel":"enum\u003cstring>"},"values":{"type":"array","items":{"type":"string","uniqueKey":"view.mentions.oneOf.0.proposal.oneOf.0.lines.items.[INDEX].values.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.proposal.oneOf.0.lines.items.[INDEX].values","typeLabel":"string[]"},"text":{"type":"string","isRequired":true,"uniqueKey":"view.mentions.oneOf.0.proposal.oneOf.0.lines.items.[INDEX].text","typeLabel":"string"},"logic":{"type":"string","enum":["any","all"],"uniqueKey":"view.mentions.oneOf.0.proposal.oneOf.0.lines.items.[INDEX].logic","typeLabel":"enum\u003cstring>"},"split":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string","isRequired":true,"uniqueKey":"view.mentions.oneOf.0.proposal.oneOf.0.lines.items.[INDEX].split.items.[INDEX].label","typeLabel":"string"},"terms":{"type":"array","items":{"type":"string","uniqueKey":"view.mentions.oneOf.0.proposal.oneOf.0.lines.items.[INDEX].split.items.[INDEX].terms.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.proposal.oneOf.0.lines.items.[INDEX].split.items.[INDEX].terms","typeLabel":"string[]"}},"required":["label","terms"],"additionalProperties":false,"uniqueKey":"view.mentions.oneOf.0.proposal.oneOf.0.lines.items.[INDEX].split.items.[INDEX]","typeLabel":"object"},"uniqueKey":"view.mentions.oneOf.0.proposal.oneOf.0.lines.items.[INDEX].split","typeLabel":"object[]"}},"required":["keyword","setting","values","text"],"additionalProperties":false,"uniqueKey":"view.mentions.oneOf.0.proposal.oneOf.0.lines.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.proposal.oneOf.0.lines","typeLabel":"object[]"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.proposal.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"view.mentions.oneOf.0.proposal.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.proposal","typeLabel":"object | null"},"decision":{"oneOf":[{"type":"string","enum":["cleanup","keep"],"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.decision.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","isRequired":true,"uniqueKey":"view.mentions.oneOf.0.decision.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.decision","typeLabel":"enum\u003cstring> | null"},"cleanedUp":{"oneOf":[{"type":"object","required":["removed","changes","undoAvailableUntil"],"properties":{"removed":{"type":"integer","minimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.cleanedUp.oneOf.0.removed","typeLabel":"integer"},"changes":{"type":"array","items":{"type":"object","properties":{"keyword":{"type":"string","isRequired":true,"uniqueKey":"view.mentions.oneOf.0.cleanedUp.oneOf.0.changes.items.[INDEX].keyword","typeLabel":"string"},"text":{"type":"string","isRequired":true,"uniqueKey":"view.mentions.oneOf.0.cleanedUp.oneOf.0.changes.items.[INDEX].text","typeLabel":"string"},"setting":{"type":"string","enum":["additionalTerms","excludeWords","excludeAuthors","platforms"],"uniqueKey":"view.mentions.oneOf.0.cleanedUp.oneOf.0.changes.items.[INDEX].setting","typeLabel":"enum\u003cstring>"},"values":{"type":"array","items":{"type":"string","uniqueKey":"view.mentions.oneOf.0.cleanedUp.oneOf.0.changes.items.[INDEX].values.items.[INDEX]","typeLabel":"string"},"uniqueKey":"view.mentions.oneOf.0.cleanedUp.oneOf.0.changes.items.[INDEX].values","typeLabel":"string[]"},"logic":{"type":"string","enum":["any","all"],"uniqueKey":"view.mentions.oneOf.0.cleanedUp.oneOf.0.changes.items.[INDEX].logic","typeLabel":"enum\u003cstring>"},"split":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string","isRequired":true,"uniqueKey":"view.mentions.oneOf.0.cleanedUp.oneOf.0.changes.items.[INDEX].split.items.[INDEX].label","typeLabel":"string"},"terms":{"type":"array","items":{"type":"string","uniqueKey":"view.mentions.oneOf.0.cleanedUp.oneOf.0.changes.items.[INDEX].split.items.[INDEX].terms.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.cleanedUp.oneOf.0.changes.items.[INDEX].split.items.[INDEX].terms","typeLabel":"string[]"}},"required":["label","terms"],"additionalProperties":false,"uniqueKey":"view.mentions.oneOf.0.cleanedUp.oneOf.0.changes.items.[INDEX].split.items.[INDEX]","typeLabel":"object"},"uniqueKey":"view.mentions.oneOf.0.cleanedUp.oneOf.0.changes.items.[INDEX].split","typeLabel":"object[]"}},"required":["keyword","text"],"additionalProperties":false,"uniqueKey":"view.mentions.oneOf.0.cleanedUp.oneOf.0.changes.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.cleanedUp.oneOf.0.changes","typeLabel":"object[]"},"undoAvailableUntil":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"view.mentions.oneOf.0.cleanedUp.oneOf.0.undoAvailableUntil.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"view.mentions.oneOf.0.cleanedUp.oneOf.0.undoAvailableUntil.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.cleanedUp.oneOf.0.undoAvailableUntil","typeLabel":"string | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.cleanedUp.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"view.mentions.oneOf.0.cleanedUp.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.cleanedUp","typeLabel":"object | null"},"canContinueWithoutDecision":{"type":"boolean","isRequired":true,"uniqueKey":"view.mentions.oneOf.0.canContinueWithoutDecision","typeLabel":"boolean"},"allowance":{"type":"integer","minimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.allowance","typeLabel":"integer"},"keywords":{"type":"array","items":{"type":"string","uniqueKey":"view.mentions.oneOf.0.keywords.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"view.mentions.oneOf.0.keywords","typeLabel":"string[]"},"proposalPending":{"description":"Ready, but the automatic noise removal may still land in the background: the numbers update when it does. Absent = false. A client waiting for step 3 to finish keeps polling while it is true.","type":"boolean","uniqueKey":"view.mentions.oneOf.0.proposalPending","typeLabel":"boolean"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"view.mentions.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"view.mentions.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"view.mentions","typeLabel":"object | null"},"feeds":{"oneOf":[{"type":"object","required":["state","feeds"],"properties":{"state":{"type":"string","enum":["waiting","ready"],"isRequired":true,"uniqueKey":"view.feeds.oneOf.0.state","typeLabel":"enum\u003cstring>"},"feeds":{"type":"array","items":{"type":"object","properties":{"n":{"description":"The board number (1-based).","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"view.feeds.oneOf.0.feeds.items.[INDEX].n","typeLabel":"integer"},"id":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"view.feeds.oneOf.0.feeds.items.[INDEX].id","typeLabel":"integer"},"name":{"type":"string","isRequired":true,"uniqueKey":"view.feeds.oneOf.0.feeds.items.[INDEX].name","typeLabel":"string"},"kind":{"type":"string","isRequired":true,"uniqueKey":"view.feeds.oneOf.0.feeds.items.[INDEX].kind","typeLabel":"string"},"mentions":{"type":"integer","minimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"view.feeds.oneOf.0.feeds.items.[INDEX].mentions","typeLabel":"integer"},"description":{"type":"string","isRequired":true,"uniqueKey":"view.feeds.oneOf.0.feeds.items.[INDEX].description","typeLabel":"string"}},"required":["n","id","name","kind","mentions","description"],"additionalProperties":false,"uniqueKey":"view.feeds.oneOf.0.feeds.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"view.feeds.oneOf.0.feeds","typeLabel":"object[]"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"view.feeds.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"view.feeds.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"view.feeds","typeLabel":"object | null"},"slack":{"oneOf":[{"type":"object","required":["connected","team","digest","feeds","handoff"],"properties":{"connected":{"type":"boolean","isRequired":true,"uniqueKey":"view.slack.oneOf.0.connected","typeLabel":"boolean"},"team":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"view.slack.oneOf.0.team.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"view.slack.oneOf.0.team.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"view.slack.oneOf.0.team","typeLabel":"string | null"},"digest":{"description":"The daily email digest is on (it is for every new workspace).","type":"boolean","isRequired":true,"uniqueKey":"view.slack.oneOf.0.digest","typeLabel":"boolean"},"feeds":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"view.slack.oneOf.0.feeds.items.[INDEX].id","typeLabel":"integer"},"name":{"type":"string","isRequired":true,"uniqueKey":"view.slack.oneOf.0.feeds.items.[INDEX].name","typeLabel":"string"},"channel":{"oneOf":[{"type":"object","required":["id","name"],"properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"view.slack.oneOf.0.feeds.items.[INDEX].channel.oneOf.0.id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"view.slack.oneOf.0.feeds.items.[INDEX].channel.oneOf.0.name","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"view.slack.oneOf.0.feeds.items.[INDEX].channel.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"view.slack.oneOf.0.feeds.items.[INDEX].channel.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"view.slack.oneOf.0.feeds.items.[INDEX].channel","typeLabel":"object | null"},"emailOnly":{"type":"boolean","isRequired":true,"uniqueKey":"view.slack.oneOf.0.feeds.items.[INDEX].emailOnly","typeLabel":"boolean"}},"required":["id","name","channel","emailOnly"],"additionalProperties":false,"uniqueKey":"view.slack.oneOf.0.feeds.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"view.slack.oneOf.0.feeds","typeLabel":"object[]"},"handoff":{"oneOf":[{"type":"object","description":"The last unexpired, unredeemed `slack_install` link, or null (mint one with `POST /handoff`). Always null for a read-only API key: the code installs Slack, a write.","required":["dest","url","code","expiresAt"],"properties":{"dest":{"type":"string","enum":["slack_install","checkout","wizard"],"isRequired":true,"uniqueKey":"view.slack.oneOf.0.handoff.oneOf.0.dest","typeLabel":"enum\u003cstring>"},"url":{"example":"https://app.octolens.com/go/K7Q2-MX9P","type":"string","isRequired":true,"uniqueKey":"view.slack.oneOf.0.handoff.oneOf.0.url","typeLabel":"string"},"code":{"description":"8 Crockford base32 characters, `XXXX-XXXX`.","example":"K7Q2-MX9P","type":"string","isRequired":true,"uniqueKey":"view.slack.oneOf.0.handoff.oneOf.0.code","typeLabel":"string"},"expiresAt":{"description":"ISO-8601.","type":"string","isRequired":true,"uniqueKey":"view.slack.oneOf.0.handoff.oneOf.0.expiresAt","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"view.slack.oneOf.0.handoff.oneOf.0","typeLabel":"object"},{"type":"null","description":"The last unexpired, unredeemed `slack_install` link, or null (mint one with `POST /handoff`). Always null for a read-only API key: the code installs Slack, a write.","isRequired":true,"uniqueKey":"view.slack.oneOf.0.handoff.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"view.slack.oneOf.0.handoff","typeLabel":"object | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"view.slack.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"view.slack.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"view.slack","typeLabel":"object | null"},"mcp":{"oneOf":[{"type":"object","required":["endpoint","auth","connected","connectedAt"],"properties":{"endpoint":{"example":"https://app.octolens.com/api/mcp/v2","description":"The MCP v2 server (`\u003corigin>/api/mcp/v2`) the CLI writes into the tool's config. URL only: the tool signs in to Octolens with OAuth on first use. No API key is ever minted for MCP (OCT-1814).","type":"string","isRequired":true,"uniqueKey":"view.mcp.oneOf.0.endpoint","typeLabel":"string"},"auth":{"type":"string","const":"oauth","isRequired":true,"uniqueKey":"view.mcp.oneOf.0.auth","typeLabel":"string"},"connected":{"type":"boolean","isRequired":true,"uniqueKey":"view.mcp.oneOf.0.connected","typeLabel":"boolean"},"connectedAt":{"oneOf":[{"type":"string","description":"ISO-8601.","isRequired":true,"uniqueKey":"view.mcp.oneOf.0.connectedAt.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"view.mcp.oneOf.0.connectedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"view.mcp.oneOf.0.connectedAt","typeLabel":"string | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"view.mcp.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"view.mcp.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"view.mcp","typeLabel":"object | null"}},"required":["website","keywords","mentions","feeds","slack","mcp"],"additionalProperties":false,"isRequired":true,"uniqueKey":"view","typeLabel":"object"},"next":{"oneOf":[{"type":"object","description":"Null when `status` is `done`.","required":["kind","step","reason","retryAfterSeconds","url","default"],"properties":{"kind":{"description":"`run` = safe to execute unasked · `poll` = re-read after `retryAfterSeconds` · `decide` = a preference or destructive choice, relay it · `ask_human` = a value only a person has · `open_url` = a person opens `url`, then poll.","type":"string","enum":["run","poll","decide","ask_human","open_url"],"isRequired":true,"uniqueKey":"next.oneOf.0.kind","typeLabel":"enum\u003cstring>"},"step":{"description":"Where the onboarding is: `account → website → keywords → mentions → feeds → slack → mcp → complete`.","type":"string","enum":["account","website","keywords","mentions","feeds","slack","mcp","complete"],"isRequired":true,"uniqueKey":"next.oneOf.0.step","typeLabel":"enum\u003cstring>"},"reason":{"description":"Stable machine reason, e.g. `scan_running`, `profile_unconfirmed`, `keywords_unconfirmed`.","type":"string","isRequired":true,"uniqueKey":"next.oneOf.0.reason","typeLabel":"string"},"retryAfterSeconds":{"oneOf":[{"type":"integer","maximum":9007199254740991,"minimum":0,"isRequired":true,"uniqueKey":"next.oneOf.0.retryAfterSeconds.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"next.oneOf.0.retryAfterSeconds.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"next.oneOf.0.retryAfterSeconds","typeLabel":"integer | null"},"url":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"next.oneOf.0.url.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"next.oneOf.0.url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"next.oneOf.0.url","typeLabel":"string | null"},"default":{"oneOf":[{"type":"boolean","description":"For `decide`: the default answer, when there is one.","isRequired":true,"uniqueKey":"next.oneOf.0.default.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"For `decide`: the default answer, when there is one.","isRequired":true,"uniqueKey":"next.oneOf.0.default.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"next.oneOf.0.default","typeLabel":"boolean | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"next.oneOf.0","typeLabel":"object"},{"type":"null","description":"Null when `status` is `done`.","isRequired":true,"uniqueKey":"next.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"next","typeLabel":"object | null"}},"required":["step","status","revision","engine","handle","completed","reviewed","pendingReview","trial","view","next"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"step":"account","status":"needs_input","revision":"\u003cstring>","engine":"sonar","handle":{"orgId":"\u003cstring>","draftId":"\u003cstring>","proposalId":"\u003cstring>"},"completed":["account"],"reviewed":true,"pendingReview":true,"trial":{"plan":"Free_trial","allowance":4503599627370495,"startsAt":"on_finish","endsAt":"\u003cstring>"},"view":{"website":{"domain":"\u003cstring>","scanSteps":[{"step":"cache","status":"pending","line":"\u003cstring>","ms":4503599627370495}],"profile":{"name":"\u003cstring>","description":"\u003cstring>","industry":"\u003cstring>","website":"\u003cstring>","domainVariants":["\u003cstring>"],"productAreas":[{"label":"\u003cstring>","path":"\u003cstring>"}],"ownAccounts":[{"platform":"x","handle":"\u003cstring>"}],"founderHandles":["\u003cstring>"],"protectedVocabulary":["\u003cstring>"],"competitors":[{"name":"\u003cstring>","why":"\u003cstring>","domain":"monocle.so","handle":"@monoclehq"}],"relevanceContext":"\u003cstring>","productUseCases":["\u003cstring>"],"companyMoat":"\u003cstring>"},"confirmed":true},"keywords":{"proposalStatus":"scanning","archetype":"\u003cstring>","openingLine":"\u003cstring>","keywords":[{"ref":"k1","keyword":"\u003cstring>","tag":"own_brand","refinement":{"additionalTerms":["\u003cstring>"],"excludeWords":["\u003cstring>"]}}],"slots":{"used":4503599627370495,"of":123},"problems":[{"code":"too_many","ref":"\u003cstring>","blocking":true,"message":"\u003cstring>"}]},"mentions":{"mode":"setup","draftId":"\u003cstring>","status":"collecting","stage":"collecting","found":4503599627370495,"collectionEnd":"runs_finished","progress":50,"pairs":{"expected":4503599627370495,"settled":4503599627370495},"tiles":[{"source":"twitter","label":"\u003cstring>","state":"done"}],"sources":[{"source":"\u003cstring>","label":"\u003cstring>","count":4503599627370495,"state":"arriving","atLeast":true,"failed":true}],"posts":[{"id":0,"source":"\u003cstring>","keyword":"\u003cstring>","place":{"preposition":"in","name":"\u003cstring>"},"title":"\u003cstring>","body":"\u003cstring>","url":"\u003cstring>","timestamp":"\u003cstring>","aboutYou":true,"giveaway":"\u003cstring>","whyNot":"\u003cstring>","sentimentLabel":"\u003cstring>","tags":["\u003cstring>"]}],"total":4503599627370495,"aboutYou":4503599627370495,"notAboutYou":4503599627370495,"proposal":{"lines":[{"keyword":"\u003cstring>","setting":"additionalTerms","values":["\u003cstring>"],"text":"\u003cstring>","logic":"any","split":[{"label":"\u003cstring>","terms":["\u003cstring>"]}]}]},"decision":"cleanup","cleanedUp":{"removed":4503599627370495,"changes":[{"keyword":"\u003cstring>","text":"\u003cstring>","setting":"additionalTerms","values":["\u003cstring>"],"logic":"any","split":[{"label":"\u003cstring>","terms":["\u003cstring>"]}]}],"undoAvailableUntil":"\u003cstring>"},"canContinueWithoutDecision":true,"allowance":4503599627370495,"keywords":["\u003cstring>"],"proposalPending":true},"feeds":{"state":"waiting","feeds":[{"n":123,"id":0,"name":"\u003cstring>","kind":"\u003cstring>","mentions":4503599627370495,"description":"\u003cstring>"}]},"slack":{"connected":true,"team":"\u003cstring>","digest":true,"feeds":[{"id":0,"name":"\u003cstring>","channel":{"id":"\u003cstring>","name":"\u003cstring>"},"emailOnly":true}],"handoff":{"dest":"slack_install","url":"https://app.octolens.com/go/K7Q2-MX9P","code":"K7Q2-MX9P","expiresAt":"\u003cstring>"}},"mcp":{"endpoint":"https://app.octolens.com/api/mcp/v2","auth":"oauth","connected":true,"connectedAt":"\u003cstring>"}},"next":{"kind":"run","step":"account","reason":"\u003cstring>","retryAfterSeconds":4503599627370495,"url":"\u003cstring>","default":true}}}},"exampleType":"generated"}},"exampleType":"generated"},"5bde309b-c9cc-44fe-8359-8389f0b151a5":{"description":"Validation error","content":{"application/json":{"schema":{"description":"Standard error envelope returned for all non-2xx responses. The `code` field is stable — safe to branch on programmatically. `code`, `message` and `status` are always present; anything else is additive and per-code (`details` on `VALIDATION_ERROR`, `upgradeUrl`/`upgradeCommand` on `UPGRADE_REQUIRED`).","type":"object","properties":{"error":{"type":"object","properties":{"code":{"description":"Machine-readable error code. See `ApiErrorCode` for the full list.","type":"string","enum":["UNAUTHORIZED","FORBIDDEN","RATE_LIMITED","VALIDATION_ERROR","INTERNAL_ERROR","MEMBER_REQUIRED","BRIEF_DISABLED","INVALID_BRIEF_LINK","PREFERENCE_CHANGED","BRIEF_NOT_FOUND","INVALID_BRIEF_WINDOW","INVALID_RECIPIENT_COUNT","ORGANIZATION_REQUIRED","FORBIDDEN_ORGANIZATION","MASTER_KEY_REQUIRED","AGENCY_INACTIVE","NOT_AN_AGENCY_WORKSPACE","AGENCY_NOT_FOUND","WORKSPACE_NOT_IN_AGENCY","ANCHOR_WORKSPACE","AGENCY_WORKSPACE_LIMIT","INVITE_FANOUT_TOO_LARGE","SUPERADMIN_REMOVE_FORBIDDEN","USER_REQUIRED","FLEX_REQUIRES_CAP","FLEX_REQUIRES_BUDGET","AGENCY_BILLING_NOT_CONFIGURED","WORKSPACE_CREATE_FAILED","WORKSPACE_SETUP_FAILED","WORKSPACE_ACCESS_FAILED","UPGRADE_REQUIRED","QUOTA_EXCEEDED","WORKSPACE_PENDING_REVIEW","SETUP_DECISION_PENDING","MENTIONS_PREVIEW_NOT_READY","MENTIONS_NOT_VIEWED","KEYWORDS_STEP_INVALID","ONBOARDING_STEP_NOT_CURRENT","ONBOARDING_REVISION_CHANGED","ONBOARDING_IN_PROGRESS","SETUP_DRAFT_NOT_FOUND","PAYWALL","SANDBOX_WORKSPACE","SECOND_FREE_TRIAL_FORBIDDEN","AUTH_LOOKUP_UNAVAILABLE","NOT_IMPLEMENTED","FEED_NOT_ONBOARDING","NOT_FOUND","FEED_NOT_FOUND","KEYWORD_NOT_FOUND","KEYWORDS_NOT_FOUND","POST_NOT_FOUND","MENTION_NOT_FOUND","SUMMARY_NOT_FOUND","SEARCH_NOT_FOUND","SUGGESTION_NOT_FOUND","COMPANY_NOT_FOUND","ORG_NOT_FOUND","SETTINGS_NOT_FOUND","NOTIFICATION_NOT_FOUND","VIEW_NOT_FOUND","ALERT_NOT_FOUND","ATTENTION_ITEM_NOT_FOUND","FEATURE_DISABLED","MENTION_KEYWORD_UNKNOWN","EXPORT_LINK_UNAVAILABLE","INVALID_INPUT","KEYWORD_LIMIT_EXCEEDED","KEYWORD_OPERATOR_SYNTAX","LAST_ADMIN","ITEM_EXISTS","INVALID_DOMAIN","INVALID_TIMEZONE","SLACK_NOT_CONNECTED","SLACK_CHANNEL_NOT_FOUND","SLACK_CHANNEL_REQUIRED","WEBHOOK_URL_INVALID","NO_DESTINATIONS","NO_SAMPLE_MENTION","INVALID_DESTINATION","DESTINATION_INDEX_OUT_OF_RANGE","FILTER_LIMIT_EXCEEDED","FILTER_CONDITION_LIMIT_EXCEEDED","ENGAGEMENT_METRICS_DISABLED","ATTENTION_ACTION_NOT_APPLY","WEB_SOURCE_UNAVAILABLE","INSTAGRAM_SOURCE_UNAVAILABLE","FACEBOOK_SOURCE_UNAVAILABLE","DISCORD_SOURCE_UNAVAILABLE","DISCORD_ADMIN_ONLY","DISCORD_LINK_NOT_FOUND","DISCORD_MONITOR_NOT_FOUND","DISCORD_CHANNEL_INVALID","DISCORD_KEYWORD_NOT_TEXT","DISCORD_MONITOR_EXISTS","DISCORD_LINK_BUSY","DISCORD_MONITOR_BUSY","FEED_FILTER_WRITE_CONFLICT","ENGAGE_FAILED","RELEVANCE_UPDATE_FAILED"],"example":"NOT_FOUND","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"description":"Human-readable error message.","example":"Resource not found","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"status":{"description":"HTTP status code — always matches the response status.","example":404,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"error.status","typeLabel":"integer"},"details":{"description":"Present on `VALIDATION_ERROR` responses. Contains Zod issues describing each failing field (path, code, message).","type":"array","items":{"oneOf":[{}],"uniqueKey":"error.details.items.[INDEX]","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"any[]"},"upgradeUrl":{"description":"Present on `UPGRADE_REQUIRED` responses (additive — see `ApiErrorCode`): the URL of the upgrade page for this workspace.","example":"https://app.octolens.com/me/upgrade?src=agents","type":"string","uniqueKey":"error.upgradeUrl","typeLabel":"string"},"upgradeCommand":{"description":"Present on `UPGRADE_REQUIRED` responses (additive): the CLI command that mints a single-use, already-authenticated link into the upgrade page.","example":"octolens upgrade","type":"string","uniqueKey":"error.upgradeCommand","typeLabel":"string"}},"required":["code","message","status"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"NOT_FOUND","message":"Resource not found","status":404,"details":["\u003cunknown>"],"upgradeUrl":"https://app.octolens.com/me/upgrade?src=agents","upgradeCommand":"octolens upgrade"}}}},"exampleType":"generated"}},"exampleType":"generated"},"6e75973c-de3e-4eec-a5f5-76f44ee22d8e":{"description":"Missing or invalid authentication","content":{"application/json":{"schema":{"description":"Standard error envelope returned for all non-2xx responses. The `code` field is stable — safe to branch on programmatically. `code`, `message` and `status` are always present; anything else is additive and per-code (`details` on `VALIDATION_ERROR`, `upgradeUrl`/`upgradeCommand` on `UPGRADE_REQUIRED`).","type":"object","properties":{"error":{"type":"object","properties":{"code":{"description":"Machine-readable error code. See `ApiErrorCode` for the full list.","type":"string","enum":["UNAUTHORIZED","FORBIDDEN","RATE_LIMITED","VALIDATION_ERROR","INTERNAL_ERROR","MEMBER_REQUIRED","BRIEF_DISABLED","INVALID_BRIEF_LINK","PREFERENCE_CHANGED","BRIEF_NOT_FOUND","INVALID_BRIEF_WINDOW","INVALID_RECIPIENT_COUNT","ORGANIZATION_REQUIRED","FORBIDDEN_ORGANIZATION","MASTER_KEY_REQUIRED","AGENCY_INACTIVE","NOT_AN_AGENCY_WORKSPACE","AGENCY_NOT_FOUND","WORKSPACE_NOT_IN_AGENCY","ANCHOR_WORKSPACE","AGENCY_WORKSPACE_LIMIT","INVITE_FANOUT_TOO_LARGE","SUPERADMIN_REMOVE_FORBIDDEN","USER_REQUIRED","FLEX_REQUIRES_CAP","FLEX_REQUIRES_BUDGET","AGENCY_BILLING_NOT_CONFIGURED","WORKSPACE_CREATE_FAILED","WORKSPACE_SETUP_FAILED","WORKSPACE_ACCESS_FAILED","UPGRADE_REQUIRED","QUOTA_EXCEEDED","WORKSPACE_PENDING_REVIEW","SETUP_DECISION_PENDING","MENTIONS_PREVIEW_NOT_READY","MENTIONS_NOT_VIEWED","KEYWORDS_STEP_INVALID","ONBOARDING_STEP_NOT_CURRENT","ONBOARDING_REVISION_CHANGED","ONBOARDING_IN_PROGRESS","SETUP_DRAFT_NOT_FOUND","PAYWALL","SANDBOX_WORKSPACE","SECOND_FREE_TRIAL_FORBIDDEN","AUTH_LOOKUP_UNAVAILABLE","NOT_IMPLEMENTED","FEED_NOT_ONBOARDING","NOT_FOUND","FEED_NOT_FOUND","KEYWORD_NOT_FOUND","KEYWORDS_NOT_FOUND","POST_NOT_FOUND","MENTION_NOT_FOUND","SUMMARY_NOT_FOUND","SEARCH_NOT_FOUND","SUGGESTION_NOT_FOUND","COMPANY_NOT_FOUND","ORG_NOT_FOUND","SETTINGS_NOT_FOUND","NOTIFICATION_NOT_FOUND","VIEW_NOT_FOUND","ALERT_NOT_FOUND","ATTENTION_ITEM_NOT_FOUND","FEATURE_DISABLED","MENTION_KEYWORD_UNKNOWN","EXPORT_LINK_UNAVAILABLE","INVALID_INPUT","KEYWORD_LIMIT_EXCEEDED","KEYWORD_OPERATOR_SYNTAX","LAST_ADMIN","ITEM_EXISTS","INVALID_DOMAIN","INVALID_TIMEZONE","SLACK_NOT_CONNECTED","SLACK_CHANNEL_NOT_FOUND","SLACK_CHANNEL_REQUIRED","WEBHOOK_URL_INVALID","NO_DESTINATIONS","NO_SAMPLE_MENTION","INVALID_DESTINATION","DESTINATION_INDEX_OUT_OF_RANGE","FILTER_LIMIT_EXCEEDED","FILTER_CONDITION_LIMIT_EXCEEDED","ENGAGEMENT_METRICS_DISABLED","ATTENTION_ACTION_NOT_APPLY","WEB_SOURCE_UNAVAILABLE","INSTAGRAM_SOURCE_UNAVAILABLE","FACEBOOK_SOURCE_UNAVAILABLE","DISCORD_SOURCE_UNAVAILABLE","DISCORD_ADMIN_ONLY","DISCORD_LINK_NOT_FOUND","DISCORD_MONITOR_NOT_FOUND","DISCORD_CHANNEL_INVALID","DISCORD_KEYWORD_NOT_TEXT","DISCORD_MONITOR_EXISTS","DISCORD_LINK_BUSY","DISCORD_MONITOR_BUSY","FEED_FILTER_WRITE_CONFLICT","ENGAGE_FAILED","RELEVANCE_UPDATE_FAILED"],"example":"NOT_FOUND","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"description":"Human-readable error message.","example":"Resource not found","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"status":{"description":"HTTP status code — always matches the response status.","example":404,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"error.status","typeLabel":"integer"},"details":{"description":"Present on `VALIDATION_ERROR` responses. Contains Zod issues describing each failing field (path, code, message).","type":"array","items":{"oneOf":[{}],"uniqueKey":"error.details.items.[INDEX]","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"any[]"},"upgradeUrl":{"description":"Present on `UPGRADE_REQUIRED` responses (additive — see `ApiErrorCode`): the URL of the upgrade page for this workspace.","example":"https://app.octolens.com/me/upgrade?src=agents","type":"string","uniqueKey":"error.upgradeUrl","typeLabel":"string"},"upgradeCommand":{"description":"Present on `UPGRADE_REQUIRED` responses (additive): the CLI command that mints a single-use, already-authenticated link into the upgrade page.","example":"octolens upgrade","type":"string","uniqueKey":"error.upgradeCommand","typeLabel":"string"}},"required":["code","message","status"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"NOT_FOUND","message":"Resource not found","status":404,"details":["\u003cunknown>"],"upgradeUrl":"https://app.octolens.com/me/upgrade?src=agents","upgradeCommand":"octolens upgrade"}}}},"exampleType":"generated"}},"exampleType":"generated"},"2da78701-4976-4a21-b76c-b562be50d064":{"description":"Forbidden (insufficient plan or permissions)","content":{"application/json":{"schema":{"description":"Standard error envelope returned for all non-2xx responses. The `code` field is stable — safe to branch on programmatically. `code`, `message` and `status` are always present; anything else is additive and per-code (`details` on `VALIDATION_ERROR`, `upgradeUrl`/`upgradeCommand` on `UPGRADE_REQUIRED`).","type":"object","properties":{"error":{"type":"object","properties":{"code":{"description":"Machine-readable error code. See `ApiErrorCode` for the full list.","type":"string","enum":["UNAUTHORIZED","FORBIDDEN","RATE_LIMITED","VALIDATION_ERROR","INTERNAL_ERROR","MEMBER_REQUIRED","BRIEF_DISABLED","INVALID_BRIEF_LINK","PREFERENCE_CHANGED","BRIEF_NOT_FOUND","INVALID_BRIEF_WINDOW","INVALID_RECIPIENT_COUNT","ORGANIZATION_REQUIRED","FORBIDDEN_ORGANIZATION","MASTER_KEY_REQUIRED","AGENCY_INACTIVE","NOT_AN_AGENCY_WORKSPACE","AGENCY_NOT_FOUND","WORKSPACE_NOT_IN_AGENCY","ANCHOR_WORKSPACE","AGENCY_WORKSPACE_LIMIT","INVITE_FANOUT_TOO_LARGE","SUPERADMIN_REMOVE_FORBIDDEN","USER_REQUIRED","FLEX_REQUIRES_CAP","FLEX_REQUIRES_BUDGET","AGENCY_BILLING_NOT_CONFIGURED","WORKSPACE_CREATE_FAILED","WORKSPACE_SETUP_FAILED","WORKSPACE_ACCESS_FAILED","UPGRADE_REQUIRED","QUOTA_EXCEEDED","WORKSPACE_PENDING_REVIEW","SETUP_DECISION_PENDING","MENTIONS_PREVIEW_NOT_READY","MENTIONS_NOT_VIEWED","KEYWORDS_STEP_INVALID","ONBOARDING_STEP_NOT_CURRENT","ONBOARDING_REVISION_CHANGED","ONBOARDING_IN_PROGRESS","SETUP_DRAFT_NOT_FOUND","PAYWALL","SANDBOX_WORKSPACE","SECOND_FREE_TRIAL_FORBIDDEN","AUTH_LOOKUP_UNAVAILABLE","NOT_IMPLEMENTED","FEED_NOT_ONBOARDING","NOT_FOUND","FEED_NOT_FOUND","KEYWORD_NOT_FOUND","KEYWORDS_NOT_FOUND","POST_NOT_FOUND","MENTION_NOT_FOUND","SUMMARY_NOT_FOUND","SEARCH_NOT_FOUND","SUGGESTION_NOT_FOUND","COMPANY_NOT_FOUND","ORG_NOT_FOUND","SETTINGS_NOT_FOUND","NOTIFICATION_NOT_FOUND","VIEW_NOT_FOUND","ALERT_NOT_FOUND","ATTENTION_ITEM_NOT_FOUND","FEATURE_DISABLED","MENTION_KEYWORD_UNKNOWN","EXPORT_LINK_UNAVAILABLE","INVALID_INPUT","KEYWORD_LIMIT_EXCEEDED","KEYWORD_OPERATOR_SYNTAX","LAST_ADMIN","ITEM_EXISTS","INVALID_DOMAIN","INVALID_TIMEZONE","SLACK_NOT_CONNECTED","SLACK_CHANNEL_NOT_FOUND","SLACK_CHANNEL_REQUIRED","WEBHOOK_URL_INVALID","NO_DESTINATIONS","NO_SAMPLE_MENTION","INVALID_DESTINATION","DESTINATION_INDEX_OUT_OF_RANGE","FILTER_LIMIT_EXCEEDED","FILTER_CONDITION_LIMIT_EXCEEDED","ENGAGEMENT_METRICS_DISABLED","ATTENTION_ACTION_NOT_APPLY","WEB_SOURCE_UNAVAILABLE","INSTAGRAM_SOURCE_UNAVAILABLE","FACEBOOK_SOURCE_UNAVAILABLE","DISCORD_SOURCE_UNAVAILABLE","DISCORD_ADMIN_ONLY","DISCORD_LINK_NOT_FOUND","DISCORD_MONITOR_NOT_FOUND","DISCORD_CHANNEL_INVALID","DISCORD_KEYWORD_NOT_TEXT","DISCORD_MONITOR_EXISTS","DISCORD_LINK_BUSY","DISCORD_MONITOR_BUSY","FEED_FILTER_WRITE_CONFLICT","ENGAGE_FAILED","RELEVANCE_UPDATE_FAILED"],"example":"NOT_FOUND","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"description":"Human-readable error message.","example":"Resource not found","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"status":{"description":"HTTP status code — always matches the response status.","example":404,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"error.status","typeLabel":"integer"},"details":{"description":"Present on `VALIDATION_ERROR` responses. Contains Zod issues describing each failing field (path, code, message).","type":"array","items":{"oneOf":[{}],"uniqueKey":"error.details.items.[INDEX]","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"any[]"},"upgradeUrl":{"description":"Present on `UPGRADE_REQUIRED` responses (additive — see `ApiErrorCode`): the URL of the upgrade page for this workspace.","example":"https://app.octolens.com/me/upgrade?src=agents","type":"string","uniqueKey":"error.upgradeUrl","typeLabel":"string"},"upgradeCommand":{"description":"Present on `UPGRADE_REQUIRED` responses (additive): the CLI command that mints a single-use, already-authenticated link into the upgrade page.","example":"octolens upgrade","type":"string","uniqueKey":"error.upgradeCommand","typeLabel":"string"}},"required":["code","message","status"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"NOT_FOUND","message":"Resource not found","status":404,"details":["\u003cunknown>"],"upgradeUrl":"https://app.octolens.com/me/upgrade?src=agents","upgradeCommand":"octolens upgrade"}}}},"exampleType":"generated"}},"exampleType":"generated"},"83eba23d-78e7-413b-9152-9bb31fcb5dbf":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"description":"Standard error envelope returned for all non-2xx responses. The `code` field is stable — safe to branch on programmatically. `code`, `message` and `status` are always present; anything else is additive and per-code (`details` on `VALIDATION_ERROR`, `upgradeUrl`/`upgradeCommand` on `UPGRADE_REQUIRED`).","type":"object","properties":{"error":{"type":"object","properties":{"code":{"description":"Machine-readable error code. See `ApiErrorCode` for the full list.","type":"string","enum":["UNAUTHORIZED","FORBIDDEN","RATE_LIMITED","VALIDATION_ERROR","INTERNAL_ERROR","MEMBER_REQUIRED","BRIEF_DISABLED","INVALID_BRIEF_LINK","PREFERENCE_CHANGED","BRIEF_NOT_FOUND","INVALID_BRIEF_WINDOW","INVALID_RECIPIENT_COUNT","ORGANIZATION_REQUIRED","FORBIDDEN_ORGANIZATION","MASTER_KEY_REQUIRED","AGENCY_INACTIVE","NOT_AN_AGENCY_WORKSPACE","AGENCY_NOT_FOUND","WORKSPACE_NOT_IN_AGENCY","ANCHOR_WORKSPACE","AGENCY_WORKSPACE_LIMIT","INVITE_FANOUT_TOO_LARGE","SUPERADMIN_REMOVE_FORBIDDEN","USER_REQUIRED","FLEX_REQUIRES_CAP","FLEX_REQUIRES_BUDGET","AGENCY_BILLING_NOT_CONFIGURED","WORKSPACE_CREATE_FAILED","WORKSPACE_SETUP_FAILED","WORKSPACE_ACCESS_FAILED","UPGRADE_REQUIRED","QUOTA_EXCEEDED","WORKSPACE_PENDING_REVIEW","SETUP_DECISION_PENDING","MENTIONS_PREVIEW_NOT_READY","MENTIONS_NOT_VIEWED","KEYWORDS_STEP_INVALID","ONBOARDING_STEP_NOT_CURRENT","ONBOARDING_REVISION_CHANGED","ONBOARDING_IN_PROGRESS","SETUP_DRAFT_NOT_FOUND","PAYWALL","SANDBOX_WORKSPACE","SECOND_FREE_TRIAL_FORBIDDEN","AUTH_LOOKUP_UNAVAILABLE","NOT_IMPLEMENTED","FEED_NOT_ONBOARDING","NOT_FOUND","FEED_NOT_FOUND","KEYWORD_NOT_FOUND","KEYWORDS_NOT_FOUND","POST_NOT_FOUND","MENTION_NOT_FOUND","SUMMARY_NOT_FOUND","SEARCH_NOT_FOUND","SUGGESTION_NOT_FOUND","COMPANY_NOT_FOUND","ORG_NOT_FOUND","SETTINGS_NOT_FOUND","NOTIFICATION_NOT_FOUND","VIEW_NOT_FOUND","ALERT_NOT_FOUND","ATTENTION_ITEM_NOT_FOUND","FEATURE_DISABLED","MENTION_KEYWORD_UNKNOWN","EXPORT_LINK_UNAVAILABLE","INVALID_INPUT","KEYWORD_LIMIT_EXCEEDED","KEYWORD_OPERATOR_SYNTAX","LAST_ADMIN","ITEM_EXISTS","INVALID_DOMAIN","INVALID_TIMEZONE","SLACK_NOT_CONNECTED","SLACK_CHANNEL_NOT_FOUND","SLACK_CHANNEL_REQUIRED","WEBHOOK_URL_INVALID","NO_DESTINATIONS","NO_SAMPLE_MENTION","INVALID_DESTINATION","DESTINATION_INDEX_OUT_OF_RANGE","FILTER_LIMIT_EXCEEDED","FILTER_CONDITION_LIMIT_EXCEEDED","ENGAGEMENT_METRICS_DISABLED","ATTENTION_ACTION_NOT_APPLY","WEB_SOURCE_UNAVAILABLE","INSTAGRAM_SOURCE_UNAVAILABLE","FACEBOOK_SOURCE_UNAVAILABLE","DISCORD_SOURCE_UNAVAILABLE","DISCORD_ADMIN_ONLY","DISCORD_LINK_NOT_FOUND","DISCORD_MONITOR_NOT_FOUND","DISCORD_CHANNEL_INVALID","DISCORD_KEYWORD_NOT_TEXT","DISCORD_MONITOR_EXISTS","DISCORD_LINK_BUSY","DISCORD_MONITOR_BUSY","FEED_FILTER_WRITE_CONFLICT","ENGAGE_FAILED","RELEVANCE_UPDATE_FAILED"],"example":"NOT_FOUND","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"description":"Human-readable error message.","example":"Resource not found","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"status":{"description":"HTTP status code — always matches the response status.","example":404,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"error.status","typeLabel":"integer"},"details":{"description":"Present on `VALIDATION_ERROR` responses. Contains Zod issues describing each failing field (path, code, message).","type":"array","items":{"oneOf":[{}],"uniqueKey":"error.details.items.[INDEX]","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"any[]"},"upgradeUrl":{"description":"Present on `UPGRADE_REQUIRED` responses (additive — see `ApiErrorCode`): the URL of the upgrade page for this workspace.","example":"https://app.octolens.com/me/upgrade?src=agents","type":"string","uniqueKey":"error.upgradeUrl","typeLabel":"string"},"upgradeCommand":{"description":"Present on `UPGRADE_REQUIRED` responses (additive): the CLI command that mints a single-use, already-authenticated link into the upgrade page.","example":"octolens upgrade","type":"string","uniqueKey":"error.upgradeCommand","typeLabel":"string"}},"required":["code","message","status"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"NOT_FOUND","message":"Resource not found","status":404,"details":["\u003cunknown>"],"upgradeUrl":"https://app.octolens.com/me/upgrade?src=agents","upgradeCommand":"octolens upgrade"}}}},"exampleType":"generated"}},"exampleType":"generated"},"9e837724-7994-40ef-a8cb-3d2c6690ca2a":{"description":"Internal server error","content":{"application/json":{"schema":{"description":"Standard error envelope returned for all non-2xx responses. The `code` field is stable — safe to branch on programmatically. `code`, `message` and `status` are always present; anything else is additive and per-code (`details` on `VALIDATION_ERROR`, `upgradeUrl`/`upgradeCommand` on `UPGRADE_REQUIRED`).","type":"object","properties":{"error":{"type":"object","properties":{"code":{"description":"Machine-readable error code. See `ApiErrorCode` for the full list.","type":"string","enum":["UNAUTHORIZED","FORBIDDEN","RATE_LIMITED","VALIDATION_ERROR","INTERNAL_ERROR","MEMBER_REQUIRED","BRIEF_DISABLED","INVALID_BRIEF_LINK","PREFERENCE_CHANGED","BRIEF_NOT_FOUND","INVALID_BRIEF_WINDOW","INVALID_RECIPIENT_COUNT","ORGANIZATION_REQUIRED","FORBIDDEN_ORGANIZATION","MASTER_KEY_REQUIRED","AGENCY_INACTIVE","NOT_AN_AGENCY_WORKSPACE","AGENCY_NOT_FOUND","WORKSPACE_NOT_IN_AGENCY","ANCHOR_WORKSPACE","AGENCY_WORKSPACE_LIMIT","INVITE_FANOUT_TOO_LARGE","SUPERADMIN_REMOVE_FORBIDDEN","USER_REQUIRED","FLEX_REQUIRES_CAP","FLEX_REQUIRES_BUDGET","AGENCY_BILLING_NOT_CONFIGURED","WORKSPACE_CREATE_FAILED","WORKSPACE_SETUP_FAILED","WORKSPACE_ACCESS_FAILED","UPGRADE_REQUIRED","QUOTA_EXCEEDED","WORKSPACE_PENDING_REVIEW","SETUP_DECISION_PENDING","MENTIONS_PREVIEW_NOT_READY","MENTIONS_NOT_VIEWED","KEYWORDS_STEP_INVALID","ONBOARDING_STEP_NOT_CURRENT","ONBOARDING_REVISION_CHANGED","ONBOARDING_IN_PROGRESS","SETUP_DRAFT_NOT_FOUND","PAYWALL","SANDBOX_WORKSPACE","SECOND_FREE_TRIAL_FORBIDDEN","AUTH_LOOKUP_UNAVAILABLE","NOT_IMPLEMENTED","FEED_NOT_ONBOARDING","NOT_FOUND","FEED_NOT_FOUND","KEYWORD_NOT_FOUND","KEYWORDS_NOT_FOUND","POST_NOT_FOUND","MENTION_NOT_FOUND","SUMMARY_NOT_FOUND","SEARCH_NOT_FOUND","SUGGESTION_NOT_FOUND","COMPANY_NOT_FOUND","ORG_NOT_FOUND","SETTINGS_NOT_FOUND","NOTIFICATION_NOT_FOUND","VIEW_NOT_FOUND","ALERT_NOT_FOUND","ATTENTION_ITEM_NOT_FOUND","FEATURE_DISABLED","MENTION_KEYWORD_UNKNOWN","EXPORT_LINK_UNAVAILABLE","INVALID_INPUT","KEYWORD_LIMIT_EXCEEDED","KEYWORD_OPERATOR_SYNTAX","LAST_ADMIN","ITEM_EXISTS","INVALID_DOMAIN","INVALID_TIMEZONE","SLACK_NOT_CONNECTED","SLACK_CHANNEL_NOT_FOUND","SLACK_CHANNEL_REQUIRED","WEBHOOK_URL_INVALID","NO_DESTINATIONS","NO_SAMPLE_MENTION","INVALID_DESTINATION","DESTINATION_INDEX_OUT_OF_RANGE","FILTER_LIMIT_EXCEEDED","FILTER_CONDITION_LIMIT_EXCEEDED","ENGAGEMENT_METRICS_DISABLED","ATTENTION_ACTION_NOT_APPLY","WEB_SOURCE_UNAVAILABLE","INSTAGRAM_SOURCE_UNAVAILABLE","FACEBOOK_SOURCE_UNAVAILABLE","DISCORD_SOURCE_UNAVAILABLE","DISCORD_ADMIN_ONLY","DISCORD_LINK_NOT_FOUND","DISCORD_MONITOR_NOT_FOUND","DISCORD_CHANNEL_INVALID","DISCORD_KEYWORD_NOT_TEXT","DISCORD_MONITOR_EXISTS","DISCORD_LINK_BUSY","DISCORD_MONITOR_BUSY","FEED_FILTER_WRITE_CONFLICT","ENGAGE_FAILED","RELEVANCE_UPDATE_FAILED"],"example":"NOT_FOUND","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"description":"Human-readable error message.","example":"Resource not found","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"status":{"description":"HTTP status code — always matches the response status.","example":404,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"error.status","typeLabel":"integer"},"details":{"description":"Present on `VALIDATION_ERROR` responses. Contains Zod issues describing each failing field (path, code, message).","type":"array","items":{"oneOf":[{}],"uniqueKey":"error.details.items.[INDEX]","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"any[]"},"upgradeUrl":{"description":"Present on `UPGRADE_REQUIRED` responses (additive — see `ApiErrorCode`): the URL of the upgrade page for this workspace.","example":"https://app.octolens.com/me/upgrade?src=agents","type":"string","uniqueKey":"error.upgradeUrl","typeLabel":"string"},"upgradeCommand":{"description":"Present on `UPGRADE_REQUIRED` responses (additive): the CLI command that mints a single-use, already-authenticated link into the upgrade page.","example":"octolens upgrade","type":"string","uniqueKey":"error.upgradeCommand","typeLabel":"string"}},"required":["code","message","status"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"NOT_FOUND","message":"Resource not found","status":404,"details":["\u003cunknown>"],"upgradeUrl":"https://app.octolens.com/me/upgrade?src=agents","upgradeCommand":"octolens upgrade"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"ef58363a-a468-47c4-90e7-3faba4bbeaa6":{"ApiKey":{"type":"http","scheme":"bearer","description":"Clerk API key. Create one in Settings → API Keys. Pass as `Authorization: Bearer \u003ckey>`. Keys carry a scope — `read`, `write` (implies read) or `admin` (implies write) — chosen when the key is minted. Each operation's `security` requirement (and its `x-required-scope` extension) names the minimum scope it needs; request the least-privileged key that covers the operations you call.","x-key-scopes":{"read":"Read-only access: list/query mentions, keywords, feeds, analytics, org metadata.","write":"Read plus mutations: create/update/delete keywords, feeds, tags, filters, notifications. Implies `read`.","admin":"Write plus org administration: member management, invitations, agency workspaces. Implies `write`."},"scopes":["read"],"schemeName":"ApiKey"}}},"servers":{"95c85c73-69fc-4455-89ee-030232ddd6be":{"url":"https://app.octolens.com","description":"Production"},"7edc9ee9-5b0a-4aa6-8470-691b1ed2a22a":{"url":"http://localhost:3000","description":"Local development"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Clerk API key. Create one in Settings → API Keys. Pass as `Authorization: Bearer \u003ckey>`. Keys carry a scope — `read`, `write` (implies read) or `admin` (implies write) — chosen when the key is minted. Each operation's `security` requirement (and its `x-required-scope` extension) names the minimum scope it needs; request the least-privileged key that covers the operations you call.","x-key-scopes":{"read":"Read-only access: list/query mentions, keywords, feeds, analytics, org metadata.","write":"Read plus mutations: create/update/delete keywords, feeds, tags, filters, notifications. Implies `read`.","admin":"Write plus org administration: member management, invitations, agency workspaces. Implies `write`."},"scopes":["read"],"schemeName":"ApiKey"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Clerk API key. Create one in Settings → API Keys. Pass as `Authorization: Bearer \u003ckey>`. Keys carry a scope — `read`, `write` (implies read) or `admin` (implies write) — chosen when the key is minted. Each operation's `security` requirement (and its `x-required-scope` extension) names the minimum scope it needs; request the least-privileged key that covers the operations you call.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"ApiKey","name":"Authorization"}],"title":"ApiKey"}]},"originalFileLocation":"https://app.octolens.com/api/v2/openapi.json"},"subdomain":"octolens","siteName":"Octolens","title":"Read the onboarding state - Octolens","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-06T07:20:22.358Z","originalFileLocation":"api-reference/onboarding/read-the-onboarding-state.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"The whole octolens onboard read model: the current step, its status, the per-step view and what is next. A pure read. Answers for every org with an onboarding marker, including one waiting for review, a paywalled one and a finished one.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Octolens\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/octolens/5ta3dPrfAAQmNuLw/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/octolens/5ta3dPrfAAQmNuLw/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/octolens/5ta3dPrfAAQmNuLw/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/octolens/5ta3dPrfAAQmNuLw/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/octolens/5ta3dPrfAAQmNuLw/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/octolens/5ta3dPrfAAQmNuLw/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/octolens/5ta3dPrfAAQmNuLw/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/octolens/5ta3dPrfAAQmNuLw/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/octolens/5ta3dPrfAAQmNuLw/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Read the onboarding state - Octolens\">\u003cmeta data-mint-head property=\"og:description\" content=\"The whole octolens onboard read model: the current step, its status, the per-step view and what is next. A pure read. Answers for every org with an onboarding marker, including one waiting for review, a paywalled one and a finished one.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Octolens\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://octolens.com/docs/api-reference/onboarding/read-the-onboarding-state\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://octolens.mintlify.site/docs/_mintlify/api/og/v2?division=Onboarding\u0026amp;title=Read+the+onboarding+state\u0026amp;description=The+whole+%60octolens+onboard%60+read+model%3A+the+current+step%2C+its+status%2C+the+per-step+view+and+what+is+next.+A+pure+read.+Answers+for+every+org+with+an+onboarding\u0026amp;theme=d583b865662c59d3b1e7dd6a\u0026amp;signature=9e491fc8952d7ab800511d4ec25af944e99796454914a9e506a07eed0178b82f\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Read the onboarding state - Octolens\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"The whole octolens onboard read model: the current step, its status, the per-step view and what is next. A pure read. Answers for every org with an onboarding marker, including one waiting for review, a paywalled one and a finished one.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://octolens.mintlify.site/docs/_mintlify/api/og/v2?division=Onboarding\u0026amp;title=Read+the+onboarding+state\u0026amp;description=The+whole+%60octolens+onboard%60+read+model%3A+the+current+step%2C+its+status%2C+the+per-step+view+and+what+is+next.+A+pure+read.+Answers+for+every+org+with+an+onboarding\u0026amp;theme=d583b865662c59d3b1e7dd6a\u0026amp;signature=9e491fc8952d7ab800511d4ec25af944e99796454914a9e506a07eed0178b82f\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/octolens/5ta3dPrfAAQmNuLw/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Octolens\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7551B5\">\u003clink data-mint-head rel=\"canonical\" href=\"https://octolens.com/docs/api-reference/onboarding/read-the-onboarding-state\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/onboarding/read-the-onboarding-state.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://octolens.com/#organization\",\"name\":\"Octolens\",\"url\":\"https://octolens.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/octolens/WNDsqX0Zcsk1Nv6R/logo.png?fit=max\u0026auto=format\u0026n=WNDsqX0Zcsk1Nv6R\u0026q=85\u0026s=3b4eb4dc59ef232691d1bfb70bd366ef\"}},{\"@type\":\"WebSite\",\"@id\":\"https://octolens.com/docs#website\",\"name\":\"Octolens\",\"url\":\"https://octolens.com/docs\",\"publisher\":{\"@id\":\"https://octolens.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://octolens.com/docs/api-reference/onboarding/read-the-onboarding-state#webpage\",\"url\":\"https://octolens.com/docs/api-reference/onboarding/read-the-onboarding-state\",\"name\":\"Read the onboarding state\",\"description\":\"The whole octolens onboard read model: the current step, its status, the per-step view and what is next. A pure read. Answers for every org with an onboarding marker, including one waiting for review, a paywalled one and a finished one.\",\"dateModified\":\"2026-11-06T07:20:22.358Z\",\"isPartOf\":{\"@id\":\"https://octolens.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://octolens.com/docs/api-reference/onboarding/read-the-onboarding-state#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://octolens.com/docs/api-reference/onboarding/read-the-onboarding-state#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API v2\",\"item\":\"https://octolens.com/docs/api/v2/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Read the onboarding state\",\"item\":\"https://octolens.com/docs/api-reference/onboarding/read-the-onboarding-state\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://octolens.com/docs/api-reference/onboarding/read-the-onboarding-state#apireference\",\"headline\":\"Read the onboarding state\",\"name\":\"Read the onboarding state\",\"description\":\"The whole octolens onboard read model: the current step, its status, the per-step view and what is next. A pure read. Answers for every org with an onboarding marker, including one waiting for review, a paywalled one and a finished one.\",\"url\":\"https://octolens.com/docs/api-reference/onboarding/read-the-onboarding-state\",\"mainEntityOfPage\":{\"@id\":\"https://octolens.com/docs/api-reference/onboarding/read-the-onboarding-state#webpage\"},\"dateModified\":\"2026-11-06T07:20:22.358Z\",\"publisher\":{\"@id\":\"https://octolens.com/#organization\"},\"isPartOf\":{\"@id\":\"https://octolens.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Octolens\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Octolens","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"MCP Server","pages":[{"title":"MCP Server","href":"/mcp/v2/overview"}]},{"tab":"API Reference","groups":[{"group":"API v2","root":{"title":"API Reference","href":"/api/v2/overview"},"pages":[{"group":"Auth","pages":[{"title":"Introspect the credential","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/auth","href":"/api-reference/auth/introspect-the-credential"}]},{"group":"Feeds","pages":[{"title":"List feeds","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/feeds","href":"/api-reference/feeds/list-feeds"},{"title":"Create a feed","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json post /api/v2/feeds","href":"/api-reference/feeds/create-a-feed"},{"title":"Get a feed","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/feeds/{id}","href":"/api-reference/feeds/get-a-feed"},{"title":"Delete a feed","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json delete /api/v2/feeds/{id}","href":"/api-reference/feeds/delete-a-feed"},{"title":"Update a feed","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json patch /api/v2/feeds/{id}","href":"/api-reference/feeds/update-a-feed"}]},{"group":"Keywords","pages":[{"title":"List keywords","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/keywords","href":"/api-reference/keywords/list-keywords"},{"title":"Create a keyword","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json post /api/v2/keywords","href":"/api-reference/keywords/create-a-keyword"},{"title":"Delete a keyword","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json delete /api/v2/keywords/{id}","href":"/api-reference/keywords/delete-a-keyword"},{"title":"Update a keyword","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json patch /api/v2/keywords/{id}","href":"/api-reference/keywords/update-a-keyword"},{"title":"Pause or resume a keyword","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json post /api/v2/keywords/{id}/pause","href":"/api-reference/keywords/pause-or-resume-a-keyword"},{"title":"Preview what deleting a keyword would destroy","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/keywords/{id}/deletion-preview","href":"/api-reference/keywords/preview-what-deleting-a-keyword-would-destroy"},{"title":"List keyword suggestions","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/keywords/suggestions","href":"/api-reference/keywords/list-keyword-suggestions"},{"title":"Accept a keyword suggestion","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json post /api/v2/keywords/suggestions","href":"/api-reference/keywords/accept-a-keyword-suggestion"},{"title":"Reject keyword suggestion(s)","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json delete /api/v2/keywords/suggestions","href":"/api-reference/keywords/reject-keyword-suggestions"},{"title":"Keyword health","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/keywords/{id}/health","href":"/api-reference/keywords/keyword-health"},{"title":"Estimate keyword volume","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json post /api/v2/keywords/estimate","href":"/api-reference/keywords/estimate-keyword-volume"}]},{"group":"Mentions","pages":[{"title":"List mentions","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json post /api/v2/mentions","href":"/api-reference/mentions/list-mentions"},{"title":"List mentions by author","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/mentions/by-author","href":"/api-reference/mentions/list-mentions-by-author"},{"title":"Get a mention","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/mentions/{sourceId}","href":"/api-reference/mentions/get-a-mention"},{"title":"Update a mention","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json patch /api/v2/mentions/{sourceId}","href":"/api-reference/mentions/update-a-mention"},{"title":"Get a mention (id as query parameter)","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/mentions/by-id","href":"/api-reference/mentions/get-a-mention-id-as-query-parameter"},{"title":"Update a mention (id as query parameter)","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json patch /api/v2/mentions/by-id","href":"/api-reference/mentions/update-a-mention-id-as-query-parameter"},{"title":"Export mentions","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json post /api/v2/mentions/export","href":"/api-reference/mentions/export-mentions"},{"title":"Record feedback on a mention","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json post /api/v2/mentions/feedback","href":"/api-reference/mentions/record-feedback-on-a-mention"},{"title":"Export mentions to a download link","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json post /api/v2/mentions/export/link","href":"/api-reference/mentions/export-mentions-to-a-download-link"}]},{"group":"Analytics","pages":[{"title":"Sentiment distribution","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/analytics/sentiment","href":"/api-reference/analytics/sentiment-distribution"},{"title":"Mention volume over time","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/analytics/volume","href":"/api-reference/analytics/mention-volume-over-time"},{"title":"Source/platform breakdown","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/analytics/sources","href":"/api-reference/analytics/sourceplatform-breakdown"},{"title":"Per-keyword breakdown","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/analytics/keywords","href":"/api-reference/analytics/per-keyword-breakdown"},{"title":"Composite dashboard overview","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/analytics/dashboard","href":"/api-reference/analytics/composite-dashboard-overview"},{"title":"Sentiment breakdown per keyword","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/analytics/sentiment-by-keyword","href":"/api-reference/analytics/sentiment-breakdown-per-keyword"},{"title":"Volume over time (day / week / month, optional split)","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/analytics/volume-over-time","href":"/api-reference/analytics/volume-over-time-day-week-month-optional-split"},{"title":"Top sources by volume, with High-relevance share","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/analytics/top-sources","href":"/api-reference/analytics/top-sources-by-volume-with-high-relevance-share"},{"title":"Top keywords by volume, with High-relevance share","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/analytics/top-keywords","href":"/api-reference/analytics/top-keywords-by-volume-with-high-relevance-share"},{"title":"Period summary vs the prior period","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/analytics/summary","href":"/api-reference/analytics/period-summary-vs-the-prior-period"},{"title":"Share of voice: your brand vs competitors","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/analytics/share-of-voice","href":"/api-reference/analytics/share-of-voice:-your-brand-vs-competitors"},{"title":"Share of mentions by one dimension","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/analytics/breakdown","href":"/api-reference/analytics/share-of-mentions-by-one-dimension"}]},{"group":"Organization","pages":[{"title":"Get organization","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/org","href":"/api-reference/organization/get-organization"},{"title":"Update organization","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json patch /api/v2/org","href":"/api-reference/organization/update-organization"},{"title":"Get usage stats","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/org/usage","href":"/api-reference/organization/get-usage-stats"},{"title":"Mint an authenticated upgrade link","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json post /api/v2/org/upgrade-link","href":"/api-reference/organization/mint-an-authenticated-upgrade-link"},{"title":"Get company profile","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/org/company","href":"/api-reference/organization/get-company-profile"},{"title":"Update company profile","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json patch /api/v2/org/company","href":"/api-reference/organization/update-company-profile"},{"title":"Get your Daily Brief preference","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/me/brief-preference","href":"/api-reference/organization/get-your-daily-brief-preference"},{"title":"Update your Daily Brief preference","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json patch /api/v2/me/brief-preference","href":"/api-reference/organization/update-your-daily-brief-preference"},{"title":"Build an app deep link","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/app-link","href":"/api-reference/organization/build-an-app-deep-link"}]},{"group":"Feedback","pages":[{"title":"Submit relevance feedback","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json post /api/v2/feedback","href":"/api-reference/feedback/submit-relevance-feedback"},{"title":"Remove relevance feedback","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json delete /api/v2/feedback","href":"/api-reference/feedback/remove-relevance-feedback"},{"title":"Get feedback stats","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/feedback/stats","href":"/api-reference/feedback/get-feedback-stats"}]},{"group":"AI","pages":[{"title":"Convert natural language to filters","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json post /api/v2/ai/filter-wizard","href":"/api-reference/ai/convert-natural-language-to-filters"},{"title":"Recommend monitoring settings from search history","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/ai/monitoring-recommendations","href":"/api-reference/ai/recommend-monitoring-settings-from-search-history"}]},{"group":"Setup","pages":[{"title":"Scan a domain into a setup draft","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json post /api/v2/setup/scan","href":"/api-reference/setup/scan-a-domain-into-a-setup-draft"},{"title":"Propose a keyword setup for a scanned draft","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json post /api/v2/setup/propose","href":"/api-reference/setup/propose-a-keyword-setup-for-a-scanned-draft"},{"title":"Get a setup proposal","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/setup/proposals/{id}","href":"/api-reference/setup/get-a-setup-proposal"},{"title":"Apply a setup proposal","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json post /api/v2/setup/proposals/{id}/apply","href":"/api-reference/setup/apply-a-setup-proposal"},{"title":"Clean up an applied setup","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json post /api/v2/setup/proposals/{id}/cleanup","href":"/api-reference/setup/clean-up-an-applied-setup"}]},{"group":"Members","pages":[{"title":"List organization members","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/org/members","href":"/api-reference/members/list-organization-members"},{"title":"Invite a member","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json post /api/v2/org/members/invite","href":"/api-reference/members/invite-a-member"},{"title":"List pending invitations","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/org/members/invitations","href":"/api-reference/members/list-pending-invitations"},{"title":"Remove a member or revoke an invitation","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json delete /api/v2/org/members/{id}","href":"/api-reference/members/remove-a-member-or-revoke-an-invitation"}]},{"group":"Filters","pages":[{"title":"Get global filters","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/filters/global","href":"/api-reference/filters/get-global-filters"},{"title":"Update global filters","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json patch /api/v2/filters/global","href":"/api-reference/filters/update-global-filters"},{"title":"Add values to a global filter list","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json post /api/v2/filters/global/add","href":"/api-reference/filters/add-values-to-a-global-filter-list"},{"title":"Remove values from a global filter list","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json post /api/v2/filters/global/remove","href":"/api-reference/filters/remove-values-from-a-global-filter-list"},{"title":"List filterable tags","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/tags","href":"/api-reference/filters/list-filterable-tags"}]},{"group":"Integrations","pages":[{"title":"Search Slack channels","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/integrations/slack/channels","href":"/api-reference/integrations/search-slack-channels"},{"title":"Slack connection status","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/integrations/slack","href":"/api-reference/integrations/slack-connection-status"},{"title":"List connected Discord servers","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/integrations/discord/servers","href":"/api-reference/integrations/list-connected-discord-servers"},{"title":"Get a connected Discord server","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/integrations/discord/servers/{linkId}","href":"/api-reference/integrations/get-a-connected-discord-server"},{"title":"Disconnect a Discord server","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json delete /api/v2/integrations/discord/servers/{linkId}","href":"/api-reference/integrations/disconnect-a-discord-server"},{"title":"Set a Discord server's channel scope","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json patch /api/v2/integrations/discord/servers/{linkId}","href":"/api-reference/integrations/set-a-discord-servers-channel-scope"},{"title":"List Discord watch monitors","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/integrations/discord/monitors","href":"/api-reference/integrations/list-discord-watch-monitors"},{"title":"Watch a Discord server under a keyword","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json post /api/v2/integrations/discord/monitors","href":"/api-reference/integrations/watch-a-discord-server-under-a-keyword"},{"title":"Get a Discord watch monitor","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/integrations/discord/monitors/{id}","href":"/api-reference/integrations/get-a-discord-watch-monitor"},{"title":"Delete a Discord watch monitor","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json delete /api/v2/integrations/discord/monitors/{id}","href":"/api-reference/integrations/delete-a-discord-watch-monitor"},{"title":"Edit, pause or resume a Discord watch monitor","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json patch /api/v2/integrations/discord/monitors/{id}","href":"/api-reference/integrations/edit-pause-or-resume-a-discord-watch-monitor"}]},{"group":"Search","pages":[{"title":"List past on-demand searches","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/search","href":"/api-reference/search/list-past-on-demand-searches"},{"title":"Run an on-demand mention search","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json post /api/v2/search","href":"/api-reference/search/run-an-on-demand-mention-search"},{"title":"Get an on-demand search","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/search/{searchId}","href":"/api-reference/search/get-an-on-demand-search"}]},{"group":"Notifications","pages":[{"title":"List notifications","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/notifications","href":"/api-reference/notifications/list-notifications"},{"title":"Create a notification","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json post /api/v2/notifications","href":"/api-reference/notifications/create-a-notification"},{"title":"Get a notification","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/notifications/{id}","href":"/api-reference/notifications/get-a-notification"},{"title":"Delete a notification","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json delete /api/v2/notifications/{id}","href":"/api-reference/notifications/delete-a-notification"},{"title":"Update a notification","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json patch /api/v2/notifications/{id}","href":"/api-reference/notifications/update-a-notification"},{"title":"Test a notification","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json post /api/v2/notifications/{id}/test","href":"/api-reference/notifications/test-a-notification"}]},{"group":"Agency","pages":[{"title":"Agency overview","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/agency","href":"/api-reference/agency/agency-overview"},{"title":"List agency workspaces","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/agency/workspaces","href":"/api-reference/agency/list-agency-workspaces"},{"title":"Create an agency workspace","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json post /api/v2/agency/workspaces","href":"/api-reference/agency/create-an-agency-workspace"},{"title":"Get an agency workspace","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/agency/workspaces/{orgId}","href":"/api-reference/agency/get-an-agency-workspace"},{"title":"Delete an agency workspace","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json delete /api/v2/agency/workspaces/{orgId}","href":"/api-reference/agency/delete-an-agency-workspace"},{"title":"Update workspace limits / flex","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json patch /api/v2/agency/workspaces/{orgId}","href":"/api-reference/agency/update-workspace-limits-flex"},{"title":"List workspace members","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/agency/workspaces/{orgId}/members","href":"/api-reference/agency/list-workspace-members"},{"title":"Invite members to workspaces","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json post /api/v2/agency/members/invite","href":"/api-reference/agency/invite-members-to-workspaces"},{"title":"Remove a member from workspaces","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json post /api/v2/agency/members/remove","href":"/api-reference/agency/remove-a-member-from-workspaces"}]},{"group":"Attention","pages":[{"title":"List attention items","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/attention","href":"/api-reference/attention/list-attention-items"},{"title":"Dismiss or restore an attention item","description":"Moves the item's dismissal to an explicit TARGET state for the WHOLE workspace (not just the caller). `{ \"dismissed\": true }` dismisses: the dismissal is keyed by the item's `dedupeKey` and lapses at `suppressedUntil` (null = never), after which the rule may raise the same subject again; dismissing an already-dismissed item refreshes the window. `{ \"dismissed\": false }` restores it. The write is ABSOLUTE and idempotent — safe to retry and to call concurrently — and `dismissed` in the response is the COMMITTED state. An unknown id — or one belonging to another workspace — answers 404 `ATTENTION_ITEM_NOT_FOUND`.","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json post /api/v2/attention/{id}/dismiss","href":"/api-reference/attention/dismiss-or-restore-an-attention-item"}]},{"group":"Onboarding","pages":[{"title":"Read the onboarding state","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/onboarding","href":"/api-reference/onboarding/read-the-onboarding-state"},{"title":"Start the website scan","description":"Creates the setup draft for a domain (default: the verified email's) and scans it in the background. Answers `202` with the draft at once; poll `GET /api/v2/onboarding/draft`. `400 INVALID_DOMAIN` for a domain that cannot be parsed; `429 RATE_LIMITED` past 5 scans per user per day.","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json post /api/v2/onboarding/scan","href":"/api-reference/onboarding/start-the-website-scan"},{"title":"Read the onboarding draft","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/onboarding/draft","href":"/api-reference/onboarding/read-the-onboarding-draft"},{"title":"Edit or confirm the company profile","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json patch /api/v2/onboarding/draft/profile","href":"/api-reference/onboarding/edit-or-confirm-the-company-profile"},{"title":"Read the keyword proposal","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/onboarding/proposal","href":"/api-reference/onboarding/read-the-keyword-proposal"},{"title":"Start the keyword proposal","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json post /api/v2/onboarding/proposal","href":"/api-reference/onboarding/start-the-keyword-proposal"},{"title":"Check keyword edits","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json post /api/v2/onboarding/keywords/check","href":"/api-reference/onboarding/check-keyword-edits"},{"title":"Assess a typed-in keyword","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json post /api/v2/onboarding/keywords/assess","href":"/api-reference/onboarding/assess-a-typed-in-keyword"},{"title":"Create the trial workspace","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json post /api/v2/onboarding/trial","href":"/api-reference/onboarding/create-the-trial-workspace"},{"title":"Read the first mentions","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/onboarding/mentions","href":"/api-reference/onboarding/read-the-first-mentions"},{"title":"Record that the mentions were shown","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json post /api/v2/onboarding/mentions/shown","href":"/api-reference/onboarding/record-that-the-mentions-were-shown"},{"title":"Clean up, keep everything, or undo","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json post /api/v2/onboarding/mentions/decision","href":"/api-reference/onboarding/clean-up-keep-everything-or-undo"},{"title":"Take one onboarding transition","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json post /api/v2/onboarding/advance","href":"/api-reference/onboarding/take-one-onboarding-transition"},{"title":"Read the feeds board","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/onboarding/feeds","href":"/api-reference/onboarding/read-the-feeds-board"},{"title":"Read the Slack step","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/onboarding/slack","href":"/api-reference/onboarding/read-the-slack-step"},{"title":"Route feeds to Slack channels","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json put /api/v2/onboarding/slack/routes","href":"/api-reference/onboarding/route-feeds-to-slack-channels"},{"title":"Mint a browser handoff link","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json post /api/v2/onboarding/handoff","href":"/api-reference/onboarding/mint-a-browser-handoff-link"},{"title":"Read the MCP step","deprecated":null,"version":null,"openapi":"https://app.octolens.com/api/v2/openapi.json get /api/v2/onboarding/mcp","href":"/api-reference/onboarding/read-the-mcp-step"}]}]},{"group":"API v1 (Legacy)","pages":[{"title":"API Reference","href":"/api/overview"}]}]},{"tab":"CLI","pages":[{"title":"CLI","href":"/cli/overview"}]}]},"basePath":"","title":"Read the onboarding state - Octolens","buildId":"dpl_6dVqRXFR2Go5vF5RLvAdHuv189oT","deploymentId":"dpl_6dVqRXFR2Go5vF5RLvAdHuv189oT","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-D_7my4bd.js","utils-Cq_itTNA.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-B5KPEvGz.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DBX-JepP.js","snippetPresets-Bsspz-Ge.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-t8ynOKTD.js","ApiExamples-jcs-2nGf.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Dp53in7F.js","shallow-Dv9eUdUd.js","getApiPlaygroundDisplay-D8cDwNhi.js","CodeSnippet-DkwXLQor.js","CodeSnippets-DcSgKqs5.js","getPastedJson-I2RjoApV.js","icon-BIj57rZC.js","MethodPill-CTwLPWXC.js","DuplicateIcon-BJpFwygY.js","createIcon-C7PorfAe.js","DynamicMarkdown-BBht_uEs.js","SectionHeading-YIBwxbzj.js","axios-vUo_bRtp.js","Markdown--YCeFtOs.js","clsx-CrPa459s.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BWxsj3I0.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-fBzVvq7k.js"]}