---
title: "Upload File"
method: POST
path: "/api/v1/files/upload/{flow_id}"
tags: ["Files"]
---

# Upload File

`POST /api/v1/files/upload/{flow_id}`

## Path parameters

- `flow_id` string, uuid, required

## Response `201`

Successful Response

- LangflowApiV1SchemasUploadFileResponse — Upload file response schema.
  - `file_path` string, required
  - `flowId` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/langflow-ai/apis/langflow.md) · [All operations](https://skmtc.net/langflow-ai/apis/langflow/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/langflow-ai/langflow/revisions/22962dc5e81b/schema)
