---
title: "Controller Generate Summary"
method: POST
path: "/llm_summarizer/generate"
---

# Controller Generate Summary

`POST /llm_summarizer/generate`

## Request

- Base URL: `https://api.akkio.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.akkio.com/llm_summarizer/generate`
- Auth: none declared

Generates a title for a given snippet

## Request body

- SummaryGenerationPayload
  - `snippet` string, required
  - `generate_title` boolean
  - `generate_summary` boolean
  - `title_max_length` integer
  - `summary_max_length` integer
  - `additional_context` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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