---
title: "File Stream Upload"
method: POST
path: "/api/v1/files/upload/stream"
tags: ["File Upload"]
---

# File Stream Upload

`POST /api/v1/files/upload/stream`

- Upload files using multipart/form-data format
- Supports both underscore and camelCase parameter naming
- Suitable for uploading local files directly
- Files will expire after 72 hours
- Current user quota is limited. Uploads will fail when quota is exhausted. Please save locally if persistent storage is needed

**Note:**
The file upload API base URL is`https://files-api.evolink.ai`

## Response `200`

File uploaded successfully

- FileUploadResponse
  - `success` boolean — Whether the request was successful
  - `code` integer — Response status code
  - `msg` string — Response message
  - `data` FileData
    - `file_id` string — Unique file identifier
    - `file_name` string — Stored file name
    - `original_name` string — Original file name
    - `file_size` integer — File size (bytes)
    - `mime_type` string — File MIME type
    - `upload_path` string — File storage path
    - `file_url` string, uri — File access URL
    - `download_url` string, uri — File download URL
    - `upload_time` string, date-time — Upload time (ISO 8601 format)
    - `expires_at` string, date-time — File expiration time (ISO 8601 format)

---

[API](https://skmtc.dev/evolink/apis/get-credits-usage-api.md) · [All operations](https://skmtc.dev/evolink/apis/get-credits-usage-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/evolink/get-credits-usage-api/revisions/88edb0ec881f/schema)
