Skip to main content

Upload File

Upload flows from a file.

Query Parameters
folder_id Folder Id
Request Body REQUIRED
file binary REQUIRED
Responses
201

Successful Response

Schema OPTIONAL
object[]
name Name
description Description OPTIONAL
icon Icon OPTIONAL
icon_bg_color Icon Bg Color OPTIONAL
gradient Gradient OPTIONAL
data Data OPTIONAL
is_component Is Component OPTIONAL
updated_at Updated At OPTIONAL
webhook Webhook OPTIONAL

Can be used on the webhook endpoint

endpoint_name Endpoint Name OPTIONAL
tags Tags OPTIONAL
locked Locked OPTIONAL
id uuid
user_id User Id
folder_id Folder Id
422

Validation Error

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