AI Catchup

Gemini Interactions API: Steps Schema, `response_format`, and a June 8, 2026 Legacy Sunset

By 2 min read

Google is rolling out breaking changes to the Gemini v1beta Interactions API that replace the `outputs` array with a `steps` array, remove `response_mime_type` in favor of a polymorphic `response_format`, and introduce new streaming event types. For REST users, the new schema becomes the default on May 26, 2026, and legacy behavior is removed on June 8, 2026; older Python/JS SDKs (1.x) also break on June 8.

Google published a migration guide for breaking changes coming to the Gemini v1beta Interactions API. The headline: the API is moving from a loosely structured outputs response shape to a steps timeline, consolidating output-format controls into a polymorphic response_format, and updating streaming event types. There is also a clear timeline: for REST API users the new schema becomes the default on May 26, 2026, and legacy behavior is removed on June 8, 2026.

Key Takeaways

  • outputssteps. The response now uses a steps array representing a structured timeline of interaction turns.
  • response_mime_type removed. Output formatting moves into a polymorphic response_format object (or array).
  • Streaming event names changed. New SSE event types (e.g. interaction.created, step.delta) replace deprecated ones.
  • Deadlines are soon. REST schema defaults flip on May 26, 2026; legacy schema is removed June 8, 2026.

What’s Changing

1) Steps schema (outputs replaced by steps)

The guide describes a new steps array that acts as a timeline of interaction steps, replacing the older outputs array.

  • POST /interactions returns only output steps.
  • GET /interactions/{id} returns the full step timeline including the initial user_input step.

2) Output format configuration (response_format)

Instead of a single response_mime_type, the new approach uses response_format entries with a type discriminator (for example text, audio, or image) and format-specific configuration:

  • response_mime_type is removed.
  • MIME types are specified inside each response_format entry.
  • Image generation moves image_config out of generation_config and into the response_format entry for type: "image".

3) Streaming event types

Google lists new streaming event types and explicitly maps deprecated names to their replacements.

DeprecatedReplacement
interaction.startinteraction.created
content.startstep.start
content.deltastep.delta
content.stopstep.stop
interaction.completeinteraction.completed
errorinteraction.error

Timeline (per Google’s guide)

DatePhaseREST API usersPython/JS SDK users
May 7, 2026Opt-inAdd Api-Revision: 2026-05-20 to opt inUpgrade to Python ≥2.0.0 / JS ≥2.0.0 to opt in automatically
May 26, 2026Default flipNew schema becomes default; opt out temporarily with Api-Revision: 2026-05-07Older 1.x SDKs keep returning legacy responses (until June 8)
June 8, 2026SunsetLegacy schema permanently removed; Api-Revision ignoredPython 1.x / JS 1.x SDKs break for Interactions API calls

Migration Checklist

  • Update your parsing logic to read from steps instead of outputs.
  • Update formatting config to use response_format rather than response_mime_type.
  • If you use streaming, update your SSE event handlers to the new event names.
  • REST users: opt in early with Api-Revision: 2026-05-20 to validate before May 26.

Sources

Frequently Asked Questions

What is the biggest Interactions API breaking change?

Google is replacing the `outputs` array with a `steps` array that represents a structured timeline of each turn, and moving output formatting controls into a new polymorphic `response_format` (removing `response_mime_type`).

When do legacy Interactions API responses stop working?

Per Google's migration guide, legacy schema support is permanently removed on June 8, 2026. REST users cannot rely on `Api-Revision` to opt out after that date, and older Python/JS SDKs (1.x) will break for Interactions API calls on the same day.

What should REST API users do to migrate safely?

Google recommends opting in early with the `Api-Revision: 2026-05-20` header, updating code to consume `steps` and `response_format`, and validating against the new streaming event types before the May 26 default flip and the June 8 sunset.

Get the weekly AI Catchup

Tools, practices, and what matters -- in your inbox every Monday.