mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-27 07:00:38 +08:00
docs: cut version 1.9.0 (#12681)
* version-1.9.0-docs * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
@ -0,0 +1,14 @@
|
||||
curl -X POST \
|
||||
"$LANGFLOW_SERVER_URL/api/v2/workflows" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "x-api-key: $LANGFLOW_API_KEY" \
|
||||
-d '{
|
||||
"flow_id": "flow_67ccd2be17f0819081ff3bb2cf6508e60bb6a6b452d3795b",
|
||||
"background": true,
|
||||
"stream": false,
|
||||
"inputs": {
|
||||
"ChatInput-abc.input_type": "chat",
|
||||
"ChatInput-abc.input_value": "Process this in the background",
|
||||
"ChatInput-abc.session_id": "session-456"
|
||||
}
|
||||
}'
|
||||
@ -0,0 +1,7 @@
|
||||
curl -X POST \
|
||||
"$LANGFLOW_SERVER_URL/api/v2/workflows/stop" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "x-api-key: $LANGFLOW_API_KEY" \
|
||||
-d '{
|
||||
"job_id": "job_id_1234567890"
|
||||
}'
|
||||
@ -0,0 +1,4 @@
|
||||
curl -X GET \
|
||||
"$LANGFLOW_SERVER_URL/api/v2/workflows?job_id=job_id_1234567890" \
|
||||
-H "accept: application/json" \
|
||||
-H "x-api-key: $LANGFLOW_API_KEY"
|
||||
@ -0,0 +1,13 @@
|
||||
curl -X POST \
|
||||
"$LANGFLOW_SERVER_URL/api/v2/workflows" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "x-api-key: $LANGFLOW_API_KEY" \
|
||||
-d '{
|
||||
"flow_id": "flow_67ccd2be17f0819081ff3bb2cf6508e60bb6a6b452d3795b",
|
||||
"background": false,
|
||||
"inputs": {
|
||||
"ChatInput-abc.input_type": "chat",
|
||||
"ChatInput-abc.input_value": "what is 2+2",
|
||||
"ChatInput-abc.session_id": "session-123"
|
||||
}
|
||||
}'
|
||||
Reference in New Issue
Block a user