{
"model": "gpt-5.4",
"input": [
{
"role": "user",
"content": [
{
"type": "input_text",
"text": "Hello, this is a compact test."
}
]
}
]
}curl --location '/v1/responses/compact' \
--header 'Content-Type: application/json' \
--data '{
"model": "gpt-5.4",
"input": [
{
"role": "user",
"content": [
{
"type": "input_text",
"text": "Hello, this is a compact test."
}
]
}
]
}'