Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
OpenAI Responses API: Build AI Apps with Built-in Tools
New
1 students

OpenAI Responses API: Build AI Apps with Built-in Tools

Learn the OpenAI Responses API: build multi-turn chats, then add web search, file search and function calling in Python.
Created byACHRAF ER-RAYA
Last updated 11/2026
English

What you'll learn

  • Build production AI applications using the OpenAI Responses API, replacing legacy Chat Completions workflows with unified stateful calls.
  • Manage multi-turn conversation state automatically using previous_response_id, response chaining, and server-side storage without manual array bloat.
  • Integrate built-in OpenAI tools including Web Search, File Search (RAG), and Code Interpreter directly inside a single Responses API request.
  • Architect and deploy a complete, multi-tool AI research assistant that streams structured outputs, cites sources, and handles tool-calling loops.

Course content

5 sections • 9 lectures • 2h 15m total length
  • Make Your First Responses API Call: Input, Output, Streaming13:02
  • Make Your First Responses API Call: Input, Output, Streaming (PART2)10:12

Requirements

  • Basic familiarity with Python (variables, functions, and installing packages via pip) and an active OpenAI Platform account with API billing enabled.

Description

This course contains the use of artificial intelligence.

Stop stitching together chat history, retrieval code and polling loops by hand. The OpenAI Responses API gives you state, tools and structured output in one call, and this course shows you exactly how to use it.

Who this course is for

  • Python developers who want to build AI features on the OpenAI API

  • Developers moving from Chat Completions or the retired Assistants API

  • Backend and full-stack engineers adding chat, search or agents to a product

  • Technical founders and freelancers who need a fast, reliable AI prototype

  • Data and automation engineers connecting models to company documents and APIs

What you will learn

  • Send requests, read typed output items and stream responses in real time

  • Keep context across turns with previous_response_id and Conversations

  • Run stateless with store=false when privacy or control matters

  • Add web search to answer with fresh, cited information

  • Build RAG over your own documents with file search

  • Connect your own code with function calling and safe tool loops

  • Return validated JSON with Structured Outputs

  • Run long tasks in background mode and poll for results

  • Migrate from Assistants and Chat Completions with a clear mapping

  • Ship with a production checklist covering cost, retries and logging

Requirements

  • Basic Python (functions, dictionaries, pip)

  • An OpenAI API account and key (API usage is billed separately)

Final project
Build a Support Copilot. It holds a multi-turn conversation per customer, searches a small knowledge base with file search, calls an order-lookup function, returns its answer as structured JSON, and generates a nightly summary in background mode. You finish with a documented, deployable project for your portfolio.

Who this course is for:

  • ython developers and software engineers migrating from the legacy Chat Completions or Assistants APIs to the modern OpenAI Responses API.