---
title: "Bulk upsert bundled files for a skill"
method: POST
path: "/api/skills/{id}/files"
tags: ["Skills"]
---

# Bulk upsert bundled files for a skill

`POST /api/skills/{id}/files`

## Path parameters

- `id` string, required

## Request body

- object
  - `files` object[], required
    - `content` string, required
    - `mimeType` string
    - `isBinary` boolean
    - `size` integer
    - `path` string, required

## Response `200`

Skill files 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)
