Memory cards
An API is a promise about errors and time
confidence: highupdated: 2026-11-25status: activeengineeringapicontract
Claim#
Inputs, outputs, status codes, idempotency and latency are part of the contract. A version change is a migration.
Test#
Write the contract before the handler. Test the error and timeout cases. Diff the schema.
Proof#
A consumer can code against the contract without reading the implementation.
Failure modes#
A 200 with an error body breaks the promise.