A structured way for software to talk to other software. In AI, this usually means sending a request (your prompt) to a provider's server and getting a response (the model's output) back. REST APIs over HTTPS are the standard.
Why it matters
Every AI provider — Anthropic, Google, Mistral — exposes their models through APIs. If you're building anything with AI beyond a chat window, you're using an API.