Version: 1.11.x
API Examples (Local Test Harness)
Run all API example suites against a local Langflow server:
make api_examples_local
Run one test suite:
make api_examples_local suites=python
make api_examples_local suites=javascript
make api_examples_local suites=curl
The following examples are not executed in this harness:
api-build/build-flow-and-stream-events-2.pyapi-build/build-flow-and-stream-events-3.pyapi-flows-run/stream-llm-token-responses.pyapi-openai-responses/example-streaming-request.pyapi-logs/stream-logs.pyapi-logs/retrieve-logs-with-optional-parameters.pyapi-users/reset-password.pyworkflows-api/example-quickstart-sync.py(and matching.js/.sh; sync mode, readoutput.text)workflows-api/example-quickstart-stream-tokens.py(and matching.js/.sh; stream mode, printtokenevents)workflows-api/example-quickstart-background-poll.py(and matching.js/.sh; background queue and poll until completed)workflows-api/example-stream-agui-parse.py(and matching.js/.sh; parses AG-UI events and chains two runs)
Was this page helpful?