APICarefulCopy MarkdownOpenKeep v1 responses byte-compatible; put new response rules in v2.Page before enrichment; query count must stay constant as result size grows.Add a unique tie-breaker to every paginated sort.Include every response-changing input in the cache key.Map sort names to fixed SQL expressions; never interpolate request values into SQL.Regenerate the API docs and parity ledger when a contract changes.Update parity goldens deliberately; a changed fixture can hide a regression.Use the transaction pooler on port 6543; direct database connections exhaust the pool.APIThe stable legacy API, canonical v2 resources, OpenAPI contracts, and generated client reference.Legacy APIThe stable compatibility contract served under /api for existing applications and integrations.