Content
Resolve block DAG
Changed onResolves the complete block graph (DAG) for a root CID in a single query.
Returns all blocks reachable from the root CID, including their sizes and ordered child relationships. Uses a recursive SQL query internally for efficient batch resolution instead of per-block round-trips.
Only blocks with ready status are included. Blocks appearing in multiple paths are deduplicated.
See also: GET /block/meta/:cid (single block metadata)
get/api/dag/{cid}
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/dag/{cid}
- Auth: none declared
Path parameters
cidstring required
Root content identifier (CID) of the DAG to resolve. Example: bafybeieffnocaq7t4w4daagvydl32igft5oziyyaebqr6vx6rb3fwh2ab4
Response
DAG resolved successfully
Changes
- info
endpoint added
- info