---
title: "Fetch content from IPFS"
method: GET
path: "/ipfs/{hash}"
---

# Fetch content from IPFS

`GET /ipfs/{hash}`

## Request

- Base URL: `https://cdn.kleros.link`
- URL: `https://cdn.kleros.link/ipfs/{hash}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/kleros/apis/kleros-ipfs-gateway/docs/ipfs/:hash/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve a file or directory from IPFS by its CID hash. Returns the raw content. For JSON files (dispute templates, evidence, policy docs) the response body is the parsed JSON.

## Path parameters

- `hash` string, required

## Response `200`

Content retrieved successfully

- object: For JSON files: the parsed content. Schema varies by content type (dispute template, evidence, policy doc).

## Other responses

- `404`: Content not found or not yet propagated to this gateway

---

[API](https://skmtc.dev/kleros/apis/kleros-ipfs-gateway.md) - [All operations](https://skmtc.dev/kleros/apis/kleros-ipfs-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/kleros/apis/kleros-ipfs-gateway/revisions/5cd8dce08efe?raw)
