---
title: "Changes to Compact a response"
method: POST
path: "/responses/compact"
---

# Changes to Compact a response

`POST /responses/compact`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 12 of 31 revisions.

- **2026-07-31** `dcd35773a322` — 1 info
- **2026-07-09** `e0508a503b84` — 2 warning, 90 info
- **2026-06-17** `827fa3e74ce9` — 4 info
- **2026-06-16** `506a44267b3f` — 1 breaking
- **2026-06-01** `d96e76a894f8` — 1 breaking, 8 info
- **2026-05-15** `5b751bfbf149` — 2 info
- **2026-05-11** `2863ec7637b7` — 2 info
- **2026-05-07** `737fbb7f6f17` — 8 breaking, 3 warning, 10 info
- **2026-05-06** `1b5c6501b847` — 2 breaking, 4 info
- **2026-05-04** `64494d56c425` — 20 breaking
- **2026-04-29** `5b98524f8dee` — 6 breaking
- **2026-04-15** `64c6ba619ccb` — 2 info

## Changes

- **2026-07-31** `dcd35773a322` — 1 info
  - added the new `fast` enum value to the request property `service_tier/anyOf[#/components/schemas/ServiceTierEnum]/`
- **2026-07-09** `e0508a503b84` — 2 warning, 90 info
  - added the new `auto` enum value to the `output/items/anyOf[#/components/schemas/FunctionToolCallOutputResource]/allOf[subschema #1: Function tool call output]/output/anyOf[subschema #2: output content list]/items/anyOf[subschema #3: Input file]/detail` response property for the response status `200`
  - added the new `auto` enum value to the `output/items/anyOf[subschema #26: ResponseCustomToolCallOutputItem -> subschema #28: ResponseCustomToolCallOutputItem]/allOf[subschema #1: Custom tool call output]/output/anyOf[subschema #2: output content list]/items/anyOf[subschema #3: Input file]/detail` response property for the response status `200`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #1: Input message]/content/anyOf[subschema #2: Input item content list]/items/anyOf[subschema #1: Input text]/prompt_cache_breakpoint`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #1: Input message]/content/anyOf[subschema #2: Input item content list]/items/anyOf[subschema #2: Input image]/prompt_cache_breakpoint`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #1: Input message]/content/anyOf[subschema #2: Input item content list]/items/anyOf[subschema #3: Input file]/prompt_cache_breakpoint`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/AdditionalToolsItemParam]/tools/items/anyOf[subschema #10: Shell tool -> subschema #11: Shell tool]/allowed_callers`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/AdditionalToolsItemParam]/tools/items/anyOf[subschema #11: Custom tool -> subschema #12: Custom tool]/allowed_callers`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/AdditionalToolsItemParam]/tools/items/anyOf[subschema #12: Namespace -> subschema #13: Namespace]/tools/items/anyOf[#/components/schemas/FunctionToolParam]/allowed_callers`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/AdditionalToolsItemParam]/tools/items/anyOf[subschema #12: Namespace -> subschema #13: Namespace]/tools/items/anyOf[#/components/schemas/FunctionToolParam]/output_schema`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/AdditionalToolsItemParam]/tools/items/anyOf[subschema #12: Namespace -> subschema #13: Namespace]/tools/items/anyOf[subschema #2: Custom tool]/allowed_callers`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/AdditionalToolsItemParam]/tools/items/anyOf[subschema #15: Apply patch tool -> subschema #16: Apply patch tool]/allowed_callers`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/AdditionalToolsItemParam]/tools/items/anyOf[subschema #1: Function]/allowed_callers`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/AdditionalToolsItemParam]/tools/items/anyOf[subschema #1: Function]/output_schema`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/AdditionalToolsItemParam]/tools/items/anyOf[subschema #6: MCP tool]/allowed_callers`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/AdditionalToolsItemParam]/tools/items/anyOf[subschema #7: Code interpreter]/allowed_callers`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/ToolSearchOutputItemParam]/tools/items/anyOf[subschema #10: Shell tool -> subschema #11: Shell tool]/allowed_callers`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/ToolSearchOutputItemParam]/tools/items/anyOf[subschema #11: Custom tool -> subschema #12: Custom tool]/allowed_callers`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/ToolSearchOutputItemParam]/tools/items/anyOf[subschema #12: Namespace -> subschema #13: Namespace]/tools/items/anyOf[#/components/schemas/FunctionToolParam]/allowed_callers`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/ToolSearchOutputItemParam]/tools/items/anyOf[subschema #12: Namespace -> subschema #13: Namespace]/tools/items/anyOf[#/components/schemas/FunctionToolParam]/output_schema`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/ToolSearchOutputItemParam]/tools/items/anyOf[subschema #12: Namespace -> subschema #13: Namespace]/tools/items/anyOf[subschema #2: Custom tool]/allowed_callers`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/ToolSearchOutputItemParam]/tools/items/anyOf[subschema #15: Apply patch tool -> subschema #16: Apply patch tool]/allowed_callers`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/ToolSearchOutputItemParam]/tools/items/anyOf[subschema #1: Function]/allowed_callers`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/ToolSearchOutputItemParam]/tools/items/anyOf[subschema #1: Function]/output_schema`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/ToolSearchOutputItemParam]/tools/items/anyOf[subschema #6: MCP tool]/allowed_callers`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/ToolSearchOutputItemParam]/tools/items/anyOf[subschema #7: Code interpreter]/allowed_callers`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #18: Shell tool call]/caller`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #19: Shell tool call output]/caller`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #1: Input message]/content/items/anyOf[subschema #1: Input text]/prompt_cache_breakpoint`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #1: Input message]/content/items/anyOf[subschema #2: Input image]/prompt_cache_breakpoint`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #1: Input message]/content/items/anyOf[subschema #3: Input file]/prompt_cache_breakpoint`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #20: Apply patch tool call]/caller`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #21: Apply patch tool call output]/caller`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #26: Custom tool call output]/caller`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #26: Custom tool call output]/output/anyOf[subschema #2: output content list]/items/anyOf[subschema #1: Input text]/prompt_cache_breakpoint`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #26: Custom tool call output]/output/anyOf[subschema #2: output content list]/items/anyOf[subschema #2: Input image]/prompt_cache_breakpoint`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #26: Custom tool call output]/output/anyOf[subschema #2: output content list]/items/anyOf[subschema #3: Input file]/prompt_cache_breakpoint`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #27: Custom tool call]/caller`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #7: Function tool call]/caller`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #8: Function tool call output]/caller`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #8: Function tool call output]/output/anyOf[subschema #2]/items/anyOf[subschema #1: Input text]/prompt_cache_breakpoint`
  - …52 more
