OpenAI APIs Exemplify Conway's Law
๐กOpenAI API quirks expose org chaosโmust-read for devs battling inconsistencies
โก 30-Second TL;DR
What Changed
OpenAI chat/completions uses 'response_format' for JSON schema
Why It Matters
Highlights developer friction from inconsistent APIs in fast AI orgs, complicating migrations and increasing onboarding time.
What To Do Next
Test structured JSON outputs in both OpenAI chat/completions and responses APIs for compatibility.
Key Points
- โขOpenAI chat/completions uses 'response_format' for JSON schema
- โขResponses API requires 'text.format' structure instead
- โขDocs have incorrect examples, devs must read Python package source
- โขGoogle Gemini rejects certain valid JSON schemas, fixed in client lib
๐ง Deep Insight
Background and context from public sources โ not the original article. 9 sources cited.
๐ Enhanced Key Takeaways
- โขOpenAI published an official OpenAPI specification for its API, available via Stainless, to standardize endpoint descriptions including chat/completions and responses[3].
- โขThe Responses API, introduced as a successor to the Assistants API, uses 'text.format' with 'strict' and 'schema' for structured outputs, differing from chat/completions' 'response_format'[6].
- โขAssistants API is being deprecated as of August 26, 2025, with full sunset on August 26, 2026, driving migration to the Responses API[6].
- โขOpenAI proposes its Chat Completions API format as an industry standard to promote interoperability among AI providers[7].
๐ ๏ธ Technical Deep Dive
- โขResponses API endpoint: POST https://api.openai.com/v1/responses, with parameters including 'model' (e.g., gpt-5), 'input' as array of messages, and 'text.format' object containing 'strict': true and JSON schema[6].
- โขStructured outputs in both APIs enforce JSON schemas with 'additionalProperties': false and 'required' fields; Responses API example schema validates 'name' (string, minLength 1) and 'age' (number, 0-130)[2][6].
- โขOpenAI's official OpenAPI spec is hosted at https://app.stainless.com/api/spec/documented/openai/openapi.documented.yml, covering RESTful endpoints, authentication, and parameters[3].
๐ฎ Future ImplicationsAI analysis grounded in cited sources
โณ Timeline
๐ Sources (9)
Factual claims are grounded in the sources below. Forward-looking analysis is AI-generated interpretation.
- xano.com โ Openapi Specification the Definitive Guide
- developers.openai.com โ Structured Outputs
- GitHub โ Openai Openapi
- kanerika.com โ Openai API
- developers.openai.com โ Overview
- developers.openai.com โ Migrate to Responses
- forum.gnoppix.org โ 4078
- developers.openai.com โ Deprecations
- OpenAI โ API
Weekly AI Recap
Read this week's curated digest of top AI events โ
๐Related Updates
AI-curated news aggregator. All content rights belong to original publishers.
Original source: Reddit r/MachineLearning โ
This is a summary, not the original. Read the source, or get the weekly briefing.
Weekly AI briefing
One email a week. Unsubscribe anytime.