{"record":{"id":"bbfa12530cadc77c","repo":"langflow-ai/langflow","slug":"the-process-endpoint-is-deprecated-and-will-be-re","errorCode":null,"errorMessage":"The /process endpoint is deprecated and will be removed in a future version. Please use /run instead.","messagePattern":"The /process endpoint is deprecated and will be removed in a future version\\. Please use /run instead\\.","errorType":"http","errorClass":"HTTPException","httpStatus":400,"severity":"error","filePath":"src/backend/base/langflow/api/v1/endpoints.py","lineNumber":1254,"sourceCode":"\n\n@router.post(\n    \"/predict/{_flow_id}\",\n    dependencies=[Depends(api_key_security)],\n    include_in_schema=False,\n)\n@router.post(\n    \"/process/{_flow_id}\",\n    dependencies=[Depends(api_key_security)],\n    include_in_schema=False,\n)\nasync def process(_flow_id) -> None:\n    \"\"\"Endpoint to process an input with a given flow_id.\"\"\"\n    # Raise a depreciation warning\n    await logger.awarning(\n        \"The /process endpoint is deprecated and will be removed in a future version. Please use /run instead.\"\n    )\n    raise HTTPException(\n        status_code=status.HTTP_400_BAD_REQUEST,\n        detail=\"The /process endpoint is deprecated and will be removed in a future version. Please use /run instead.\",\n    )\n\n\n@router.get(\"/task/{_task_id}\", deprecated=True, include_in_schema=False)\nasync def get_task_status(_task_id: str) -> TaskStatusResponse:\n    \"\"\"Get the status of a task by ID (Deprecated).\n\n    This endpoint is deprecated and will be removed in a future version.\n    \"\"\"\n    raise HTTPException(\n        status_code=status.HTTP_400_BAD_REQUEST,\n        detail=\"The /task endpoint is deprecated and will be removed in a future version. Please use /run instead.\",\n    )\n\n\n@router.post(","sourceCodeStart":1236,"sourceCodeEnd":1272,"githubUrl":"https://github.com/langflow-ai/langflow/blob/976ec789d2886a86de109c044d089d68e96c9a35/src/backend/base/langflow/api/v1/endpoints.py#L1236-L1272","documentation":"Error \"The /process endpoint is deprecated and will be removed in a future version. Please use /run instead.\" thrown in langflow-ai/langflow.","triggerScenarios":"Occurs when a client calls the deprecated /process endpoint instead of /run; returned as a deprecation warning/error.","commonSituations":"See trigger scenarios.","solutions":["Migrate the client to call /run instead of /process."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"976ec789d2886a86de109c044d089d68e96c9a35","analyzedAt":"2026-08-14T18:23:12.227Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}