---
title: "/ai/summary"
method: POST
path: "/ai/summary"
---

# /ai/summary

`POST /ai/summary`

## Request body

- object
  - `text` string, required

## Response `200`

Successful response

- object

## Other responses

- `422` — Validation failed
- `500` — Server error

## Changes

> 37 revisions in range; 2 not diffed, 4 could not be searched.

- **2026-08-24** `fea859ba34de` — 2 breaking
  - request body became required
  - the request property `text` became required
- **2026-08-08** `eca3457f01d0` — 1 breaking
  - the `text` request property's minLength was increased from `0` to `3`
- **2026-08-08** `5605cf1dc74f` — 1 info
  - added optional request body
- **2026-07-03** `e9611e87a70b` — 1 info
  - endpoint added
- **2025-04-08** `bab32bb1d3ec` — 1 info
  - endpoint added

[Full history](https://skmtc.dev/stacksjs/apis/stacks-api/changes/ai/summary/post.md)

---

[API](https://skmtc.dev/stacksjs/apis/stacks-api.md) · [All operations](https://skmtc.dev/stacksjs/apis/stacks-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stacksjs/stacks-api/revisions/99a2bc4b3b98/schema)
