Saltar para o conteúdo principal
The Responses API Beta suporta 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, você pode use the message array format:

Response Format

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

Streaming Response

Você pode enable streaming output for real-time content generation:

Common Parameters


Última atualização: 2026-06-01