Driftwatch

OpenAI / OpenAI API /

Breaking

Response field spend_control removed

What changed

Reads of this field return undefined, and the failure surfaces wherever that value is used rather than at the call.

Affects SessionResource reachable from 5 operations.

Who is affected

Code that reads OpenAI's SessionResource objects, used by 5 OpenAI operations.

Before and after

WhereBeforeAfter
SessionResource.spend_controlpresentabsent

Code that breaks

// response.spend_control is now undefined
const spend_control = response.spend_control;

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