Skip to content

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

fix: increase ingestion API body size (#898)

Max Deichmannebadbaf30d0a
diff --git a/src/pages/api/public/ingestion.ts b/src/pages/api/public/ingestion.ts
index 761336a34c..2532234c00 100644
--- a/src/pages/api/public/ingestion.ts
+++ b/src/pages/api/public/ingestion.ts
@@ -26,6 +26,14 @@ import { isNotNullOrUndefined } from "@/src/utils/types";
import { telemetry } from "@/src/features/telemetry";
import { jsonSchema } from "@/src/utils/zod";
+export const config = {
+ api: {
+ bodyParser: {
+ sizeLimit: "3mb",
+ },
+ },
+};
+
export default async function handler(
req: NextApiRequest,
res: NextApiResponse,