We do not run a public API and we do not issue keys to the general public. Interfaces are delivered privately inside a client engagement, scoped to that client’s systems and data. That is a deliberate limit: a public endpoint would need a support rota, an abuse process and a data policy that we are not staffed to run honestly.
Inside an engagement the interface is treated as a contract with a named consumer. That changes what gets written down. The schema, the error states, the retry semantics, the latency shape and the versioning policy are agreed before the first call is made, and the document is machine-readable as well as prose.
Failure is the specification
- The input was invalid, and which field was wrong
- The request was understood but the corpus had no answer — an abstention, not an error
- The system was unavailable, and whether a retry is safe
- The request exceeded a limit, and when to try again
- The response was partial, and which part is missing
The failure payload gets the same care as the success payload, and usually more. A caller needs to distinguish those five cases without parsing prose, because the correct behaviour differs: fix the input, show the user a gap, back off, queue, or degrade. An API that returns “error” for all five forces the consumer to guess.
| Contract element | What is agreed |
|---|---|
| Authentication | The client’s identity provider, or a scoped key held in a secret store |
| Latency | Typical and tail response, stated as a shape rather than a promise |
| Rate limits | Per consumer, with a clear signal when the limit is reached |
| Versioning | Announced before needed, both versions run during migration |
| Deprecation | A date, a migration note and a named contact |
Logging is useful and is also a data-handling decision. We agree what is kept — full payload, a hash, or metadata only — and for how long, before the first request. Logging the full text of a client document into a system nobody reviewed is how a good security design is undone by a debugging convenience.
We ask for the list of consumers, a realistic estimate of peak traffic, and your authentication model before designing anything. Consumers that nobody listed are the ones that break on the day of a version change.