- **2026-06-17** `827fa3e74ce9` — 4 info
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/AdditionalToolsItemParam]/tools/items/anyOf[subschema #6: MCP tool]/tunnel_id`
  - added the new optional request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/ToolSearchOutputItemParam]/tools/items/anyOf[subschema #6: MCP tool]/tunnel_id`
  - added the optional property `output/items/anyOf[#/components/schemas/AdditionalTools]/tools/items/anyOf[subschema #6: MCP tool]/tunnel_id` to the response with the `200` status
  - added the optional property `output/items/anyOf[#/components/schemas/ToolSearchOutput]/tools/items/anyOf[subschema #6: MCP tool]/tunnel_id` to the response with the `200` status
- **2026-06-16** `506a44267b3f` — 1 breaking
  - removed the media type `application/x-www-form-urlencoded` from the request body
- **2026-06-01** `d96e76a894f8` — 1 breaking, 8 info
  - the response property `output/items/anyOf[subschema #5: Web search tool call]/action/anyOf[subschema #1: Search action]/query` became optional for the status `200`
  - added `#/components/schemas/AdditionalToolsItemParam` to the `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/` request property `anyOf` list (media type: application/json)
  - added `#/components/schemas/AdditionalToolsItemParam` to the `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/` request property `anyOf` list (media type: application/x-www-form-urlencoded)
  - the request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #6: Web search tool call]/action/anyOf[subschema #1: Search action]/query` became optional (media type: application/json)
  - the request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #6: Web search tool call]/action/anyOf[subschema #1: Search action]/query` became optional (media type: application/x-www-form-urlencoded)
  - request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #6: Web search tool call]/action/anyOf[subschema #1: Search action]/query` deprecated (media type: application/json)
  - request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #6: Web search tool call]/action/anyOf[subschema #1: Search action]/query` deprecated (media type: application/x-www-form-urlencoded)
  - added `#/components/schemas/AdditionalTools` to the `output/items/` response property `anyOf` list for the response status `200`
  - response property `output/items/anyOf[subschema #5: Web search tool call]/action/anyOf[subschema #1: Search action]/query` deprecated
- **2026-05-15** `5b751bfbf149` — 2 info
  - added `#/components/schemas/CompactionTriggerItemParam` to the `input/anyOf[subschema #1]/anyOf[subschema #2]/items/` request property `anyOf` list (media type: application/json)
  - added `#/components/schemas/CompactionTriggerItemParam` to the `input/anyOf[subschema #1]/anyOf[subschema #2]/items/` request property `anyOf` list (media type: application/x-www-form-urlencoded)
- **2026-05-11** `2863ec7637b7` — 2 info
  - added the new optional request property `service_tier` (media type: application/json)
  - added the new optional request property `service_tier` (media type: application/x-www-form-urlencoded)
- **2026-05-07** `737fbb7f6f17` — 8 breaking, 3 warning, 10 info
  - removed the enum value `1024x1024` of the request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/ToolSearchOutputItemParam]/tools/items/anyOf[subschema #8: Image generation tool]/size` (media type: application/json)
  - removed the enum value `1024x1024` of the request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/ToolSearchOutputItemParam]/tools/items/anyOf[subschema #8: Image generation tool]/size` (media type: application/x-www-form-urlencoded)
  - removed the enum value `1024x1536` of the request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/ToolSearchOutputItemParam]/tools/items/anyOf[subschema #8: Image generation tool]/size` (media type: application/json)
  - removed the enum value `1024x1536` of the request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/ToolSearchOutputItemParam]/tools/items/anyOf[subschema #8: Image generation tool]/size` (media type: application/x-www-form-urlencoded)
  - removed the enum value `1536x1024` of the request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/ToolSearchOutputItemParam]/tools/items/anyOf[subschema #8: Image generation tool]/size` (media type: application/json)
  - removed the enum value `1536x1024` of the request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/ToolSearchOutputItemParam]/tools/items/anyOf[subschema #8: Image generation tool]/size` (media type: application/x-www-form-urlencoded)
  - removed the enum value `auto` of the request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/ToolSearchOutputItemParam]/tools/items/anyOf[subschema #8: Image generation tool]/size` (media type: application/json)
  - removed the enum value `auto` of the request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/ToolSearchOutputItemParam]/tools/items/anyOf[subschema #8: Image generation tool]/size` (media type: application/x-www-form-urlencoded)
  - added the new `chatgpt-image-latest` enum value to the `output/items/anyOf[#/components/schemas/ToolSearchOutput]/tools/items/anyOf[subschema #8: Image generation tool]/model/anyOf[subschema #2]/` response property for the response status `200`
  - added the new `gpt-image-2` enum value to the `output/items/anyOf[#/components/schemas/ToolSearchOutput]/tools/items/anyOf[subschema #8: Image generation tool]/model/anyOf[subschema #2]/` response property for the response status `200`
  - added the new `gpt-image-2-2026-04-21` enum value to the `output/items/anyOf[#/components/schemas/ToolSearchOutput]/tools/items/anyOf[subschema #8: Image generation tool]/model/anyOf[subschema #2]/` response property for the response status `200`
  - added the new `chatgpt-image-latest` enum value to the request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/ToolSearchOutputItemParam]/tools/items/anyOf[subschema #8: Image generation tool]/model/anyOf[subschema #2]/` (media type: application/json)
  - added the new `chatgpt-image-latest` enum value to the request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/ToolSearchOutputItemParam]/tools/items/anyOf[subschema #8: Image generation tool]/model/anyOf[subschema #2]/` (media type: application/x-www-form-urlencoded)
  - added the new `gpt-image-2` enum value to the request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/ToolSearchOutputItemParam]/tools/items/anyOf[subschema #8: Image generation tool]/model/anyOf[subschema #2]/` (media type: application/json)
  - added the new `gpt-image-2` enum value to the request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/ToolSearchOutputItemParam]/tools/items/anyOf[subschema #8: Image generation tool]/model/anyOf[subschema #2]/` (media type: application/x-www-form-urlencoded)
  - added the new `gpt-image-2-2026-04-21` enum value to the request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/ToolSearchOutputItemParam]/tools/items/anyOf[subschema #8: Image generation tool]/model/anyOf[subschema #2]/` (media type: application/json)
  - added the new `gpt-image-2-2026-04-21` enum value to the request property `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/ToolSearchOutputItemParam]/tools/items/anyOf[subschema #8: Image generation tool]/model/anyOf[subschema #2]/` (media type: application/x-www-form-urlencoded)
  - removed the `1024x1024` enum value from the `output/items/anyOf[#/components/schemas/ToolSearchOutput]/tools/items/anyOf[subschema #8: Image generation tool]/size` response property for the response status `200`
  - removed the `1024x1536` enum value from the `output/items/anyOf[#/components/schemas/ToolSearchOutput]/tools/items/anyOf[subschema #8: Image generation tool]/size` response property for the response status `200`
  - removed the `1536x1024` enum value from the `output/items/anyOf[#/components/schemas/ToolSearchOutput]/tools/items/anyOf[subschema #8: Image generation tool]/size` response property for the response status `200`
  - removed the `auto` enum value from the `output/items/anyOf[#/components/schemas/ToolSearchOutput]/tools/items/anyOf[subschema #8: Image generation tool]/size` response property for the response status `200`
- **2026-05-06** `1b5c6501b847` — 2 breaking, 4 info
  - the `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/ToolSearchOutputItemParam]/tools/items/anyOf[subschema #8: Image generation tool]/size` request property type/format changed from `string`/`` to ``/`` (media type: application/json)
  - the `output/items/anyOf[#/components/schemas/ToolSearchOutput]/tools/items/anyOf[subschema #8: Image generation tool]/size` response's property type/format changed from `string`/`` to ``/`` for status `200`
  - added `subschema #1, subschema #2` to the `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/ToolSearchOutputItemParam]/tools/items/anyOf[subschema #8: Image generation tool]/size` request property `anyOf` list (media type: application/json)
  - added `subschema #1, subschema #2` to the `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/ToolSearchOutputItemParam]/tools/items/anyOf[subschema #8: Image generation tool]/size` request property `anyOf` list (media type: application/x-www-form-urlencoded)
  - the `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/ToolSearchOutputItemParam]/tools/items/anyOf[subschema #8: Image generation tool]/size` request property type/format was generalized from `string`/`` to ``/`` (media type: application/x-www-form-urlencoded)
  - added `subschema #1, subschema #2` to the `output/items/anyOf[#/components/schemas/ToolSearchOutput]/tools/items/anyOf[subschema #8: Image generation tool]/size` response property `anyOf` list for the response status `200`
- **2026-05-04** `64494d56c425` — 20 breaking
  - the `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #1: Input message]/content/anyOf[subschema #2: Input item content list]/items/anyOf[subschema #2: Input image]/image_url/anyOf[subschema #1]/` request property type/format changed from `string`/`` to `string`/`uri` (media type: application/json)
  - the `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #1: Input message]/content/anyOf[subschema #2: Input item content list]/items/anyOf[subschema #2: Input image]/image_url/anyOf[subschema #1]/` request property type/format changed from `string`/`` to `string`/`uri` (media type: application/x-www-form-urlencoded)
  - the `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #1: Input message]/content/anyOf[subschema #2: Input item content list]/items/anyOf[subschema #3: Input file]/file_url` request property type/format changed from `string`/`` to `string`/`uri` (media type: application/json)
  - the `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #1: Input message]/content/anyOf[subschema #2: Input item content list]/items/anyOf[subschema #3: Input file]/file_url` request property type/format changed from `string`/`` to `string`/`uri` (media type: application/x-www-form-urlencoded)
  - the `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #14: Code interpreter tool call]/outputs/anyOf[subschema #1]/items/anyOf[subschema #2: Code interpreter output image]/url` request property type/format changed from `string`/`` to `string`/`uri` (media type: application/json)
  - the `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #14: Code interpreter tool call]/outputs/anyOf[subschema #1]/items/anyOf[subschema #2: Code interpreter output image]/url` request property type/format changed from `string`/`` to `string`/`uri` (media type: application/x-www-form-urlencoded)
  - the `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #1: Input message]/content/items/anyOf[subschema #2: Input image]/image_url/anyOf[subschema #1]/` request property type/format changed from `string`/`` to `string`/`uri` (media type: application/json)
  - the `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #1: Input message]/content/items/anyOf[subschema #2: Input image]/image_url/anyOf[subschema #1]/` request property type/format changed from `string`/`` to `string`/`uri` (media type: application/x-www-form-urlencoded)
  - the `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #1: Input message]/content/items/anyOf[subschema #3: Input file]/file_url` request property type/format changed from `string`/`` to `string`/`uri` (media type: application/json)
  - the `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #1: Input message]/content/items/anyOf[subschema #3: Input file]/file_url` request property type/format changed from `string`/`` to `string`/`uri` (media type: application/x-www-form-urlencoded)
  - the `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #25: Custom tool call output]/output/anyOf[subschema #2: output content list]/items/anyOf[subschema #2: Input image]/image_url/anyOf[subschema #1]/` request property type/format changed from `string`/`` to `string`/`uri` (media type: application/json)
  - the `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #25: Custom tool call output]/output/anyOf[subschema #2: output content list]/items/anyOf[subschema #2: Input image]/image_url/anyOf[subschema #1]/` request property type/format changed from `string`/`` to `string`/`uri` (media type: application/x-www-form-urlencoded)
  - the `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #25: Custom tool call output]/output/anyOf[subschema #2: output content list]/items/anyOf[subschema #3: Input file]/file_url` request property type/format changed from `string`/`` to `string`/`uri` (media type: application/json)
  - the `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #25: Custom tool call output]/output/anyOf[subschema #2: output content list]/items/anyOf[subschema #3: Input file]/file_url` request property type/format changed from `string`/`` to `string`/`uri` (media type: application/x-www-form-urlencoded)
  - the `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #2: Output message]/content/items/anyOf[subschema #1: Output text]/annotations/items/anyOf[subschema #2: URL citation]/url` request property type/format changed from `string`/`` to `string`/`uri` (media type: application/json)
  - the `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #2: Output message]/content/items/anyOf[subschema #1: Output text]/annotations/items/anyOf[subschema #2: URL citation]/url` request property type/format changed from `string`/`` to `string`/`uri` (media type: application/x-www-form-urlencoded)
  - the `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #8: Function tool call output]/output/anyOf[subschema #2]/items/anyOf[subschema #2: Input image]/image_url/anyOf[subschema #1]/` request property type/format changed from `string`/`` to `string`/`uri` (media type: application/json)
  - the `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #8: Function tool call output]/output/anyOf[subschema #2]/items/anyOf[subschema #2: Input image]/image_url/anyOf[subschema #1]/` request property type/format changed from `string`/`` to `string`/`uri` (media type: application/x-www-form-urlencoded)
  - the `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #8: Function tool call output]/output/anyOf[subschema #2]/items/anyOf[subschema #3: Input file]/file_url/anyOf[subschema #1]/` request property type/format changed from `string`/`` to `string`/`uri` (media type: application/json)
  - the `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #8: Function tool call output]/output/anyOf[subschema #2]/items/anyOf[subschema #3: Input file]/file_url/anyOf[subschema #1]/` request property type/format changed from `string`/`` to `string`/`uri` (media type: application/x-www-form-urlencoded)
- **2026-04-29** `5b98524f8dee` — 6 breaking
  - the `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/ToolSearchOutputItemParam]/tools/items/anyOf[subschema #6: MCP tool]/server_url` request property type/format changed from `string`/`` to `string`/`uri` (media type: application/json)
  - the `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[#/components/schemas/ToolSearchOutputItemParam]/tools/items/anyOf[subschema #6: MCP tool]/server_url` request property type/format changed from `string`/`` to `string`/`uri` (media type: application/x-www-form-urlencoded)
  - the `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #5: Computer tool call output]/output/image_url` request property type/format changed from `string`/`` to `string`/`uri` (media type: application/json)
  - the `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #5: Computer tool call output]/output/image_url` request property type/format changed from `string`/`` to `string`/`uri` (media type: application/x-www-form-urlencoded)
  - the `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #6: Web search tool call]/action/anyOf[subschema #1: Search action]/sources/items/url` request property type/format changed from `string`/`` to `string`/`uri` (media type: application/json)
  - the `input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[subschema #6: Web search tool call]/action/anyOf[subschema #1: Search action]/sources/items/url` request property type/format changed from `string`/`` to `string`/`uri` (media type: application/x-www-form-urlencoded)
- **2026-04-15** `64c6ba619ccb` — 2 info
  - added the new optional request property `prompt_cache_retention` (media type: application/json)
  - added the new optional request property `prompt_cache_retention` (media type: application/x-www-form-urlencoded)

---

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