---
title: "Read media blob"
method: GET
path: "/api/experimental/media/{hash}"
tags: ["experimental"]
---

# Read media blob

`GET /api/experimental/media/{hash}`

## Request

- Base URL: `https://opencode.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://opencode.ai/api/experimental/media/{hash}`
- Auth: none required

Read a content-addressed media blob by SHA-256 hash with immutable Cache-Control, ETag, and 304 Not Modified support. Only blobs a stored message or inbox item still references are served. Experimental: may change without compatibility guarantees.

## Path parameters

- `hash` string, required

## Response `200`

Success

## Other responses

- `400`: InvalidRequestError
- `401`: UnauthorizedError
- `404`: FileNotFoundError

## Changes

> 50 revisions in range; 1 not diffed.

- **2026-10-26** `5158d04e8922`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kaaass/apis/opencode/changes/api/experimental/media/:hash/get.md)

---

[API](https://skmtc.dev/kaaass/apis/opencode.md) - [All operations](https://skmtc.dev/kaaass/apis/opencode/llms.txt) - [OpenAPI document](https://skmtc.dev/kaaass/apis/opencode/revisions/4e083d954707?raw)
