Source reports
Reported API/SDK contract mismatch
Affected surface: POST /responses; WebSearchActionFind.
The source report describes a completed find_in_page item with pattern but no url, followed by strict validation failure when restoring saved Agents state. Its local reproduction supplies a dictionary; it does not include a complete raw HTTP/SSE capture that identifies where the URL was lost. The current public schema lists url in required. This is distinct from the corrected find/find_in_page discriminator in closed #512.
Specification reviewed at b61ced9.
Minimal shape
{
"type": "find_in_page",
"pattern": "og:image"
}
This is a sanitized illustration of the reported shape, not a new live API capture.
Expected reconciliation
Determine whether a producer or serialization step loses a required URL, or whether the supported find_in_page contract permits omission. The original report allows either a server correction that always provides the URL or a deliberate SDK/schema change. Compare the raw response, SDK item and saved/restored state before choosing the repair. Treat omission and explicit JSON null separately, and preserve the valid discriminator fix.
Verification scope
Reviewed the source reports, relevant comments, and current published schema. No new live API request was made. This tracks the reported contract mismatch and preserves the original reproduction; it does not establish the deployed root cause or claim that a fix has shipped.
Source reports
Reported API/SDK contract mismatch
Affected surface: POST /responses; WebSearchActionFind.
The source report describes a completed find_in_page item with pattern but no url, followed by strict validation failure when restoring saved Agents state. Its local reproduction supplies a dictionary; it does not include a complete raw HTTP/SSE capture that identifies where the URL was lost. The current public schema lists url in required. This is distinct from the corrected find/find_in_page discriminator in closed #512.
Specification reviewed at b61ced9.
Minimal shape
{ "type": "find_in_page", "pattern": "og:image" }This is a sanitized illustration of the reported shape, not a new live API capture.
Expected reconciliation
Determine whether a producer or serialization step loses a required URL, or whether the supported find_in_page contract permits omission. The original report allows either a server correction that always provides the URL or a deliberate SDK/schema change. Compare the raw response, SDK item and saved/restored state before choosing the repair. Treat omission and explicit JSON null separately, and preserve the valid discriminator fix.
Verification scope
Reviewed the source reports, relevant comments, and current published schema. No new live API request was made. This tracks the reported contract mismatch and preserves the original reproduction; it does not establish the deployed root cause or claim that a fix has shipped.