REST API (v2)
GET /schemas
List registered DTPR schema versions.
Start here when discovering which versions are available. Returns the same
versions[] array that schemas/index.json publishes.Summary
Enumerates every registered schema version and its stability status. Not version-scoped — no DTPR-Content-Hash header is set.
Request
GET https://api.dtpr.io/api/v2/schemas
No query parameters.
Response
HTTP/1.1 200 OK
Content-Type: application/json
{
"ok": true,
"versions": [
{
"id": "dtpr@2026-09-01-beta",
"status": "beta",
"created_at": "2026-08-26T00:00:00.000Z",
"content_hash": "sha256-…"
}
]
}
Errors
| Code | HTTP | Meaning |
|---|---|---|
upstream_error | 502 | Schema index read failed. Retry. |
internal_error | 500 | Unexpected server error. |
Example
curl -s https://api.dtpr.io/api/v2/schemas
GET /api/v2/schemas HTTP/1.1
Host: api.dtpr.io
See also
- MCP
list_schema_versions— the MCP equivalent. GET /schemas/:version/manifest— fetch one version's manifest.- Versions & releases