Analyses

Enrich an analysis

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.

post/api/agent/analyses/{id}/enrich

Request

  • Base URL: https://preuve.ai
  • URL: https://preuve.ai/api/agent/analyses/{id}/enrich
  • Auth: API key in header x-preuve-key

Path parameters

idstring 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.

Request body

modulesstring[]

Deep-only modules to generate. Omit for core enrichment only.

Example request

{
  "modules": [
    "founderFit",
    "playbook"
  ],
  "founderProfile": {
    "hoursPerWeek": 20,
    "runwayMonths": 6,
    "domainYears": 3,
    "shippedBefore": "side_project",
    "audienceSize": "under_1k",
    "teamStatus": "solo"
  }
}

Response

Enrichment (and any inline module) completed.

failuresobject[]

Core sections that failed this pass. Retry by calling enrich again.

modulesobject nullable

Per-module results for the modules requested in this call.

Changes

No recorded changes to this operation across all 1 revision of this API.