GET /v1/spec
The QD platform exposes its own metadata — corpus stats, available tests, filter definitions, and tool schemas — through a pair of endpoints.
Endpoints
Section titled “Endpoints”| Method | Path | Format |
|---|---|---|
GET | /v1/spec | JSON |
GET | /v1/spec.md | Markdown |
Request
Section titled “Request”No path parameters, query parameters, headers, or body for either endpoint.
Response
Section titled “Response”Placeholder — JSON shape and Markdown structure to be filled in by content
agents based on qd-platform/src/spec/data.ts and
qd-platform/src/spec/markdown.ts.
Example
Section titled “Example”curl https://api.qd.org/v1/speccurl https://api.qd.org/v1/spec.mdconst spec = await fetch('https://api.qd.org/v1/spec').then((r) => r.json());