---
title: "Changes to Generate a response"
method: POST
path: "/api/generate"
---

# Changes to Generate a response

`POST /api/generate`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 3 of 9 revisions.

- **2026-06-23** `d54e2ef5c24a` — 1 info
- **2025-11-14** `3e72f42e8aa6` — 3 info
- **2025-11-11** `c99d500c9ea4` — 1 info

## Changes

- **2026-06-23** `d54e2ef5c24a` — 1 info
  - added the new `max` enum value to the request property `think/oneOf[subschema #2]/`
- **2025-11-14** `3e72f42e8aa6` — 3 info
  - added the new optional request property `logprobs`
  - added the new optional request property `top_logprobs`
  - added the optional property `logprobs` to the response with the `200` status
- **2025-11-11** `c99d500c9ea4` — 1 info
  - request property `think` list-of-types was widened by adding types `string` to media type `application/json`

---

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