๐Ÿค–Stalecollected in 44m

OpenAI APIs Exemplify Conway's Law

PostLinkedIn
๐Ÿค–Read original on Reddit r/MachineLearning
#conways-law#api-design#developer-quirksopenai-apisopenaigemini

๐Ÿ’ก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.

Who should care:Developers & AI Engineers

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

OpenAI's API formats will drive industry standardization by 2027
OpenAI's proposal for Chat Completions as standard and published OpenAPI spec encourage adoption by other providers for interoperability[3][7].
Migration to Responses API will be mandatory by August 2026
Assistants API deprecation with sunset date August 26, 2026, forces developers to adopt Responses API for structured outputs[6].

โณ Timeline

2023-06
OpenAI releases official OpenAPI specification version 2.0.0
2025-08
Responses API introduced; Assistants API deprecation announced
2025-11
Notification of codex-mini-latest model deprecation
2026-02
codex-mini-latest model removed from 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.