---
title: "Generate Report Summary"
method: POST
path: "/api/lia-analyst/analyst/summary"
tags: ["LIA Analyst"]
---

# Generate Report Summary

`POST /api/lia-analyst/analyst/summary`

## Request

- Base URL: `https://api.leapsurgebi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.leapsurgebi.com/api/lia-analyst/analyst/summary`
- Auth: OAuth 2
  - Password
  - Token URL: `/auth/token`
- TypeScript: <https://skmtc.dev/leapsurgebi/apis/leapsurgeapi/docs/api/lia-analyst/analyst/summary/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- AISummaryRequest
  - `workspace_id` string, required
  - `report_id` string, required
  - `dataset_id` string, required
  - `filters` AnalystFilter[]
    - `table` string, required
    - `column` string, required
    - `operator` 'equals' | 'in' | 'not_in' | 'between', required
    - `values` unknown[], required
      - unknown

## Response `200`

Successful Response

- AISummaryResponse
  - `summary` string, required
  - `kpis` object, required
  - `model` string, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-24** `23b42df3193a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi/changes/api/lia-analyst/analyst/summary/post.md)

---

[API](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi.md) - [All operations](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi/llms.txt) - [OpenAPI document](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi/revisions/13653cb8ee76?raw)
