---
title: "Changes to Generate text (deprecated path)"
method: POST
path: "/api/experimental/generate"
---

# Changes to Generate text (deprecated path)

`POST /api/experimental/generate`

> Every recorded change to this operation, newest first.
> 51 revisions in range; 1 not diffed.

## Timeline

Changed in 1 of 51 revisions.

- **2026-10-27** `d6d739fceba2`: 4 breaking, 5 info

## Changes

- **2026-10-27** `d6d739fceba2`: 4 breaking, 5 info
  - the response's body type changed from `object` to no type for status `404`
  - removed the required property `_tag` from the response with the `404` status
  - removed the required property `location` from the response with the `404` status
  - removed the required property `message` from the response with the `404` status
  - api operation id `experimental.generate.text` removed and replaced with `experimental.generate.textLegacy`
  - endpoint deprecated
  - added `#/components/schemas/ProviderNotFoundErrorEncoded, #/components/schemas/ModelNotFoundErrorEncoded, #/components/schemas/LocationNotFoundErrorEncoded` to the response body `anyOf` list for the response status `404`
  - added the non-success response with the status `422`
  - added the non-success response with the status `502`

---

[Operation](https://skmtc.dev/kaaass/apis/opencode/docs/api/experimental/generate/post.md) - [API](https://skmtc.dev/kaaass/apis/opencode.md) - [Page](https://skmtc.dev/kaaass/apis/opencode/changes/api/experimental/generate/post)
