---
title: "Lists skill files."
method: GET
path: "/agents/skills/{skillId}/files"
tags: ["agentSkills"]
---

# Lists skill files.

`GET /agents/skills/{skillId}/files`

Returns the bundled files for a skill after checking read access directly or through the optional linked agent.

<Check title="Required Permissions" icon="key">Any authenticated user.</Check>

## Path parameters

- `skillId` string, uuid, required

## Query parameters

- `agentId` string, uuid

## Response `200`

OK

- SkillFileResponseModel[]
  - `relativePath` string, nullable — The path of the file relative to the skill root (for example "scripts/sync.py").
  - `sizeBytes` integer — The file size in bytes.

## Other responses

- `401` — Unauthorized
- `404` — Not Found

## Changes

- **2026-09-20** `5332322ffca3` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/awork-io/apis/api-v1-reference/changes/agents/skills/:skillId/files/get.md)

---

[API](https://skmtc.dev/awork-io/apis/api-v1-reference.md) · [All operations](https://skmtc.dev/awork-io/apis/api-v1-reference/llms.txt) · [OpenAPI document](https://skmtc.dev/awork-io/apis/api-v1-reference/revisions/eadefd26df12?raw)
