---
title: Download an object
description: Returns the bytes of one object version as they are stored, with the same headers as an S3 GetObject: Content-Type, ETag, x-amz-version-id, and x-amz-meta-<key> for its metadata.
doc_version: 0.1.0-preview
last_updated: 2026-09-14
---

# Download an object

`GET /v1/workspaces/{workspaceId}/buckets/{bucketId}/objects/{keyToken}/content`

Returns the bytes of one object version as they are stored, with the same headers as an S3 GetObject: Content-Type, ETag, x-amz-version-id, and x-amz-meta-<key> for its metadata. One byte range returns 206. A met If-None-Match returns 304 with no body. Get object metadata returns the same fields as JSON. Role: viewer or higher.

## Authentication

Send `Authorization: Bearer <GRAPHON_API_KEY>`. Read the key from the
GRAPHON_API_KEY environment variable. Never print it.

## Path parameters

- `workspaceId` (string) — The workspace id.
- `bucketId` (string) — The bucket id.
- `keyToken` (string) — The object key, base64url-encoded without padding.

## Query parameters

- `versionId` (string (optional)) — The version to read. Leave it out for the live version.

## Headers

- `range` (string (optional)) — One byte range, such as bytes=0-1023. The response is then 206.
- `if-match` (string (optional)) — Read only when the live etag matches.
- `if-none-match` (string (optional)) — Return 304 when the etag matches.
- `if-modified-since` (string (optional)) — Return 304 when the object did not change since then.
- `if-unmodified-since` (string (optional)) — Read only when the object did not change since then.

## Example request

```bash
curl \
  --url "https://storage.graphon.sh/v1/workspaces/wspq7ws2np5l8z4/buckets/bktA1b2C3d4E5/objects/aW5jaWRlbnRzL2NoZWNrb3V0LXRpbWVvdXQuanNvbg/content" \
  --header "Authorization: Bearer $GRAPHON_API_KEY" \
  --output ./checkout-timeout.json
```

## CLI

```bash
graphon objects get support-tickets incidents/checkout-timeout.json --output checkout-timeout.json
```

## Sitemap

See the full [sitemap](/sitemap.md) for all pages.
