Skip to main content

Create Upload File

deprecated

This endpoint has been deprecated and may be removed in future versions of the API.

Upload a file for a specific flow (Deprecated).

This endpoint is deprecated and will be removed in a future version.

Path Parameters
flow_id uuid REQUIRED
Request Body REQUIRED
file binary REQUIRED
Responses
201

Successful Response

Schema OPTIONAL
flowId Flowid
file_path path
422

Validation Error

Schema OPTIONAL
detail object[] OPTIONAL
loc undefined[]
msg Message
type Error Type
create_upload_file_api_v1_upload__flow_id__post
POST /api/v1/upload/:flow_id
flow_id — path
Body
file
file
curl -L -X POST 'https://docs.langflow.org/api/v1/upload/:flow_id' \
-H 'Content-Type: multipart/form-data' \
-H 'Accept: application/json'
Search