Wirewalk Instituteof AI
dev-001 Free intro Available

Your First AI API Call: A One-Hour Hands-On Start

For anyone who can open a terminal: make real calls to a large language model on a small business task, keep the key safe, read what comes back, and decide whether the result is ready to use at work.

Level
Free intro
Study time
1 hours
Lessons
7 in 3 modules
Exam
10 questions

About this course

Chat apps hide the machinery. Behind every answer is an HTTP request: a model name, your text, a limit on how long the reply may be, and a secret key that identifies who pays. This free course gets you to make that request yourself, on a job that looks like real work. The course costs nothing; the exercises make real calls on your own Anthropic or OpenAI developer account, which the provider bills per use (well under a dollar for all of them on a small model), and the provider may ask for a payment method or prepaid credit first.

The course follows one composite company, Larkspur Hollow Residential, an Ohio apartment operator whose coordinator spends about 38 hours a month sorting free-text maintenance requests. In three short acts you weigh a script against a form change, a chat app and a vendor add-on, set up a company API key with a spend limit and handle a leaked key; classify a real work order from the terminal with curl, then forty of them with a supplied Python script, and compare the results with a human's labels; and then meet what goes wrong in a two-week shadow run (truncated replies, rate limits, and a 2 a.m. gas-leak report labeled urgent instead of emergency that a 90% agreement score never warned about), measure the rare costly case on its own, fix it with a safety rule ahead of the model and a human decision (and find that the safeguard costs far more than the model), estimate the monthly cost on two model tiers, and make the go or no-go call. Examples use the Anthropic Messages API and the OpenAI Responses API side by side, as documented in October 2026.

Three short Decision Labs let you make the calls under pressure, and a final build, self-assessed against a rubric, has you triage a results file and write a one-page go/no-go note you can reuse in your own job. Plan on about an hour of reading (each lesson states its time) and a quarter of an hour for the labs; the hands-on steps add about 30 minutes and the optional final build about 20 more, so doing everything takes closer to two hours. Managers can follow a no-code path through the same decisions: no exam question requires running code.

What you will be able to do

  • Set up an API key for work that is company-owned, issued to one person, capped by a spend limit and kept in an environment variable, and respond to a leaked key in the right order
  • Make and read a working request to Anthropic's Messages API or OpenAI's Responses API with curl and an official Python SDK, adapted to a business task with a standing instruction and a fixed output format
  • Check every response before using it and diagnose common errors (bad request, authentication, not found, rate limit versus spend cap or quota, server overload), deciding whether to fix, wait or retry
  • Estimate the monthly cost of a workload from measured token usage and published prices on two model tiers, and explain why a conversation's cost grows with every turn
  • Judge whether a first AI script is ready for work by measuring it against human-labeled examples that include the rare, costly cases, sending only the data the task needs, and keeping a human decision and a safety rule where an error can hurt someone

Syllabus

3 modules · 7 lessons · about 1 hours

Module 1: Act 1: The Request Queue and the Shape of a Call

Why a script on a company API account beats pasting requests into a chat app, what every model API call contains, and how to get and protect a key that spends company money.
2 lessons
  1. What Happens When You Call a Model: Requests, Responses and Tokens
  2. An API Key Is a Company Credit Card: Getting One and Keeping It Safe
  • Decision Lab · 4 minThe Key and the QueueGet a first AI project started fast without putting resident data or a spending key in the wrong place, then handle a leaked key under pressure.

Module 2: Act 2: Making the Call on a Real Work Order

Classify one maintenance request from the terminal with curl, then forty with an official Python SDK, and measure the results against a human coordinator's labels.
2 lessons
  1. Your First Call from the Terminal: One Work Order with curl
  2. The Same Call in Python, Run Over Forty Work Orders
  • Decision Lab · 4 minForty Work OrdersTurn one working call into a measured test on forty real requests by Monday morning, and decide what to show when the first run breaks.

Module 3: Act 3: Before Anyone Relies on It

Read stop reasons, usage and errors, find and fix a missed emergency, estimate the monthly cost, make a go or no-go recommendation you can defend, and finish with a self-assessed final build.
3 lessons
  1. Reading the Response: Stop Reasons, Usage, Errors and the Missed Gas Leak
  2. From Script to Pilot: Cost, Conversations and the Go/No-Go
  3. Final Build: The Go/No-Go Package
  • Decision Lab · 6 minGo or No-GoChoose how the triage script runs during the shadow run, respond when it mislabels a 2 a.m. gas report, and decide what to recommend when the boss asks for a resident chatbot too.

Exam and certificate

The exam unlocks once you have completed every lesson and played each Decision Lab to an ending. It draws 10 questions from a larger bank, spread across the modules, with the answer options shuffled for each attempt. You have 20 minutes and need 80% to pass. After a failed attempt you can try again after 24 hours, up to 3 attempts in total. Feedback is given per module, never as the answer key.

Passing earns a certificate of completion and assessment from the Wirewalk Institute of AI with a unique ID that anyone can check at institute.wirewalk.com/verify. It is not an accredited qualification or a vendor certification. How certification works.

The Wirewalk Institute of AI is independent. This course teaches publicly documented products and is not affiliated with or endorsed by Anthropic or OpenAI. Product and company names are trademarks of their respective owners.

More in AI in Software Development

All 19 courses in this track
dev-201 Intermediate Available

Python AI Integration: SDKs, Async, Pydantic, Packaging and Testing

A code-first course on integrating LLMs into Python the way production code needs it: uv projects and secrets, the OpenAI, Anthropic and Google GenAI SDKs side by side, async concurrency and streaming, Pydantic structured outputs and tools, retries, local models, embeddings and RAG, FastAPI and pandas integration, testing and evals with pytest, observability, cost tracking and deployment.

15 h · 19 lessons See price at checkout
dev-202 Intermediate Waitlist

Perl and AI: Modernizing Scripts and Text Pipelines with LLM APIs

Call OpenAI, Anthropic, Gemini and local Ollama models from Perl with real CPAN modules, add streaming, concurrency and validated JSON output to text pipelines, and use AI coding assistants to modernize legacy Perl behind characterization tests.

12 h · 18 lessons Join the waitlist
dev-203 Intermediate Waitlist

TypeScript and Node.js AI Integration

Build production AI features in TypeScript: the official OpenAI, Anthropic and Google Gen AI SDKs, the Vercel AI SDK for provider-neutral streaming and tools, Zod-typed structured outputs, in-process models with Transformers.js and node-llama-cpp, and tests that never hit a live API.

14 h · 19 lessons Join the waitlist