When I use the Playground summaries work fine, and they show up in the configuration panel:
Then when I do the same thing via API (not using playground) but the actual code, summaries never work and is not listed in the configuration for some reason?
Do reasoning summaries need to be somehow enabled via my script in order for reasoning to show in the Logs?
1 Like
Hi and welcome to the community!
Reasoning summaries must be explicitly enabled or this field will not be included in the response object.
From the docs:
Reasoning summary output is part of the summary array in the reasoning output item. This output will not be included unless you explicitly opt in to including reasoning summaries.
from openai import OpenAI
client = OpenAI()
response = client.responses.create(
model="gpt-5",
input="What is the capital of France?",
reasoning={
"effort": "low",
"summary": "auto"
}
)
print(response.output)
https://platform.openai.com/docs/guides/reasoning#reasoning-summaries
4 Likes

