Machine-readable surfaces
DIG is built to be driven by agents and tools, not just read by humans. Every contract has a stable, documented, machine-readable form so you can integrate without scraping prose.
At the docs site root
| Surface | What it is |
|---|---|
/openrpc.json | OpenRPC 1.2.6 document for the dig JSON-RPC read interface — the network profile (rpc.dig.net): methods, request/response JSON Schemas (incl. the chunk object with chunk_lens and no decoy field), and catalogued error responses (incl. -32004). Generated from the same source as Protocol · The dig RPC. |
/openrpc-node.json | OpenRPC 1.2.6 document for the node profile — the local dig-node / in-process DIG Browser node: dig.getContent plus the node-only dig.getAnchoredRoot / dig.stage / cache.*. Gate on dig.methods. |
/error-codes.json | The cross-surface error catalog: dig RPC -32xxx codes, dig-store CLI exit codes, DIGHUb codes, and dig-loader codes, as [{surface, code, http_or_exit, description}]. |
/llms.txt | A link-rich markdown map of the docs (llms.txt convention). |
/knowledge-graph.json | Entities (concepts + docs) and typed edges (defines, part-of, requires, see-also). |
/sitemap.xml | Every public route. |
/robots.txt | Indexing policy (public docs — indexing invited). |
Every doc page also carries schema.org JSON-LD (TechArticle / DefinedTerm), and the site emits an Organization + WebSite @graph with a SearchAction and Dataset pointers to /openrpc.json and /error-codes.json.