GET

/v1/schemas/openai/chat/responses%2Fcompact?kind=output

kind outputactivity chathash 4f609727…extracted Nov 17, 2026version currentsource upstream spec ↗

Response body

6 properties · 5 required · 169 $defs
propertytypedescriptionconstraints
id*stringThe unique identifier for the compacted response.
object*enumThe object type. Always `response.compaction`.response.compaction · default: "response.compaction"
output*OutputItem[]The compacted list of output items. This is a list of all user messages, followed by a single compaction item.
created_at*integerUnix timestamp (in seconds) when the compacted conversation was created.format: unixtime
usage*ResponseUsageToken accounting for the compaction pass, including cached, reasoning, and total tokens.
imageResolvedImageOptions

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"openai","endpointId":"responses/compact","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}