Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix(api): scope the v3 sunset notices to Langfuse Cloud (#16209)

Niklas Semmler6a4314a0b220
diff --git a/fern/apis/server/definition/dataset-run-items.yml b/fern/apis/server/definition/dataset-run-items.yml
index 38d79ce611..4cd54717a7 100644
--- a/fern/apis/server/definition/dataset-run-items.yml
+++ b/fern/apis/server/definition/dataset-run-items.yml
@@ -9,7 +9,7 @@ service:
create:
availability:
status: deprecated
- message: "Langfuse v3 is deprecated; this endpoint will be removed on November 16, 2026. In Langfuse v4, create experiment data via the SDK experiment runner or the OpenTelemetry endpoint at POST /api/public/otel/v1/traces."
+ message: "On Langfuse Cloud, Langfuse v3 is deprecated and this endpoint will be removed on November 16, 2026. In Langfuse v4, create experiment data via the SDK experiment runner or the OpenTelemetry endpoint at POST /api/public/otel/v1/traces. Self-hosted deployments are unaffected by this date; the endpoint becomes unavailable when they upgrade to Langfuse v4."
method: POST
docs: Create a dataset run item
path: /dataset-run-items
@@ -18,7 +18,7 @@ service:
list:
availability:
status: deprecated
- message: "Langfuse v3 is deprecated; this endpoint will be removed on November 16, 2026. In Langfuse v4, dataset run items are replaced by experiment items; use `GET /api/public/experiment-items?fromStartTime=<from>&toStartTime=<to>` instead."
+ message: "On Langfuse Cloud, Langfuse v3 is deprecated and this endpoint will be removed on November 16, 2026. In Langfuse v4, dataset run items are replaced by experiment items; use `GET /api/public/experiment-items?fromStartTime=<from>&toStartTime=<to>` instead. Self-hosted deployments are unaffected by this date; the endpoint becomes unavailable when they upgrade to Langfuse v4."
method: GET
docs: List dataset run items
path: /dataset-run-items
diff --git a/fern/apis/server/definition/datasets.yml b/fern/apis/server/definition/datasets.yml
index e387001794..d43b61a333 100644
--- a/fern/apis/server/definition/datasets.yml
+++ b/fern/apis/server/definition/datasets.yml
@@ -36,7 +36,7 @@ service:
getRun:
availability:
status: deprecated
- message: "Langfuse v3 is deprecated; this endpoint will be removed on November 16, 2026. In Langfuse v4, dataset runs are replaced by experiments; use GET /api/public/experiments instead."
+ message: "On Langfuse Cloud, Langfuse v3 is deprecated and this endpoint will be removed on November 16, 2026. In Langfuse v4, dataset runs are replaced by experiments; use GET /api/public/experiments instead. Self-hosted deployments are unaffected by this date; the endpoint becomes unavailable when they upgrade to Langfuse v4."
method: GET
docs: Get a dataset run and its items
path: /datasets/{datasetName}/runs/{runName}
@@ -47,7 +47,7 @@ service:
deleteRun:
availability:
status: deprecated
- message: "Langfuse v3 is deprecated; this endpoint will be removed on November 16, 2026. In Langfuse v4, dataset runs are replaced by experiments."
+ message: "On Langfuse Cloud, Langfuse v3 is deprecated and this endpoint will be removed on November 16, 2026. In Langfuse v4, dataset runs are replaced by experiments. Self-hosted deployments are unaffected by this date; the endpoint becomes unavailable when they upgrade to Langfuse v4."
method: DELETE
docs: Delete a dataset run and all its run items. This action is irreversible.
path: /datasets/{datasetName}/runs/{runName}
@@ -58,7 +58,7 @@ service:
getRuns:
availability:
status: deprecated
- message: "Langfuse v3 is deprecated; this endpoint will be removed on November 16, 2026. In Langfuse v4, dataset runs are replaced by experiments; use GET /api/public/experiments instead."
+ message: "On Langfuse Cloud, Langfuse v3 is deprecated and this endpoint will be removed on November 16, 2026. In Langfuse v4, dataset runs are replaced by experiments; use GET /api/public/experiments instead. Self-hosted deployments are unaffected by this date; the endpoint becomes unavailable when they upgrade to Langfuse v4."
method: GET
docs: Get dataset runs
path: /datasets/{datasetName}/runs
diff --git a/fern/apis/server/definition/ingestion.yml b/fern/apis/server/definition/ingestion.yml
index c8cd2d0eef..e8cca823cf 100644
--- a/fern/apis/server/definition/ingestion.yml
+++ b/fern/apis/server/definition/ingestion.yml
@@ -9,7 +9,7 @@ service:
batch:
availability:
status: deprecated
- message: "Langfuse v3 is deprecated; this endpoint will be removed on November 16, 2026. Send data via the OpenTelemetry endpoint at `POST /api/public/otel/v1/traces` instead, see the [OpenTelemetry integration docs](https://langfuse.com/integrations/native/opentelemetry)."
+ message: "On Langfuse Cloud, Langfuse v3 is deprecated and this endpoint will be removed on November 16, 2026. Send data via the OpenTelemetry endpoint at `POST /api/public/otel/v1/traces` instead, see the [OpenTelemetry integration docs](https://langfuse.com/integrations/native/opentelemetry). Self-hosted deployments are unaffected by this date; the endpoint becomes unavailable when they upgrade to Langfuse v4."
docs: |
**Legacy endpoint for batch ingestion for Langfuse Observability.**
diff --git a/fern/apis/server/definition/legacy/metrics-v1.yml b/fern/apis/server/definition/legacy/metrics-v1.yml
index 83bf68dc91..18317e60e7 100644
--- a/fern/apis/server/definition/legacy/metrics-v1.yml
+++ b/fern/apis/server/definition/legacy/metrics-v1.yml
@@ -9,7 +9,7 @@ service:
metrics:
availability:
status: deprecated
- message: "Langfuse v3 is deprecated; this endpoint will be removed on November 16, 2026. Use `GET /api/public/v2/metrics?query=<urlencoded json query>` instead."
+ message: "On Langfuse Cloud, Langfuse v3 is deprecated and this endpoint will be removed on November 16, 2026. Use `GET /api/public/v2/metrics?query=<urlencoded json query>` instead. Self-hosted deployments are unaffected by this date; the endpoint becomes unavailable when they upgrade to Langfuse v4."
docs: |
Get metrics from the Langfuse project using a query object.
diff --git a/fern/apis/server/definition/legacy/observations-v1.yml b/fern/apis/server/definition/legacy/observations-v1.yml
index d408c13702..eb7221650f 100644
--- a/fern/apis/server/definition/legacy/observations-v1.yml
+++ b/fern/apis/server/definition/legacy/observations-v1.yml
@@ -9,7 +9,7 @@ service:
get:
availability:
status: deprecated
- message: "Langfuse v3 is deprecated; this endpoint will be removed on November 16, 2026. Use `GET /api/public/v2/observations?fromStartTime=<from>&toStartTime=<to>` instead."
+ message: "On Langfuse Cloud, Langfuse v3 is deprecated and this endpoint will be removed on November 16, 2026. Use `GET /api/public/v2/observations?fromStartTime=<from>&toStartTime=<to>` instead. Self-hosted deployments are unaffected by this date; the endpoint becomes unavailable when they upgrade to Langfuse v4."
docs: Get a observation
method: GET
path: /observations/{observationId}
@@ -21,7 +21,7 @@ service:
getMany:
availability:
status: deprecated
- message: "Langfuse v3 is deprecated; this endpoint will be removed on November 16, 2026. Use `GET /api/public/v2/observations?fromStartTime=<from>&toStartTime=<to>` instead."
+ message: "On Langfuse Cloud, Langfuse v3 is deprecated and this endpoint will be removed on November 16, 2026. Use `GET /api/public/v2/observations?fromStartTime=<from>&toStartTime=<to>` instead. Self-hosted deployments are unaffected by this date; the endpoint becomes unavailable when they upgrade to Langfuse v4."
docs: |
Get a list of observations.
diff --git a/fern/apis/server/definition/scores.yml b/fern/apis/server/definition/scores.yml
index 51c05ac4b5..6df30711b3 100644
--- a/fern/apis/server/definition/scores.yml
+++ b/fern/apis/server/definition/scores.yml
@@ -15,7 +15,7 @@ service:
get-many:
availability:
status: deprecated
- message: "Langfuse v3 is deprecated; this endpoint is not available on Langfuse v4 and later and will be removed on November 16, 2026. Use `GET /api/public/v3/scores` instead."
+ message: "On Langfuse Cloud, Langfuse v3 is deprecated and this endpoint will be removed on November 16, 2026. Use `GET /api/public/v3/scores` instead. Self-hosted deployments are unaffected by this date; the endpoint becomes unavailable when they upgrade to Langfuse v4."
docs: Get a list of scores (supports both trace and session scores)
method: GET
path: /v2/scores
@@ -96,7 +96,7 @@ service:
get-by-id:
availability:
status: deprecated
- message: "Langfuse v3 is deprecated; this endpoint is not available on Langfuse v4 and later and will be removed on November 16, 2026. Use `GET /api/public/v3/scores` with the `id` filter instead."
+ message: "On Langfuse Cloud, Langfuse v3 is deprecated and this endpoint will be removed on November 16, 2026. Use `GET /api/public/v3/scores` with the `id` filter instead. Self-hosted deployments are unaffected by this date; the endpoint becomes unavailable when they upgrade to Langfuse v4."
docs: Get a score (supports both trace and session scores)
method: GET
path: /v2/scores/{scoreId}
diff --git a/fern/apis/server/definition/sessions.yml b/fern/apis/server/definition/sessions.yml
index f120e44b7b..b673df603a 100644
--- a/fern/apis/server/definition/sessions.yml
+++ b/fern/apis/server/definition/sessions.yml
@@ -9,7 +9,7 @@ service:
list:
availability:
status: deprecated
- message: "Langfuse v3 is deprecated; this endpoint will be removed on November 16, 2026. In Langfuse v4, read session data via `GET /api/public/v2/observations?filter=<urlencoded sessionId filter>&fromStartTime=<from>&toStartTime=<to>`."
+ message: "On Langfuse Cloud, Langfuse v3 is deprecated and this endpoint will be removed on November 16, 2026. In Langfuse v4, read session data via `GET /api/public/v2/observations?filter=<urlencoded sessionId filter>&fromStartTime=<from>&toStartTime=<to>`. Self-hosted deployments are unaffected by this date; the endpoint becomes unavailable when they upgrade to Langfuse v4."
docs: |
Get sessions.
@@ -42,7 +42,7 @@ service:
get:
availability:
status: deprecated
- message: "Langfuse v3 is deprecated; this endpoint will be removed on November 16, 2026. In Langfuse v4, read session data via `GET /api/public/v2/observations?filter=<urlencoded sessionId filter>&fromStartTime=<from>&toStartTime=<to>`."
+ message: "On Langfuse Cloud, Langfuse v3 is deprecated and this endpoint will be removed on November 16, 2026. In Langfuse v4, read session data via `GET /api/public/v2/observations?filter=<urlencoded sessionId filter>&fromStartTime=<from>&toStartTime=<to>`. Self-hosted deployments are unaffected by this date; the endpoint becomes unavailable when they upgrade to Langfuse v4."
docs: |
Get a session.
diff --git a/fern/apis/server/definition/trace.yml b/fern/apis/server/definition/trace.yml
index 95be4c70b9..004056be9f 100644
--- a/fern/apis/server/definition/trace.yml
+++ b/fern/apis/server/definition/trace.yml
@@ -9,7 +9,7 @@ service:
get:
availability:
status: deprecated
- message: "Langfuse v3 is deprecated; this endpoint will be removed on November 16, 2026. In Langfuse v4, read span and trace data via `GET /api/public/v2/observations?fromStartTime=<from>&toStartTime=<to>`."
+ message: "On Langfuse Cloud, Langfuse v3 is deprecated and this endpoint will be removed on November 16, 2026. In Langfuse v4, read span and trace data via `GET /api/public/v2/observations?fromStartTime=<from>&toStartTime=<to>`. Self-hosted deployments are unaffected by this date; the endpoint becomes unavailable when they upgrade to Langfuse v4."
docs: Get a specific trace
method: GET
path: /traces/{traceId}
@@ -36,7 +36,7 @@ service:
list:
availability:
status: deprecated
- message: "Langfuse v3 is deprecated; this endpoint will be removed on November 16, 2026. In Langfuse v4, read span and trace data via `GET /api/public/v2/observations?fromStartTime=<from>&toStartTime=<to>`."
+ message: "On Langfuse Cloud, Langfuse v3 is deprecated and this endpoint will be removed on November 16, 2026. In Langfuse v4, read span and trace data via `GET /api/public/v2/observations?fromStartTime=<from>&toStartTime=<to>`. Self-hosted deployments are unaffected by this date; the endpoint becomes unavailable when they upgrade to Langfuse v4."
docs: Get list of traces
method: GET
path: /traces
diff --git a/web/public/generated/api/openapi.yml b/web/public/generated/api/openapi.yml
index 5ecb141a19..2046357aec 100644
--- a/web/public/generated/api/openapi.yml
+++ b/web/public/generated/api/openapi.yml
@@ -1134,10 +1134,12 @@ paths:
/api/public/dataset-run-items:
post:
description: >-
- **Deprecated:** Langfuse v3 is deprecated; this endpoint will be removed
- on November 16, 2026. In Langfuse v4, create experiment data via the SDK
- experiment runner or the OpenTelemetry endpoint at POST
- /api/public/otel/v1/traces. See the [Langfuse v3 to v4 upgrade
+ **Deprecated:** On Langfuse Cloud, Langfuse v3 is deprecated and this
+ endpoint will be removed on November 16, 2026. In Langfuse v4, create
+ experiment data via the SDK experiment runner or the OpenTelemetry
+ endpoint at POST /api/public/otel/v1/traces. Self-hosted deployments are
+ unaffected by this date; the endpoint becomes unavailable when they
+ upgrade to Langfuse v4. See the [Langfuse v3 to v4 upgrade
guide](https://langfuse.com/self-hosting/upgrade/upgrade-guides/upgrade-v3-to-v4).
@@ -1188,11 +1190,13 @@ paths:
deprecated: true
get:
description: >-
- **Deprecated:** Langfuse v3 is deprecated; this endpoint will be removed
- on November 16, 2026. In Langfuse v4, dataset run items are replaced by
- experiment items; use `GET
+ **Deprecated:** On Langfuse Cloud, Langfuse v3 is deprecated and this
+ endpoint will be removed on November 16, 2026. In Langfuse v4, dataset
+ run items are replaced by experiment items; use `GET
/api/public/experiment-items?fromStartTime=<from>&toStartTime=<to>`
- instead. See the [Langfuse v3 to v4 upgrade
+ instead. Self-hosted deployments are unaffected by this date; the
+ endpoint becomes unavailable when they upgrade to Langfuse v4. See the
+ [Langfuse v3 to v4 upgrade
guide](https://langfuse.com/self-hosting/upgrade/upgrade-guides/upgrade-v3-to-v4).
@@ -1406,10 +1410,12 @@ paths:
/api/public/datasets/{datasetName}/runs/{runName}:
get:
description: >-
- **Deprecated:** Langfuse v3 is deprecated; this endpoint will be removed
- on November 16, 2026. In Langfuse v4, dataset runs are replaced by
- experiments; use GET /api/public/experiments instead. See the [Langfuse
- v3 to v4 upgrade
+ **Deprecated:** On Langfuse Cloud, Langfuse v3 is deprecated and this
+ endpoint will be removed on November 16, 2026. In Langfuse v4, dataset
+ runs are replaced by experiments; use GET /api/public/experiments
+ instead. Self-hosted deployments are unaffected by this date; the
+ endpoint becomes unavailable when they upgrade to Langfuse v4. See the
+ [Langfuse v3 to v4 upgrade
guide](https://langfuse.com/self-hosting/upgrade/upgrade-guides/upgrade-v3-to-v4).
@@ -1464,9 +1470,11 @@ paths:
deprecated: true
delete:
description: >-
- **Deprecated:** Langfuse v3 is deprecated; this endpoint will be removed
- on November 16, 2026. In Langfuse v4, dataset runs are replaced by
- experiments. See the [Langfuse v3 to v4 upgrade
+ **Deprecated:** On Langfuse Cloud, Langfuse v3 is deprecated and this
+ endpoint will be removed on November 16, 2026. In Langfuse v4, dataset
+ runs are replaced by experiments. Self-hosted deployments are unaffected
+ by this date; the endpoint becomes unavailable when they upgrade to
+ Langfuse v4. See the [Langfuse v3 to v4 upgrade
guide](https://langfuse.com/self-hosting/upgrade/upgrade-guides/upgrade-v3-to-v4).
@@ -1522,10 +1530,12 @@ paths:
/api/public/datasets/{datasetName}/runs:
get:
description: >-
- **Deprecated:** Langfuse v3 is deprecated; this endpoint will be removed
- on November 16, 2026. In Langfuse v4, dataset runs are replaced by
- experiments; use GET /api/public/experiments instead. See the [Langfuse
- v3 to v4 upgrade
+ **Deprecated:** On Langfuse Cloud, Langfuse v3 is deprecated and this
+ endpoint will be removed on November 16, 2026. In Langfuse v4, dataset
+ runs are replaced by experiments; use GET /api/public/experiments
+ instead. Self-hosted deployments are unaffected by this date; the
+ endpoint becomes unavailable when they upgrade to Langfuse v4. See the
+ [Langfuse v3 to v4 upgrade
guide](https://langfuse.com/self-hosting/upgrade/upgrade-guides/upgrade-v3-to-v4).
@@ -1934,11 +1944,14 @@ paths:
/api/public/ingestion:
post:
description: >-
- **Deprecated:** Langfuse v3 is deprecated; this endpoint will be removed
- on November 16, 2026. Send data via the OpenTelemetry endpoint at `POST
- /api/public/otel/v1/traces` instead, see the [OpenTelemetry integration
- docs](https://langfuse.com/integrations/native/opentelemetry). See the
- [Langfuse v3 to v4 upgrade
+ **Deprecated:** On Langfuse Cloud, Langfuse v3 is deprecated and this
+ endpoint will be removed on November 16, 2026. Send data via the
+ OpenTelemetry endpoint at `POST /api/public/otel/v1/traces` instead, see
+ the [OpenTelemetry integration
+ docs](https://langfuse.com/integrations/native/opentelemetry).
+ Self-hosted deployments are unaffected by this date; the endpoint
+ becomes unavailable when they upgrade to Langfuse v4. See the [Langfuse
+ v3 to v4 upgrade
guide](https://langfuse.com/self-hosting/upgrade/upgrade-guides/upgrade-v3-to-v4).
@@ -2040,9 +2053,12 @@ paths:
/api/public/metrics:
get:
description: >-
- **Deprecated:** Langfuse v3 is deprecated; this endpoint will be removed
- on November 16, 2026. Use `GET /api/public/v2/metrics?query=<urlencoded
- json query>` instead. See the [Langfuse v3 to v4 upgrade
+ **Deprecated:** On Langfuse Cloud, Langfuse v3 is deprecated and this
+ endpoint will be removed on November 16, 2026. Use `GET
+ /api/public/v2/metrics?query=<urlencoded json query>` instead.
+ Self-hosted deployments are unaffected by this date; the endpoint
+ becomes unavailable when they upgrade to Langfuse v4. See the [Langfuse
+ v3 to v4 upgrade
guide](https://langfuse.com/self-hosting/upgrade/upgrade-guides/upgrade-v3-to-v4).
@@ -2148,10 +2164,12 @@ paths:
/api/public/observations/{observationId}:
get:
description: >-
- **Deprecated:** Langfuse v3 is deprecated; this endpoint will be removed
- on November 16, 2026. Use `GET
+ **Deprecated:** On Langfuse Cloud, Langfuse v3 is deprecated and this
+ endpoint will be removed on November 16, 2026. Use `GET
/api/public/v2/observations?fromStartTime=<from>&toStartTime=<to>`
- instead. See the [Langfuse v3 to v4 upgrade
+ instead. Self-hosted deployments are unaffected by this date; the
+ endpoint becomes unavailable when they upgrade to Langfuse v4. See the
+ [Langfuse v3 to v4 upgrade
guide](https://langfuse.com/self-hosting/upgrade/upgrade-guides/upgrade-v3-to-v4).
@@ -2205,10 +2223,12 @@ paths:
/api/public/observations:
get:
description: >-
- **Deprecated:** Langfuse v3 is deprecated; this endpoint will be removed
- on November 16, 2026. Use `GET
+ **Deprecated:** On Langfuse Cloud, Langfuse v3 is deprecated and this
+ endpoint will be removed on November 16, 2026. Use `GET
/api/public/v2/observations?fromStartTime=<from>&toStartTime=<to>`
- instead. See the [Langfuse v3 to v4 upgrade
+ instead. Self-hosted deployments are unaffected by this date; the
+ endpoint becomes unavailable when they upgrade to Langfuse v4. See the
+ [Langfuse v3 to v4 upgrade
guide](https://langfuse.com/self-hosting/upgrade/upgrade-guides/upgrade-v3-to-v4).
@@ -5832,10 +5852,11 @@ paths:
/api/public/v2/scores:
get:
description: >-
- **Deprecated:** Langfuse v3 is deprecated; this endpoint is not
- available on Langfuse v4 and later and will be removed on November 16,
- 2026. Use `GET /api/public/v3/scores` instead. See the [Langfuse v3 to
- v4 upgrade
+ **Deprecated:** On Langfuse Cloud, Langfuse v3 is deprecated and this
+ endpoint will be removed on November 16, 2026. Use `GET
+ /api/public/v3/scores` instead. Self-hosted deployments are unaffected
+ by this date; the endpoint becomes unavailable when they upgrade to
+ Langfuse v4. See the [Langfuse v3 to v4 upgrade
guide](https://langfuse.com/self-hosting/upgrade/upgrade-guides/upgrade-v3-to-v4).
@@ -6062,10 +6083,12 @@ paths:
/api/public/v2/scores/{scoreId}:
get:
description: >-
- **Deprecated:** Langfuse v3 is deprecated; this endpoint is not
- available on Langfuse v4 and later and will be removed on November 16,
- 2026. Use `GET /api/public/v3/scores` with the `id` filter instead. See
- the [Langfuse v3 to v4 upgrade
+ **Deprecated:** On Langfuse Cloud, Langfuse v3 is deprecated and this
+ endpoint will be removed on November 16, 2026. Use `GET
+ /api/public/v3/scores` with the `id` filter instead. Self-hosted
+ deployments are unaffected by this date; the endpoint becomes
+ unavailable when they upgrade to Langfuse v4. See the [Langfuse v3 to v4
+ upgrade
guide](https://langfuse.com/self-hosting/upgrade/upgrade-guides/upgrade-v3-to-v4).
@@ -6117,11 +6140,13 @@ paths:
/api/public/sessions:
get:
description: >-
- **Deprecated:** Langfuse v3 is deprecated; this endpoint will be removed
- on November 16, 2026. In Langfuse v4, read session data via `GET
- /api/public/v2/observations?filter=<urlencoded sessionId
- filter>&fromStartTime=<from>&toStartTime=<to>`. See the [Langfuse v3 to
- v4 upgrade
+ **Deprecated:** On Langfuse Cloud, Langfuse v3 is deprecated and this
+ endpoint will be removed on November 16, 2026. In Langfuse v4, read
+ session data via `GET /api/public/v2/observations?filter=<urlencoded
+ sessionId filter>&fromStartTime=<from>&toStartTime=<to>`. Self-hosted
+ deployments are unaffected by this date; the endpoint becomes
+ unavailable when they upgrade to Langfuse v4. See the [Langfuse v3 to v4
+ upgrade
guide](https://langfuse.com/self-hosting/upgrade/upgrade-guides/upgrade-v3-to-v4).
@@ -6225,11 +6250,13 @@ paths:
/api/public/sessions/{sessionId}:
get:
description: >-
- **Deprecated:** Langfuse v3 is deprecated; this endpoint will be removed
- on November 16, 2026. In Langfuse v4, read session data via `GET
- /api/public/v2/observations?filter=<urlencoded sessionId
- filter>&fromStartTime=<from>&toStartTime=<to>`. See the [Langfuse v3 to
- v4 upgrade
+ **Deprecated:** On Langfuse Cloud, Langfuse v3 is deprecated and this
+ endpoint will be removed on November 16, 2026. In Langfuse v4, read
+ session data via `GET /api/public/v2/observations?filter=<urlencoded
+ sessionId filter>&fromStartTime=<from>&toStartTime=<to>`. Self-hosted
+ deployments are unaffected by this date; the endpoint becomes
+ unavailable when they upgrade to Langfuse v4. See the [Langfuse v3 to v4
+ upgrade
guide](https://langfuse.com/self-hosting/upgrade/upgrade-guides/upgrade-v3-to-v4).
@@ -6292,10 +6319,13 @@ paths:
/api/public/traces/{traceId}:
get:
description: >-
- **Deprecated:** Langfuse v3 is deprecated; this endpoint will be removed
- on November 16, 2026. In Langfuse v4, read span and trace data via `GET
- /api/public/v2/observations?fromStartTime=<from>&toStartTime=<to>`. See
- the [Langfuse v3 to v4 upgrade
+ **Deprecated:** On Langfuse Cloud, Langfuse v3 is deprecated and this
+ endpoint will be removed on November 16, 2026. In Langfuse v4, read span
+ and trace data via `GET
+ /api/public/v2/observations?fromStartTime=<from>&toStartTime=<to>`.
+ Self-hosted deployments are unaffected by this date; the endpoint
+ becomes unavailable when they upgrade to Langfuse v4. See the [Langfuse
+ v3 to v4 upgrade
guide](https://langfuse.com/self-hosting/upgrade/upgrade-guides/upgrade-v3-to-v4).
@@ -6405,10 +6435,13 @@ paths:
/api/public/traces:
get:
description: >-
- **Deprecated:** Langfuse v3 is deprecated; this endpoint will be removed
- on November 16, 2026. In Langfuse v4, read span and trace data via `GET
- /api/public/v2/observations?fromStartTime=<from>&toStartTime=<to>`. See
- the [Langfuse v3 to v4 upgrade
+ **Deprecated:** On Langfuse Cloud, Langfuse v3 is deprecated and this
+ endpoint will be removed on November 16, 2026. In Langfuse v4, read span
+ and trace data via `GET
+ /api/public/v2/observations?fromStartTime=<from>&toStartTime=<to>`.
+ Self-hosted deployments are unaffected by this date; the endpoint
+ becomes unavailable when they upgrade to Langfuse v4. See the [Langfuse
+ v3 to v4 upgrade
guide](https://langfuse.com/self-hosting/upgrade/upgrade-guides/upgrade-v3-to-v4).
diff --git a/web/src/__tests__/server/unit/openapi-deprecations.servertest.ts b/web/src/__tests__/server/unit/openapi-deprecations.servertest.ts
index a9a1348ac8..0d49cd4d1d 100644
--- a/web/src/__tests__/server/unit/openapi-deprecations.servertest.ts
+++ b/web/src/__tests__/server/unit/openapi-deprecations.servertest.ts
@@ -132,6 +132,19 @@ describe("OpenAPI deprecations", () => {
}
});
+ // The date is a Cloud commitment; self-hosted is not bound by it.
+ it("scopes every sunset message to Langfuse Cloud", () => {
+ for (const { method, endpointPath, message } of getFernDeprecatedOperations(
+ definitionDirectory,
+ )) {
+ const operation = `${method.toUpperCase()} ${endpointPath}`;
+ expect(message, operation).toContain("On Langfuse Cloud,");
+ expect(message, operation).toContain(
+ "Self-hosted deployments are unaffected",
+ );
+ }
+ });
+
it("keeps the human-readable sunset date in sync with the machine-readable one", () => {
expect(
new Date(`${V3_SUNSET_DATE}T00:00:00Z`).toLocaleDateString("en-US", {