Files
langflow/docs/docs/API-Reference/README.md
Mendon Kissling 3ee4bd57eb docs: test harness for api reference code samples (#12338)
* curl-examples-and-tests

* move-curl-examples

* docs-add-existing-js-and-python-examples

* add-python-and-js-examples

* use-code-snippet-not-code-block

* remove-unused-ts-files

* add-gitignore-for-docs-pycache

* test-api-commands-with-langflow-env-var

* add-fixtures-and-makefile-tests-pass

* no-action

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes

* block-ruff-check-for-docs-examples

* add-horizontal-scrolling-and-pin-copy-button

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-03 16:45:15 +00:00

655 B

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.py
  • api-build/build-flow-and-stream-events-3.py
  • api-flows-run/stream-llm-token-responses.py
  • api-openai-responses/example-streaming-request.py
  • api-logs/stream-logs.py
  • api-logs/retrieve-logs-with-optional-parameters.py
  • api-users/reset-password.py