# Which Langfuse endpoints each Python SDK version calls (4 Nov 2026, IST)

Langfuse Cloud moves to v4-only on 16 Nov 2026 and asks Python users below SDK 4.7.0 to upgrade. To see what actually changes on the wire, we ran the same script (`app.py`: one `@observe()` trace, one `create_score`, `flush()`) with four SDK versions against a local sink (`sink.py`, port 14402) that logs each request's path and its `x-langfuse-*` headers (key headers not logged). Dummy keys, no Langfuse account, no spend.
Box: Linux, Python 3.13 venvs (uv). Run 11:34 IST on 4 Nov 2026, 1 run per version.

## Results (summary.txt, raw/)

| SDK | Trace sent to | Score sent to | x-langfuse-ingestion-version header |
|---|---|---|---|
| langfuse 3.15.0 | POST /api/public/otel/v1/traces | POST /api/public/ingestion | not sent |
| langfuse 4.6.1 | POST /api/public/otel/v1/traces | POST /api/public/ingestion | not sent |
| langfuse 4.7.0 | POST /api/public/otel/v1/traces | POST /api/public/ingestion | not sent |
| langfuse 5.1.0 | POST /api/public/otel/v1/traces | POST /api/public/scores | `4` |

Every request carried `x-langfuse-sdk-name: python` and `x-langfuse-sdk-version: <version>`, so Langfuse can see which SDK each project uses.

What this shows: traces already go to the OpenTelemetry endpoint from v3 onwards. In our run the 4.6.1 and 4.7.0 requests looked the same; 5.1.0 is the first we saw send `x-langfuse-ingestion-version: 4` (set in `_client/span_processor.py`) and post scores to /api/public/scores. Langfuse's upgrade page names Python 4.7.0 as the minimum, and its docs say score creation through /api/public/ingestion stays supported; we take Langfuse's word for the cutoff and cannot test the cloud side.

## Caveats
- Python SDK only; we did not test the JS/TS SDK (Langfuse's minimum: 5.4.0).
- One trace and one score; other calls (datasets, prompts, reading traces) were not tested.
- Local sink, not Langfuse Cloud: shows what the SDK sends, not how the server treats it.

Files: `app.py`, `sink.py`, `run.sh`, `summary.txt`, `raw/`.
