detektu
OpenAI API changes
Potentially breaking

Response property enum value removed: code (session_budget_exceeded)

openapi:GET /agents/sessions/{}/subagents/{}/turns/{}::response.200.application.json.error.anyOf[#.components.schemas.SessionTurnErrorResource].code
Product
OpenAI API
Source
OpenAPI URL
Change kind
Response Property Enum Value Removed
Detected
Last updated

Deterministic evidence

Before / after

Extracted from OpenAI's published contract. Shows the changed property. Open the source ↗

−2+24 changes

1 / 4
{
{
"enum": [
"enum": [
"context_length_exceeded",
"context_length_exceeded",
"max_output_tokens",
"max_output_tokens",
"session_budget_exceeded",
"usage_limit_exceeded",
"usage_limit_exceeded",
"api_key_spend_limit_exceeded",
"project_spend_limit_exceeded",
"project_spend_limit_exceeded",
"organization_spend_limit_exceeded",
"organization_spend_limit_exceeded",
"organization_usage_limit_exceeded",
"organization_usage_limit_exceeded",
"x-enumDescriptions": [
"x-enumDescriptions": [
"The request exceeds the model's context window.",
"The request exceeds the model's context window.",
"The model reached its output token limit before finishing the response.",
"The model reached its output token limit before finishing the response.",
"The session has reached its usage budget.",
"The organization has reached a usage, plan, or billing limit.",
"The organization has reached a usage, plan, or billing limit.",
"The API key has reached its enforced spend limit.",
"The project has reached its enforced spend limit.",
"The project has reached its enforced spend limit.",
"The organization has reached its enforced spend limit.",
"The organization has reached its enforced spend limit.",
"The organization has reached its OpenAI-assigned usage limit.",
"The organization has reached its OpenAI-assigned usage limit.",

Monitored for you

Does this change affect your integration?

Choose the operations and fields your services use. detektu matches OpenAI findings to that declared usage so your team can review the relevant evidence. No agent or repository access required.