---
title: "Download profile archive"
method: GET
path: "/profiles/{id_or_name}/download"
tags: ["Profiles"]
---

# Download profile archive

`GET /profiles/{id_or_name}/download`

Downloads the profile in its stored format by default. Current profiles are returned as
zstd-compressed tar archives, while legacy profiles remain JSON. Set `format=tar` to
decompress current profiles during download; legacy profiles remain JSON.

## Path parameters

- `id_or_name` string, required

## Query parameters

- `format` 'tar.zst' | 'tar'

## Response `200`

Profile data in the requested format, or JSON for a legacy profile.

## Other responses

- `202` — Profile exists but has not yet captured any state. Use it in a browser session first to capture state.
- `401` — Unauthorized – missing or invalid authorization token
- `403` — Forbidden – insufficient permissions or plan
- `404` — Resource not found
- `500` — Internal Server Error

---

[API](https://skmtc.net/kernel/apis/kernel-api.md) · [All operations](https://skmtc.net/kernel/apis/kernel-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kernel/kernel-api/versions/9e8ce9fcf5e1/schema)
