---
title: "Upload content to IPFS"
method: POST
path: "/add"
---

# Upload content to IPFS

`POST /add`

Upload a file to IPFS via the Kleros gateway. Returns the IPFS CID of the uploaded content. Use this to upload dispute templates, evidence files, policy documents, and Curate item attachments before referencing them on-chain.

## Response `200`

File uploaded and pinned successfully

- object
  - `cids` string[] — Array of IPFS CIDs for the uploaded content

## Other responses

- `400` — Bad request — missing or malformed file data
- `413` — File too large

---

[API](https://skmtc.net/kleros/apis/kleros-ipfs-gateway.md) · [All operations](https://skmtc.net/kleros/apis/kleros-ipfs-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kleros/kleros-ipfs-gateway/revisions/5cd8dce08efe/schema)
