Confirms the keywords and creates the free-trial workspace. Idempotent: a repeat answers alreadyApplied: true. 409 ONBOARDING_IN_PROGRESS while another call holds the lock (retry in 5 s); 403 SECOND_FREE_TRIAL_FORBIDDEN / PAYWALL / SANDBOX_WORKSPACE. The trial clock starts when setup finishes, not here.
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.
{"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/create-the-trial-workspace","slug":"/api-reference/onboarding/create-the-trial-workspace","pageMetadata":{"title":"Create the trial workspace","description":"Confirms the keywords and creates the free-trial workspace. Idempotent: a repeat answers `alreadyApplied: true`. `409 ONBOARDING_IN_PROGRESS` while another call holds the lock (retry in 5 s); `403 SECOND_FREE_TRIAL_FORBIDDEN` / `PAYWALL` / `SANDBOX_WORKSPACE`. The trial clock starts when setup finishes, not here.","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","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: [\"Confirms the keywords and creates the free-trial workspace. Idempotent: a repeat answers \", _jsx(_components.code, {\n children: \"alreadyApplied: true\"\n }), \". \", _jsx(_components.code, {\n children: \"409 ONBOARDING_IN_PROGRESS\"\n }), \" while another call holds the lock (retry in 5 s); \", _jsx(_components.code, {\n children: \"403 SECOND_FREE_TRIAL_FORBIDDEN\"\n }), \" / \", _jsx(_components.code, {\n children: \"PAYWALL\"\n }), \" / \", _jsx(_components.code, {\n children: \"SANDBOX_WORKSPACE\"\n }), \". The trial clock starts when setup finishes, not here.\"]\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":"Create the trial workspace","description":"Confirms the keywords and creates the free-trial workspace. Idempotent: a repeat answers `alreadyApplied: true`. `409 ONBOARDING_IN_PROGRESS` while another call holds the lock (retry in 5 s); `403 SECOND_FREE_TRIAL_FORBIDDEN` / `PAYWALL` / `SANDBOX_WORKSPACE`. The trial clock starts when setup finishes, not here.","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","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/octolens/e456fc9c822f0ecf/scripts.js"],"openApiReferenceData":{"operation":{"operationId":"startOnboardingTrial","summary":"Create the trial workspace","description":"Confirms the keywords and creates the free-trial workspace. Idempotent: a repeat answers `alreadyApplied: true`. `409 ONBOARDING_IN_PROGRESS` while another call holds the lock (retry in 5 s); `403 SECOND_FREE_TRIAL_FORBIDDEN` / `PAYWALL` / `SANDBOX_WORKSPACE`. The trial clock starts when setup finishes, not here.","tags":["Onboarding"],"x-required-scope":"write","security":["af56f7f9-55b6-48c1-a7bf-1c6627270e54"],"requestBody":"92eb9158-a6c6-4dca-a51e-1cf4baa10212","responses":{"200":"32cb0cbe-fd83-4949-9b82-1d24722ce28e","400":"cf1c814f-aec8-4799-9221-3fe6e78d79c3","401":"0df3d8bb-f050-45d4-8782-d4b52637a97a","403":"a2049016-2c65-44d7-914d-5c7c960b9162","429":"b6b33b25-d285-471c-be19-d26e85408eef","500":"4e58c3e9-22e5-4aa2-9f2b-9702d7834c0d"},"method":"post","type":"path","servers":["95c85c73-69fc-4455-89ee-030232ddd6be","7edc9ee9-5b0a-4aa6-8470-691b1ed2a22a"],"path":"/api/v2/onboarding/trial","baseUrlOptions":["https://app.octolens.com","http://localhost:3000"],"title":"Create the trial workspace","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"draftId":{"description":"The `draft_…` id. Optional on every onboarding route: defaults to the onboarding's current draft.","example":"draft_k3v9x0q2m1","type":"string","minLength":1,"maxLength":64,"uniqueKey":"draftId","typeLabel":"string"},"selections":{"type":"object","properties":{"keywordRefs":{"description":"The keywords the user kept.","maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":64,"uniqueKey":"selections.keywordRefs.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"selections.keywordRefs","typeLabel":"string[]"},"optionIds":{"default":[],"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":64,"uniqueKey":"selections.optionIds.items.[INDEX]","typeLabel":"string"},"uniqueKey":"selections.optionIds","typeLabel":"string[]"},"confirmedHandles":{"description":"Refs of handle-shaped keywords the user confirmed (G3).","default":[],"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":64,"uniqueKey":"selections.confirmedHandles.items.[INDEX]","typeLabel":"string"},"uniqueKey":"selections.confirmedHandles","typeLabel":"string[]"},"platformsOff":{"default":[],"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":64,"uniqueKey":"selections.platformsOff.items.[INDEX]","typeLabel":"string"},"uniqueKey":"selections.platformsOff","typeLabel":"string[]"},"tags":{"description":"Type changes the user made on the keywords step, per kept proposal keyword. The keyword moves to the feed of its new type; every gate runs on the edited setup.","default":[],"maxItems":50,"type":"array","items":{"type":"object","properties":{"ref":{"description":"The proposal keyword's ref.","type":"string","minLength":1,"maxLength":64,"isRequired":true,"uniqueKey":"selections.tags.items.[INDEX].ref","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":"selections.tags.items.[INDEX].tag","typeLabel":"enum\u003cstring>"}},"required":["ref","tag"],"uniqueKey":"selections.tags.items.[INDEX]","typeLabel":"object"},"uniqueKey":"selections.tags","typeLabel":"object[]"},"addedKeywords":{"description":"Keywords the user typed in on the keywords step. Each is written as typed (no settings), in the feed of its type, and passes every keyword gate first (operator syntax is refused).","default":[],"maxItems":5,"type":"array","items":{"type":"object","properties":{"keyword":{"type":"string","minLength":1,"maxLength":191,"isRequired":true,"uniqueKey":"selections.addedKeywords.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":"selections.addedKeywords.items.[INDEX].tag","typeLabel":"enum\u003cstring>"},"additionalTerms":{"description":"U8 (OCT-1739): the must-also-mention terms as the user left them. Present = written as given (an empty list = counted on every post); absent = as assessed when the keyword was added.","maxItems":40,"type":"array","items":{"type":"string","minLength":1,"maxLength":191,"uniqueKey":"selections.addedKeywords.items.[INDEX].additionalTerms.items.[INDEX]","typeLabel":"string"},"uniqueKey":"selections.addedKeywords.items.[INDEX].additionalTerms","typeLabel":"string[]"},"excludeWords":{"description":"U8 (OCT-1739): the skip words as the user left them. Present = written as given; absent = as assessed.","maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":191,"uniqueKey":"selections.addedKeywords.items.[INDEX].excludeWords.items.[INDEX]","typeLabel":"string"},"uniqueKey":"selections.addedKeywords.items.[INDEX].excludeWords","typeLabel":"string[]"}},"required":["keyword","tag"],"uniqueKey":"selections.addedKeywords.items.[INDEX]","typeLabel":"object"},"uniqueKey":"selections.addedKeywords","typeLabel":"object[]"},"refinements":{"description":"U8 (OCT-1739): how the user left a kept proposal keyword's counting rule on the keywords step — its must-also-mention terms and skip words replace the proposal's; every keyword gate runs on the edited setup.","default":[],"maxItems":50,"type":"array","items":{"type":"object","properties":{"ref":{"type":"string","minLength":1,"maxLength":64,"isRequired":true,"uniqueKey":"selections.refinements.items.[INDEX].ref","typeLabel":"string"},"additionalTerms":{"description":"Counted only when the post also mentions one of these. Present = replaces the proposal's (an empty list = every post that names the keyword); absent = the proposal's stand.","maxItems":40,"type":"array","items":{"type":"string","minLength":1,"maxLength":191,"uniqueKey":"selections.refinements.items.[INDEX].additionalTerms.items.[INDEX]","typeLabel":"string"},"uniqueKey":"selections.refinements.items.[INDEX].additionalTerms","typeLabel":"string[]"},"excludeWords":{"description":"Posts with any of these words are skipped. Present = replaces the proposal's; absent = the proposal's stand.","maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":191,"uniqueKey":"selections.refinements.items.[INDEX].excludeWords.items.[INDEX]","typeLabel":"string"},"uniqueKey":"selections.refinements.items.[INDEX].excludeWords","typeLabel":"string[]"}},"required":["ref"],"uniqueKey":"selections.refinements.items.[INDEX]","typeLabel":"object"},"uniqueKey":"selections.refinements","typeLabel":"object[]"}},"required":["keywordRefs"],"description":"Sonar: what the person kept. Omitted = the proposal's defaults.","uniqueKey":"selections","typeLabel":"object"},"keywords":{"description":"The raw keywords: the classic engine, or a Sonar onboarding whose proposal failed or timed out (send them with no draftId and no selections).","maxItems":20,"type":"array","items":{"type":"object","properties":{"keyword":{"type":"string","minLength":1,"maxLength":191,"isRequired":true,"uniqueKey":"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":"keywords.items.[INDEX].tag","typeLabel":"enum\u003cstring>"},"ref":{"type":"string","maxLength":64,"uniqueKey":"keywords.items.[INDEX].ref","typeLabel":"string"}},"required":["keyword","tag"],"uniqueKey":"keywords.items.[INDEX]","typeLabel":"object"},"uniqueKey":"keywords","typeLabel":"object[]"},"ifRevision":{"description":"Refuse with 409 ONBOARDING_REVISION_CHANGED unless the state is still at this revision.","type":"string","minLength":1,"maxLength":128,"uniqueKey":"ifRevision","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"draftId":"draft_k3v9x0q2m1","keywords":[{"keyword":"\u003cstring>","tag":"own_brand","ref":"\u003cstring>"}],"ifRevision":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"32cb0cbe-fd83-4949-9b82-1d24722ce28e":{"description":"200 response","content":{"application/json":{"schema":{"type":"object","properties":{"alreadyApplied":{"description":"True when this onboarding's trial already existed (idempotent re-run).","type":"boolean","isRequired":true,"uniqueKey":"alreadyApplied","typeLabel":"boolean"},"pendingReview":{"type":"boolean","isRequired":true,"uniqueKey":"pendingReview","typeLabel":"boolean"},"trial":{"type":"object","properties":{"plan":{"type":"string","const":"Free_trial","isRequired":true,"uniqueKey":"trial.plan","typeLabel":"string"},"allowance":{"description":"Trial mention allowance.","type":"integer","minimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"trial.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.startsAt.oneOf.0","typeLabel":"string"},{"type":"string","description":"`on_finish` until setup finishes (`onboardingFinishedAt`), then the ISO start.","isRequired":true,"uniqueKey":"trial.startsAt.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"trial.startsAt","typeLabel":"string"},"endsAt":{"oneOf":[{"type":"string","description":"Null until the trial clock started (design D11).","isRequired":true,"uniqueKey":"trial.endsAt.oneOf.0","typeLabel":"string"},{"type":"null","description":"Null until the trial clock started (design D11).","isRequired":true,"uniqueKey":"trial.endsAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"trial.endsAt","typeLabel":"string | null"}},"required":["plan","allowance","startsAt","endsAt"],"additionalProperties":false,"isRequired":true,"uniqueKey":"trial","typeLabel":"object"},"state":{"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":"state.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":"state.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":"state.revision","typeLabel":"string"},"engine":{"type":"string","enum":["sonar","classic"],"isRequired":true,"uniqueKey":"state.engine","typeLabel":"enum\u003cstring>"},"handle":{"type":"object","properties":{"orgId":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"state.handle.orgId.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"state.handle.orgId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"state.handle.orgId","typeLabel":"string | null"},"draftId":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"state.handle.draftId.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"state.handle.draftId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"state.handle.draftId","typeLabel":"string | null"},"proposalId":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"state.handle.proposalId.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"state.handle.proposalId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"state.handle.proposalId","typeLabel":"string | null"}},"required":["orgId","draftId","proposalId"],"additionalProperties":false,"isRequired":true,"uniqueKey":"state.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":"state.completed.items.[INDEX]","typeLabel":"enum\u003cstring>"},"isRequired":true,"uniqueKey":"state.completed","typeLabel":"enum\u003cstring>[]"},"reviewed":{"description":"True after manual review approved the workspace (the post-review tail).","type":"boolean","isRequired":true,"uniqueKey":"state.reviewed","typeLabel":"boolean"},"pendingReview":{"type":"boolean","isRequired":true,"uniqueKey":"state.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":"state.trial.oneOf.0.plan","typeLabel":"string"},"allowance":{"description":"Trial mention allowance.","type":"integer","minimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"state.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":"state.trial.oneOf.0.startsAt.oneOf.0","typeLabel":"string"},{"type":"string","description":"`on_finish` until setup finishes (`onboardingFinishedAt`), then the ISO start.","isRequired":true,"uniqueKey":"state.trial.oneOf.0.startsAt.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"state.trial.oneOf.0.startsAt","typeLabel":"string"},"endsAt":{"oneOf":[{"type":"string","description":"Null until the trial clock started (design D11).","isRequired":true,"uniqueKey":"state.trial.oneOf.0.endsAt.oneOf.0","typeLabel":"string"},{"type":"null","description":"Null until the trial clock started (design D11).","isRequired":true,"uniqueKey":"state.trial.oneOf.0.endsAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"state.trial.oneOf.0.endsAt","typeLabel":"string | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"state.trial.oneOf.0","typeLabel":"object"},{"type":"null","description":"Null until the workspace exists (keywords confirmed).","isRequired":true,"uniqueKey":"state.trial.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"state.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":"state.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":"state.view.website.oneOf.0.scanSteps.items.[INDEX].step","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["pending","ok","failed","skipped"],"isRequired":true,"uniqueKey":"state.view.website.oneOf.0.scanSteps.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"line":{"type":"string","isRequired":true,"uniqueKey":"state.view.website.oneOf.0.scanSteps.items.[INDEX].line","typeLabel":"string"},"ms":{"type":"integer","minimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"state.view.website.oneOf.0.scanSteps.items.[INDEX].ms","typeLabel":"integer"}},"required":["step","status","line","ms"],"additionalProperties":false,"uniqueKey":"state.view.website.oneOf.0.scanSteps.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"state.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":"state.view.website.oneOf.0.profile.oneOf.0.name","typeLabel":"string"},"description":{"type":"string","maxLength":2000,"isRequired":true,"uniqueKey":"state.view.website.oneOf.0.profile.oneOf.0.description","typeLabel":"string"},"industry":{"type":"string","maxLength":191,"isRequired":true,"uniqueKey":"state.view.website.oneOf.0.profile.oneOf.0.industry","typeLabel":"string"},"website":{"type":"string","maxLength":300,"isRequired":true,"uniqueKey":"state.view.website.oneOf.0.profile.oneOf.0.website","typeLabel":"string"},"domainVariants":{"maxItems":10,"type":"array","items":{"type":"string","maxLength":255,"uniqueKey":"state.view.website.oneOf.0.profile.oneOf.0.domainVariants.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"state.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":"state.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":"state.view.website.oneOf.0.profile.oneOf.0.productAreas.items.[INDEX].path","typeLabel":"string"}},"required":["label","path"],"additionalProperties":false,"uniqueKey":"state.view.website.oneOf.0.profile.oneOf.0.productAreas.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"state.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":"state.view.website.oneOf.0.profile.oneOf.0.ownAccounts.items.[INDEX].platform","typeLabel":"enum\u003cstring>"},"handle":{"type":"string","minLength":1,"maxLength":191,"isRequired":true,"uniqueKey":"state.view.website.oneOf.0.profile.oneOf.0.ownAccounts.items.[INDEX].handle","typeLabel":"string"}},"required":["platform","handle"],"additionalProperties":false,"uniqueKey":"state.view.website.oneOf.0.profile.oneOf.0.ownAccounts.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"state.view.website.oneOf.0.profile.oneOf.0.ownAccounts","typeLabel":"object[]"},"founderHandles":{"maxItems":10,"type":"array","items":{"type":"string","maxLength":191,"uniqueKey":"state.view.website.oneOf.0.profile.oneOf.0.founderHandles.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"state.view.website.oneOf.0.profile.oneOf.0.founderHandles","typeLabel":"string[]"},"protectedVocabulary":{"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":60,"uniqueKey":"state.view.website.oneOf.0.profile.oneOf.0.protectedVocabulary.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"state.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":"state.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":"state.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":"state.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":"state.view.website.oneOf.0.profile.oneOf.0.competitors.items.[INDEX].handle","typeLabel":"string"}},"required":["name","why"],"additionalProperties":false,"uniqueKey":"state.view.website.oneOf.0.profile.oneOf.0.competitors.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"state.view.website.oneOf.0.profile.oneOf.0.competitors","typeLabel":"object[]"},"relevanceContext":{"type":"string","maxLength":400,"isRequired":true,"uniqueKey":"state.view.website.oneOf.0.profile.oneOf.0.relevanceContext","typeLabel":"string"},"productUseCases":{"maxItems":5,"type":"array","items":{"type":"string","maxLength":500,"uniqueKey":"state.view.website.oneOf.0.profile.oneOf.0.productUseCases.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"state.view.website.oneOf.0.profile.oneOf.0.productUseCases","typeLabel":"string[]"},"companyMoat":{"type":"string","maxLength":2000,"isRequired":true,"uniqueKey":"state.view.website.oneOf.0.profile.oneOf.0.companyMoat","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"state.view.website.oneOf.0.profile.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"state.view.website.oneOf.0.profile.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"state.view.website.oneOf.0.profile","typeLabel":"object | null"},"confirmed":{"description":"The profile was confirmed (propose started).","type":"boolean","isRequired":true,"uniqueKey":"state.view.website.oneOf.0.confirmed","typeLabel":"boolean"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"state.view.website.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"state.view.website.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"state.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":"state.view.keywords.oneOf.0.proposalStatus","typeLabel":"enum\u003cstring>"},"archetype":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"state.view.keywords.oneOf.0.archetype.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"state.view.keywords.oneOf.0.archetype.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"state.view.keywords.oneOf.0.archetype","typeLabel":"string | null"},"openingLine":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"state.view.keywords.oneOf.0.openingLine.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"state.view.keywords.oneOf.0.openingLine.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"state.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":"state.view.keywords.oneOf.0.keywords.items.[INDEX].ref","typeLabel":"string"},"keyword":{"type":"string","isRequired":true,"uniqueKey":"state.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":"state.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":"state.view.keywords.oneOf.0.keywords.items.[INDEX].refinement.oneOf.0.additionalTerms.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"state.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":"state.view.keywords.oneOf.0.keywords.items.[INDEX].refinement.oneOf.0.excludeWords.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"state.view.keywords.oneOf.0.keywords.items.[INDEX].refinement.oneOf.0.excludeWords","typeLabel":"string[]"}},"additionalProperties":false,"uniqueKey":"state.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":"state.view.keywords.oneOf.0.keywords.items.[INDEX].refinement.oneOf.1","typeLabel":"null"}],"uniqueKey":"state.view.keywords.oneOf.0.keywords.items.[INDEX].refinement","typeLabel":"object | null"}},"required":["ref","keyword","tag"],"additionalProperties":false,"uniqueKey":"state.view.keywords.oneOf.0.keywords.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"state.view.keywords.oneOf.0.keywords","typeLabel":"object[]"},"slots":{"type":"object","properties":{"used":{"type":"integer","minimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"state.view.keywords.oneOf.0.slots.used","typeLabel":"integer"},"of":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"state.view.keywords.oneOf.0.slots.of","typeLabel":"integer"}},"required":["used","of"],"additionalProperties":false,"isRequired":true,"uniqueKey":"state.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":"state.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":"state.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":"state.view.keywords.oneOf.0.problems.items.[INDEX].ref.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"state.view.keywords.oneOf.0.problems.items.[INDEX].ref","typeLabel":"string | null"},"blocking":{"type":"boolean","isRequired":true,"uniqueKey":"state.view.keywords.oneOf.0.problems.items.[INDEX].blocking","typeLabel":"boolean"},"message":{"type":"string","isRequired":true,"uniqueKey":"state.view.keywords.oneOf.0.problems.items.[INDEX].message","typeLabel":"string"}},"required":["code","ref","blocking","message"],"additionalProperties":false,"uniqueKey":"state.view.keywords.oneOf.0.problems.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"state.view.keywords.oneOf.0.problems","typeLabel":"object[]"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"state.view.keywords.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"state.view.keywords.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"state.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":"state.view.mentions.oneOf.0.mode","typeLabel":"string"},"draftId":{"type":"string","isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.draftId","typeLabel":"string"},"status":{"type":"string","enum":["collecting","ready","empty"],"isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.status","typeLabel":"enum\u003cstring>"},"stage":{"type":"string","enum":["collecting","reading","optimizing","ready"],"isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.stage","typeLabel":"enum\u003cstring>"},"found":{"type":"integer","minimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.found","typeLabel":"integer"},"collectionEnd":{"oneOf":[{"type":"string","enum":["runs_finished","sources_accounted","idle","landed","stale"],"isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.collectionEnd.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.collectionEnd.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.collectionEnd","typeLabel":"enum\u003cstring> | null"},"progress":{"type":"number","minimum":0,"maximum":100,"isRequired":true,"uniqueKey":"state.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":"state.view.mentions.oneOf.0.pairs.expected","typeLabel":"integer"},"settled":{"type":"integer","minimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.pairs.settled","typeLabel":"integer"}},"required":["expected","settled"],"additionalProperties":false,"isRequired":true,"uniqueKey":"state.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":"state.view.mentions.oneOf.0.tiles.items.[INDEX].source","typeLabel":"enum\u003cstring>"},"label":{"type":"string","isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.tiles.items.[INDEX].label","typeLabel":"string"},"state":{"type":"string","enum":["done","busy","waiting","none"],"isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.tiles.items.[INDEX].state","typeLabel":"enum\u003cstring>"}},"required":["source","label","state"],"additionalProperties":false,"uniqueKey":"state.view.mentions.oneOf.0.tiles.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.tiles","typeLabel":"object[]"},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.sources.items.[INDEX].source","typeLabel":"string"},"label":{"type":"string","isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.sources.items.[INDEX].label","typeLabel":"string"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.sources.items.[INDEX].count","typeLabel":"integer"},"state":{"type":"string","enum":["arriving","done","pending","none"],"isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.sources.items.[INDEX].state","typeLabel":"enum\u003cstring>"},"atLeast":{"type":"boolean","uniqueKey":"state.view.mentions.oneOf.0.sources.items.[INDEX].atLeast","typeLabel":"boolean"},"failed":{"type":"boolean","uniqueKey":"state.view.mentions.oneOf.0.sources.items.[INDEX].failed","typeLabel":"boolean"}},"required":["source","label","count","state"],"additionalProperties":false,"uniqueKey":"state.view.mentions.oneOf.0.sources.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.sources","typeLabel":"object[]"},"posts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.posts.items.[INDEX].id","typeLabel":"integer"},"source":{"type":"string","isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.posts.items.[INDEX].source","typeLabel":"string"},"keyword":{"type":"string","isRequired":true,"uniqueKey":"state.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":"state.view.mentions.oneOf.0.posts.items.[INDEX].place.oneOf.0.preposition","typeLabel":"enum\u003cstring>"},"name":{"type":"string","isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.posts.items.[INDEX].place.oneOf.0.name","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.posts.items.[INDEX].place.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.posts.items.[INDEX].place.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.posts.items.[INDEX].place","typeLabel":"object | null"},"title":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.posts.items.[INDEX].title.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.posts.items.[INDEX].title.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.posts.items.[INDEX].title","typeLabel":"string | null"},"body":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.posts.items.[INDEX].body.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.posts.items.[INDEX].body.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.posts.items.[INDEX].body","typeLabel":"string | null"},"url":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.posts.items.[INDEX].url.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.posts.items.[INDEX].url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.posts.items.[INDEX].url","typeLabel":"string | null"},"timestamp":{"type":"string","isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.posts.items.[INDEX].timestamp","typeLabel":"string"},"aboutYou":{"type":"boolean","isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.posts.items.[INDEX].aboutYou","typeLabel":"boolean"},"giveaway":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.posts.items.[INDEX].giveaway.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.posts.items.[INDEX].giveaway.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.posts.items.[INDEX].giveaway","typeLabel":"string | null"},"whyNot":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.posts.items.[INDEX].whyNot.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.posts.items.[INDEX].whyNot.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.posts.items.[INDEX].whyNot","typeLabel":"string | null"},"sentimentLabel":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.posts.items.[INDEX].sentimentLabel.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.posts.items.[INDEX].sentimentLabel.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.posts.items.[INDEX].sentimentLabel","typeLabel":"string | null"},"tags":{"type":"array","items":{"type":"string","uniqueKey":"state.view.mentions.oneOf.0.posts.items.[INDEX].tags.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"state.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":"state.view.mentions.oneOf.0.posts.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.posts","typeLabel":"object[]"},"total":{"type":"integer","minimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.total","typeLabel":"integer"},"aboutYou":{"type":"integer","minimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.aboutYou","typeLabel":"integer"},"notAboutYou":{"type":"integer","minimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"state.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":"state.view.mentions.oneOf.0.proposal.oneOf.0.lines.items.[INDEX].keyword","typeLabel":"string"},"setting":{"type":"string","enum":["additionalTerms","excludeWords","excludeAuthors","platforms"],"isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.proposal.oneOf.0.lines.items.[INDEX].setting","typeLabel":"enum\u003cstring>"},"values":{"type":"array","items":{"type":"string","uniqueKey":"state.view.mentions.oneOf.0.proposal.oneOf.0.lines.items.[INDEX].values.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.proposal.oneOf.0.lines.items.[INDEX].values","typeLabel":"string[]"},"text":{"type":"string","isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.proposal.oneOf.0.lines.items.[INDEX].text","typeLabel":"string"},"logic":{"type":"string","enum":["any","all"],"uniqueKey":"state.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":"state.view.mentions.oneOf.0.proposal.oneOf.0.lines.items.[INDEX].split.items.[INDEX].label","typeLabel":"string"},"terms":{"type":"array","items":{"type":"string","uniqueKey":"state.view.mentions.oneOf.0.proposal.oneOf.0.lines.items.[INDEX].split.items.[INDEX].terms.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.proposal.oneOf.0.lines.items.[INDEX].split.items.[INDEX].terms","typeLabel":"string[]"}},"required":["label","terms"],"additionalProperties":false,"uniqueKey":"state.view.mentions.oneOf.0.proposal.oneOf.0.lines.items.[INDEX].split.items.[INDEX]","typeLabel":"object"},"uniqueKey":"state.view.mentions.oneOf.0.proposal.oneOf.0.lines.items.[INDEX].split","typeLabel":"object[]"}},"required":["keyword","setting","values","text"],"additionalProperties":false,"uniqueKey":"state.view.mentions.oneOf.0.proposal.oneOf.0.lines.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.proposal.oneOf.0.lines","typeLabel":"object[]"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.proposal.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.proposal.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.proposal","typeLabel":"object | null"},"decision":{"oneOf":[{"type":"string","enum":["cleanup","keep"],"isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.decision.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.decision.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"state.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":"state.view.mentions.oneOf.0.cleanedUp.oneOf.0.removed","typeLabel":"integer"},"changes":{"type":"array","items":{"type":"object","properties":{"keyword":{"type":"string","isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.cleanedUp.oneOf.0.changes.items.[INDEX].keyword","typeLabel":"string"},"text":{"type":"string","isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.cleanedUp.oneOf.0.changes.items.[INDEX].text","typeLabel":"string"},"setting":{"type":"string","enum":["additionalTerms","excludeWords","excludeAuthors","platforms"],"uniqueKey":"state.view.mentions.oneOf.0.cleanedUp.oneOf.0.changes.items.[INDEX].setting","typeLabel":"enum\u003cstring>"},"values":{"type":"array","items":{"type":"string","uniqueKey":"state.view.mentions.oneOf.0.cleanedUp.oneOf.0.changes.items.[INDEX].values.items.[INDEX]","typeLabel":"string"},"uniqueKey":"state.view.mentions.oneOf.0.cleanedUp.oneOf.0.changes.items.[INDEX].values","typeLabel":"string[]"},"logic":{"type":"string","enum":["any","all"],"uniqueKey":"state.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":"state.view.mentions.oneOf.0.cleanedUp.oneOf.0.changes.items.[INDEX].split.items.[INDEX].label","typeLabel":"string"},"terms":{"type":"array","items":{"type":"string","uniqueKey":"state.view.mentions.oneOf.0.cleanedUp.oneOf.0.changes.items.[INDEX].split.items.[INDEX].terms.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.cleanedUp.oneOf.0.changes.items.[INDEX].split.items.[INDEX].terms","typeLabel":"string[]"}},"required":["label","terms"],"additionalProperties":false,"uniqueKey":"state.view.mentions.oneOf.0.cleanedUp.oneOf.0.changes.items.[INDEX].split.items.[INDEX]","typeLabel":"object"},"uniqueKey":"state.view.mentions.oneOf.0.cleanedUp.oneOf.0.changes.items.[INDEX].split","typeLabel":"object[]"}},"required":["keyword","text"],"additionalProperties":false,"uniqueKey":"state.view.mentions.oneOf.0.cleanedUp.oneOf.0.changes.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.cleanedUp.oneOf.0.changes","typeLabel":"object[]"},"undoAvailableUntil":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.cleanedUp.oneOf.0.undoAvailableUntil.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.cleanedUp.oneOf.0.undoAvailableUntil.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.cleanedUp.oneOf.0.undoAvailableUntil","typeLabel":"string | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.cleanedUp.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.cleanedUp.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.cleanedUp","typeLabel":"object | null"},"canContinueWithoutDecision":{"type":"boolean","isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.canContinueWithoutDecision","typeLabel":"boolean"},"allowance":{"type":"integer","minimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0.allowance","typeLabel":"integer"},"keywords":{"type":"array","items":{"type":"string","uniqueKey":"state.view.mentions.oneOf.0.keywords.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"state.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":"state.view.mentions.oneOf.0.proposalPending","typeLabel":"boolean"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"state.view.mentions.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"state.view.mentions.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"state.view.mentions","typeLabel":"object | null"},"feeds":{"oneOf":[{"type":"object","required":["state","feeds"],"properties":{"state":{"type":"string","enum":["waiting","ready"],"isRequired":true,"uniqueKey":"state.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":"state.view.feeds.oneOf.0.feeds.items.[INDEX].n","typeLabel":"integer"},"id":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"state.view.feeds.oneOf.0.feeds.items.[INDEX].id","typeLabel":"integer"},"name":{"type":"string","isRequired":true,"uniqueKey":"state.view.feeds.oneOf.0.feeds.items.[INDEX].name","typeLabel":"string"},"kind":{"type":"string","isRequired":true,"uniqueKey":"state.view.feeds.oneOf.0.feeds.items.[INDEX].kind","typeLabel":"string"},"mentions":{"type":"integer","minimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"state.view.feeds.oneOf.0.feeds.items.[INDEX].mentions","typeLabel":"integer"},"description":{"type":"string","isRequired":true,"uniqueKey":"state.view.feeds.oneOf.0.feeds.items.[INDEX].description","typeLabel":"string"}},"required":["n","id","name","kind","mentions","description"],"additionalProperties":false,"uniqueKey":"state.view.feeds.oneOf.0.feeds.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"state.view.feeds.oneOf.0.feeds","typeLabel":"object[]"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"state.view.feeds.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"state.view.feeds.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"state.view.feeds","typeLabel":"object | null"},"slack":{"oneOf":[{"type":"object","required":["connected","team","digest","feeds","handoff"],"properties":{"connected":{"type":"boolean","isRequired":true,"uniqueKey":"state.view.slack.oneOf.0.connected","typeLabel":"boolean"},"team":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"state.view.slack.oneOf.0.team.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"state.view.slack.oneOf.0.team.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"state.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":"state.view.slack.oneOf.0.digest","typeLabel":"boolean"},"feeds":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"state.view.slack.oneOf.0.feeds.items.[INDEX].id","typeLabel":"integer"},"name":{"type":"string","isRequired":true,"uniqueKey":"state.view.slack.oneOf.0.feeds.items.[INDEX].name","typeLabel":"string"},"channel":{"oneOf":[{"type":"object","required":["id","name"],"properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"state.view.slack.oneOf.0.feeds.items.[INDEX].channel.oneOf.0.id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"state.view.slack.oneOf.0.feeds.items.[INDEX].channel.oneOf.0.name","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"state.view.slack.oneOf.0.feeds.items.[INDEX].channel.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"state.view.slack.oneOf.0.feeds.items.[INDEX].channel.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"state.view.slack.oneOf.0.feeds.items.[INDEX].channel","typeLabel":"object | null"},"emailOnly":{"type":"boolean","isRequired":true,"uniqueKey":"state.view.slack.oneOf.0.feeds.items.[INDEX].emailOnly","typeLabel":"boolean"}},"required":["id","name","channel","emailOnly"],"additionalProperties":false,"uniqueKey":"state.view.slack.oneOf.0.feeds.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"state.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":"state.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":"state.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":"state.view.slack.oneOf.0.handoff.oneOf.0.code","typeLabel":"string"},"expiresAt":{"description":"ISO-8601.","type":"string","isRequired":true,"uniqueKey":"state.view.slack.oneOf.0.handoff.oneOf.0.expiresAt","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"state.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":"state.view.slack.oneOf.0.handoff.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"state.view.slack.oneOf.0.handoff","typeLabel":"object | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"state.view.slack.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"state.view.slack.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"state.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":"state.view.mcp.oneOf.0.endpoint","typeLabel":"string"},"auth":{"type":"string","const":"oauth","isRequired":true,"uniqueKey":"state.view.mcp.oneOf.0.auth","typeLabel":"string"},"connected":{"type":"boolean","isRequired":true,"uniqueKey":"state.view.mcp.oneOf.0.connected","typeLabel":"boolean"},"connectedAt":{"oneOf":[{"type":"string","description":"ISO-8601.","isRequired":true,"uniqueKey":"state.view.mcp.oneOf.0.connectedAt.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"state.view.mcp.oneOf.0.connectedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"state.view.mcp.oneOf.0.connectedAt","typeLabel":"string | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"state.view.mcp.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"state.view.mcp.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"state.view.mcp","typeLabel":"object | null"}},"required":["website","keywords","mentions","feeds","slack","mcp"],"additionalProperties":false,"isRequired":true,"uniqueKey":"state.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":"state.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":"state.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":"state.next.oneOf.0.reason","typeLabel":"string"},"retryAfterSeconds":{"oneOf":[{"type":"integer","maximum":9007199254740991,"minimum":0,"isRequired":true,"uniqueKey":"state.next.oneOf.0.retryAfterSeconds.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"state.next.oneOf.0.retryAfterSeconds.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"state.next.oneOf.0.retryAfterSeconds","typeLabel":"integer | null"},"url":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"state.next.oneOf.0.url.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"state.next.oneOf.0.url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"state.next.oneOf.0.url","typeLabel":"string | null"},"default":{"oneOf":[{"type":"boolean","description":"For `decide`: the default answer, when there is one.","isRequired":true,"uniqueKey":"state.next.oneOf.0.default.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"For `decide`: the default answer, when there is one.","isRequired":true,"uniqueKey":"state.next.oneOf.0.default.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"state.next.oneOf.0.default","typeLabel":"boolean | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"state.next.oneOf.0","typeLabel":"object"},{"type":"null","description":"Null when `status` is `done`.","isRequired":true,"uniqueKey":"state.next.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"state.next","typeLabel":"object | null"}},"required":["step","status","revision","engine","handle","completed","reviewed","pendingReview","trial","view","next"],"additionalProperties":false,"isRequired":true,"uniqueKey":"state","typeLabel":"object"}},"required":["alreadyApplied","pendingReview","trial","state"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"alreadyApplied":true,"pendingReview":true,"trial":{"plan":"Free_trial","allowance":4503599627370495,"startsAt":"on_finish","endsAt":"\u003cstring>"},"state":{"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"},"cf1c814f-aec8-4799-9221-3fe6e78d79c3":{"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"},"0df3d8bb-f050-45d4-8782-d4b52637a97a":{"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"},"a2049016-2c65-44d7-914d-5c7c960b9162":{"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"},"b6b33b25-d285-471c-be19-d26e85408eef":{"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"},"4e58c3e9-22e5-4aa2-9f2b-9702d7834c0d":{"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":{"af56f7f9-55b6-48c1-a7bf-1c6627270e54":{"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":["write"],"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":["write"],"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":"Create the trial workspace - Octolens","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-06T07:20:22.466Z","originalFileLocation":"api-reference/onboarding/create-the-trial-workspace.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=\"Confirms the keywords and creates the free-trial workspace. Idempotent: a repeat answers alreadyApplied: true. 409 ONBOARDING_IN_PROGRESS while another call holds the lock (retry in 5 s); 403 SECOND_FREE_TRIAL_FORBIDDEN / PAYWALL / SANDBOX_WORKSPACE. The trial clock starts when setup finishes, not here.\">\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=\"Create the trial workspace - Octolens\">\u003cmeta data-mint-head property=\"og:description\" content=\"Confirms the keywords and creates the free-trial workspace. Idempotent: a repeat answers alreadyApplied: true. 409 ONBOARDING_IN_PROGRESS while another call holds the lock (retry in 5 s); 403 SECOND_FREE_TRIAL_FORBIDDEN / PAYWALL / SANDBOX_WORKSPACE. The trial clock starts when setup finishes, not here.\">\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/create-the-trial-workspace\">\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=Create+the+trial+workspace\u0026amp;description=Confirms+the+keywords+and+creates+the+free-trial+workspace.+Idempotent%3A+a+repeat+answers+%60alreadyApplied%3A+true%60.+%60409+ONBOARDING_IN_PROGRESS%60+while+another+call\u0026amp;theme=d583b865662c59d3b1e7dd6a\u0026amp;signature=754030af7a0feae7a308d50dea4bc2a9f457a2711d9601d8579c8aaa4333ad89\">\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=\"Create the trial workspace - Octolens\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Confirms the keywords and creates the free-trial workspace. Idempotent: a repeat answers alreadyApplied: true. 409 ONBOARDING_IN_PROGRESS while another call holds the lock (retry in 5 s); 403 SECOND_FREE_TRIAL_FORBIDDEN / PAYWALL / SANDBOX_WORKSPACE. The trial clock starts when setup finishes, not here.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://octolens.mintlify.site/docs/_mintlify/api/og/v2?division=Onboarding\u0026amp;title=Create+the+trial+workspace\u0026amp;description=Confirms+the+keywords+and+creates+the+free-trial+workspace.+Idempotent%3A+a+repeat+answers+%60alreadyApplied%3A+true%60.+%60409+ONBOARDING_IN_PROGRESS%60+while+another+call\u0026amp;theme=d583b865662c59d3b1e7dd6a\u0026amp;signature=754030af7a0feae7a308d50dea4bc2a9f457a2711d9601d8579c8aaa4333ad89\">\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/create-the-trial-workspace\">\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/create-the-trial-workspace.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/create-the-trial-workspace#webpage\",\"url\":\"https://octolens.com/docs/api-reference/onboarding/create-the-trial-workspace\",\"name\":\"Create the trial workspace\",\"description\":\"Confirms the keywords and creates the free-trial workspace. Idempotent: a repeat answers alreadyApplied: true. 409 ONBOARDING_IN_PROGRESS while another call holds the lock (retry in 5 s); 403 SECOND_FREE_TRIAL_FORBIDDEN / PAYWALL / SANDBOX_WORKSPACE. The trial clock starts when setup finishes, not here.\",\"dateModified\":\"2026-11-06T07:20:22.466Z\",\"isPartOf\":{\"@id\":\"https://octolens.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://octolens.com/docs/api-reference/onboarding/create-the-trial-workspace#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://octolens.com/docs/api-reference/onboarding/create-the-trial-workspace#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API v2\",\"item\":\"https://octolens.com/docs/api/v2/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Onboarding\",\"item\":\"https://octolens.com/docs/api-reference/onboarding/read-the-onboarding-state\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create the trial workspace\",\"item\":\"https://octolens.com/docs/api-reference/onboarding/create-the-trial-workspace\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://octolens.com/docs/api-reference/onboarding/create-the-trial-workspace#apireference\",\"headline\":\"Create the trial workspace\",\"name\":\"Create the trial workspace\",\"description\":\"Confirms the keywords and creates the free-trial workspace. Idempotent: a repeat answers alreadyApplied: true. 409 ONBOARDING_IN_PROGRESS while another call holds the lock (retry in 5 s); 403 SECOND_FREE_TRIAL_FORBIDDEN / PAYWALL / SANDBOX_WORKSPACE. The trial clock starts when setup finishes, not here.\",\"url\":\"https://octolens.com/docs/api-reference/onboarding/create-the-trial-workspace\",\"mainEntityOfPage\":{\"@id\":\"https://octolens.com/docs/api-reference/onboarding/create-the-trial-workspace#webpage\"},\"dateModified\":\"2026-11-06T07:20:22.466Z\",\"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","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","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","description":"Assesses a keyword the person added: its type (unless given) and, when it clearly needs them, must-also-mention terms and skip words. Stored on the draft. `429 RATE_LIMITED` past 30 per user per day.","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","description":"The first collection: progress while collecting, then the posts (`offset`/`limit` ≤ 100), the clean-up proposal and the decision. The classic engine answers `mode: \"classic\"` with its preview.","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":"Create the trial workspace - 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"]}