← Back to changelog
Hassieb Pakzad
March 17, 2025
OpenAI Response API support in SDKs

Trace your OpenAI Response API calls with our Python and JS SDKs
OpenAI has released their new improved Response API for a better developer experience building agentic applications. We have added support for tracing OpenAI Response API executions in the OpenAI integrations in both our JS and Python SDK.
from langfuse.openai import openai
client = openai.OpenAI()
client.responses.create(
model="gpt-4o",
input="Tell me a three sentence bedtime story about a unicorn.",
)
openai.flush_langfuse()
Releases
Learn more