---
title: "Get Swap History"
method: GET
path: "/files/{network}/swap/{cid}"
tags: ["Swaps"]
---

# Get Swap History

`GET /files/{network}/swap/{cid}`

`org:files:read`

## Path parameters

- `network` 'public' | 'private', required
- `cid` string, required — The original CID that is in the Gateway path

## Query parameters

- `domain` string, required — The domain of the gateway that has the Hot Swaps plugin installed

## Response `200`

OK

- object
  - `data` object[]
    - `mapped_cid` string — The current CID that is being pointed to from the original
    - `created_at` string — The date this CID was updated

---

[API](https://skmtc.net/pinata/apis/pinata-v3-api.md) · [All operations](https://skmtc.net/pinata/apis/pinata-v3-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pinata/pinata-v3-api/versions/734684efd9c4/schema)
