HTTP/REST and GraphQL

Status: Preview
Default port: 8080
Compared against: None (SynergyDB's own APIs)

Scores are from main at a3232c9 (2026-11-30) unless noted. Full means a deep multi-phase differential suite matches the reference and real applications run on the wire; Preview means the suites are strong but app coverage, a local reference or a known gap is still missing. See How a wire is proven.

What was measured

Unit and integration tests only. No differential suite.

The same port serves /health, /livez, /readyz, /metrics and the OpenAI-compatible POST /v1/embeddings. The API is described in docs/openapi.yaml.

(source: README.md, Wire scorecard)

Connect

curl http://localhost:8080/health

Accounts: the superuser is postgres on a new install. Create users with CREATE USER ... PASSWORD over the PostgreSQL wire. How each wire authenticates, and which wires are open by default, is in Security.

Known gaps

  • Not verified: no external client or application test is recorded for the REST and GraphQL endpoints. Treat them as preview.
  • /metrics and /api/v1/status answer loopback callers only unless SYNERGYDB_METRICS_TOKEN is set (docs/status/2026-11-29-open-wires-fail-closed.md).

(source: README.md, Known gaps, unless another file is named)

Re-run the proof

There is no differential suite for this wire yet.

Proof files

  • docs/openapi.yaml
  • docs/EMBEDDINGS.md