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

# /ai/summary

`POST /ai/summary`

## Request body

- object
  - `text` string

## Response `200`

Successful response

- object

## Other responses

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

## Changes

> 34 revisions in range; 2 not diffed.

- **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
- **2024-06-20** `79f94ba3765a` — 1 breaking
  - api path removed without deprecation

[Change 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/57aeb5fbc48c/schema)
