---
title: "POST /files/"
method: POST
path: "/files/"
---

# POST /files/

`POST /files/`

## Response `200`

Response for status 200

- union
  - object
    - `type` 'audio', required
    - `name` string, required — نام فایل - این نام را به عنوان ورودی میتوانید در تولید محتوا استفاده کنید
    - `id` string, required
    - `duration` number, required
  - object
    - `type` 'image', required
    - `width` number, required
    - `height` number, required
    - `name` string, required — نام فایل - این نام را به عنوان ورودی میتوانید در تولید محتوا استفاده کنید
    - `id` string, required
    - `coverName` string, required
  - object
    - `type` 'video', required
    - `name` string, required — نام فایل - این نام را به عنوان ورودی میتوانید در تولید محتوا استفاده کنید
    - `id` string, required
    - `duration` number, required
    - `width` number, required
    - `height` number, required
    - `coverName` string, required

## Other responses

- `400` — Response for status 400
- `401` — Response for status 401
- `403` — Response for status 403
- `500` — Response for status 500

## Changes

- **2026-09-08** `2e066072b0aa` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/radinai/apis/api/changes/files/post.md)

---

[API](https://skmtc.dev/radinai/apis/api.md) · [All operations](https://skmtc.dev/radinai/apis/api/llms.txt) · [OpenAPI document](https://skmtc.dev/radinai/apis/api/revisions/4555b7f121b7?raw)
