Skip to main content
API referenceBlocks

Runtime Versions

Last updated

GET
/api/v1/runtime

Fetch the spec-version transition timeline — the earliest known block at each distinct runtime spec_version, ascending by block_number. No query params: a single aggregate over the whole retained blocks window. spec_version is best-effort/nullable and wasn't tracked before 2026-06-25, so coverage_from_block/coverage_from_at bound what this endpoint can see. Computed live from the first-party blocks D1 tier (#4316/3.1).

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/runtime"
{  "data": {    "coverage_from_at": "2026-06-01T00:00:00.000Z",    "coverage_from_block": 5000000,    "current_spec_version": 1,    "schema_version": 1,    "transition_count": 1,    "transitions": [      {        "block_number": 5000000,        "spec_version": 1      }    ]  },  "meta": {    "artifact_path": "example",    "cache": "short",    "contract_version": "2026-06-29.1",    "generated_at": "2026-06-01T00:00:00.000Z",    "pagination": {      "collection": "example",      "cursor": 1,      "limit": 1,      "next_cursor": 1,      "order": "asc",      "returned": 1,      "sort": "example",      "total": 1    },    "published_at": "2026-06-01T00:00:00.000Z",    "source": "live-cron-prober",    "stale_contract": {      "built_under": "example",      "live": "example"    }  },  "ok": true,  "schema_version": 1}
Empty
{  "data": null,  "error": {    "code": "string",    "message": "string"  },  "meta": {    "artifact_path": "string",    "cache": "short",    "contract_version": "string",    "generated_at": "string",    "pagination": {      "collection": "string",      "cursor": 0,      "limit": 0,      "next_cursor": 0,      "order": "asc",      "returned": 0,      "sort": "string",      "total": 0    },    "published_at": "2019-08-24T14:15:22Z",    "source": "string",    "stale_contract": {      "built_under": "string",      "live": "string"    }  },  "ok": false,  "schema_version": 1}
{  "data": null,  "error": {    "code": "string",    "message": "string"  },  "meta": {    "artifact_path": "string",    "cache": "short",    "contract_version": "string",    "generated_at": "string",    "pagination": {      "collection": "string",      "cursor": 0,      "limit": 0,      "next_cursor": 0,      "order": "asc",      "returned": 0,      "sort": "string",      "total": 0    },    "published_at": "2019-08-24T14:15:22Z",    "source": "string",    "stale_contract": {      "built_under": "string",      "live": "string"    }  },  "ok": false,  "schema_version": 1}
{  "data": null,  "error": {    "code": "string",    "message": "string"  },  "meta": {    "artifact_path": "string",    "cache": "short",    "contract_version": "string",    "generated_at": "string",    "pagination": {      "collection": "string",      "cursor": 0,      "limit": 0,      "next_cursor": 0,      "order": "asc",      "returned": 0,      "sort": "string",      "total": 0    },    "published_at": "2019-08-24T14:15:22Z",    "source": "string",    "stale_contract": {      "built_under": "string",      "live": "string"    }  },  "ok": false,  "schema_version": 1}
{  "data": null,  "error": {    "code": "string",    "message": "string"  },  "meta": {    "artifact_path": "string",    "cache": "short",    "contract_version": "string",    "generated_at": "string",    "pagination": {      "collection": "string",      "cursor": 0,      "limit": 0,      "next_cursor": 0,      "order": "asc",      "returned": 0,      "sort": "string",      "total": 0    },    "published_at": "2019-08-24T14:15:22Z",    "source": "string",    "stale_contract": {      "built_under": "string",      "live": "string"    }  },  "ok": false,  "schema_version": 1}