API definition

A defined way for software to ask another service for data or an action.

What it actually is under the hood

An API is usually an HTTP request with an authenticated key and structured input. Model APIs send text, files, or tool definitions and return structured model output.