---
title: "Read one file of an installed skill"
method: GET
path: "/sandbox-configs/{id}/skills/{skillId}/files/content"
tags: ["SandboxConfig"]
---

# Read one file of an installed skill

`GET /sandbox-configs/{id}/skills/{skillId}/files/content`

## Request

- Base URL: `/api/v1` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/v1/sandbox-configs/{id}/skills/{skillId}/files/content`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `X-API-Key`

Read one skill file as UTF-8, a small base64 image, or binary.

## Path parameters

- `id` string, required
- `skillId` string, required

## Query parameters

- `path` string, required

## Response `200`

Skill file

- object
  - `data` GithubComTencentWeKnoraInternalApplicationServiceSkillFileContent
    - `binary` boolean
    - `content` string
    - `encoding` string
    - `media_type` string
    - `path` string
    - `size` integer
    - `truncated` boolean
  - `success` boolean

## Other responses

- `400`: Invalid path
- `401`: Unauthorized
- `404`: Skill or file not found

## Changes

- **2026-08-25** `ae1f6a542698`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/tencentblueking/apis/weknora-api/changes/sandbox-configs/:id/skills/:skillId/files/content/get.md)

---

[API](https://skmtc.dev/tencentblueking/apis/weknora-api.md) - [All operations](https://skmtc.dev/tencentblueking/apis/weknora-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tencentblueking/apis/weknora-api/revisions/685d1f9fce30?raw)
