diff --git a/404.html b/404.html index ed11d786ba..28023e73d6 100644 --- a/404.html +++ b/404.html @@ -21,7 +21,7 @@ - +
diff --git a/agents-overview.html b/agents-overview.html index 97c6d6df3d..8014b923e4 100644 --- a/agents-overview.html +++ b/agents-overview.html @@ -21,7 +21,7 @@ - + diff --git a/agents-tool-calling-agent-component.html b/agents-tool-calling-agent-component.html index 1bcb2df934..b2f042b693 100644 --- a/agents-tool-calling-agent-component.html +++ b/agents-tool-calling-agent-component.html @@ -21,7 +21,7 @@ - + diff --git a/api-reference-api-examples.html b/api-reference-api-examples.html index 57264918d1..90d66192ef 100644 --- a/api-reference-api-examples.html +++ b/api-reference-api-examples.html @@ -21,7 +21,7 @@ - + @@ -158,6 +158,7 @@ You can upload a file to Langflow one time, and use it with multiple flows.v2, files are tracked in the Langflow database, and can be added or deleted in bulk, instead of one by one./v2 endpoint contain more descriptive metadata.v2 endpoints require authentication by an API key or JWT./v2/files endpoint does not support sending image files to flows through the API. To send image files to your flows through the API, follow the procedure in Upload image files (v1).Use the /files endpoint to add or delete files between your local machine and Langflow.
@) in the request to instruct curl
The file is uploaded in the format USER_ID/FILE_ID.FILE_EXTENSION, and the API returns metadata about the uploaded file:
_10{_10 "id":"d44dc2e1-9ae9-4cf6-9114-8d34a6126c94",_10 "name":"engine_manual",_10 "path":"07e5b864-e367-4f52-b647-a48035ae7e5e/d44dc2e1-9ae9-4cf6-9114-8d34a6126c94.pdf",_10 "size":851160,_10 "provider":null_10}
The /v2/files endpoint does not support sending image files to flows.
+To send image files to your flows through the API, follow the procedure in Upload image files (v1).
Send a file to your flow for analysis using the File component and the API. Your flow must contain a File component to receive the file.
The default file limit is 100 MB. To configure this value, change the LANGFLOW_MAX_FILE_SIZE_UPLOAD environment variable.
For more information, see Supported environment variables.
/api/v2/files endpoint.
+/api/v2/files endpoint.
Replace FILE_NAME with the uploaded file name.
This is the same step described in Upload file (v2), but since you need the filename to upload to your flow, it is included here.