extraction

Extract Narratives

Extract narrative questions from uploaded XLSX or DOCX template.

Args: file: Template file (.xlsx or .docx) sheets: Optional JSON array of sheet names to process (XLSX only) Example: '["Sheet1", "Sheet2"]'

Returns: Extracted narrative questions with source locations

Raises: 400: Unsupported file type or invalid sheets parameter 413: File too large 422: File parsing error 500: LLM API error or missing configuration

post/api/extract-narratives

Response

Successful Response

successboolean required
file_namestring required
file_typestring required
question_countinteger required
api_calls_usedinteger required
processing_time_secondsnumber required

Changes

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