Skip to main content
The Responses API Beta supports two input methods: “simple string input” and “structured message array.”

Simple String Input

The simplest way to use the API is to directly pass in a string:

Structured Message Input

For more complex conversations, you can use the message array format:

Response Format

The API will return a structured response containing the generated content:

Streaming Response

You can enable streaming output for real-time content generation:

Common Parameters


Last updated: 2026-06-01