---
title: "Upload a skill with an archive (tar.gz) — project-scoped."
method: POST
path: "/projects/{project_id}/skills/upload"
tags: ["Agents"]
---

# Upload a skill with an archive (tar.gz) — project-scoped.

`POST /projects/{project_id}/skills/upload`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/projects/{project_id}/skills/upload`
- Auth: HTTP bearer

## Path parameters

- `project_id` integer, required

## Request body `multipart/form-data`

- string

## Response `201`

- SkillDefinitionResponse
  - `content` string, required
  - `created_at` string, required
  - `description` string, nullable
  - `has_archive` boolean, required
  - `id` integer, required
  - `name` string, required
  - `project_id` integer, nullable
  - `slug` string, required
  - `updated_at` string, required

## Other responses

- `401`: Unauthorized

## Changes

- **2026-04-25** `774be20905f2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/projects/:project_id/skills/upload/post.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
