**Learning Objectives**
- Define "API" and describe a request/response cycle.
- Run a Colab notebook that authenticates and makes a text request.
- Practice safe & responsible use expectations for the course.
- Teacher OpenAI key (restricted usage), projector, student Google accounts.
1. Hook demo (5) — show a quick AI example.
2. Mini-lecture: API basics + ethics (10).
3. Setup & first call (15–20).
4. Prompt play (15) — students iterate creatively.
5. Share-out + debrief (10).
- Exit ticket: “Explain what an API is in one sentence.”
- Ask: “Where is the model running? (In the cloud)”
- ■ Setup complete (1)
- ■ First successful response (1)
- ■ Modified prompt with intent (1)
- ■ Reflection: 2–3 sentences on what changed output (1)
- Fast finishers: add system instruction; format output as a haiku.
- Extra support: supply example prompts and a filled code cell.
- No sensitive personal data in prompts.
- Verify facts; AI can be confidently wrong.
Sample Exit Ticket Response:
API: A way for one program to ask another for information or services. The AI runs on OpenAI's servers.