Potentially breaking
Request property removed: role
openapi:POST /decisions::request.application.json.input.oneOf[subschema-#2].items.oneOf[subschema-#1].role- Product
- OpenAI API
- Source
- OpenAPI URL
- Change kind
- Request Property Removed
- Detected
- Last updated
Deterministic evidence
Before / after
Extracted from OpenAI's published contract. Shows the schema the change belongs to. Open the source ↗
{
{
"additionalProperties": false,
"discriminator": {
"properties": {
"mapping": {
"content": {
"assistant": "#/components/schemas/DecisionInputAssistantMessage",
"oneOf": [
"developer": "#/components/schemas/DecisionInputDeveloperMessage",
{
"system": "#/components/schemas/DecisionInputSystemMessage",
"maxLength": 10485760,
"user": "#/components/schemas/DecisionInputUserMessage"
"type": "string"
},
},
"propertyName": "role"
{
},
"items": {
"oneOf": [
"discriminator": {
{
"mapping": {
"additionalProperties": false,
"input_image": "#/components/schemas/DecisionInputImage",
"properties": {
"input_text": "#/components/schemas/DecisionInputText",
"content": {
"output_text": "#/components/schemas/DecisionInputOutputText",
"oneOf": [
"refusal": "#/components/schemas/DecisionInputRefusal"
{
},
"maxLength": 10485760,
"propertyName": "type"
"type": "string"
},
},
"oneOf": [
{
{
"items": {
"$ref": "#/components/schemas/DecisionInputText"
"discriminator": {
},
"mapping": {
{
"input_image": "#/components/schemas/DecisionInputImage",
"$ref": "#/components/schemas/DecisionInputImage"
"input_json": "#/components/schemas/DecisionInputJson",
},
"input_text": "#/components/schemas/DecisionInputText"
{
"additionalProperties": false,
"properties": {
"text": {
"maxLength": 10485760,
"type": "string"
},
},
"type": {
"propertyName": "type"
"default": "output_text",
"enum": [
"output_text"
],
"type": "string",
"x-stainless-const": true
}
},
},
"required": [
"oneOf": [
"type",
{
"text"
"$ref": "#/components/schemas/DecisionInputText"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"refusal": {
"maxLength": 10485760,
"type": "string"
},
},
"type": {
{
"default": "refusal",
"$ref": "#/components/schemas/DecisionInputImage"
"enum": [
},
"refusal"
{
],
"$ref": "#/components/schemas/DecisionInputJson"
"type": "string",
"x-stainless-const": true
}
}
},
"required": [
"type",
"refusal"
],
],
"type": "object"
"x-oai-discriminator-values": [
}
"input_text",
],
"input_image",
"x-oai-discriminator-values": [
"input_json"
"input_text",
]
"input_image",
},
"output_text",
"maxItems": 16384,
"refusal"
"title": "Parts",
]
"type": "array"
},
}
"maxItems": 16384,
]
"title": "Parts",
},
"type": "array"
"role": {
"default": "user",
"enum": [
"user"
],
"type": "string",
"x-stainless-const": true
},
"type": {
"default": "message",
"enum": [
"message"
],
"type": "string",
"x-stainless-const": true
}
}
]
},
"required": [
"role",
"content"
],
"type": "object"
},
},
"phase": {
{
"anyOf": [
"additionalProperties": false,
{
"properties": {
"content": {
"$ref": "#/components/schemas/DecisionInputDeveloperContent"
},
"role": {
"default": "developer",
"enum": [
"enum": [
"commentary",
"developer"
"final_answer"
],
],
"type": "string"
"type": "string",
"x-stainless-const": true
},
},
{
"type": {
"type": "null"
"default": "message",
"enum": [
"message"
],
"type": "string",
"x-stainless-const": true
}
}
]
},
"required": [
"role",
"content"
],
"type": "object"
},
},
"role": {
{
"enum": [
"additionalProperties": false,
"user",
"properties": {
"developer",
"content": {
"system",
"$ref": "#/components/schemas/DecisionInputDeveloperContent"
"assistant"
},
"role": {
"default": "system",
"enum": [
"system"
],
"type": "string",
"x-stainless-const": true
},
"type": {
"default": "message",
"enum": [
"message"
],
"type": "string",
"x-stainless-const": true
}
},
"required": [
"role",
"content"
],
],
"type": "string"
"type": "object"
},
},
"type": {
{
"default": "message",
"additionalProperties": false,
"enum": [
"properties": {
"message"
"content": {
"oneOf": [
{
"maxLength": 10485760,
"type": "string"
},
{
"items": {
"discriminator": {
"mapping": {
"output_text": "#/components/schemas/DecisionInputOutputText",
"refusal": "#/components/schemas/DecisionInputRefusal"
},
"propertyName": "type"
},
"oneOf": [
{
"additionalProperties": false,
"properties": {
"text": {
"maxLength": 10485760,
"type": "string"
},
"type": {
"default": "output_text",
"enum": [
"output_text"
],
"type": "string",
"x-stainless-const": true
}
},
"required": [
"type",
"text"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"refusal": {
"maxLength": 10485760,
"type": "string"
},
"type": {
"default": "refusal",
"enum": [
"refusal"
],
"type": "string",
"x-stainless-const": true
}
},
"required": [
"type",
"refusal"
],
"type": "object"
}
],
"x-oai-discriminator-values": [
"output_text",
"refusal"
]
},
"maxItems": 16384,
"title": "Parts",
"type": "array"
}
]
},
"phase": {
"anyOf": [
{
"enum": [
"commentary",
"final_answer"
],
"type": "string"
},
{
"type": "null"
}
]
},
"role": {
"default": "assistant",
"enum": [
"assistant"
],
"type": "string",
"x-stainless-const": true
},
"type": {
"default": "message",
"enum": [
"message"
],
"type": "string",
"x-stainless-const": true
}
},
"required": [
"role",
"content"
],
],
"type": "string",
"type": "object"
"x-stainless-const": true
}
}
},
"required": [
"role",
"content"
],
],
"type": "object"
"type": "object",
"x-oai-discriminator-values": [
"user",
"developer",
"system",
"assistant"
]
}
}
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.