---
title: "Read marketplace skill file"
method: GET
path: "/api/store/skills/{slug}/files/{path}"
tags: ["v2", "store", "public"]
---

# Read marketplace skill file

`GET /api/store/skills/{slug}/files/{path}`

## Request

- The document declares no server URL.
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/significant-gravitas/apis/autogpt-agent-server/docs/api/store/skills/:slug/files/:path/get.ts> (a function with typed inputs; its response is checked against the schema)

One file's text, for reading a package before installing it.

## Path parameters

- `slug` string, required: Slug of the skill listing
- `path` string, required: File's path relative to the skill folder

## Query parameters

- `version_id` string, nullable: Read this version instead of the live one. A pending submission is readable only by the creator who submitted it.

## Response `200`

Successful Response

## Other responses

- `404`: Skill, version or file not found
- `413`: File is too large to view
- `415`: File is not text
- `422`: Validation Error

## Changes

- **2026-09-15** `e78ea4d13921`: 1 info
  - endpoint added
- **2026-09-15** `926547c24ad4`: 1 breaking
  - api path removed without deprecation
- **2026-09-15** `46e56aee180f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/significant-gravitas/apis/autogpt-agent-server/changes/api/store/skills/:slug/files/:path/get.md)

---

[API](https://skmtc.dev/significant-gravitas/apis/autogpt-agent-server.md) - [All operations](https://skmtc.dev/significant-gravitas/apis/autogpt-agent-server/llms.txt) - [OpenAPI document](https://skmtc.dev/significant-gravitas/apis/autogpt-agent-server/revisions/ab4c69cd5329?raw)
