---
title: "Download skill to sandbox"
method: POST
path: "/agent_skills/{id}/download_to_sandbox"
tags: ["agent_skills"]
---

# Download skill to sandbox

`POST /agent_skills/{id}/download_to_sandbox`

Download all files from an agent skill to a sandbox environment. Files are placed at /skills/{skill_name}/.

## Path parameters

- `id` string, required

## Request body

- HandlerDownloadSkillToSandboxReq
  - `sandbox_id` string, required — Target sandbox ID

## Response `200`

OK

- object
  - `code` integer
  - `error` string
  - `msg` string
  - `data` HandlerDownloadSkillToSandboxResp
    - `description` string — Skill description
    - `dir_path` string — Full path to the skill directory in sandbox
    - `name` string — Skill name
    - `success` boolean — Whether the download was successful

## Other responses

- `409` — Skill directory already exists in sandbox

## Changes

- **2026-01-26** `021b1f0bd809` — 1 info
  - endpoint added
- **2025-11-12** `a1c1bcb0e2ee` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/memodb-io/apis/acontext-api/changes/agent_skills/:id/download_to_sandbox/post.md)

---

[API](https://skmtc.dev/memodb-io/apis/acontext-api.md) · [All operations](https://skmtc.dev/memodb-io/apis/acontext-api/llms.txt) · [OpenAPI document](https://skmtc.dev/memodb-io/apis/acontext-api/revisions/c8775333b1ed?raw)
