---
title: "Create an authored skill from editable files"
method: POST
path: "/v1/authored-skills/files"
tags: ["authored-skills"]
---

# Create an authored skill from editable files

`POST /v1/authored-skills/files`

## Request

- Base URL: `https://api.patricia.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.patricia.app/v1/authored-skills/files`
- Auth: HTTP bearer

Create a tenant-authored skill from the complete manifest and file set held by the editor. The server stores the first version as 1.0.0 and refuses an existing tenant slug.

## Headers

- `X-Tenant-Id` string, nullable

## Request body

- CreateAuthoredSkillFilesRequest: A complete manifest and text file set for a new authored skill.
  - `manifest_yaml` string, required
  - `files` AuthoredBundleFilePayload[]
    - `path` string, required
    - `content` string, required

## Response `201`

Successful Response

- AuthorResponse: The outcome of authoring a version (manual / ZIP / a chosen GitHub candidate).
  - `skill_id` string, uuid, required
  - `manifest_version_id` string, uuid, required
  - `slug` string, required
  - `semver` string, required
  - `title` string, required
  - `status_code` string, required
  - `created` boolean, required

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden. Inspect response body `code` for the specific reason (for example: PERMISSION_DENIED, EMAIL_NOT_VERIFIED, TENANT_ACCESS_REQUIRED, ROLE_UNRESOLVED)
- `409`: Conflict
- `422`: Validation error

---

[API](https://skmtc.dev/patricia/apis/patricia-api.md) · [All operations](https://skmtc.dev/patricia/apis/patricia-api/llms.txt) · [OpenAPI document](https://skmtc.dev/patricia/apis/patricia-api/revisions/864787a3fcf0?raw)
