---
title: "Get Library Image Raw"
method: GET
path: "/image-library/{image_id}/raw"
tags: ["Image Library"]
---

# Get Library Image Raw

`GET /image-library/{image_id}/raw`

## Request

- Base URL: `https://be.graph8.com/api/v1`
- URL: `https://be.graph8.com/api/v1/image-library/{image_id}/raw`
- Auth: HTTP bearer

The bytes of a legacy library image whose address is a `data:` URI. FREE.

Most images are hosted and have an ordinary `image_url`; this is for the older rows that carry the bytes inline and
are listed with a signed `raw` address instead. The KEY authorises the read: the organisation is the key's own and the
app's expiring signature is minted here for exactly (organisation, image), so an image of another organisation is a
404. 413 for an image over the size cap, 415 for data that is not an image, 503 when signing is not configured.

## Path parameters

- `image_id` string, required: Image id (UUID).

## Headers

- `Authorization` string, nullable
- `X-Target-Org-Id` string, nullable

## Response `200`

The image bytes

## Other responses

- `307`: The image now lives on one of graph8's own image hosts; follow the redirect
- `422`: Validation Error

---

[API](https://skmtc.dev/graph8/apis/graph8-developer-api.md) · [All operations](https://skmtc.dev/graph8/apis/graph8-developer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/graph8/apis/graph8-developer-api/revisions/89fc11143b70?raw)
