Skip to content

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

fix: link to v2 endpoints from v1 (#11297)

Valery Meleshkind18d2a0de902
diff --git a/fern/apis/server/definition/metrics.yml b/fern/apis/server/definition/metrics.yml
index 8b6819ddc4..af3fca04b0 100644
--- a/fern/apis/server/definition/metrics.yml
+++ b/fern/apis/server/definition/metrics.yml
@@ -10,7 +10,7 @@ service:
docs: |
Get metrics from the Langfuse project using a query object.
- Consider using the [v2 metrics endpoint](/api-reference/metrics-v2/metrics) for better performance.
+ Consider using the [v2 metrics endpoint](/api-reference#tag/metricsv2/GET/api/public/v2/metrics) for better performance.
For more details, see the [Metrics API documentation](https://langfuse.com/docs/metrics/features/metrics-api).
method: GET
diff --git a/fern/apis/server/definition/observations.yml b/fern/apis/server/definition/observations.yml
index 968e31eb92..879da144d0 100644
--- a/fern/apis/server/definition/observations.yml
+++ b/fern/apis/server/definition/observations.yml
@@ -19,7 +19,7 @@ service:
docs: |
Get a list of observations.
- Consider using the [v2 observations endpoint](/api-reference/observations-v2/getMany) for cursor-based pagination and field selection.
+ Consider using the [v2 observations endpoint](/api-reference#tag/observationsv2/GET/api/public/v2/observations) for cursor-based pagination and field selection.
method: GET
path: /observations
request:
diff --git a/web/public/generated/api/openapi.yml b/web/public/generated/api/openapi.yml
index ee987af531..248379f5e2 100644
--- a/web/public/generated/api/openapi.yml
+++ b/web/public/generated/api/openapi.yml
@@ -2263,7 +2263,8 @@ paths:
Consider using the [v2 metrics
- endpoint](/api-reference/metrics-v2/metrics) for better performance.
+ endpoint](/api-reference#tag/metricsv2/GET/api/public/v2/metrics) for
+ better performance.
For more details, see the [Metrics API
@@ -2971,8 +2972,8 @@ paths:
Consider using the [v2 observations
- endpoint](/api-reference/observations-v2/getMany) for cursor-based
- pagination and field selection.
+ endpoint](/api-reference#tag/observationsv2/GET/api/public/v2/observations)
+ for cursor-based pagination and field selection.
operationId: observations_getMany
tags:
- Observations
diff --git a/web/public/generated/postman/collection.json b/web/public/generated/postman/collection.json
index 5d896c0ce5..151beab128 100644
--- a/web/public/generated/postman/collection.json
+++ b/web/public/generated/postman/collection.json
@@ -1580,7 +1580,7 @@
"_type": "endpoint",
"name": "Metrics",
"request": {
- "description": "Get metrics from the Langfuse project using a query object.\n\nConsider using the [v2 metrics endpoint](/api-reference/metrics-v2/metrics) for better performance.\n\nFor more details, see the [Metrics API documentation](https://langfuse.com/docs/metrics/features/metrics-api).",
+ "description": "Get metrics from the Langfuse project using a query object.\n\nConsider using the [v2 metrics endpoint](/api-reference#tag/metricsv2/GET/api/public/v2/metrics) for better performance.\n\nFor more details, see the [Metrics API documentation](https://langfuse.com/docs/metrics/features/metrics-api).",
"url": {
"raw": "{{baseUrl}}/api/public/metrics?query=",
"host": [
@@ -1899,7 +1899,7 @@
"_type": "endpoint",
"name": "Get Many",
"request": {
- "description": "Get a list of observations.\n\nConsider using the [v2 observations endpoint](/api-reference/observations-v2/getMany) for cursor-based pagination and field selection.",
+ "description": "Get a list of observations.\n\nConsider using the [v2 observations endpoint](/api-reference#tag/observationsv2/GET/api/public/v2/observations) for cursor-based pagination and field selection.",
"url": {
"raw": "{{baseUrl}}/api/public/observations?page=&limit=&name=&userId=&type=&traceId=&level=&parentObservationId=&environment=&fromStartTime=&toStartTime=&version=&filter=",
"host": [