---
title: "Download one file of an artifact [read]"
method: GET
path: "/artifacts/{id}/files/{path}"
tags: ["artifacts"]
---

# Download one file of an artifact \[read\]

`GET /artifacts/{id}/files/{path}`

## Request

- Base URL: `https://api.agentsky.dev/v1`
- URL: `https://api.agentsky.dev/v1/artifacts/{id}/files/{path}`
- Auth: HTTP bearer

The current revision's file, or `version=N`. Always sent as a download.

## Path parameters

- `id` string, required
- `path` string, required

## Query parameters

- `version` integer

## Response `200`

The bytes

## Other responses

- `default`: Error — { error: { code, message } }

## Changes

- **2026-11-02** `e5e8f0229a99`: 1 info
  - added the optional property `error/request_id` to the response with the `default` status

[Operation history](https://skmtc.dev/agentsky/apis/agentsky-developer-api/changes/artifacts/:id/files/:path/get.md)

---

[API](https://skmtc.dev/agentsky/apis/agentsky-developer-api.md) - [All operations](https://skmtc.dev/agentsky/apis/agentsky-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agentsky/apis/agentsky-developer-api/revisions/0d435187cd55?raw)
