← AI Builders Lab: Custom Agents and APIs
APIs for Non-Engineers
Video coming soon. Upload to /uploads/videos and set video_url via the admin panel.
Video: APIs Explained (25 min)
What is an API? "A waiter taking your order to the kitchen."
You (the client) tell the API (waiter) what you want. The API carries your request to the service (kitchen), gets the result, and brings it back.
Demo: Call OpenAI API with Postman. Send a prompt. See JSON response with the AI's answer.
Key concepts: Keys (your reservation), endpoints (which kitchen section), headers (special instructions), request/response.
Cost model: You pay per token used — so a long response costs more than a short one.
Exercise: Sign up for OpenAI API, get a key, call the API once, and see the response. (Cost: ~$0.01 for the whole exercise.)