Documentation Index
Fetch the complete documentation index at: https://kleros-mintlify-changelog-2026-05-12-1778458371.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
title: “API Reference” description: “HTTP API reference for the Kleros IPFS gateway — upload and retrieve dispute templates, evidence, and policy documents”
Every Kleros integration that involves jurors needs off-chain content: dispute templates that tell jurors what question to answer, evidence files that parties submit, and policy documents that define ruling criteria. All of this content is stored on IPFS and referenced on-chain by its CID. The Kleros IPFS gateway atcdn.kleros.link is the recommended gateway for uploading and serving this content.
Base URL
Endpoints
Upload to IPFS
Upload dispute templates, evidence files, and policy documents
Fetch from IPFS
Retrieve content by IPFS CID hash
Common content types
| Content | Where it’s used | Schema |
|---|---|---|
| Dispute template JSON | DisputeTemplateRegistry.setDisputeTemplate() | Dispute Templates |
| Evidence file JSON | EvidenceModule — submitted by parties during a dispute | Evidence Format |
| Policy document JSON | policyURI field in dispute templates | Policy Format |
| Item attachment | Curate V2 item metadata | Column-based JSON schema |
Uploading content — SDK
The@kleros/kleros-sdk wraps the gateway upload in a typed helper: