---
title: "Download harness files"
method: GET
path: "/repos/{owner}/{repo}/archive"
---

# Download harness files

`GET /repos/{owner}/{repo}/archive`

## Request

- Base URL: `https://superskill.sh/api`
- URL: `https://superskill.sh/api/repos/{owner}/{repo}/archive`
- Auth: none declared

## Path parameters

- `owner` string, required
- `repo` string, required

## Query parameters

- `version` string

## Response `200`

Archive payload

- Archive
  - `owner` string, required
  - `repo` string, required
  - `version` string, required
  - `snapshot` boolean, required
  - `files` object[], required
    - `path` string, required
    - `truncated` boolean, required
    - `content` string, required

## Other responses

- `401`: Authorization required
- `402`: Payment required for a paid harness archive
- `403`: Authorization was provided but is not allowed for this action
- `404`: Resource not found
- `409`: The requested item cannot be pulled as files: either link-only directory or hosted execution not available.

---

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