---
title: Create a download session
description: Returns a signed GET.
doc_version: 0.1.0-preview
last_updated: 2026-09-14
---

# Create a download session

`POST /v1/workspaces/{workspaceId}/buckets/{bucketId}/download-sessions`

Returns a signed GET. Bytes come from the store.

## Authentication

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

## Path parameters

- `workspaceId` (string) — The workspace id.
- `bucketId` (string) — The storage bucket id.

## Request body

- `key` (string) — Object key.
- `versionId` (string (optional)) — Optional version id.

## Example request

```bash
curl \
  --url "https://api.beta.graphon.ai/v1/workspaces/wspQ7WsH2Np5L/buckets/bktA1b2C3d4E5/download-sessions" \
  --header "Authorization: Bearer $SPARK_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{"key":"notes/readme.md"}'
```

## Sitemap

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