Skip to content

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

docs(api): update docs on api spec

Marc Klingendc672099dc47
diff --git a/fern/apis/server/definition/ingestion.yml b/fern/apis/server/definition/ingestion.yml
index 81d920494e..a0a03ddcb1 100644
--- a/fern/apis/server/definition/ingestion.yml
+++ b/fern/apis/server/definition/ingestion.yml
@@ -7,7 +7,12 @@ service:
base-path: /api/public
endpoints:
batch:
- docs: Batched ingestion for Langfuse Tracing. If you want to use tracing via the API, such as to build your own Langfuse client implementation, this is the only API route you need to implement.
+ docs: |
+ Batched ingestion for Langfuse Tracing. If you want to use tracing via the API, such as to build your own Langfuse client implementation, this is the only API route you need to implement.
+
+ Notes:
+ - Batch sizes are limited to 3.5 MB in total. You need to adjust the number of events per batch accordingly.
+ - The API does not return a 4xx status code for input errors. Instead, it responds with a 207 status code, which includes a list of the encountered errors.
method: POST
path: /ingestion
request:
diff --git a/web/public/generated/api/openapi.yml b/web/public/generated/api/openapi.yml
index 8f530cb86c..ac821f024d 100644
--- a/web/public/generated/api/openapi.yml
+++ b/web/public/generated/api/openapi.yml
@@ -401,6 +401,17 @@ paths:
Batched ingestion for Langfuse Tracing. If you want to use tracing via
the API, such as to build your own Langfuse client implementation, this
is the only API route you need to implement.
+
+
+ Notes:
+
+
+ - Batch sizes are limited to 3.5 MB in total. You need to adjust the
+ number of events per batch accordingly.
+
+ - The API does not return a 4xx status code for input errors. Instead,
+ it responds with a 207 status code, which includes a list of the
+ encountered errors.
operationId: ingestion_batch
tags:
- Ingestion
@@ -1877,7 +1888,9 @@ components:
id:
type: string
nullable: true
- description: Dataset items are upserted on their id
+ description: >-
+ Dataset items are upserted on their id. Id needs to be globally
+ unique and cannot be reused across datasets.
status:
$ref: '#/components/schemas/DatasetStatus'
nullable: true
diff --git a/web/public/generated/postman/collection.json b/web/public/generated/postman/collection.json
index 3e5053bb46..a5e39003fe 100644
--- a/web/public/generated/postman/collection.json
+++ b/web/public/generated/postman/collection.json
@@ -337,7 +337,7 @@
"_type": "endpoint",
"name": "Batch",
"request": {
- "description": "Batched ingestion for Langfuse Tracing. If you want to use tracing via the API, such as to build your own Langfuse client implementation, this is the only API route you need to implement.",
+ "description": "Batched ingestion for Langfuse Tracing. If you want to use tracing via the API, such as to build your own Langfuse client implementation, this is the only API route you need to implement.\n\nNotes:\n\n- Batch sizes are limited to 3.5 MB in total. You need to adjust the number of events per batch accordingly.\n- The API does not return a 4xx status code for input errors. Instead, it responds with a 207 status code, which includes a list of the encountered errors.",
"url": {
"raw": "{{baseUrl}}/api/public/ingestion",
"host": [