---
title: "Fetch a file inside a cached artifact"
method: GET
path: "/ui/api/browse/{ecosystem}/{name}/{version}/file/{filepath}"
tags: ["browse"]
---

# Fetch a file inside a cached artifact

`GET /ui/api/browse/{ecosystem}/{name}/{version}/file/{filepath}`

Streams a single file from the cached artifact. The file path may contain slashes.

## Path parameters

- `ecosystem` string, required
- `name` string, required
- `version` string, required
- `filepath` string, required

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.dev/git-pkgs/apis/git-pkgs-proxy-api.md) · [All operations](https://skmtc.dev/git-pkgs/apis/git-pkgs-proxy-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/git-pkgs/git-pkgs-proxy-api/revisions/bef33406b6dc/schema)
