---
title: "Upsert a bundled skill file"
method: PUT
path: "/api/skills/{id}/files/{path}"
tags: ["Skills"]
---

# Upsert a bundled skill file

`PUT /api/skills/{id}/files/{path}`

## Path parameters

- `id` string, required
- `path` string, required

## Request body

- object
  - `content` string, required
  - `mimeType` string
  - `isBinary` boolean
  - `size` integer

## Response `200`

Skill file upserted

## Other responses

- `400` — Validation error
- `404` — Skill not found

---

[API](https://skmtc.dev/desplega-ai/apis/agent-swarm-api.md) · [All operations](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/revisions/4f62e32be8ec?raw)
