---
title: "Get Insights"
method: GET
path: "/api/businesses/{business_id}/insights"
tags: ["Insights"]
---

# Get Insights

`GET /api/businesses/{business_id}/insights`

## Request

- Base URL: `https://api.flagpost.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.flagpost.ai/api/businesses/{business_id}/insights`
- Auth: HTTP bearer

Get insights for a business, optionally filtered by source.

Args:
    business_id: Business to get insights for
    ctx: Advisor context
    source: Optional filter (questionnaire, data_room_ai, research)

Returns:
    List of insights

## Path parameters

- `business_id` string, required

## Query parameters

- `source` string, nullable

## Response `200`

Successful Response

- InsightResponse[]
  - `id` string, required
  - `field_name` string, required
  - `field_label` string, required
  - `category` string, nullable, required
  - `description` string, nullable, required
  - `priority` integer
  - `value_json` union, required
    - object
    - object[]
  - `sources` SourceRef[], required
    - `file_name` string, required
    - `document_id` string, nullable
    - `chunk` string, nullable
    - `page` integer, nullable
    - `page_id` string, nullable
    - `sheet` string, nullable
    - `source_locator` object, nullable
    - `citation` integer, nullable
  - `insight_source` string, required
  - `research_type` string, nullable
  - `is_edited` boolean, required
  - `original_value_json` union, required
    - object
    - object[]
  - `created_at` string, required
  - `updated_at` string, required
  - `edited_at` string, nullable
  - `edited_by` string, nullable
  - `suggested_charts` object[]

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/flagpost/apis/flagpost-api.md) - [All operations](https://skmtc.dev/flagpost/apis/flagpost-api/llms.txt) - [OpenAPI document](https://skmtc.dev/flagpost/apis/flagpost-api/revisions/0308cef485ca?raw)
