Breaking changes should be a decision
A contract says which endpoints an audience sees, which fields they get, and what happens when that promise changes. Elva watches every commit against it and stops the surprise before it ships.
One API, four very different promises
An internal service can absorb a schema change on Tuesday. A partner cannot. Elva starts from who the consumer is, then applies the governance that audience deserves, instead of one policy for everyone.
Decide field by field what leaves the building
Include an endpoint but hide its internal fields. Redact PII for partners while your own services keep it. The gateway enforces exactly this, so a contract is not documentation, it is behavior.
Block, warn, or notify. You pick per contract
Internal contracts warn and move on. Partner and agent contracts block the publish until a human approves. The rule lives with the contract, so nobody has to remember which API is delicate.
Approve once, ship five artifacts
A contract is the single definition behind your spec, docs, SDK, Postman collection, and MCP server. Approve the change once and every artifact regenerates in sync, with a changelog your consumers can read.
Contracts are what turn a catalog into governance
Other tools document APIs or proxy them. Elva connects the catalog, the tests, and the gateway to one promise per audience, and enforces it.
FAQ
What is an API contract in Elva?
A named, versioned view of your API for one consumer: which endpoints they see, which fields exist for them, how they authenticate, and what happens when something they depend on changes. Contracts are machine-checked on every commit.
How does Elva detect breaking changes?
Every commit regenerates the spec from code and diffs it against each contract touching the affected endpoints. Changes are classified as breaking, compatible, or cosmetic, and each contract carries its own policy: block publish, warn, or notify.
Which audiences can a contract target?
Internal, partner, public, and AI agent. Each audience gets its own visibility and guarantees over the same underlying endpoints, and MCP tools are generated from the agent contract.
Ship changes without the apology email
Your first contract takes about five minutes. It watches every commit after that.
