Insights

Generate Insights

Generate insights from all indexed documents for a business.

This triggers insight extraction jobs for all documents that have been indexed (have embeddings). Each document will be processed by the InsightExtractionService to extract structured insights.

Args: business_id: Business UUID request: Options for which types of insights to generate ctx: Advisor context

Returns: Job IDs and status information

post/api/businesses/{business_id}/insights/generate

Request

  • Base URL
    https://api.flagpost.ai (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

business_idstring required

Response

Successful Response

job_idsstring[] required
total_jobsinteger required
statusstring required
messagestring required

Changes

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