reports

Generate an AI narrative section for a report

Changed on
post/reports/narrative

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/reports/narrative
  • Auth: one of:
    • API key in cookie session
    • HTTP bearer

Request body

contextstring required
tone'executive' | 'technical' | 'summary'

Response

Narrative text generated

narrativestring

Changes