---
title: "Write Skill File App"
method: PUT
path: "/api/skills/{slug}/files/{file_path}"
tags: ["skills"]
---

# Write Skill File App

`PUT /api/skills/{slug}/files/{file_path}`

## Request

- Base URL: `https://api.tintin-x.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tintin-x.com/api/skills/{slug}/files/{file_path}`
- Auth: HTTP bearer

Write (create or update) a skill file (owner only, not for built-in/official).

## Path parameters

- `slug` string, required
- `file_path` string, required

## Request body

- WriteSkillFileRequest
  - `content` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tintin-x/apis/tintin-api.md) · [All operations](https://skmtc.dev/tintin-x/apis/tintin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tintin-x/apis/tintin-api/revisions/8839a8d0a66c?raw)
