Skip to content

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

fix: fix dataset items API limits (#9694)

Max Deichmann745aeb16733c
diff --git a/web/src/pages/api/public/dataset-items/index.ts b/web/src/pages/api/public/dataset-items/index.ts
index e1fee6a73e..1d90b09d32 100644
--- a/web/src/pages/api/public/dataset-items/index.ts
+++ b/web/src/pages/api/public/dataset-items/index.ts
@@ -17,6 +17,14 @@ import {
import { logger } from "@langfuse/shared/src/server";
import { auditLog } from "@/src/features/audit-logs/auditLog";
+export const config = {
+ api: {
+ bodyParser: {
+ sizeLimit: "4.5mb",
+ },
+ },
+};
+
export default withMiddlewares({
POST: createAuthedProjectAPIRoute({
name: "Create Dataset Item",