Idempotently generates the missing core export sections for a COMPLETED run THIS API started. A report created on the preuve.ai dashboard is refused with 403 REPORT_NOT_FROM_AGENT_RUN, like the export: polling resolves it, generating against it does not. Optionally starts deep-only modules via body.modules (one successful generation per module per report). founderFit runs inline and underwrites against the founder profile saved on preuve.ai when founderProfile is omitted (an explicit payload overrides it); the other modules run async - poll get_analysis. Partial failures return HTTP 207 with a success-shaped body.
Your API key (prv_...), sent as Authorization: Bearer prv_.... It is the only credential the API needs - see the Authentication guide. The older x-preuve-key header still works for existing integrations.
Path Parameters
id
string<uuid>
required
Run id (returned by create) or report id. What resolves differs per route: the poll also accepts any personal starter or deep report the account owns, including dashboard-created ones (the UUID in /app/results?id=...), while export and enrich serve analyses this API started. See each operation.
Body
application/json
modules
enum<string>[]
Deep-only modules to generate. Omit for core enrichment only.
Available options:
proofOfDemand,
founderFit,
playbook,
trends,
community
founderProfile
object
Show child attributes
Response
Enrichment (and any inline module) completed.
analysis
object
Show child attributes
enrichment
object
Progress of the core export sections. The four name arrays partition required, so a poller decides what to do next by reading them rather than by parsing status: anything in processing means keep polling, anything in failed means call enrich again, and missing with nothing processing means enrichment was never started for it.
Show child attributes
failures
object[]
Core sections that failed this pass. Retry by calling enrich again.
modules
object | null
Per-module results for the modules requested in this call.
Show child attributes
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Preuve AI Developers","description":"Validate startup ideas from Claude, Cursor, or Codex. Viability score, competitors, source-linked evidence.","colors":{"primary":"#ea580c","light":"#f97316","dark":"#ea580c"},"logo":{"light":"https://mintcdn.com/preuve-ai/jZodzg3khCalFU2b/logo/dark.svg?fit=max\u0026auto=format\u0026n=jZodzg3khCalFU2b\u0026q=85\u0026s=e5e818b7a52b31b8d49949427aa2921e","dark":"https://mintcdn.com/preuve-ai/jZodzg3khCalFU2b/logo/light.svg?fit=max\u0026auto=format\u0026n=jZodzg3khCalFU2b\u0026q=85\u0026s=d9c1ae471ba09c9b047d4421f0296d4c","href":"https://preuve.ai"},"favicon":"https://mintcdn.com/preuve-ai/jZodzg3khCalFU2b/favicon.svg?fit=max\u0026auto=format\u0026n=jZodzg3khCalFU2b\u0026q=85\u0026s=bcff624580bc3ba18ad4ae414e22a998","appearance":{"default":"light"},"background":{"color":{"light":"#ffffff","dark":"#09090b"}},"navbar":{"links":[{"href":"https://preuve.ai","label":"preuve.ai"}],"primary":{"type":"button","label":"Get API key","href":"https://preuve.ai/app?settings=apiKeys"}},"footer":{"socials":{"x":"https://x.com/VincentBuilds","website":"https://preuve.ai"}},"seo":{"metatags":{"og:site_name":"Preuve AI Developers"}},"integrations":{"posthog":{"apiKey":"phc_n0wxSs3oUf8AS0VLFb0YpqyX7oLbTtwEYHg0oH35aOE","sessionRecording":false}},"contextual":{"options":["copy","chatgpt","claude","perplexity",{"title":"Validate an idea","description":"Run a free starter scan on preuve.ai","icon":"play","href":"https://preuve.ai/app"}],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"preuve-ai","hasAudioNarration":false,"actualSubdomain":"preuve-ai","customDomains":["docs.preuve.ai"],"gitSource":{"type":"github","owner":"vxncxnx","repo":"startup-viability-analyzer","deployBranch":"main","contentDirectory":"docs-site","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6aff3adc79c49b4418759b05","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"default","tag":"API Reference","count":16},{"language":"default","tag":"Endpoints","count":14},{"language":"default","tag":"Guides","count":11},{"language":"default","tag":"Concepts","count":5},{"language":"default","tag":"Agency","count":5},{"language":"default","tag":"Getting Started","count":4},{"language":"default","tag":"Analyses","count":4},{"language":"default","tag":"Batches","count":3},{"language":"default","tag":"For agents","count":2},{"language":"default","tag":"Discovery","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"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":"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":"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":"turbopuffer-dual-write","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":"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":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/analyses/enrich-an-analysis","slug":"/api-reference/analyses/enrich-an-analysis","pageMetadata":{"title":"Enrich an analysis","description":"Idempotently generates the missing core export sections for a COMPLETED run THIS API started. A report created on the preuve.ai dashboard is refused with 403 REPORT_NOT_FROM_AGENT_RUN, like the export: polling resolves it, generating against it does not. Optionally starts deep-only modules via body.modules (one successful generation per module per report). founderFit runs inline and underwrites against the founder profile saved on preuve.ai when founderProfile is omitted (an explicit payload overrides it); the other modules run async - poll get_analysis. Partial failures return HTTP 207 with a success-shaped body.\n","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/agent/analyses/{id}/enrich","href":"/api-reference/analyses/enrich-an-analysis","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Idempotently generates the missing core export sections for a COMPLETED run THIS API started. A report created on the preuve.ai dashboard is refused with 403 REPORT_NOT_FROM_AGENT_RUN, like the export: polling resolves it, generating against it does not. Optionally starts deep-only modules via body.modules (one successful generation per module per report). founderFit runs inline and underwrites against the founder profile saved on preuve.ai when founderProfile is omitted (an explicit payload overrides it); the other modules run async - poll get_analysis. Partial failures return HTTP 207 with a success-shaped body.\"\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":"Enrich an analysis","description":"Idempotently generates the missing core export sections for a COMPLETED run THIS API started. A report created on the preuve.ai dashboard is refused with 403 REPORT_NOT_FROM_AGENT_RUN, like the export: polling resolves it, generating against it does not. Optionally starts deep-only modules via body.modules (one successful generation per module per report). founderFit runs inline and underwrites against the founder profile saved on preuve.ai when founderProfile is omitted (an explicit payload overrides it); the other modules run async - poll get_analysis. Partial failures return HTTP 207 with a success-shaped body.\n","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/agent/analyses/{id}/enrich","href":"/api-reference/analyses/enrich-an-analysis","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"enrichAnalysis","summary":"Enrich an analysis","description":"Idempotently generates the missing core export sections for a COMPLETED run THIS API started. A report created on the preuve.ai dashboard is refused with 403 REPORT_NOT_FROM_AGENT_RUN, like the export: polling resolves it, generating against it does not. Optionally starts deep-only modules via body.modules (one successful generation per module per report). founderFit runs inline and underwrites against the founder profile saved on preuve.ai when founderProfile is omitted (an explicit payload overrides it); the other modules run async - poll get_analysis. Partial failures return HTTP 207 with a success-shaped body.\n","tags":["Analyses"],"parameters":["982dc554-4a8a-4252-9327-22a641eff41e"],"requestBody":"7fb545cb-0b52-4de2-a4e0-6458472b9eb0","responses":{"200":"10673383-e778-430c-8495-88d161cd483a","207":"a97af528-47e7-4f33-a184-7b00dc090651","400":"21a3af2e-002e-48dc-aeb6-5246949f41ad","401":"64fa34a1-b7f1-4761-87c0-470c34cefbd0","403":"21495eea-360c-4f06-a4db-ce0aa5d6ab97","404":"02356c20-43ae-4af4-8666-b04a53c58165","409":"26758a22-8241-4b0e-9f8e-a8cfe8239672","413":"29f6a5f3-7711-4b94-9858-8ab63d5190e3","422":"2ee97425-5cab-4c7c-89dd-205299798730","429":"59ca80e0-a65b-4f72-b127-b63e29785977","500":"69c1e584-09ed-48d7-a810-38bf7e27b556","503":"8581f4bd-d670-467c-86ab-db75b7a01803"},"method":"post","type":"path","servers":["c2250dc1-5cc1-4302-b6a3-111fd03b2206"],"security":["c53ca766-e19e-4edd-bc9f-c347892bc822"],"path":"/api/agent/analyses/{id}/enrich","baseUrlOptions":["https://preuve.ai"],"title":"Enrich an analysis","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"982dc554-4a8a-4252-9327-22a641eff41e":{"name":"id","in":"path","required":true,"description":"Run id (returned by create) or report id. What resolves differs per route: the poll also accepts any personal starter or deep report the account owns, including dashboard-created ones (the UUID in /app/results?id=...), while export and enrich serve analyses this API started. See each operation.\n","schema":{"type":"string","format":"uuid","isRequired":true,"description":"Run id (returned by create) or report id. What resolves differs per route: the poll also accepts any personal starter or deep report the account owns, including dashboard-created ones (the UUID in /app/results?id=...), while export and enrich serve analyses this API started. See each operation.\n","uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"modules":{"type":"array","description":"Deep-only modules to generate. Omit for core enrichment only.","items":{"type":"string","enum":["proofOfDemand","founderFit","playbook","trends","community"],"uniqueKey":"modules.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"modules","typeLabel":"enum\u003cstring>[]"},"founderProfile":{"type":"object","required":["hoursPerWeek","runwayMonths","domainYears","shippedBefore","audienceSize","teamStatus"],"properties":{"hoursPerWeek":{"type":"number","minimum":1,"maximum":168,"isRequired":true,"uniqueKey":"founderProfile.hoursPerWeek","typeLabel":"number"},"runwayMonths":{"type":"number","minimum":0,"maximum":120,"isRequired":true,"uniqueKey":"founderProfile.runwayMonths","typeLabel":"number"},"domainYears":{"type":"number","minimum":0,"maximum":60,"isRequired":true,"uniqueKey":"founderProfile.domainYears","typeLabel":"number"},"shippedBefore":{"type":"string","enum":["never","side_project","launched"],"isRequired":true,"uniqueKey":"founderProfile.shippedBefore","typeLabel":"enum\u003cstring>"},"audienceSize":{"type":"string","enum":["none","under_1k","1k_10k","over_10k"],"isRequired":true,"uniqueKey":"founderProfile.audienceSize","typeLabel":"enum\u003cstring>"},"teamStatus":{"type":"string","enum":["solo","cofounded_friends","cofounded_colleagues","team_with_hires"],"isRequired":true,"uniqueKey":"founderProfile.teamStatus","typeLabel":"enum\u003cstring>"},"twelveMonthGoal":{"type":"string","enum":["replace_income","side_income","vc_scale"],"uniqueKey":"founderProfile.twelveMonthGoal","typeLabel":"enum\u003cstring>"},"sabotagePattern":{"type":"string","maxLength":280,"uniqueKey":"founderProfile.sabotagePattern","typeLabel":"string"}},"uniqueKey":"founderProfile","typeLabel":"object"}},"example":{"modules":["founderFit","playbook"],"founderProfile":{"hoursPerWeek":20,"runwayMonths":6,"domainYears":3,"shippedBefore":"side_project","audienceSize":"under_1k","teamStatus":"solo"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"modules":["founderFit","playbook"],"founderProfile":{"hoursPerWeek":20,"runwayMonths":6,"domainYears":3,"shippedBefore":"side_project","audienceSize":"under_1k","teamStatus":"solo"}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"10673383-e778-430c-8495-88d161cd483a":{"description":"Enrichment (and any inline module) completed.","content":{"application/json":{"schema":{"type":"object","properties":{"analysis":{"type":"object","properties":{"id":{"type":"string","format":"uuid","uniqueKey":"analysis.id","typeLabel":"string\u003cuuid>"},"reportId":{"oneOf":[{"type":"string","format":"uuid","description":"Null until the report row is attached, which is why a run that failed before dispatch is retryable under the same clientRunId.\n","uniqueKey":"analysis.reportId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"Null until the report row is attached, which is why a run that failed before dispatch is retryable under the same clientRunId.\n","uniqueKey":"analysis.reportId.oneOf.1","typeLabel":"null"}],"uniqueKey":"analysis.reportId","typeLabel":"string\u003cuuid> | null"},"clientRunId":{"oneOf":[{"type":"string","description":"The caller-chosen id from create. Null when the analysis is a dashboard-created report resolved by its report id: no run row exists, so there is no clientRunId to replay.\n","uniqueKey":"analysis.clientRunId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The caller-chosen id from create. Null when the analysis is a dashboard-created report resolved by its report id: no run row exists, so there is no clientRunId to replay.\n","uniqueKey":"analysis.clientRunId.oneOf.1","typeLabel":"null"}],"uniqueKey":"analysis.clientRunId","typeLabel":"string | null"},"batchId":{"oneOf":[{"type":"string","format":"uuid","description":"The batch this run belongs to, or null for a standalone run.","uniqueKey":"analysis.batchId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"The batch this run belongs to, or null for a standalone run.","uniqueKey":"analysis.batchId.oneOf.1","typeLabel":"null"}],"uniqueKey":"analysis.batchId","typeLabel":"string\u003cuuid> | null"},"scanType":{"type":"string","enum":["starter","deep"],"description":"Your request type. Reliable from creation, even while PROCESSING.","uniqueKey":"analysis.scanType","typeLabel":"enum\u003cstring>"},"enrichmentMode":{"type":"string","enum":["core","none"],"uniqueKey":"analysis.enrichmentMode","typeLabel":"enum\u003cstring>"},"publish":{"type":"boolean","uniqueKey":"analysis.publish","typeLabel":"boolean"},"reportType":{"oneOf":[{"type":"string","enum":["quick","deep_dive",null],"uniqueKey":"analysis.reportType.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["quick","deep_dive",null],"uniqueKey":"analysis.reportType.oneOf.1","typeLabel":"null"}],"uniqueKey":"analysis.reportType","typeLabel":"enum\u003cstring> | null"},"analysisTier":{"oneOf":[{"type":"string","enum":["basic","advanced",null],"description":"Derived from the report. Deep runs read \"basic\" until deep sections land.","uniqueKey":"analysis.analysisTier.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["basic","advanced",null],"description":"Derived from the report. Deep runs read \"basic\" until deep sections land.","uniqueKey":"analysis.analysisTier.oneOf.1","typeLabel":"null"}],"uniqueKey":"analysis.analysisTier","typeLabel":"enum\u003cstring> | null"},"status":{"type":"string","enum":["PENDING","PROCESSING","COMPLETED","FAILED"],"uniqueKey":"analysis.status","typeLabel":"enum\u003cstring>"},"progressStep":{"oneOf":[{"type":"string","description":"Free-text pipeline stage while PROCESSING.","uniqueKey":"analysis.progressStep.oneOf.0","typeLabel":"string"},{"type":"null","description":"Free-text pipeline stage while PROCESSING.","uniqueKey":"analysis.progressStep.oneOf.1","typeLabel":"null"}],"uniqueKey":"analysis.progressStep","typeLabel":"string | null"},"errorCode":{"oneOf":[{"type":"string","description":"Set on a FAILED run. Two internal markers are deliberately rewritten before they leave: an ambiguous dispatch reports TRIGGER_DISPATCH_FAILED and an ambiguous claim refund reports REPORT_CREATE_FAILED.\n","uniqueKey":"analysis.errorCode.oneOf.0","typeLabel":"string"},{"type":"null","description":"Set on a FAILED run. Two internal markers are deliberately rewritten before they leave: an ambiguous dispatch reports TRIGGER_DISPATCH_FAILED and an ambiguous claim refund reports REPORT_CREATE_FAILED.\n","uniqueKey":"analysis.errorCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"analysis.errorCode","typeLabel":"string | null"},"errorMessage":{"oneOf":[{"type":"string","uniqueKey":"analysis.errorMessage.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"analysis.errorMessage.oneOf.1","typeLabel":"null"}],"uniqueKey":"analysis.errorMessage","typeLabel":"string | null"},"resetAt":{"type":"string","format":"date-time","description":"Present only on a batch item refused by the rolling daily cap; absent, not null, on every other run.\n","uniqueKey":"analysis.resetAt","typeLabel":"string\u003cdate-time>"},"pollAfterSeconds":{"type":"integer","description":"Present only while polling is still useful. Pace by this rather than by a fixed interval.\n","uniqueKey":"analysis.pollAfterSeconds","typeLabel":"integer"},"pollHint":{"type":"string","description":"Present alongside pollAfterSeconds.","uniqueKey":"analysis.pollHint","typeLabel":"string"},"createdAt":{"type":"string","format":"date-time","uniqueKey":"analysis.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","uniqueKey":"analysis.updatedAt","typeLabel":"string\u003cdate-time>"},"readyForExport":{"type":"boolean","description":"Whether GET /export will serve this analysis now. Always false for a report created on the preuve.ai dashboard, whatever state the report is in, because that export answers 403 REPORT_NOT_FROM_AGENT_RUN. Branch on exportable first.\n","uniqueKey":"analysis.readyForExport","typeLabel":"boolean"},"exportable":{"type":"boolean","description":"Present, and false, only on a report created on the preuve.ai dashboard. Absent means the ordinary contract applies and readyForExport is the gate. When it is false, no amount of polling or enriching changes it.\n","uniqueKey":"analysis.exportable","typeLabel":"boolean"},"exportBlockedCode":{"type":"string","enum":["REPORT_NOT_FROM_AGENT_RUN"],"description":"Present alongside exportable, naming the refusal.","uniqueKey":"analysis.exportBlockedCode","typeLabel":"enum\u003cstring>"},"exportBlockedHint":{"type":"string","description":"Present alongside exportable. Relayable prose.","uniqueKey":"analysis.exportBlockedHint","typeLabel":"string"},"enrichment":{"type":"object","description":"Progress of the core export sections. The four name arrays partition `required`, so a poller decides what to do next by reading them rather than by parsing `status`: anything in processing means keep polling, anything in failed means call enrich again, and missing with nothing processing means enrichment was never started for it.\n","properties":{"mode":{"type":"string","enum":["core","none"],"uniqueKey":"analysis.enrichment.mode","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["not_required","pending","processing","partial","completed","failed"],"description":"Rolled up from the arrays below. \"partial\" means some sections landed and others did not; \"not_required\" is mode \"none\", or a report with no required sections.\n","uniqueKey":"analysis.enrichment.status","typeLabel":"enum\u003cstring>"},"required":{"type":"array","description":"Every section this report and mode need. The other four arrays partition it.","items":{"type":"string","uniqueKey":"analysis.enrichment.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"analysis.enrichment.required","typeLabel":"string[]"},"completed":{"type":"array","items":{"type":"string","uniqueKey":"analysis.enrichment.completed.items.[INDEX]","typeLabel":"string"},"uniqueKey":"analysis.enrichment.completed","typeLabel":"string[]"},"missing":{"type":"array","description":"Required, not generated, and not currently being generated.","items":{"type":"string","uniqueKey":"analysis.enrichment.missing.items.[INDEX]","typeLabel":"string"},"uniqueKey":"analysis.enrichment.missing","typeLabel":"string[]"},"processing":{"type":"array","description":"Generation is in flight. Keep polling rather than calling enrich again.","items":{"type":"string","uniqueKey":"analysis.enrichment.processing.items.[INDEX]","typeLabel":"string"},"uniqueKey":"analysis.enrichment.processing","typeLabel":"string[]"},"failed":{"type":"array","description":"Generation was attempted and failed. Retryable by calling enrich again.","items":{"type":"string","uniqueKey":"analysis.enrichment.failed.items.[INDEX]","typeLabel":"string"},"uniqueKey":"analysis.enrichment.failed","typeLabel":"string[]"},"sections":{"type":"object","description":"Per-section detail, keyed by section name, for every entry in required. Each value carries at least a status matching the array the section is in, plus completedAt on a completed section and whatever the last attempt recorded on a failed one.\n","additionalProperties":{"type":"object","properties":{"status":{"type":"string","enum":["missing","processing","completed","failed","pending"],"uniqueKey":"analysis.enrichment.sections.additionalProperties.status","typeLabel":"enum\u003cstring>"},"completedAt":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"analysis.enrichment.sections.additionalProperties.completedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"analysis.enrichment.sections.additionalProperties.completedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"analysis.enrichment.sections.additionalProperties.completedAt","typeLabel":"string\u003cdate-time> | null"}},"additionalProperties":true,"uniqueKey":"analysis.enrichment.sections.additionalProperties","typeLabel":"object"},"uniqueKey":"analysis.enrichment.sections","typeLabel":"object"}},"uniqueKey":"analysis.enrichment","typeLabel":"object"},"modules":{"oneOf":[{"type":"object","description":"Per-module statuses. Deep reports only; null on free runs.","properties":{"proofOfDemand":{"type":"object","properties":{"status":{"type":"string","enum":["not_generated","generating","failed","completed"],"uniqueKey":"analysis.modules.oneOf.0.proofOfDemand.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"analysis.modules.oneOf.0.proofOfDemand","typeLabel":"object"},"founderFit":{"type":"object","properties":{"status":{"type":"string","enum":["not_generated","generating","failed","completed"],"uniqueKey":"analysis.modules.oneOf.0.founderFit.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"analysis.modules.oneOf.0.founderFit","typeLabel":"object"},"playbook":{"type":"object","properties":{"status":{"type":"string","enum":["not_generated","generating","failed","completed"],"uniqueKey":"analysis.modules.oneOf.0.playbook.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"analysis.modules.oneOf.0.playbook","typeLabel":"object"},"trends":{"type":"object","properties":{"status":{"type":"string","enum":["not_generated","generating","failed","completed"],"uniqueKey":"analysis.modules.oneOf.0.trends.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"analysis.modules.oneOf.0.trends","typeLabel":"object"},"community":{"type":"object","properties":{"status":{"type":"string","enum":["not_generated","generating","failed","completed"],"uniqueKey":"analysis.modules.oneOf.0.community.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"analysis.modules.oneOf.0.community","typeLabel":"object"}},"uniqueKey":"analysis.modules.oneOf.0","typeLabel":"object"},{"type":"null","description":"Per-module statuses. Deep reports only; null on free runs.","properties":{"proofOfDemand":{"type":"object","properties":{"status":{"type":"string","enum":["not_generated","generating","failed","completed"]}}},"founderFit":{"type":"object","properties":{"status":{"type":"string","enum":["not_generated","generating","failed","completed"]}}},"playbook":{"type":"object","properties":{"status":{"type":"string","enum":["not_generated","generating","failed","completed"]}}},"trends":{"type":"object","properties":{"status":{"type":"string","enum":["not_generated","generating","failed","completed"]}}},"community":{"type":"object","properties":{"status":{"type":"string","enum":["not_generated","generating","failed","completed"]}}}},"uniqueKey":"analysis.modules.oneOf.1","typeLabel":"null"}],"uniqueKey":"analysis.modules","typeLabel":"object | null"},"reportUrl":{"oneOf":[{"type":"string","format":"uri","description":"Null until the report row exists.","uniqueKey":"analysis.reportUrl.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","description":"Null until the report row exists.","uniqueKey":"analysis.reportUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"analysis.reportUrl","typeLabel":"string\u003curi> | null"},"shareUrl":{"oneOf":[{"type":"string","format":"uri","uniqueKey":"analysis.shareUrl.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","uniqueKey":"analysis.shareUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"analysis.shareUrl","typeLabel":"string\u003curi> | null"}},"uniqueKey":"analysis","typeLabel":"object"},"enrichment":{"type":"object","description":"Progress of the core export sections. The four name arrays partition `required`, so a poller decides what to do next by reading them rather than by parsing `status`: anything in processing means keep polling, anything in failed means call enrich again, and missing with nothing processing means enrichment was never started for it.\n","properties":{"mode":{"type":"string","enum":["core","none"],"uniqueKey":"enrichment.mode","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["not_required","pending","processing","partial","completed","failed"],"description":"Rolled up from the arrays below. \"partial\" means some sections landed and others did not; \"not_required\" is mode \"none\", or a report with no required sections.\n","uniqueKey":"enrichment.status","typeLabel":"enum\u003cstring>"},"required":{"type":"array","description":"Every section this report and mode need. The other four arrays partition it.","items":{"type":"string","uniqueKey":"enrichment.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"enrichment.required","typeLabel":"string[]"},"completed":{"type":"array","items":{"type":"string","uniqueKey":"enrichment.completed.items.[INDEX]","typeLabel":"string"},"uniqueKey":"enrichment.completed","typeLabel":"string[]"},"missing":{"type":"array","description":"Required, not generated, and not currently being generated.","items":{"type":"string","uniqueKey":"enrichment.missing.items.[INDEX]","typeLabel":"string"},"uniqueKey":"enrichment.missing","typeLabel":"string[]"},"processing":{"type":"array","description":"Generation is in flight. Keep polling rather than calling enrich again.","items":{"type":"string","uniqueKey":"enrichment.processing.items.[INDEX]","typeLabel":"string"},"uniqueKey":"enrichment.processing","typeLabel":"string[]"},"failed":{"type":"array","description":"Generation was attempted and failed. Retryable by calling enrich again.","items":{"type":"string","uniqueKey":"enrichment.failed.items.[INDEX]","typeLabel":"string"},"uniqueKey":"enrichment.failed","typeLabel":"string[]"},"sections":{"type":"object","description":"Per-section detail, keyed by section name, for every entry in required. Each value carries at least a status matching the array the section is in, plus completedAt on a completed section and whatever the last attempt recorded on a failed one.\n","additionalProperties":{"type":"object","properties":{"status":{"type":"string","enum":["missing","processing","completed","failed","pending"],"uniqueKey":"enrichment.sections.additionalProperties.status","typeLabel":"enum\u003cstring>"},"completedAt":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"enrichment.sections.additionalProperties.completedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"enrichment.sections.additionalProperties.completedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"enrichment.sections.additionalProperties.completedAt","typeLabel":"string\u003cdate-time> | null"}},"additionalProperties":true,"uniqueKey":"enrichment.sections.additionalProperties","typeLabel":"object"},"uniqueKey":"enrichment.sections","typeLabel":"object"}},"uniqueKey":"enrichment","typeLabel":"object"},"failures":{"type":"array","description":"Core sections that failed this pass. Retry by calling enrich again.","items":{"type":"object","uniqueKey":"failures.items.[INDEX]","typeLabel":"object"},"uniqueKey":"failures","typeLabel":"object[]"},"modules":{"oneOf":[{"type":"object","description":"Per-module results for the modules requested in this call.","additionalProperties":{"type":"object","properties":{"ok":{"type":"boolean","uniqueKey":"modules.oneOf.0.additionalProperties.ok","typeLabel":"boolean"},"status":{"type":"integer","description":"Per-module HTTP-style status (200 inline success, 202 accepted, 409 cap, ...).","uniqueKey":"modules.oneOf.0.additionalProperties.status","typeLabel":"integer"},"code":{"oneOf":[{"type":"string","uniqueKey":"modules.oneOf.0.additionalProperties.code.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"modules.oneOf.0.additionalProperties.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"modules.oneOf.0.additionalProperties.code","typeLabel":"string | null"},"state":{"type":"string","enum":["not_generated","generating","failed","completed"],"uniqueKey":"modules.oneOf.0.additionalProperties.state","typeLabel":"enum\u003cstring>"},"alreadyStarted":{"type":"boolean","description":"True when a generation started elsewhere was already in flight.","uniqueKey":"modules.oneOf.0.additionalProperties.alreadyStarted","typeLabel":"boolean"},"retryable":{"type":"boolean","description":"True when the failure did not consume the one-per-module cap.","uniqueKey":"modules.oneOf.0.additionalProperties.retryable","typeLabel":"boolean"},"hint":{"type":"string","description":"Guidance worth relaying for this outcome (e.g. the 409 cap points to export_analysis; accepted async modules point to get_analysis).\n","uniqueKey":"modules.oneOf.0.additionalProperties.hint","typeLabel":"string"}},"uniqueKey":"modules.oneOf.0.additionalProperties","typeLabel":"object"},"uniqueKey":"modules.oneOf.0","typeLabel":"object"},{"type":"null","description":"Per-module results for the modules requested in this call.","additionalProperties":{"type":"object","properties":{"ok":{"type":"boolean","uniqueKey":"modules.oneOf.1.additionalProperties.ok","typeLabel":"boolean"},"status":{"type":"integer","description":"Per-module HTTP-style status (200 inline success, 202 accepted, 409 cap, ...).","uniqueKey":"modules.oneOf.1.additionalProperties.status","typeLabel":"integer"},"code":{"oneOf":[{"type":"string","uniqueKey":"modules.oneOf.1.additionalProperties.code.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"modules.oneOf.1.additionalProperties.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"modules.oneOf.1.additionalProperties.code","typeLabel":"string | null"},"state":{"type":"string","enum":["not_generated","generating","failed","completed"],"uniqueKey":"modules.oneOf.1.additionalProperties.state","typeLabel":"enum\u003cstring>"},"alreadyStarted":{"type":"boolean","description":"True when a generation started elsewhere was already in flight.","uniqueKey":"modules.oneOf.1.additionalProperties.alreadyStarted","typeLabel":"boolean"},"retryable":{"type":"boolean","description":"True when the failure did not consume the one-per-module cap.","uniqueKey":"modules.oneOf.1.additionalProperties.retryable","typeLabel":"boolean"},"hint":{"type":"string","description":"Guidance worth relaying for this outcome (e.g. the 409 cap points to export_analysis; accepted async modules point to get_analysis).\n","uniqueKey":"modules.oneOf.1.additionalProperties.hint","typeLabel":"string"}},"uniqueKey":"modules.oneOf.1.additionalProperties","typeLabel":"object"},"uniqueKey":"modules.oneOf.1","typeLabel":"null"}],"uniqueKey":"modules","typeLabel":"object | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"analysis":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","reportId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","clientRunId":"\u003cstring>","batchId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","scanType":"starter","enrichmentMode":"core","publish":true,"reportType":"quick","analysisTier":"basic","status":"PENDING","progressStep":"\u003cstring>","errorCode":"\u003cstring>","errorMessage":"\u003cstring>","resetAt":"2023-11-07T05:31:56Z","pollAfterSeconds":123,"pollHint":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","readyForExport":true,"exportable":true,"exportBlockedCode":"REPORT_NOT_FROM_AGENT_RUN","exportBlockedHint":"\u003cstring>","enrichment":{"mode":"core","status":"not_required","required":["\u003cstring>"],"completed":["\u003cstring>"],"missing":["\u003cstring>"],"processing":["\u003cstring>"],"failed":["\u003cstring>"],"sections":{}},"modules":{"proofOfDemand":{"status":"not_generated"},"founderFit":{"status":"not_generated"},"playbook":{"status":"not_generated"},"trends":{"status":"not_generated"},"community":{"status":"not_generated"}},"reportUrl":"\u003cstring>","shareUrl":"\u003cstring>"},"enrichment":{"mode":"core","status":"not_required","required":["\u003cstring>"],"completed":["\u003cstring>"],"missing":["\u003cstring>"],"processing":["\u003cstring>"],"failed":["\u003cstring>"],"sections":{}},"failures":[{}],"modules":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"a97af528-47e7-4f33-a184-7b00dc090651":{"description":"Partial success - some sections or modules failed; inspect failures and modules.","content":{"application/json":{"schema":{"type":"object","properties":{"analysis":{"type":"object","properties":{"id":{"type":"string","format":"uuid","uniqueKey":"analysis.id","typeLabel":"string\u003cuuid>"},"reportId":{"oneOf":[{"type":"string","format":"uuid","description":"Null until the report row is attached, which is why a run that failed before dispatch is retryable under the same clientRunId.\n","uniqueKey":"analysis.reportId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"Null until the report row is attached, which is why a run that failed before dispatch is retryable under the same clientRunId.\n","uniqueKey":"analysis.reportId.oneOf.1","typeLabel":"null"}],"uniqueKey":"analysis.reportId","typeLabel":"string\u003cuuid> | null"},"clientRunId":{"oneOf":[{"type":"string","description":"The caller-chosen id from create. Null when the analysis is a dashboard-created report resolved by its report id: no run row exists, so there is no clientRunId to replay.\n","uniqueKey":"analysis.clientRunId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The caller-chosen id from create. Null when the analysis is a dashboard-created report resolved by its report id: no run row exists, so there is no clientRunId to replay.\n","uniqueKey":"analysis.clientRunId.oneOf.1","typeLabel":"null"}],"uniqueKey":"analysis.clientRunId","typeLabel":"string | null"},"batchId":{"oneOf":[{"type":"string","format":"uuid","description":"The batch this run belongs to, or null for a standalone run.","uniqueKey":"analysis.batchId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"The batch this run belongs to, or null for a standalone run.","uniqueKey":"analysis.batchId.oneOf.1","typeLabel":"null"}],"uniqueKey":"analysis.batchId","typeLabel":"string\u003cuuid> | null"},"scanType":{"type":"string","enum":["starter","deep"],"description":"Your request type. Reliable from creation, even while PROCESSING.","uniqueKey":"analysis.scanType","typeLabel":"enum\u003cstring>"},"enrichmentMode":{"type":"string","enum":["core","none"],"uniqueKey":"analysis.enrichmentMode","typeLabel":"enum\u003cstring>"},"publish":{"type":"boolean","uniqueKey":"analysis.publish","typeLabel":"boolean"},"reportType":{"oneOf":[{"type":"string","enum":["quick","deep_dive",null],"uniqueKey":"analysis.reportType.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["quick","deep_dive",null],"uniqueKey":"analysis.reportType.oneOf.1","typeLabel":"null"}],"uniqueKey":"analysis.reportType","typeLabel":"enum\u003cstring> | null"},"analysisTier":{"oneOf":[{"type":"string","enum":["basic","advanced",null],"description":"Derived from the report. Deep runs read \"basic\" until deep sections land.","uniqueKey":"analysis.analysisTier.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["basic","advanced",null],"description":"Derived from the report. Deep runs read \"basic\" until deep sections land.","uniqueKey":"analysis.analysisTier.oneOf.1","typeLabel":"null"}],"uniqueKey":"analysis.analysisTier","typeLabel":"enum\u003cstring> | null"},"status":{"type":"string","enum":["PENDING","PROCESSING","COMPLETED","FAILED"],"uniqueKey":"analysis.status","typeLabel":"enum\u003cstring>"},"progressStep":{"oneOf":[{"type":"string","description":"Free-text pipeline stage while PROCESSING.","uniqueKey":"analysis.progressStep.oneOf.0","typeLabel":"string"},{"type":"null","description":"Free-text pipeline stage while PROCESSING.","uniqueKey":"analysis.progressStep.oneOf.1","typeLabel":"null"}],"uniqueKey":"analysis.progressStep","typeLabel":"string | null"},"errorCode":{"oneOf":[{"type":"string","description":"Set on a FAILED run. Two internal markers are deliberately rewritten before they leave: an ambiguous dispatch reports TRIGGER_DISPATCH_FAILED and an ambiguous claim refund reports REPORT_CREATE_FAILED.\n","uniqueKey":"analysis.errorCode.oneOf.0","typeLabel":"string"},{"type":"null","description":"Set on a FAILED run. Two internal markers are deliberately rewritten before they leave: an ambiguous dispatch reports TRIGGER_DISPATCH_FAILED and an ambiguous claim refund reports REPORT_CREATE_FAILED.\n","uniqueKey":"analysis.errorCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"analysis.errorCode","typeLabel":"string | null"},"errorMessage":{"oneOf":[{"type":"string","uniqueKey":"analysis.errorMessage.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"analysis.errorMessage.oneOf.1","typeLabel":"null"}],"uniqueKey":"analysis.errorMessage","typeLabel":"string | null"},"resetAt":{"type":"string","format":"date-time","description":"Present only on a batch item refused by the rolling daily cap; absent, not null, on every other run.\n","uniqueKey":"analysis.resetAt","typeLabel":"string\u003cdate-time>"},"pollAfterSeconds":{"type":"integer","description":"Present only while polling is still useful. Pace by this rather than by a fixed interval.\n","uniqueKey":"analysis.pollAfterSeconds","typeLabel":"integer"},"pollHint":{"type":"string","description":"Present alongside pollAfterSeconds.","uniqueKey":"analysis.pollHint","typeLabel":"string"},"createdAt":{"type":"string","format":"date-time","uniqueKey":"analysis.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","uniqueKey":"analysis.updatedAt","typeLabel":"string\u003cdate-time>"},"readyForExport":{"type":"boolean","description":"Whether GET /export will serve this analysis now. Always false for a report created on the preuve.ai dashboard, whatever state the report is in, because that export answers 403 REPORT_NOT_FROM_AGENT_RUN. Branch on exportable first.\n","uniqueKey":"analysis.readyForExport","typeLabel":"boolean"},"exportable":{"type":"boolean","description":"Present, and false, only on a report created on the preuve.ai dashboard. Absent means the ordinary contract applies and readyForExport is the gate. When it is false, no amount of polling or enriching changes it.\n","uniqueKey":"analysis.exportable","typeLabel":"boolean"},"exportBlockedCode":{"type":"string","enum":["REPORT_NOT_FROM_AGENT_RUN"],"description":"Present alongside exportable, naming the refusal.","uniqueKey":"analysis.exportBlockedCode","typeLabel":"enum\u003cstring>"},"exportBlockedHint":{"type":"string","description":"Present alongside exportable. Relayable prose.","uniqueKey":"analysis.exportBlockedHint","typeLabel":"string"},"enrichment":{"type":"object","description":"Progress of the core export sections. The four name arrays partition `required`, so a poller decides what to do next by reading them rather than by parsing `status`: anything in processing means keep polling, anything in failed means call enrich again, and missing with nothing processing means enrichment was never started for it.\n","properties":{"mode":{"type":"string","enum":["core","none"],"uniqueKey":"analysis.enrichment.mode","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["not_required","pending","processing","partial","completed","failed"],"description":"Rolled up from the arrays below. \"partial\" means some sections landed and others did not; \"not_required\" is mode \"none\", or a report with no required sections.\n","uniqueKey":"analysis.enrichment.status","typeLabel":"enum\u003cstring>"},"required":{"type":"array","description":"Every section this report and mode need. The other four arrays partition it.","items":{"type":"string","uniqueKey":"analysis.enrichment.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"analysis.enrichment.required","typeLabel":"string[]"},"completed":{"type":"array","items":{"type":"string","uniqueKey":"analysis.enrichment.completed.items.[INDEX]","typeLabel":"string"},"uniqueKey":"analysis.enrichment.completed","typeLabel":"string[]"},"missing":{"type":"array","description":"Required, not generated, and not currently being generated.","items":{"type":"string","uniqueKey":"analysis.enrichment.missing.items.[INDEX]","typeLabel":"string"},"uniqueKey":"analysis.enrichment.missing","typeLabel":"string[]"},"processing":{"type":"array","description":"Generation is in flight. Keep polling rather than calling enrich again.","items":{"type":"string","uniqueKey":"analysis.enrichment.processing.items.[INDEX]","typeLabel":"string"},"uniqueKey":"analysis.enrichment.processing","typeLabel":"string[]"},"failed":{"type":"array","description":"Generation was attempted and failed. Retryable by calling enrich again.","items":{"type":"string","uniqueKey":"analysis.enrichment.failed.items.[INDEX]","typeLabel":"string"},"uniqueKey":"analysis.enrichment.failed","typeLabel":"string[]"},"sections":{"type":"object","description":"Per-section detail, keyed by section name, for every entry in required. Each value carries at least a status matching the array the section is in, plus completedAt on a completed section and whatever the last attempt recorded on a failed one.\n","additionalProperties":{"type":"object","properties":{"status":{"type":"string","enum":["missing","processing","completed","failed","pending"],"uniqueKey":"analysis.enrichment.sections.additionalProperties.status","typeLabel":"enum\u003cstring>"},"completedAt":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"analysis.enrichment.sections.additionalProperties.completedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"analysis.enrichment.sections.additionalProperties.completedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"analysis.enrichment.sections.additionalProperties.completedAt","typeLabel":"string\u003cdate-time> | null"}},"additionalProperties":true,"uniqueKey":"analysis.enrichment.sections.additionalProperties","typeLabel":"object"},"uniqueKey":"analysis.enrichment.sections","typeLabel":"object"}},"uniqueKey":"analysis.enrichment","typeLabel":"object"},"modules":{"oneOf":[{"type":"object","description":"Per-module statuses. Deep reports only; null on free runs.","properties":{"proofOfDemand":{"type":"object","properties":{"status":{"type":"string","enum":["not_generated","generating","failed","completed"],"uniqueKey":"analysis.modules.oneOf.0.proofOfDemand.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"analysis.modules.oneOf.0.proofOfDemand","typeLabel":"object"},"founderFit":{"type":"object","properties":{"status":{"type":"string","enum":["not_generated","generating","failed","completed"],"uniqueKey":"analysis.modules.oneOf.0.founderFit.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"analysis.modules.oneOf.0.founderFit","typeLabel":"object"},"playbook":{"type":"object","properties":{"status":{"type":"string","enum":["not_generated","generating","failed","completed"],"uniqueKey":"analysis.modules.oneOf.0.playbook.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"analysis.modules.oneOf.0.playbook","typeLabel":"object"},"trends":{"type":"object","properties":{"status":{"type":"string","enum":["not_generated","generating","failed","completed"],"uniqueKey":"analysis.modules.oneOf.0.trends.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"analysis.modules.oneOf.0.trends","typeLabel":"object"},"community":{"type":"object","properties":{"status":{"type":"string","enum":["not_generated","generating","failed","completed"],"uniqueKey":"analysis.modules.oneOf.0.community.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"analysis.modules.oneOf.0.community","typeLabel":"object"}},"uniqueKey":"analysis.modules.oneOf.0","typeLabel":"object"},{"type":"null","description":"Per-module statuses. Deep reports only; null on free runs.","properties":{"proofOfDemand":{"type":"object","properties":{"status":{"type":"string","enum":["not_generated","generating","failed","completed"]}}},"founderFit":{"type":"object","properties":{"status":{"type":"string","enum":["not_generated","generating","failed","completed"]}}},"playbook":{"type":"object","properties":{"status":{"type":"string","enum":["not_generated","generating","failed","completed"]}}},"trends":{"type":"object","properties":{"status":{"type":"string","enum":["not_generated","generating","failed","completed"]}}},"community":{"type":"object","properties":{"status":{"type":"string","enum":["not_generated","generating","failed","completed"]}}}},"uniqueKey":"analysis.modules.oneOf.1","typeLabel":"null"}],"uniqueKey":"analysis.modules","typeLabel":"object | null"},"reportUrl":{"oneOf":[{"type":"string","format":"uri","description":"Null until the report row exists.","uniqueKey":"analysis.reportUrl.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","description":"Null until the report row exists.","uniqueKey":"analysis.reportUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"analysis.reportUrl","typeLabel":"string\u003curi> | null"},"shareUrl":{"oneOf":[{"type":"string","format":"uri","uniqueKey":"analysis.shareUrl.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","uniqueKey":"analysis.shareUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"analysis.shareUrl","typeLabel":"string\u003curi> | null"}},"uniqueKey":"analysis","typeLabel":"object"},"enrichment":{"type":"object","description":"Progress of the core export sections. The four name arrays partition `required`, so a poller decides what to do next by reading them rather than by parsing `status`: anything in processing means keep polling, anything in failed means call enrich again, and missing with nothing processing means enrichment was never started for it.\n","properties":{"mode":{"type":"string","enum":["core","none"],"uniqueKey":"enrichment.mode","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["not_required","pending","processing","partial","completed","failed"],"description":"Rolled up from the arrays below. \"partial\" means some sections landed and others did not; \"not_required\" is mode \"none\", or a report with no required sections.\n","uniqueKey":"enrichment.status","typeLabel":"enum\u003cstring>"},"required":{"type":"array","description":"Every section this report and mode need. The other four arrays partition it.","items":{"type":"string","uniqueKey":"enrichment.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"enrichment.required","typeLabel":"string[]"},"completed":{"type":"array","items":{"type":"string","uniqueKey":"enrichment.completed.items.[INDEX]","typeLabel":"string"},"uniqueKey":"enrichment.completed","typeLabel":"string[]"},"missing":{"type":"array","description":"Required, not generated, and not currently being generated.","items":{"type":"string","uniqueKey":"enrichment.missing.items.[INDEX]","typeLabel":"string"},"uniqueKey":"enrichment.missing","typeLabel":"string[]"},"processing":{"type":"array","description":"Generation is in flight. Keep polling rather than calling enrich again.","items":{"type":"string","uniqueKey":"enrichment.processing.items.[INDEX]","typeLabel":"string"},"uniqueKey":"enrichment.processing","typeLabel":"string[]"},"failed":{"type":"array","description":"Generation was attempted and failed. Retryable by calling enrich again.","items":{"type":"string","uniqueKey":"enrichment.failed.items.[INDEX]","typeLabel":"string"},"uniqueKey":"enrichment.failed","typeLabel":"string[]"},"sections":{"type":"object","description":"Per-section detail, keyed by section name, for every entry in required. Each value carries at least a status matching the array the section is in, plus completedAt on a completed section and whatever the last attempt recorded on a failed one.\n","additionalProperties":{"type":"object","properties":{"status":{"type":"string","enum":["missing","processing","completed","failed","pending"],"uniqueKey":"enrichment.sections.additionalProperties.status","typeLabel":"enum\u003cstring>"},"completedAt":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"enrichment.sections.additionalProperties.completedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"enrichment.sections.additionalProperties.completedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"enrichment.sections.additionalProperties.completedAt","typeLabel":"string\u003cdate-time> | null"}},"additionalProperties":true,"uniqueKey":"enrichment.sections.additionalProperties","typeLabel":"object"},"uniqueKey":"enrichment.sections","typeLabel":"object"}},"uniqueKey":"enrichment","typeLabel":"object"},"failures":{"type":"array","description":"Core sections that failed this pass. Retry by calling enrich again.","items":{"type":"object","uniqueKey":"failures.items.[INDEX]","typeLabel":"object"},"uniqueKey":"failures","typeLabel":"object[]"},"modules":{"oneOf":[{"type":"object","description":"Per-module results for the modules requested in this call.","additionalProperties":{"type":"object","properties":{"ok":{"type":"boolean","uniqueKey":"modules.oneOf.0.additionalProperties.ok","typeLabel":"boolean"},"status":{"type":"integer","description":"Per-module HTTP-style status (200 inline success, 202 accepted, 409 cap, ...).","uniqueKey":"modules.oneOf.0.additionalProperties.status","typeLabel":"integer"},"code":{"oneOf":[{"type":"string","uniqueKey":"modules.oneOf.0.additionalProperties.code.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"modules.oneOf.0.additionalProperties.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"modules.oneOf.0.additionalProperties.code","typeLabel":"string | null"},"state":{"type":"string","enum":["not_generated","generating","failed","completed"],"uniqueKey":"modules.oneOf.0.additionalProperties.state","typeLabel":"enum\u003cstring>"},"alreadyStarted":{"type":"boolean","description":"True when a generation started elsewhere was already in flight.","uniqueKey":"modules.oneOf.0.additionalProperties.alreadyStarted","typeLabel":"boolean"},"retryable":{"type":"boolean","description":"True when the failure did not consume the one-per-module cap.","uniqueKey":"modules.oneOf.0.additionalProperties.retryable","typeLabel":"boolean"},"hint":{"type":"string","description":"Guidance worth relaying for this outcome (e.g. the 409 cap points to export_analysis; accepted async modules point to get_analysis).\n","uniqueKey":"modules.oneOf.0.additionalProperties.hint","typeLabel":"string"}},"uniqueKey":"modules.oneOf.0.additionalProperties","typeLabel":"object"},"uniqueKey":"modules.oneOf.0","typeLabel":"object"},{"type":"null","description":"Per-module results for the modules requested in this call.","additionalProperties":{"type":"object","properties":{"ok":{"type":"boolean","uniqueKey":"modules.oneOf.1.additionalProperties.ok","typeLabel":"boolean"},"status":{"type":"integer","description":"Per-module HTTP-style status (200 inline success, 202 accepted, 409 cap, ...).","uniqueKey":"modules.oneOf.1.additionalProperties.status","typeLabel":"integer"},"code":{"oneOf":[{"type":"string","uniqueKey":"modules.oneOf.1.additionalProperties.code.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"modules.oneOf.1.additionalProperties.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"modules.oneOf.1.additionalProperties.code","typeLabel":"string | null"},"state":{"type":"string","enum":["not_generated","generating","failed","completed"],"uniqueKey":"modules.oneOf.1.additionalProperties.state","typeLabel":"enum\u003cstring>"},"alreadyStarted":{"type":"boolean","description":"True when a generation started elsewhere was already in flight.","uniqueKey":"modules.oneOf.1.additionalProperties.alreadyStarted","typeLabel":"boolean"},"retryable":{"type":"boolean","description":"True when the failure did not consume the one-per-module cap.","uniqueKey":"modules.oneOf.1.additionalProperties.retryable","typeLabel":"boolean"},"hint":{"type":"string","description":"Guidance worth relaying for this outcome (e.g. the 409 cap points to export_analysis; accepted async modules point to get_analysis).\n","uniqueKey":"modules.oneOf.1.additionalProperties.hint","typeLabel":"string"}},"uniqueKey":"modules.oneOf.1.additionalProperties","typeLabel":"object"},"uniqueKey":"modules.oneOf.1","typeLabel":"null"}],"uniqueKey":"modules","typeLabel":"object | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"analysis":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","reportId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","clientRunId":"\u003cstring>","batchId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","scanType":"starter","enrichmentMode":"core","publish":true,"reportType":"quick","analysisTier":"basic","status":"PENDING","progressStep":"\u003cstring>","errorCode":"\u003cstring>","errorMessage":"\u003cstring>","resetAt":"2023-11-07T05:31:56Z","pollAfterSeconds":123,"pollHint":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","readyForExport":true,"exportable":true,"exportBlockedCode":"REPORT_NOT_FROM_AGENT_RUN","exportBlockedHint":"\u003cstring>","enrichment":{"mode":"core","status":"not_required","required":["\u003cstring>"],"completed":["\u003cstring>"],"missing":["\u003cstring>"],"processing":["\u003cstring>"],"failed":["\u003cstring>"],"sections":{}},"modules":{"proofOfDemand":{"status":"not_generated"},"founderFit":{"status":"not_generated"},"playbook":{"status":"not_generated"},"trends":{"status":"not_generated"},"community":{"status":"not_generated"}},"reportUrl":"\u003cstring>","shareUrl":"\u003cstring>"},"enrichment":{"mode":"core","status":"not_required","required":["\u003cstring>"],"completed":["\u003cstring>"],"missing":["\u003cstring>"],"processing":["\u003cstring>"],"failed":["\u003cstring>"],"sections":{}},"failures":[{}],"modules":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"21a3af2e-002e-48dc-aeb6-5246949f41ad":{"description":"Invalid modules or founderProfile (INVALID_MODULES, INVALID_FOUNDER_PROFILE).","content":{"application/json":{"schema":{"type":"object","required":["error","code"],"description":"Every error, on every route, unknown paths included. Some codes add top-level context fields (limit, tokenBalance, resetAt, upsell, ...); a 404 NOT_FOUND on an unknown route adds details.discovery, details.openapi and details.docs so the caller can recover.\n","properties":{"error":{"type":"string","description":"Human-readable message. Prose; it changes.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Stable machine-readable code. Branch on this.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"details":{"oneOf":[{"type":"object","description":"Optional context. An object on most codes (limits, recovery links, the method and path of a 404); an array of strings where the route forwards a validator's messages, as enrich does on INVALID_FOUNDER_PROFILE. Read it, never branch on it - `code` is the contract.\n","additionalProperties":true,"uniqueKey":"details.oneOf.0","typeLabel":"object"},{"type":"array","items":{"type":"string","uniqueKey":"details.oneOf.1.items.[INDEX]","typeLabel":"string"},"description":"Optional context. An object on most codes (limits, recovery links, the method and path of a 404); an array of strings where the route forwards a validator's messages, as enrich does on INVALID_FOUNDER_PROFILE. Read it, never branch on it - `code` is the contract.\n","uniqueKey":"details.oneOf.1","typeLabel":"string[]"}],"uniqueKey":"details","typeLabel":"object | string[]"},"limit":{"type":"integer","description":"The ceiling that was hit, in the unit the code implies: bytes on PAYLOAD_TOO_LARGE, runs in flight on CONCURRENT_LIMIT_REACHED, requests in the window on a rate limit.\n","uniqueKey":"limit","typeLabel":"integer"},"remaining":{"type":"integer","description":"Requests left in the current window.","uniqueKey":"remaining","typeLabel":"integer"},"resetAt":{"type":"string","format":"date-time","description":"When the window that refused this request reopens. Present on DAILY_LIMIT_REACHED from run creation (the idea generator's rolling ceiling sends only limit); prefer it over the Retry-After header when both are present, since it is absolute.\n","uniqueKey":"resetAt","typeLabel":"string\u003cdate-time>"},"tokenBalance":{"type":"integer","description":"Deep-scan credits left on the account. Present on INSUFFICIENT_TOKENS.","uniqueKey":"tokenBalance","typeLabel":"integer"},"scansUsed":{"type":"integer","uniqueKey":"scansUsed","typeLabel":"integer"},"scansRemaining":{"type":"integer","uniqueKey":"scansRemaining","typeLabel":"integer"},"limitType":{"type":"string","description":"Which ceiling refused an AppSumo-backed account.","uniqueKey":"limitType","typeLabel":"string"},"upgradeHint":{"type":"string","description":"What to change to get past this refusal. Prose, not a contract.","uniqueKey":"upgradeHint","typeLabel":"string"},"creditScans":{"type":"object","description":"Present on STARTER_LIMIT_REACHED for an account whose starter scans are a fixed bank: its 10-scan credits pack is empty, what a pack costs in credits, the credit balance, and whether the account can buy credits.\n","properties":{"available":{"type":"integer","uniqueKey":"creditScans.available","typeLabel":"integer"},"packCost":{"type":"integer","uniqueKey":"creditScans.packCost","typeLabel":"integer"},"packSize":{"type":"integer","uniqueKey":"creditScans.packSize","typeLabel":"integer"},"balance":{"type":"integer","uniqueKey":"creditScans.balance","typeLabel":"integer"},"canBuyBundles":{"type":"boolean","uniqueKey":"creditScans.canBuyBundles","typeLabel":"boolean"}},"uniqueKey":"creditScans","typeLabel":"object"},"paused":{"type":"boolean","description":"Present only on the LLM-pause 503, where the body is exactly { error, code, paused }.\n","uniqueKey":"paused","typeLabel":"boolean"},"upsell":{"type":"object","description":"Purchase context for a locked export or buyable quota refusal. Export upsells are free-owner only; a paid non-regional caller may receive a scan_pack top-up on INSUFFICIENT_TOKENS. Ignore it if you only need the data contract.\n","properties":{"offer":{"type":"string","enum":["founder_report","scan_pack"],"description":"\"founder_report\" is the one-time Founder Report tier. \"scan_pack\" is a top-up for an account that already bought and has no deep credits left.\n","uniqueKey":"upsell.offer","typeLabel":"enum\u003cstring>"},"guarantee":{"type":"string","description":"Guarantee text for offer=founder_report. Omitted for scan_pack top-ups; an empty string is never used.\n","uniqueKey":"upsell.guarantee","typeLabel":"string"},"url":{"type":"string","format":"uri","description":"Purchase or report URL, with attribution query parameters.","uniqueKey":"upsell.url","typeLabel":"string\u003curi>"},"locked":{"type":"array","description":"Section names the offer covers. Distinct from the top-level locked object, which names response FIELDS.\n","items":{"type":"string","uniqueKey":"upsell.locked.items.[INDEX]","typeLabel":"string"},"uniqueKey":"upsell.locked","typeLabel":"string[]"},"note":{"type":"string","description":"The same facts as one sentence, for a client that relays text.","uniqueKey":"upsell.note","typeLabel":"string"}},"uniqueKey":"upsell","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","details":{},"limit":123,"remaining":123,"resetAt":"2023-11-07T05:31:56Z","tokenBalance":123,"scansUsed":123,"scansRemaining":123,"limitType":"\u003cstring>","upgradeHint":"\u003cstring>","creditScans":{"available":123,"packCost":123,"packSize":123,"balance":123,"canBuyBundles":true},"paused":true,"upsell":{"offer":"founder_report","guarantee":"\u003cstring>","url":"\u003cstring>","locked":["\u003cstring>"],"note":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"64fa34a1-b7f1-4761-87c0-470c34cefbd0":{"description":"Missing API key (MISSING_API_KEY), or a malformed, unknown or revoked key (INVALID_AGENT_KEY - the same envelope for all three, on purpose). Repeated failures are throttled per IP and answer 429.\n","content":{"application/json":{"schema":{"type":"object","required":["error","code"],"description":"Every error, on every route, unknown paths included. Some codes add top-level context fields (limit, tokenBalance, resetAt, upsell, ...); a 404 NOT_FOUND on an unknown route adds details.discovery, details.openapi and details.docs so the caller can recover.\n","properties":{"error":{"type":"string","description":"Human-readable message. Prose; it changes.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Stable machine-readable code. Branch on this.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"details":{"oneOf":[{"type":"object","description":"Optional context. An object on most codes (limits, recovery links, the method and path of a 404); an array of strings where the route forwards a validator's messages, as enrich does on INVALID_FOUNDER_PROFILE. Read it, never branch on it - `code` is the contract.\n","additionalProperties":true,"uniqueKey":"details.oneOf.0","typeLabel":"object"},{"type":"array","items":{"type":"string","uniqueKey":"details.oneOf.1.items.[INDEX]","typeLabel":"string"},"description":"Optional context. An object on most codes (limits, recovery links, the method and path of a 404); an array of strings where the route forwards a validator's messages, as enrich does on INVALID_FOUNDER_PROFILE. Read it, never branch on it - `code` is the contract.\n","uniqueKey":"details.oneOf.1","typeLabel":"string[]"}],"uniqueKey":"details","typeLabel":"object | string[]"},"limit":{"type":"integer","description":"The ceiling that was hit, in the unit the code implies: bytes on PAYLOAD_TOO_LARGE, runs in flight on CONCURRENT_LIMIT_REACHED, requests in the window on a rate limit.\n","uniqueKey":"limit","typeLabel":"integer"},"remaining":{"type":"integer","description":"Requests left in the current window.","uniqueKey":"remaining","typeLabel":"integer"},"resetAt":{"type":"string","format":"date-time","description":"When the window that refused this request reopens. Present on DAILY_LIMIT_REACHED from run creation (the idea generator's rolling ceiling sends only limit); prefer it over the Retry-After header when both are present, since it is absolute.\n","uniqueKey":"resetAt","typeLabel":"string\u003cdate-time>"},"tokenBalance":{"type":"integer","description":"Deep-scan credits left on the account. Present on INSUFFICIENT_TOKENS.","uniqueKey":"tokenBalance","typeLabel":"integer"},"scansUsed":{"type":"integer","uniqueKey":"scansUsed","typeLabel":"integer"},"scansRemaining":{"type":"integer","uniqueKey":"scansRemaining","typeLabel":"integer"},"limitType":{"type":"string","description":"Which ceiling refused an AppSumo-backed account.","uniqueKey":"limitType","typeLabel":"string"},"upgradeHint":{"type":"string","description":"What to change to get past this refusal. Prose, not a contract.","uniqueKey":"upgradeHint","typeLabel":"string"},"creditScans":{"type":"object","description":"Present on STARTER_LIMIT_REACHED for an account whose starter scans are a fixed bank: its 10-scan credits pack is empty, what a pack costs in credits, the credit balance, and whether the account can buy credits.\n","properties":{"available":{"type":"integer","uniqueKey":"creditScans.available","typeLabel":"integer"},"packCost":{"type":"integer","uniqueKey":"creditScans.packCost","typeLabel":"integer"},"packSize":{"type":"integer","uniqueKey":"creditScans.packSize","typeLabel":"integer"},"balance":{"type":"integer","uniqueKey":"creditScans.balance","typeLabel":"integer"},"canBuyBundles":{"type":"boolean","uniqueKey":"creditScans.canBuyBundles","typeLabel":"boolean"}},"uniqueKey":"creditScans","typeLabel":"object"},"paused":{"type":"boolean","description":"Present only on the LLM-pause 503, where the body is exactly { error, code, paused }.\n","uniqueKey":"paused","typeLabel":"boolean"},"upsell":{"type":"object","description":"Purchase context for a locked export or buyable quota refusal. Export upsells are free-owner only; a paid non-regional caller may receive a scan_pack top-up on INSUFFICIENT_TOKENS. Ignore it if you only need the data contract.\n","properties":{"offer":{"type":"string","enum":["founder_report","scan_pack"],"description":"\"founder_report\" is the one-time Founder Report tier. \"scan_pack\" is a top-up for an account that already bought and has no deep credits left.\n","uniqueKey":"upsell.offer","typeLabel":"enum\u003cstring>"},"guarantee":{"type":"string","description":"Guarantee text for offer=founder_report. Omitted for scan_pack top-ups; an empty string is never used.\n","uniqueKey":"upsell.guarantee","typeLabel":"string"},"url":{"type":"string","format":"uri","description":"Purchase or report URL, with attribution query parameters.","uniqueKey":"upsell.url","typeLabel":"string\u003curi>"},"locked":{"type":"array","description":"Section names the offer covers. Distinct from the top-level locked object, which names response FIELDS.\n","items":{"type":"string","uniqueKey":"upsell.locked.items.[INDEX]","typeLabel":"string"},"uniqueKey":"upsell.locked","typeLabel":"string[]"},"note":{"type":"string","description":"The same facts as one sentence, for a client that relays text.","uniqueKey":"upsell.note","typeLabel":"string"}},"uniqueKey":"upsell","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","details":{},"limit":123,"remaining":123,"resetAt":"2023-11-07T05:31:56Z","tokenBalance":123,"scansUsed":123,"scansRemaining":123,"limitType":"\u003cstring>","upgradeHint":"\u003cstring>","creditScans":{"available":123,"packCost":123,"packSize":123,"balance":123,"canBuyBundles":true},"paused":true,"upsell":{"offer":"founder_report","guarantee":"\u003cstring>","url":"\u003cstring>","locked":["\u003cstring>"],"note":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"21495eea-360c-4f06-a4db-ce0aa5d6ab97":{"description":"Modules requested on a non-deep report (MODULES_REQUIRE_DEEP), the key lacks analysis:write (INSUFFICIENT_SCOPE), or the report was created on the preuve.ai dashboard (REPORT_NOT_FROM_AGENT_RUN).\n","content":{"application/json":{"schema":{"type":"object","required":["error","code"],"description":"Every error, on every route, unknown paths included. Some codes add top-level context fields (limit, tokenBalance, resetAt, upsell, ...); a 404 NOT_FOUND on an unknown route adds details.discovery, details.openapi and details.docs so the caller can recover.\n","properties":{"error":{"type":"string","description":"Human-readable message. Prose; it changes.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Stable machine-readable code. Branch on this.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"details":{"oneOf":[{"type":"object","description":"Optional context. An object on most codes (limits, recovery links, the method and path of a 404); an array of strings where the route forwards a validator's messages, as enrich does on INVALID_FOUNDER_PROFILE. Read it, never branch on it - `code` is the contract.\n","additionalProperties":true,"uniqueKey":"details.oneOf.0","typeLabel":"object"},{"type":"array","items":{"type":"string","uniqueKey":"details.oneOf.1.items.[INDEX]","typeLabel":"string"},"description":"Optional context. An object on most codes (limits, recovery links, the method and path of a 404); an array of strings where the route forwards a validator's messages, as enrich does on INVALID_FOUNDER_PROFILE. Read it, never branch on it - `code` is the contract.\n","uniqueKey":"details.oneOf.1","typeLabel":"string[]"}],"uniqueKey":"details","typeLabel":"object | string[]"},"limit":{"type":"integer","description":"The ceiling that was hit, in the unit the code implies: bytes on PAYLOAD_TOO_LARGE, runs in flight on CONCURRENT_LIMIT_REACHED, requests in the window on a rate limit.\n","uniqueKey":"limit","typeLabel":"integer"},"remaining":{"type":"integer","description":"Requests left in the current window.","uniqueKey":"remaining","typeLabel":"integer"},"resetAt":{"type":"string","format":"date-time","description":"When the window that refused this request reopens. Present on DAILY_LIMIT_REACHED from run creation (the idea generator's rolling ceiling sends only limit); prefer it over the Retry-After header when both are present, since it is absolute.\n","uniqueKey":"resetAt","typeLabel":"string\u003cdate-time>"},"tokenBalance":{"type":"integer","description":"Deep-scan credits left on the account. Present on INSUFFICIENT_TOKENS.","uniqueKey":"tokenBalance","typeLabel":"integer"},"scansUsed":{"type":"integer","uniqueKey":"scansUsed","typeLabel":"integer"},"scansRemaining":{"type":"integer","uniqueKey":"scansRemaining","typeLabel":"integer"},"limitType":{"type":"string","description":"Which ceiling refused an AppSumo-backed account.","uniqueKey":"limitType","typeLabel":"string"},"upgradeHint":{"type":"string","description":"What to change to get past this refusal. Prose, not a contract.","uniqueKey":"upgradeHint","typeLabel":"string"},"creditScans":{"type":"object","description":"Present on STARTER_LIMIT_REACHED for an account whose starter scans are a fixed bank: its 10-scan credits pack is empty, what a pack costs in credits, the credit balance, and whether the account can buy credits.\n","properties":{"available":{"type":"integer","uniqueKey":"creditScans.available","typeLabel":"integer"},"packCost":{"type":"integer","uniqueKey":"creditScans.packCost","typeLabel":"integer"},"packSize":{"type":"integer","uniqueKey":"creditScans.packSize","typeLabel":"integer"},"balance":{"type":"integer","uniqueKey":"creditScans.balance","typeLabel":"integer"},"canBuyBundles":{"type":"boolean","uniqueKey":"creditScans.canBuyBundles","typeLabel":"boolean"}},"uniqueKey":"creditScans","typeLabel":"object"},"paused":{"type":"boolean","description":"Present only on the LLM-pause 503, where the body is exactly { error, code, paused }.\n","uniqueKey":"paused","typeLabel":"boolean"},"upsell":{"type":"object","description":"Purchase context for a locked export or buyable quota refusal. Export upsells are free-owner only; a paid non-regional caller may receive a scan_pack top-up on INSUFFICIENT_TOKENS. Ignore it if you only need the data contract.\n","properties":{"offer":{"type":"string","enum":["founder_report","scan_pack"],"description":"\"founder_report\" is the one-time Founder Report tier. \"scan_pack\" is a top-up for an account that already bought and has no deep credits left.\n","uniqueKey":"upsell.offer","typeLabel":"enum\u003cstring>"},"guarantee":{"type":"string","description":"Guarantee text for offer=founder_report. Omitted for scan_pack top-ups; an empty string is never used.\n","uniqueKey":"upsell.guarantee","typeLabel":"string"},"url":{"type":"string","format":"uri","description":"Purchase or report URL, with attribution query parameters.","uniqueKey":"upsell.url","typeLabel":"string\u003curi>"},"locked":{"type":"array","description":"Section names the offer covers. Distinct from the top-level locked object, which names response FIELDS.\n","items":{"type":"string","uniqueKey":"upsell.locked.items.[INDEX]","typeLabel":"string"},"uniqueKey":"upsell.locked","typeLabel":"string[]"},"note":{"type":"string","description":"The same facts as one sentence, for a client that relays text.","uniqueKey":"upsell.note","typeLabel":"string"}},"uniqueKey":"upsell","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","details":{},"limit":123,"remaining":123,"resetAt":"2023-11-07T05:31:56Z","tokenBalance":123,"scansUsed":123,"scansRemaining":123,"limitType":"\u003cstring>","upgradeHint":"\u003cstring>","creditScans":{"available":123,"packCost":123,"packSize":123,"balance":123,"canBuyBundles":true},"paused":true,"upsell":{"offer":"founder_report","guarantee":"\u003cstring>","url":"\u003cstring>","locked":["\u003cstring>"],"note":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"02356c20-43ae-4af4-8666-b04a53c58165":{"description":"Unknown id, or the resource belongs to another account. The code names what was looked up: ANALYSIS_NOT_FOUND on the analysis routes, BATCH_NOT_FOUND on the batch ones. The analysis routes also answer REPORT_DELETED when the run exists but its report was deleted from the dashboard: nothing is left to poll, enrich or export.\n","content":{"application/json":{"schema":{"type":"object","required":["error","code"],"description":"Every error, on every route, unknown paths included. Some codes add top-level context fields (limit, tokenBalance, resetAt, upsell, ...); a 404 NOT_FOUND on an unknown route adds details.discovery, details.openapi and details.docs so the caller can recover.\n","properties":{"error":{"type":"string","description":"Human-readable message. Prose; it changes.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Stable machine-readable code. Branch on this.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"details":{"oneOf":[{"type":"object","description":"Optional context. An object on most codes (limits, recovery links, the method and path of a 404); an array of strings where the route forwards a validator's messages, as enrich does on INVALID_FOUNDER_PROFILE. Read it, never branch on it - `code` is the contract.\n","additionalProperties":true,"uniqueKey":"details.oneOf.0","typeLabel":"object"},{"type":"array","items":{"type":"string","uniqueKey":"details.oneOf.1.items.[INDEX]","typeLabel":"string"},"description":"Optional context. An object on most codes (limits, recovery links, the method and path of a 404); an array of strings where the route forwards a validator's messages, as enrich does on INVALID_FOUNDER_PROFILE. Read it, never branch on it - `code` is the contract.\n","uniqueKey":"details.oneOf.1","typeLabel":"string[]"}],"uniqueKey":"details","typeLabel":"object | string[]"},"limit":{"type":"integer","description":"The ceiling that was hit, in the unit the code implies: bytes on PAYLOAD_TOO_LARGE, runs in flight on CONCURRENT_LIMIT_REACHED, requests in the window on a rate limit.\n","uniqueKey":"limit","typeLabel":"integer"},"remaining":{"type":"integer","description":"Requests left in the current window.","uniqueKey":"remaining","typeLabel":"integer"},"resetAt":{"type":"string","format":"date-time","description":"When the window that refused this request reopens. Present on DAILY_LIMIT_REACHED from run creation (the idea generator's rolling ceiling sends only limit); prefer it over the Retry-After header when both are present, since it is absolute.\n","uniqueKey":"resetAt","typeLabel":"string\u003cdate-time>"},"tokenBalance":{"type":"integer","description":"Deep-scan credits left on the account. Present on INSUFFICIENT_TOKENS.","uniqueKey":"tokenBalance","typeLabel":"integer"},"scansUsed":{"type":"integer","uniqueKey":"scansUsed","typeLabel":"integer"},"scansRemaining":{"type":"integer","uniqueKey":"scansRemaining","typeLabel":"integer"},"limitType":{"type":"string","description":"Which ceiling refused an AppSumo-backed account.","uniqueKey":"limitType","typeLabel":"string"},"upgradeHint":{"type":"string","description":"What to change to get past this refusal. Prose, not a contract.","uniqueKey":"upgradeHint","typeLabel":"string"},"creditScans":{"type":"object","description":"Present on STARTER_LIMIT_REACHED for an account whose starter scans are a fixed bank: its 10-scan credits pack is empty, what a pack costs in credits, the credit balance, and whether the account can buy credits.\n","properties":{"available":{"type":"integer","uniqueKey":"creditScans.available","typeLabel":"integer"},"packCost":{"type":"integer","uniqueKey":"creditScans.packCost","typeLabel":"integer"},"packSize":{"type":"integer","uniqueKey":"creditScans.packSize","typeLabel":"integer"},"balance":{"type":"integer","uniqueKey":"creditScans.balance","typeLabel":"integer"},"canBuyBundles":{"type":"boolean","uniqueKey":"creditScans.canBuyBundles","typeLabel":"boolean"}},"uniqueKey":"creditScans","typeLabel":"object"},"paused":{"type":"boolean","description":"Present only on the LLM-pause 503, where the body is exactly { error, code, paused }.\n","uniqueKey":"paused","typeLabel":"boolean"},"upsell":{"type":"object","description":"Purchase context for a locked export or buyable quota refusal. Export upsells are free-owner only; a paid non-regional caller may receive a scan_pack top-up on INSUFFICIENT_TOKENS. Ignore it if you only need the data contract.\n","properties":{"offer":{"type":"string","enum":["founder_report","scan_pack"],"description":"\"founder_report\" is the one-time Founder Report tier. \"scan_pack\" is a top-up for an account that already bought and has no deep credits left.\n","uniqueKey":"upsell.offer","typeLabel":"enum\u003cstring>"},"guarantee":{"type":"string","description":"Guarantee text for offer=founder_report. Omitted for scan_pack top-ups; an empty string is never used.\n","uniqueKey":"upsell.guarantee","typeLabel":"string"},"url":{"type":"string","format":"uri","description":"Purchase or report URL, with attribution query parameters.","uniqueKey":"upsell.url","typeLabel":"string\u003curi>"},"locked":{"type":"array","description":"Section names the offer covers. Distinct from the top-level locked object, which names response FIELDS.\n","items":{"type":"string","uniqueKey":"upsell.locked.items.[INDEX]","typeLabel":"string"},"uniqueKey":"upsell.locked","typeLabel":"string[]"},"note":{"type":"string","description":"The same facts as one sentence, for a client that relays text.","uniqueKey":"upsell.note","typeLabel":"string"}},"uniqueKey":"upsell","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","details":{},"limit":123,"remaining":123,"resetAt":"2023-11-07T05:31:56Z","tokenBalance":123,"scansUsed":123,"scansRemaining":123,"limitType":"\u003cstring>","upgradeHint":"\u003cstring>","creditScans":{"available":123,"packCost":123,"packSize":123,"balance":123,"canBuyBundles":true},"paused":true,"upsell":{"offer":"founder_report","guarantee":"\u003cstring>","url":"\u003cstring>","locked":["\u003cstring>"],"note":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"26758a22-8241-4b0e-9f8e-a8cfe8239672":{"description":"Analysis not complete yet (ANALYSIS_NOT_COMPLETE).","content":{"application/json":{"schema":{"type":"object","required":["error","code"],"description":"Every error, on every route, unknown paths included. Some codes add top-level context fields (limit, tokenBalance, resetAt, upsell, ...); a 404 NOT_FOUND on an unknown route adds details.discovery, details.openapi and details.docs so the caller can recover.\n","properties":{"error":{"type":"string","description":"Human-readable message. Prose; it changes.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Stable machine-readable code. Branch on this.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"details":{"oneOf":[{"type":"object","description":"Optional context. An object on most codes (limits, recovery links, the method and path of a 404); an array of strings where the route forwards a validator's messages, as enrich does on INVALID_FOUNDER_PROFILE. Read it, never branch on it - `code` is the contract.\n","additionalProperties":true,"uniqueKey":"details.oneOf.0","typeLabel":"object"},{"type":"array","items":{"type":"string","uniqueKey":"details.oneOf.1.items.[INDEX]","typeLabel":"string"},"description":"Optional context. An object on most codes (limits, recovery links, the method and path of a 404); an array of strings where the route forwards a validator's messages, as enrich does on INVALID_FOUNDER_PROFILE. Read it, never branch on it - `code` is the contract.\n","uniqueKey":"details.oneOf.1","typeLabel":"string[]"}],"uniqueKey":"details","typeLabel":"object | string[]"},"limit":{"type":"integer","description":"The ceiling that was hit, in the unit the code implies: bytes on PAYLOAD_TOO_LARGE, runs in flight on CONCURRENT_LIMIT_REACHED, requests in the window on a rate limit.\n","uniqueKey":"limit","typeLabel":"integer"},"remaining":{"type":"integer","description":"Requests left in the current window.","uniqueKey":"remaining","typeLabel":"integer"},"resetAt":{"type":"string","format":"date-time","description":"When the window that refused this request reopens. Present on DAILY_LIMIT_REACHED from run creation (the idea generator's rolling ceiling sends only limit); prefer it over the Retry-After header when both are present, since it is absolute.\n","uniqueKey":"resetAt","typeLabel":"string\u003cdate-time>"},"tokenBalance":{"type":"integer","description":"Deep-scan credits left on the account. Present on INSUFFICIENT_TOKENS.","uniqueKey":"tokenBalance","typeLabel":"integer"},"scansUsed":{"type":"integer","uniqueKey":"scansUsed","typeLabel":"integer"},"scansRemaining":{"type":"integer","uniqueKey":"scansRemaining","typeLabel":"integer"},"limitType":{"type":"string","description":"Which ceiling refused an AppSumo-backed account.","uniqueKey":"limitType","typeLabel":"string"},"upgradeHint":{"type":"string","description":"What to change to get past this refusal. Prose, not a contract.","uniqueKey":"upgradeHint","typeLabel":"string"},"creditScans":{"type":"object","description":"Present on STARTER_LIMIT_REACHED for an account whose starter scans are a fixed bank: its 10-scan credits pack is empty, what a pack costs in credits, the credit balance, and whether the account can buy credits.\n","properties":{"available":{"type":"integer","uniqueKey":"creditScans.available","typeLabel":"integer"},"packCost":{"type":"integer","uniqueKey":"creditScans.packCost","typeLabel":"integer"},"packSize":{"type":"integer","uniqueKey":"creditScans.packSize","typeLabel":"integer"},"balance":{"type":"integer","uniqueKey":"creditScans.balance","typeLabel":"integer"},"canBuyBundles":{"type":"boolean","uniqueKey":"creditScans.canBuyBundles","typeLabel":"boolean"}},"uniqueKey":"creditScans","typeLabel":"object"},"paused":{"type":"boolean","description":"Present only on the LLM-pause 503, where the body is exactly { error, code, paused }.\n","uniqueKey":"paused","typeLabel":"boolean"},"upsell":{"type":"object","description":"Purchase context for a locked export or buyable quota refusal. Export upsells are free-owner only; a paid non-regional caller may receive a scan_pack top-up on INSUFFICIENT_TOKENS. Ignore it if you only need the data contract.\n","properties":{"offer":{"type":"string","enum":["founder_report","scan_pack"],"description":"\"founder_report\" is the one-time Founder Report tier. \"scan_pack\" is a top-up for an account that already bought and has no deep credits left.\n","uniqueKey":"upsell.offer","typeLabel":"enum\u003cstring>"},"guarantee":{"type":"string","description":"Guarantee text for offer=founder_report. Omitted for scan_pack top-ups; an empty string is never used.\n","uniqueKey":"upsell.guarantee","typeLabel":"string"},"url":{"type":"string","format":"uri","description":"Purchase or report URL, with attribution query parameters.","uniqueKey":"upsell.url","typeLabel":"string\u003curi>"},"locked":{"type":"array","description":"Section names the offer covers. Distinct from the top-level locked object, which names response FIELDS.\n","items":{"type":"string","uniqueKey":"upsell.locked.items.[INDEX]","typeLabel":"string"},"uniqueKey":"upsell.locked","typeLabel":"string[]"},"note":{"type":"string","description":"The same facts as one sentence, for a client that relays text.","uniqueKey":"upsell.note","typeLabel":"string"}},"uniqueKey":"upsell","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","details":{},"limit":123,"remaining":123,"resetAt":"2023-11-07T05:31:56Z","tokenBalance":123,"scansUsed":123,"scansRemaining":123,"limitType":"\u003cstring>","upgradeHint":"\u003cstring>","creditScans":{"available":123,"packCost":123,"packSize":123,"balance":123,"canBuyBundles":true},"paused":true,"upsell":{"offer":"founder_report","guarantee":"\u003cstring>","url":"\u003cstring>","locked":["\u003cstring>"],"note":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"29f6a5f3-7711-4b94-9858-8ab63d5190e3":{"description":"The request body is over the 1 MB limit (PAYLOAD_TOO_LARGE, with the ceiling in `limit`). Counted while the body streams in and refused the moment it is exceeded, before any quota, token, or scan is consumed. Not retryable unchanged: send less, or split the work across requests.\n","content":{"application/json":{"schema":{"type":"object","required":["error","code"],"description":"Every error, on every route, unknown paths included. Some codes add top-level context fields (limit, tokenBalance, resetAt, upsell, ...); a 404 NOT_FOUND on an unknown route adds details.discovery, details.openapi and details.docs so the caller can recover.\n","properties":{"error":{"type":"string","description":"Human-readable message. Prose; it changes.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Stable machine-readable code. Branch on this.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"details":{"oneOf":[{"type":"object","description":"Optional context. An object on most codes (limits, recovery links, the method and path of a 404); an array of strings where the route forwards a validator's messages, as enrich does on INVALID_FOUNDER_PROFILE. Read it, never branch on it - `code` is the contract.\n","additionalProperties":true,"uniqueKey":"details.oneOf.0","typeLabel":"object"},{"type":"array","items":{"type":"string","uniqueKey":"details.oneOf.1.items.[INDEX]","typeLabel":"string"},"description":"Optional context. An object on most codes (limits, recovery links, the method and path of a 404); an array of strings where the route forwards a validator's messages, as enrich does on INVALID_FOUNDER_PROFILE. Read it, never branch on it - `code` is the contract.\n","uniqueKey":"details.oneOf.1","typeLabel":"string[]"}],"uniqueKey":"details","typeLabel":"object | string[]"},"limit":{"type":"integer","description":"The ceiling that was hit, in the unit the code implies: bytes on PAYLOAD_TOO_LARGE, runs in flight on CONCURRENT_LIMIT_REACHED, requests in the window on a rate limit.\n","uniqueKey":"limit","typeLabel":"integer"},"remaining":{"type":"integer","description":"Requests left in the current window.","uniqueKey":"remaining","typeLabel":"integer"},"resetAt":{"type":"string","format":"date-time","description":"When the window that refused this request reopens. Present on DAILY_LIMIT_REACHED from run creation (the idea generator's rolling ceiling sends only limit); prefer it over the Retry-After header when both are present, since it is absolute.\n","uniqueKey":"resetAt","typeLabel":"string\u003cdate-time>"},"tokenBalance":{"type":"integer","description":"Deep-scan credits left on the account. Present on INSUFFICIENT_TOKENS.","uniqueKey":"tokenBalance","typeLabel":"integer"},"scansUsed":{"type":"integer","uniqueKey":"scansUsed","typeLabel":"integer"},"scansRemaining":{"type":"integer","uniqueKey":"scansRemaining","typeLabel":"integer"},"limitType":{"type":"string","description":"Which ceiling refused an AppSumo-backed account.","uniqueKey":"limitType","typeLabel":"string"},"upgradeHint":{"type":"string","description":"What to change to get past this refusal. Prose, not a contract.","uniqueKey":"upgradeHint","typeLabel":"string"},"creditScans":{"type":"object","description":"Present on STARTER_LIMIT_REACHED for an account whose starter scans are a fixed bank: its 10-scan credits pack is empty, what a pack costs in credits, the credit balance, and whether the account can buy credits.\n","properties":{"available":{"type":"integer","uniqueKey":"creditScans.available","typeLabel":"integer"},"packCost":{"type":"integer","uniqueKey":"creditScans.packCost","typeLabel":"integer"},"packSize":{"type":"integer","uniqueKey":"creditScans.packSize","typeLabel":"integer"},"balance":{"type":"integer","uniqueKey":"creditScans.balance","typeLabel":"integer"},"canBuyBundles":{"type":"boolean","uniqueKey":"creditScans.canBuyBundles","typeLabel":"boolean"}},"uniqueKey":"creditScans","typeLabel":"object"},"paused":{"type":"boolean","description":"Present only on the LLM-pause 503, where the body is exactly { error, code, paused }.\n","uniqueKey":"paused","typeLabel":"boolean"},"upsell":{"type":"object","description":"Purchase context for a locked export or buyable quota refusal. Export upsells are free-owner only; a paid non-regional caller may receive a scan_pack top-up on INSUFFICIENT_TOKENS. Ignore it if you only need the data contract.\n","properties":{"offer":{"type":"string","enum":["founder_report","scan_pack"],"description":"\"founder_report\" is the one-time Founder Report tier. \"scan_pack\" is a top-up for an account that already bought and has no deep credits left.\n","uniqueKey":"upsell.offer","typeLabel":"enum\u003cstring>"},"guarantee":{"type":"string","description":"Guarantee text for offer=founder_report. Omitted for scan_pack top-ups; an empty string is never used.\n","uniqueKey":"upsell.guarantee","typeLabel":"string"},"url":{"type":"string","format":"uri","description":"Purchase or report URL, with attribution query parameters.","uniqueKey":"upsell.url","typeLabel":"string\u003curi>"},"locked":{"type":"array","description":"Section names the offer covers. Distinct from the top-level locked object, which names response FIELDS.\n","items":{"type":"string","uniqueKey":"upsell.locked.items.[INDEX]","typeLabel":"string"},"uniqueKey":"upsell.locked","typeLabel":"string[]"},"note":{"type":"string","description":"The same facts as one sentence, for a client that relays text.","uniqueKey":"upsell.note","typeLabel":"string"}},"uniqueKey":"upsell","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","details":{},"limit":123,"remaining":123,"resetAt":"2023-11-07T05:31:56Z","tokenBalance":123,"scansUsed":123,"scansRemaining":123,"limitType":"\u003cstring>","upgradeHint":"\u003cstring>","creditScans":{"available":123,"packCost":123,"packSize":123,"balance":123,"canBuyBundles":true},"paused":true,"upsell":{"offer":"founder_report","guarantee":"\u003cstring>","url":"\u003cstring>","locked":["\u003cstring>"],"note":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"2ee97425-5cab-4c7c-89dd-205299798730":{"description":"The run is FAILED, so there is nothing to enrich (ANALYSIS_FAILED). Terminal for this id - start a new run rather than retrying.\n","content":{"application/json":{"schema":{"type":"object","required":["error","code"],"description":"Every error, on every route, unknown paths included. Some codes add top-level context fields (limit, tokenBalance, resetAt, upsell, ...); a 404 NOT_FOUND on an unknown route adds details.discovery, details.openapi and details.docs so the caller can recover.\n","properties":{"error":{"type":"string","description":"Human-readable message. Prose; it changes.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Stable machine-readable code. Branch on this.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"details":{"oneOf":[{"type":"object","description":"Optional context. An object on most codes (limits, recovery links, the method and path of a 404); an array of strings where the route forwards a validator's messages, as enrich does on INVALID_FOUNDER_PROFILE. Read it, never branch on it - `code` is the contract.\n","additionalProperties":true,"uniqueKey":"details.oneOf.0","typeLabel":"object"},{"type":"array","items":{"type":"string","uniqueKey":"details.oneOf.1.items.[INDEX]","typeLabel":"string"},"description":"Optional context. An object on most codes (limits, recovery links, the method and path of a 404); an array of strings where the route forwards a validator's messages, as enrich does on INVALID_FOUNDER_PROFILE. Read it, never branch on it - `code` is the contract.\n","uniqueKey":"details.oneOf.1","typeLabel":"string[]"}],"uniqueKey":"details","typeLabel":"object | string[]"},"limit":{"type":"integer","description":"The ceiling that was hit, in the unit the code implies: bytes on PAYLOAD_TOO_LARGE, runs in flight on CONCURRENT_LIMIT_REACHED, requests in the window on a rate limit.\n","uniqueKey":"limit","typeLabel":"integer"},"remaining":{"type":"integer","description":"Requests left in the current window.","uniqueKey":"remaining","typeLabel":"integer"},"resetAt":{"type":"string","format":"date-time","description":"When the window that refused this request reopens. Present on DAILY_LIMIT_REACHED from run creation (the idea generator's rolling ceiling sends only limit); prefer it over the Retry-After header when both are present, since it is absolute.\n","uniqueKey":"resetAt","typeLabel":"string\u003cdate-time>"},"tokenBalance":{"type":"integer","description":"Deep-scan credits left on the account. Present on INSUFFICIENT_TOKENS.","uniqueKey":"tokenBalance","typeLabel":"integer"},"scansUsed":{"type":"integer","uniqueKey":"scansUsed","typeLabel":"integer"},"scansRemaining":{"type":"integer","uniqueKey":"scansRemaining","typeLabel":"integer"},"limitType":{"type":"string","description":"Which ceiling refused an AppSumo-backed account.","uniqueKey":"limitType","typeLabel":"string"},"upgradeHint":{"type":"string","description":"What to change to get past this refusal. Prose, not a contract.","uniqueKey":"upgradeHint","typeLabel":"string"},"creditScans":{"type":"object","description":"Present on STARTER_LIMIT_REACHED for an account whose starter scans are a fixed bank: its 10-scan credits pack is empty, what a pack costs in credits, the credit balance, and whether the account can buy credits.\n","properties":{"available":{"type":"integer","uniqueKey":"creditScans.available","typeLabel":"integer"},"packCost":{"type":"integer","uniqueKey":"creditScans.packCost","typeLabel":"integer"},"packSize":{"type":"integer","uniqueKey":"creditScans.packSize","typeLabel":"integer"},"balance":{"type":"integer","uniqueKey":"creditScans.balance","typeLabel":"integer"},"canBuyBundles":{"type":"boolean","uniqueKey":"creditScans.canBuyBundles","typeLabel":"boolean"}},"uniqueKey":"creditScans","typeLabel":"object"},"paused":{"type":"boolean","description":"Present only on the LLM-pause 503, where the body is exactly { error, code, paused }.\n","uniqueKey":"paused","typeLabel":"boolean"},"upsell":{"type":"object","description":"Purchase context for a locked export or buyable quota refusal. Export upsells are free-owner only; a paid non-regional caller may receive a scan_pack top-up on INSUFFICIENT_TOKENS. Ignore it if you only need the data contract.\n","properties":{"offer":{"type":"string","enum":["founder_report","scan_pack"],"description":"\"founder_report\" is the one-time Founder Report tier. \"scan_pack\" is a top-up for an account that already bought and has no deep credits left.\n","uniqueKey":"upsell.offer","typeLabel":"enum\u003cstring>"},"guarantee":{"type":"string","description":"Guarantee text for offer=founder_report. Omitted for scan_pack top-ups; an empty string is never used.\n","uniqueKey":"upsell.guarantee","typeLabel":"string"},"url":{"type":"string","format":"uri","description":"Purchase or report URL, with attribution query parameters.","uniqueKey":"upsell.url","typeLabel":"string\u003curi>"},"locked":{"type":"array","description":"Section names the offer covers. Distinct from the top-level locked object, which names response FIELDS.\n","items":{"type":"string","uniqueKey":"upsell.locked.items.[INDEX]","typeLabel":"string"},"uniqueKey":"upsell.locked","typeLabel":"string[]"},"note":{"type":"string","description":"The same facts as one sentence, for a client that relays text.","uniqueKey":"upsell.note","typeLabel":"string"}},"uniqueKey":"upsell","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","details":{},"limit":123,"remaining":123,"resetAt":"2023-11-07T05:31:56Z","tokenBalance":123,"scansUsed":123,"scansRemaining":123,"limitType":"\u003cstring>","upgradeHint":"\u003cstring>","creditScans":{"available":123,"packCost":123,"packSize":123,"balance":123,"canBuyBundles":true},"paused":true,"upsell":{"offer":"founder_report","guarantee":"\u003cstring>","url":"\u003cstring>","locked":["\u003cstring>"],"note":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"59ca80e0-a65b-4f72-b127-b63e29785977":{"description":"Rate limited (RATE_LIMITED or DAILY_LIMIT_REACHED). RATE_LIMITED carries a Retry-After header with the seconds until the window resets; the quota-shaped codes clear on a different clock and put resetAt in the body instead.\n","headers":{"Retry-After":{"description":"Seconds until the per-minute window resets (RATE_LIMITED only).","schema":{"type":"integer","minimum":1}}},"content":{"application/json":{"schema":{"type":"object","required":["error","code"],"description":"Every error, on every route, unknown paths included. Some codes add top-level context fields (limit, tokenBalance, resetAt, upsell, ...); a 404 NOT_FOUND on an unknown route adds details.discovery, details.openapi and details.docs so the caller can recover.\n","properties":{"error":{"type":"string","description":"Human-readable message. Prose; it changes.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Stable machine-readable code. Branch on this.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"details":{"oneOf":[{"type":"object","description":"Optional context. An object on most codes (limits, recovery links, the method and path of a 404); an array of strings where the route forwards a validator's messages, as enrich does on INVALID_FOUNDER_PROFILE. Read it, never branch on it - `code` is the contract.\n","additionalProperties":true,"uniqueKey":"details.oneOf.0","typeLabel":"object"},{"type":"array","items":{"type":"string","uniqueKey":"details.oneOf.1.items.[INDEX]","typeLabel":"string"},"description":"Optional context. An object on most codes (limits, recovery links, the method and path of a 404); an array of strings where the route forwards a validator's messages, as enrich does on INVALID_FOUNDER_PROFILE. Read it, never branch on it - `code` is the contract.\n","uniqueKey":"details.oneOf.1","typeLabel":"string[]"}],"uniqueKey":"details","typeLabel":"object | string[]"},"limit":{"type":"integer","description":"The ceiling that was hit, in the unit the code implies: bytes on PAYLOAD_TOO_LARGE, runs in flight on CONCURRENT_LIMIT_REACHED, requests in the window on a rate limit.\n","uniqueKey":"limit","typeLabel":"integer"},"remaining":{"type":"integer","description":"Requests left in the current window.","uniqueKey":"remaining","typeLabel":"integer"},"resetAt":{"type":"string","format":"date-time","description":"When the window that refused this request reopens. Present on DAILY_LIMIT_REACHED from run creation (the idea generator's rolling ceiling sends only limit); prefer it over the Retry-After header when both are present, since it is absolute.\n","uniqueKey":"resetAt","typeLabel":"string\u003cdate-time>"},"tokenBalance":{"type":"integer","description":"Deep-scan credits left on the account. Present on INSUFFICIENT_TOKENS.","uniqueKey":"tokenBalance","typeLabel":"integer"},"scansUsed":{"type":"integer","uniqueKey":"scansUsed","typeLabel":"integer"},"scansRemaining":{"type":"integer","uniqueKey":"scansRemaining","typeLabel":"integer"},"limitType":{"type":"string","description":"Which ceiling refused an AppSumo-backed account.","uniqueKey":"limitType","typeLabel":"string"},"upgradeHint":{"type":"string","description":"What to change to get past this refusal. Prose, not a contract.","uniqueKey":"upgradeHint","typeLabel":"string"},"creditScans":{"type":"object","description":"Present on STARTER_LIMIT_REACHED for an account whose starter scans are a fixed bank: its 10-scan credits pack is empty, what a pack costs in credits, the credit balance, and whether the account can buy credits.\n","properties":{"available":{"type":"integer","uniqueKey":"creditScans.available","typeLabel":"integer"},"packCost":{"type":"integer","uniqueKey":"creditScans.packCost","typeLabel":"integer"},"packSize":{"type":"integer","uniqueKey":"creditScans.packSize","typeLabel":"integer"},"balance":{"type":"integer","uniqueKey":"creditScans.balance","typeLabel":"integer"},"canBuyBundles":{"type":"boolean","uniqueKey":"creditScans.canBuyBundles","typeLabel":"boolean"}},"uniqueKey":"creditScans","typeLabel":"object"},"paused":{"type":"boolean","description":"Present only on the LLM-pause 503, where the body is exactly { error, code, paused }.\n","uniqueKey":"paused","typeLabel":"boolean"},"upsell":{"type":"object","description":"Purchase context for a locked export or buyable quota refusal. Export upsells are free-owner only; a paid non-regional caller may receive a scan_pack top-up on INSUFFICIENT_TOKENS. Ignore it if you only need the data contract.\n","properties":{"offer":{"type":"string","enum":["founder_report","scan_pack"],"description":"\"founder_report\" is the one-time Founder Report tier. \"scan_pack\" is a top-up for an account that already bought and has no deep credits left.\n","uniqueKey":"upsell.offer","typeLabel":"enum\u003cstring>"},"guarantee":{"type":"string","description":"Guarantee text for offer=founder_report. Omitted for scan_pack top-ups; an empty string is never used.\n","uniqueKey":"upsell.guarantee","typeLabel":"string"},"url":{"type":"string","format":"uri","description":"Purchase or report URL, with attribution query parameters.","uniqueKey":"upsell.url","typeLabel":"string\u003curi>"},"locked":{"type":"array","description":"Section names the offer covers. Distinct from the top-level locked object, which names response FIELDS.\n","items":{"type":"string","uniqueKey":"upsell.locked.items.[INDEX]","typeLabel":"string"},"uniqueKey":"upsell.locked","typeLabel":"string[]"},"note":{"type":"string","description":"The same facts as one sentence, for a client that relays text.","uniqueKey":"upsell.note","typeLabel":"string"}},"uniqueKey":"upsell","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","details":{},"limit":123,"remaining":123,"resetAt":"2023-11-07T05:31:56Z","tokenBalance":123,"scansUsed":123,"scansRemaining":123,"limitType":"\u003cstring>","upgradeHint":"\u003cstring>","creditScans":{"available":123,"packCost":123,"packSize":123,"balance":123,"canBuyBundles":true},"paused":true,"upsell":{"offer":"founder_report","guarantee":"\u003cstring>","url":"\u003cstring>","locked":["\u003cstring>"],"note":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"69c1e584-09ed-48d7-a810-38bf7e27b556":{"description":"Unexpected server error (INTERNAL_ERROR, or TRIGGER_DISPATCH_FAILED when a deep scan could not be handed to the job runner). Never tell the user their quota is safe: on a deep scan the spend can already have happened when the failure hit, and an ambiguous dispatch deliberately keeps the report and its funding because the job may have been accepted before its response was lost. Treat consumption as unknown and retry with backoff. On an operation that takes a clientRunId, retry with the SAME one - that reconciles the original run, whatever state it reached, instead of starting and charging for a second one. On every other operation there is nothing to reconcile: the read or export simply failed, so a plain backed-off retry is the whole recovery.\n","content":{"application/json":{"schema":{"type":"object","required":["error","code"],"description":"Every error, on every route, unknown paths included. Some codes add top-level context fields (limit, tokenBalance, resetAt, upsell, ...); a 404 NOT_FOUND on an unknown route adds details.discovery, details.openapi and details.docs so the caller can recover.\n","properties":{"error":{"type":"string","description":"Human-readable message. Prose; it changes.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Stable machine-readable code. Branch on this.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"details":{"oneOf":[{"type":"object","description":"Optional context. An object on most codes (limits, recovery links, the method and path of a 404); an array of strings where the route forwards a validator's messages, as enrich does on INVALID_FOUNDER_PROFILE. Read it, never branch on it - `code` is the contract.\n","additionalProperties":true,"uniqueKey":"details.oneOf.0","typeLabel":"object"},{"type":"array","items":{"type":"string","uniqueKey":"details.oneOf.1.items.[INDEX]","typeLabel":"string"},"description":"Optional context. An object on most codes (limits, recovery links, the method and path of a 404); an array of strings where the route forwards a validator's messages, as enrich does on INVALID_FOUNDER_PROFILE. Read it, never branch on it - `code` is the contract.\n","uniqueKey":"details.oneOf.1","typeLabel":"string[]"}],"uniqueKey":"details","typeLabel":"object | string[]"},"limit":{"type":"integer","description":"The ceiling that was hit, in the unit the code implies: bytes on PAYLOAD_TOO_LARGE, runs in flight on CONCURRENT_LIMIT_REACHED, requests in the window on a rate limit.\n","uniqueKey":"limit","typeLabel":"integer"},"remaining":{"type":"integer","description":"Requests left in the current window.","uniqueKey":"remaining","typeLabel":"integer"},"resetAt":{"type":"string","format":"date-time","description":"When the window that refused this request reopens. Present on DAILY_LIMIT_REACHED from run creation (the idea generator's rolling ceiling sends only limit); prefer it over the Retry-After header when both are present, since it is absolute.\n","uniqueKey":"resetAt","typeLabel":"string\u003cdate-time>"},"tokenBalance":{"type":"integer","description":"Deep-scan credits left on the account. Present on INSUFFICIENT_TOKENS.","uniqueKey":"tokenBalance","typeLabel":"integer"},"scansUsed":{"type":"integer","uniqueKey":"scansUsed","typeLabel":"integer"},"scansRemaining":{"type":"integer","uniqueKey":"scansRemaining","typeLabel":"integer"},"limitType":{"type":"string","description":"Which ceiling refused an AppSumo-backed account.","uniqueKey":"limitType","typeLabel":"string"},"upgradeHint":{"type":"string","description":"What to change to get past this refusal. Prose, not a contract.","uniqueKey":"upgradeHint","typeLabel":"string"},"creditScans":{"type":"object","description":"Present on STARTER_LIMIT_REACHED for an account whose starter scans are a fixed bank: its 10-scan credits pack is empty, what a pack costs in credits, the credit balance, and whether the account can buy credits.\n","properties":{"available":{"type":"integer","uniqueKey":"creditScans.available","typeLabel":"integer"},"packCost":{"type":"integer","uniqueKey":"creditScans.packCost","typeLabel":"integer"},"packSize":{"type":"integer","uniqueKey":"creditScans.packSize","typeLabel":"integer"},"balance":{"type":"integer","uniqueKey":"creditScans.balance","typeLabel":"integer"},"canBuyBundles":{"type":"boolean","uniqueKey":"creditScans.canBuyBundles","typeLabel":"boolean"}},"uniqueKey":"creditScans","typeLabel":"object"},"paused":{"type":"boolean","description":"Present only on the LLM-pause 503, where the body is exactly { error, code, paused }.\n","uniqueKey":"paused","typeLabel":"boolean"},"upsell":{"type":"object","description":"Purchase context for a locked export or buyable quota refusal. Export upsells are free-owner only; a paid non-regional caller may receive a scan_pack top-up on INSUFFICIENT_TOKENS. Ignore it if you only need the data contract.\n","properties":{"offer":{"type":"string","enum":["founder_report","scan_pack"],"description":"\"founder_report\" is the one-time Founder Report tier. \"scan_pack\" is a top-up for an account that already bought and has no deep credits left.\n","uniqueKey":"upsell.offer","typeLabel":"enum\u003cstring>"},"guarantee":{"type":"string","description":"Guarantee text for offer=founder_report. Omitted for scan_pack top-ups; an empty string is never used.\n","uniqueKey":"upsell.guarantee","typeLabel":"string"},"url":{"type":"string","format":"uri","description":"Purchase or report URL, with attribution query parameters.","uniqueKey":"upsell.url","typeLabel":"string\u003curi>"},"locked":{"type":"array","description":"Section names the offer covers. Distinct from the top-level locked object, which names response FIELDS.\n","items":{"type":"string","uniqueKey":"upsell.locked.items.[INDEX]","typeLabel":"string"},"uniqueKey":"upsell.locked","typeLabel":"string[]"},"note":{"type":"string","description":"The same facts as one sentence, for a client that relays text.","uniqueKey":"upsell.note","typeLabel":"string"}},"uniqueKey":"upsell","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","details":{},"limit":123,"remaining":123,"resetAt":"2023-11-07T05:31:56Z","tokenBalance":123,"scansUsed":123,"scansRemaining":123,"limitType":"\u003cstring>","upgradeHint":"\u003cstring>","creditScans":{"available":123,"packCost":123,"packSize":123,"balance":123,"canBuyBundles":true},"paused":true,"upsell":{"offer":"founder_report","guarantee":"\u003cstring>","url":"\u003cstring>","locked":["\u003cstring>"],"note":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"8581f4bd-d670-467c-86ab-db75b7a01803":{"description":"A dependency was unavailable or deliberately paused (SERVICE_DISABLED, LLM_PAUSED, PROFILE_LOOKUP_FAILED, and the fail-closed answer when the rate-limit backend is down). Any authenticated route can answer this one: authentication meters itself through the same fail-closed limiter, so an outage there refuses the request before the handler runs. Retryable, and no paid quota, tokens, or scans were consumed - a pause that lands mid-run refunds the claim it had already made. Back off and try again rather than falling back to a different endpoint.\n","content":{"application/json":{"schema":{"type":"object","required":["error","code"],"description":"Every error, on every route, unknown paths included. Some codes add top-level context fields (limit, tokenBalance, resetAt, upsell, ...); a 404 NOT_FOUND on an unknown route adds details.discovery, details.openapi and details.docs so the caller can recover.\n","properties":{"error":{"type":"string","description":"Human-readable message. Prose; it changes.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Stable machine-readable code. Branch on this.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"details":{"oneOf":[{"type":"object","description":"Optional context. An object on most codes (limits, recovery links, the method and path of a 404); an array of strings where the route forwards a validator's messages, as enrich does on INVALID_FOUNDER_PROFILE. Read it, never branch on it - `code` is the contract.\n","additionalProperties":true,"uniqueKey":"details.oneOf.0","typeLabel":"object"},{"type":"array","items":{"type":"string","uniqueKey":"details.oneOf.1.items.[INDEX]","typeLabel":"string"},"description":"Optional context. An object on most codes (limits, recovery links, the method and path of a 404); an array of strings where the route forwards a validator's messages, as enrich does on INVALID_FOUNDER_PROFILE. Read it, never branch on it - `code` is the contract.\n","uniqueKey":"details.oneOf.1","typeLabel":"string[]"}],"uniqueKey":"details","typeLabel":"object | string[]"},"limit":{"type":"integer","description":"The ceiling that was hit, in the unit the code implies: bytes on PAYLOAD_TOO_LARGE, runs in flight on CONCURRENT_LIMIT_REACHED, requests in the window on a rate limit.\n","uniqueKey":"limit","typeLabel":"integer"},"remaining":{"type":"integer","description":"Requests left in the current window.","uniqueKey":"remaining","typeLabel":"integer"},"resetAt":{"type":"string","format":"date-time","description":"When the window that refused this request reopens. Present on DAILY_LIMIT_REACHED from run creation (the idea generator's rolling ceiling sends only limit); prefer it over the Retry-After header when both are present, since it is absolute.\n","uniqueKey":"resetAt","typeLabel":"string\u003cdate-time>"},"tokenBalance":{"type":"integer","description":"Deep-scan credits left on the account. Present on INSUFFICIENT_TOKENS.","uniqueKey":"tokenBalance","typeLabel":"integer"},"scansUsed":{"type":"integer","uniqueKey":"scansUsed","typeLabel":"integer"},"scansRemaining":{"type":"integer","uniqueKey":"scansRemaining","typeLabel":"integer"},"limitType":{"type":"string","description":"Which ceiling refused an AppSumo-backed account.","uniqueKey":"limitType","typeLabel":"string"},"upgradeHint":{"type":"string","description":"What to change to get past this refusal. Prose, not a contract.","uniqueKey":"upgradeHint","typeLabel":"string"},"creditScans":{"type":"object","description":"Present on STARTER_LIMIT_REACHED for an account whose starter scans are a fixed bank: its 10-scan credits pack is empty, what a pack costs in credits, the credit balance, and whether the account can buy credits.\n","properties":{"available":{"type":"integer","uniqueKey":"creditScans.available","typeLabel":"integer"},"packCost":{"type":"integer","uniqueKey":"creditScans.packCost","typeLabel":"integer"},"packSize":{"type":"integer","uniqueKey":"creditScans.packSize","typeLabel":"integer"},"balance":{"type":"integer","uniqueKey":"creditScans.balance","typeLabel":"integer"},"canBuyBundles":{"type":"boolean","uniqueKey":"creditScans.canBuyBundles","typeLabel":"boolean"}},"uniqueKey":"creditScans","typeLabel":"object"},"paused":{"type":"boolean","description":"Present only on the LLM-pause 503, where the body is exactly { error, code, paused }.\n","uniqueKey":"paused","typeLabel":"boolean"},"upsell":{"type":"object","description":"Purchase context for a locked export or buyable quota refusal. Export upsells are free-owner only; a paid non-regional caller may receive a scan_pack top-up on INSUFFICIENT_TOKENS. Ignore it if you only need the data contract.\n","properties":{"offer":{"type":"string","enum":["founder_report","scan_pack"],"description":"\"founder_report\" is the one-time Founder Report tier. \"scan_pack\" is a top-up for an account that already bought and has no deep credits left.\n","uniqueKey":"upsell.offer","typeLabel":"enum\u003cstring>"},"guarantee":{"type":"string","description":"Guarantee text for offer=founder_report. Omitted for scan_pack top-ups; an empty string is never used.\n","uniqueKey":"upsell.guarantee","typeLabel":"string"},"url":{"type":"string","format":"uri","description":"Purchase or report URL, with attribution query parameters.","uniqueKey":"upsell.url","typeLabel":"string\u003curi>"},"locked":{"type":"array","description":"Section names the offer covers. Distinct from the top-level locked object, which names response FIELDS.\n","items":{"type":"string","uniqueKey":"upsell.locked.items.[INDEX]","typeLabel":"string"},"uniqueKey":"upsell.locked","typeLabel":"string[]"},"note":{"type":"string","description":"The same facts as one sentence, for a client that relays text.","uniqueKey":"upsell.note","typeLabel":"string"}},"uniqueKey":"upsell","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","details":{},"limit":123,"remaining":123,"resetAt":"2023-11-07T05:31:56Z","tokenBalance":123,"scansUsed":123,"scansRemaining":123,"limitType":"\u003cstring>","upgradeHint":"\u003cstring>","creditScans":{"available":123,"packCost":123,"packSize":123,"balance":123,"canBuyBundles":true},"paused":true,"upsell":{"offer":"founder_report","guarantee":"\u003cstring>","url":"\u003cstring>","locked":["\u003cstring>"],"note":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"c53ca766-e19e-4edd-bc9f-c347892bc822":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Your API key (prv_...), sent as Authorization: Bearer prv_.... It is the only credential the API needs - see the Authentication guide. The older x-preuve-key header still works for existing integrations.\n","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"c2250dc1-5cc1-4302-b6a3-111fd03b2206":{"url":"https://preuve.ai"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Your API key (prv_...), sent as Authorization: Bearer prv_.... It is the only credential the API needs - see the Authentication guide. The older x-preuve-key header still works for existing integrations.\n","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Your API key (prv_...), sent as Authorization: Bearer prv_.... It is the only credential the API needs - see the Authentication guide. The older x-preuve-key header still works for existing integrations.\n","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.yaml"},"subdomain":"preuve-ai","siteName":"Preuve AI Developers","title":"Enrich an analysis - Preuve AI Developers","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-16T16:14:21.037Z","originalFileLocation":"api-reference/analyses/enrich-an-analysis.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=\"light\"}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=\"Idempotently generates the missing core export sections for a COMPLETED run THIS API started. A report created on the preuve.ai dashboard is refused with 403 REPORT_NOT_FROM_AGENT_RUN, like the export: polling resolves it, generating against it does not. Optionally starts deep-only modules via body.modules (one successful generation per module per report). founderFit runs inline and underwrites against the founder profile saved on preuve.ai when founderProfile is omitted (an explicit payload overrides it); the other modules run async - poll get_analysis. Partial failures return HTTP 207 with a success-shaped body.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Preuve AI Developers\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/preuve-ai/tKC7ZmhWCLDiptRy/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/preuve-ai/tKC7ZmhWCLDiptRy/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/preuve-ai/tKC7ZmhWCLDiptRy/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/preuve-ai/tKC7ZmhWCLDiptRy/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/preuve-ai/tKC7ZmhWCLDiptRy/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/preuve-ai/tKC7ZmhWCLDiptRy/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/preuve-ai/tKC7ZmhWCLDiptRy/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/preuve-ai/tKC7ZmhWCLDiptRy/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/preuve-ai/tKC7ZmhWCLDiptRy/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Enrich an analysis - Preuve AI Developers\">\u003cmeta data-mint-head property=\"og:description\" content=\"Idempotently generates the missing core export sections for a COMPLETED run THIS API started. A report created on the preuve.ai dashboard is refused with 403 REPORT_NOT_FROM_AGENT_RUN, like the export: polling resolves it, generating against it does not. Optionally starts deep-only modules via body.modules (one successful generation per module per report). founderFit runs inline and underwrites against the founder profile saved on preuve.ai when founderProfile is omitted (an explicit payload overrides it); the other modules run async - poll get_analysis. Partial failures return HTTP 207 with a success-shaped body.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Preuve AI Developers\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.preuve.ai/api-reference/analyses/enrich-an-analysis\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://preuve-ai.mintlify.site/_mintlify/api/og/v2?division=Analyses\u0026amp;title=Enrich+an+analysis\u0026amp;description=Idempotently+generates+the+missing+core+export+sections+for+a+COMPLETED+run+THIS+API+started.+A+report+created+on+the+preuve.ai+dashboard+is+refused+with+403+RE\u0026amp;theme=b02cb7044f4d3c754815aea8\u0026amp;signature=73abb1b75b8e2be0e7f6d1308e29a7c905ee89a1505f8dc8d64a4a0b5e3172a4\">\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=\"Enrich an analysis - Preuve AI Developers\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Idempotently generates the missing core export sections for a COMPLETED run THIS API started. A report created on the preuve.ai dashboard is refused with 403 REPORT_NOT_FROM_AGENT_RUN, like the export: polling resolves it, generating against it does not. Optionally starts deep-only modules via body.modules (one successful generation per module per report). founderFit runs inline and underwrites against the founder profile saved on preuve.ai when founderProfile is omitted (an explicit payload overrides it); the other modules run async - poll get_analysis. Partial failures return HTTP 207 with a success-shaped body.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://preuve-ai.mintlify.site/_mintlify/api/og/v2?division=Analyses\u0026amp;title=Enrich+an+analysis\u0026amp;description=Idempotently+generates+the+missing+core+export+sections+for+a+COMPLETED+run+THIS+API+started.+A+report+created+on+the+preuve.ai+dashboard+is+refused+with+403+RE\u0026amp;theme=b02cb7044f4d3c754815aea8\u0026amp;signature=73abb1b75b8e2be0e7f6d1308e29a7c905ee89a1505f8dc8d64a4a0b5e3172a4\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/preuve-ai/tKC7ZmhWCLDiptRy/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Preuve AI Developers\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#ea580c\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.preuve.ai/api-reference/analyses/enrich-an-analysis\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/analyses/enrich-an-analysis.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.preuve.ai/#organization\",\"name\":\"Preuve AI Developers\",\"url\":\"https://docs.preuve.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/preuve-ai/jZodzg3khCalFU2b/logo/dark.svg?fit=max\u0026auto=format\u0026n=jZodzg3khCalFU2b\u0026q=85\u0026s=e5e818b7a52b31b8d49949427aa2921e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.preuve.ai#website\",\"name\":\"Preuve AI Developers\",\"url\":\"https://docs.preuve.ai\",\"publisher\":{\"@id\":\"https://docs.preuve.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.preuve.ai/api-reference/analyses/enrich-an-analysis#webpage\",\"url\":\"https://docs.preuve.ai/api-reference/analyses/enrich-an-analysis\",\"name\":\"Enrich an analysis\",\"description\":\"Idempotently generates the missing core export sections for a COMPLETED run THIS API started. A report created on the preuve.ai dashboard is refused with 403 REPORT_NOT_FROM_AGENT_RUN, like the export: polling resolves it, generating against it does not. Optionally starts deep-only modules via body.modules (one successful generation per module per report). founderFit runs inline and underwrites against the founder profile saved on preuve.ai when founderProfile is omitted (an explicit payload overrides it); the other modules run async - poll get_analysis. Partial failures return HTTP 207 with a success-shaped body.\",\"dateModified\":\"2026-11-16T16:14:21.037Z\",\"isPartOf\":{\"@id\":\"https://docs.preuve.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.preuve.ai/api-reference/analyses/enrich-an-analysis#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.preuve.ai/api-reference/analyses/enrich-an-analysis#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.preuve.ai/api-reference/discovery/discover-the-api\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Analyses\",\"item\":\"https://docs.preuve.ai/api-reference/analyses/start-an-analysis\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Enrich an analysis\",\"item\":\"https://docs.preuve.ai/api-reference/analyses/enrich-an-analysis\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.preuve.ai/api-reference/analyses/enrich-an-analysis#apireference\",\"headline\":\"Enrich an analysis\",\"name\":\"Enrich an analysis\",\"description\":\"Idempotently generates the missing core export sections for a COMPLETED run THIS API started. A report created on the preuve.ai dashboard is refused with 403 REPORT_NOT_FROM_AGENT_RUN, like the export: polling resolves it, generating against it does not. Optionally starts deep-only modules via body.modules (one successful generation per module per report). founderFit runs inline and underwrites against the founder profile saved on preuve.ai when founderProfile is omitted (an explicit payload overrides it); the other modules run async - poll get_analysis. Partial failures return HTTP 207 with a success-shaped body.\",\"url\":\"https://docs.preuve.ai/api-reference/analyses/enrich-an-analysis\",\"mainEntityOfPage\":{\"@id\":\"https://docs.preuve.ai/api-reference/analyses/enrich-an-analysis#webpage\"},\"dateModified\":\"2026-11-16T16:14:21.037Z\",\"publisher\":{\"@id\":\"https://docs.preuve.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.preuve.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Preuve AI Developers\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Preuve AI Developers\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/analyses/enrich-an-analysis.md","siteName":"Preuve AI Developers","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"API Reference","groups":[{"group":"API Reference","icon":"book-open","pages":[{"title":"Introduction","icon":"book-open","iconType":"solid","href":"/api-reference/introduction"}]},{"group":"Endpoints","icon":"code","pages":[{"group":"Discovery","pages":[{"title":"Discover the API","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/agent","href":"/api-reference/discovery/discover-the-api"}]},{"group":"Analyses","pages":[{"title":"Start an analysis","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/agent/analyses","href":"/api-reference/analyses/start-an-analysis"},{"title":"Poll an analysis","description":"Returns run status, readyForExport, enrichment progress, per-module statuses (deep runs), and report/share URLs. Accepts the run id or the report id; any personal starter or deep report the key's account owns resolves, including ones created on the preuve.ai dashboard (their analysis id is the report id, clientRunId is null). Agency client reports are outside that fallback - read those with workspace agency - and so are legacy roast reports, which answer 404. That wider reach is specific to this route, because it returns status rather than payload: export and enrich answer 403 REPORT_NOT_FROM_AGENT_RUN for a dashboard report, and such a response carries exportable false with the reason. Does not return the report payload: use export, on an analysis this API started.\n","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/agent/analyses/{id}","href":"/api-reference/analyses/poll-an-analysis"},{"title":"Enrich an analysis","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/agent/analyses/{id}/enrich","href":"/api-reference/analyses/enrich-an-analysis"},{"title":"Export an analysis (ideas-json)","description":"Structured JSON export (schemaVersion 2) for one COMPLETED, export-ready analysis THIS API started. Deep runs include full sections, pivots, citations, and generated module payloads. A report created on the preuve.ai dashboard is not exportable here and answers 403 REPORT_NOT_FROM_AGENT_RUN: the poll resolves it, but the data is served elsewhere. Which way forward depends on the report - Build with AI on its report page where it is available, unlocking or re-running it otherwise - and the refusal text names the right one, so relay that rather than deriving it from the scan depth. Starting a fresh analysis here always works.\n","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/agent/analyses/{id}/export","href":"/api-reference/analyses/export-an-analysis-ideas-json"}]},{"group":"Batches","pages":[{"title":"Start a batch","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/agent/analysis-batches","href":"/api-reference/batches/start-a-batch"},{"title":"Poll a batch","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/agent/analysis-batches/{batchId}","href":"/api-reference/batches/poll-a-batch"},{"title":"Export a batch (ideas-json)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/agent/analysis-batches/{batchId}/export","href":"/api-reference/batches/export-a-batch-ideas-json"}]},{"group":"Tools","pages":[{"title":"Generate startup ideas","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/agent/tools/idea-generator","href":"/api-reference/tools/generate-startup-ideas"}]},{"group":"Agency","pages":[{"title":"Get the Agency workspace","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/agent/agency","href":"/api-reference/agency/get-the-agency-workspace"},{"title":"Start a client project","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/agent/agency/analyses","href":"/api-reference/agency/start-a-client-project"},{"title":"List client reports","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/agent/agency/reports","href":"/api-reference/agency/list-client-reports"},{"title":"Poll a client report","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/agent/agency/reports/{id}","href":"/api-reference/agency/poll-a-client-report"},{"title":"Export a client report","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/agent/agency/reports/{id}/export","href":"/api-reference/agency/export-a-client-report"}]}]}]}]},"basePath":"","title":"Enrich an analysis - Preuve AI Developers","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C6Z1vAfX.js","snippetPresets-Bjd6OXRM.js","utils-QL6OhUyF.js","style-to-object-BY3JEAdk.js","utils-Dsq-HLeF.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-CEYfmkoV.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CHgPjMM8.js","_Uint8Array-IXRJ_ueo.js","isObject-FP1Yky1u.js","ApiExamples-pq4ns9YA.js","usePlaygroundInputsStore-D-gnigmo.js","shallow-DIfWGPrf.js","isEqual-DDFuixlH.js","CodeSnippets-8g5rilZj.js","CodeSnippet-C_J7pouP.js","use-playground-group-access-bkOyfPao.js","Page-B_smDgrp.js","api-description-markdown-DtcP2u3s.js","DynamicMarkdown-DOefW1_8.js","SectionHeading-Cg4lfWZw.js","MethodPill-BnqygvYm.js","getPastedJson-BGXYEZ3P.js","Check2Icon-BBeO3TOS.js","axios-CsQoIw0U.js","Markdown-D5IqLG6A.js","AssistantPageLink-_S2h4i6W.js","dist-DzZqOeCq.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}