---
title: "Upload file"
method: POST
path: "/api/v1/app/taskapi/upload"
tags: ["taskapi"]
---

# Upload file

`POST /api/v1/app/taskapi/upload`

Upload a file for task processing. Supports various file formats including zip, json, txt, etc.
The uploaded file will be stored securely and can be referenced in task creation.

## Response `200`

File uploaded successfully

- object
  - `data` object
    - `fileUrl` string
    - `filename` string
    - `size` integer
  - `message` string
  - `status` integer

## Other responses

- `400` — Invalid file or upload parameters
- `500` — Internal server error

---

[API](https://skmtc.dev/tencentblueking/apis/ai-infra-guard-api.md) · [All operations](https://skmtc.dev/tencentblueking/apis/ai-infra-guard-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tencentblueking/ai-infra-guard-api/revisions/a9eb1bec03b3/schema)
