Skip to main content

Minimal request

cURL example

Python example

Node.js example

Best practices

  • Prefer responses for new integrations that may grow into tools or multimodal input
  • Reuse previous_response_id instead of resending the entire history every turn
  • Build your parser around both output_text and output[]