Driftwatch

OpenAI / OpenAI API /

Breaking

type is now required

What changed

Partial payloads are rejected.

Affects UpdateOrganizationSpendLimitBody reachable from 1 operation.

Who is affected

Code that sends OpenAI's UpdateOrganizationSpendLimitBody objects, used by 1 OpenAI operation.

Before and after

WhereBeforeAfter
UpdateOrganizationSpendLimitBody.notification_channel.typeoptionalrequired
UpdateProjectSpendLimitBody.notification_channel.typeoptionalrequired

Code that breaks

await client.post("/…", {
  // …
  type: /* now required */,
});

Based on OpenAI’s published API specification. How severity is decided.