Analyses

Export an analysis (ideas-json)

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.

get/api/agent/analyses/{id}/export

Request

  • Base URL: https://preuve.ai
  • URL: https://preuve.ai/api/agent/analyses/{id}/export
  • 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.

Query parameters

format'ideas-json'
verbosity'full' | 'summary'

Response size. "full" is the whole payload. "summary" keeps every scored field: score, verdict (including the Bottom Line narrative under details.verdict.narrative), competitors, market size, risks and pivots, plus the closing verdict under details.sections.synthesis. It drops the other section prose (keeping their numbers and short values) and counts Trends data points. On the largest reports it then reduces raw evidence and how-to material to numbers and short text and shortens other long text, never a score, rating or verdict, until the response fits 65,000 JSON characters. What it changed is listed under idea.details.omitted. This operation defaults to "full"; the batch export takes the same parameter but is meant to be called with "summary".

Response

The export payload.

schemaVersion2
exportType'analysis'
exportedAtstring date-time
verbosity'full' | 'summary'

The verbosity this payload was built at, echoed back. On "summary", idea.details.omitted names what was dropped.

Changes

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