---
title: "GET /cas/{hash}"
method: GET
path: "/cas/{hash}"
tags: ["Content Addressed Storage"]
---

# GET /cas/{hash}

`GET /cas/{hash}`

## Path parameters

- `hash` string, required

## Query parameters

- `max-size` string, required

## Response `200`

Success

## Other responses

- `400` — Bad Request * `content_exceeds_maximum_allowed_size` - Content exceeds maximum allowed size * `content_not_a_file` - Content not a file * `content_hash_invalid` - Content hash is invalid
- `401` — Unauthorized
- `404` — Not Found
- `500` — Server Error

---

[API](https://skmtc.net/decentralized-identity/apis/sidetree-rest-api.md) · [All operations](https://skmtc.net/decentralized-identity/apis/sidetree-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/decentralized-identity/sidetree-rest-api/revisions/9a32549ab92a/schema)
