---
title: "Create Asset Endpoint"
method: POST
path: "/assets"
tags: ["assets"]
---

# Create Asset Endpoint

`POST /assets`

## Request

- Base URL: `https://api.framesail.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.framesail.com/assets`
- Auth: HTTP bearer

## Request body

- CreateAssetBody
  - `name` string, required
  - `asset_type` string, required
  - `channel_id` string, required
  - `project_id` string, required
  - `description` string, nullable

## Response `201`

Successful Response

- AssetResponse: Public asset shape returned to the frontend.
  - `id` string, required
  - `channel_id` string, required
  - `project_id` string, nullable
  - `parent_style_id` string, nullable
  - `asset_type` string, required
  - `name` string, required
  - `ai_output` object, nullable
  - `additional_properties` object
  - `file_path` string, nullable
  - `created_at` string, nullable
  - `updated_at` string, nullable

## Other responses

- `422`: Validation Error

---

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