API
An API is a documented contract that lets one system request actions or data from another in a structured way.
How it works
Define resources, auth, errors and versioning. Break contracts rarely. For multi-tenant APIs, scope every call. Agents and integrations inherit your API quality.
Example
A billing API accepts idempotent POSTs so retries do not double-charge.