langflow-ai/langflow · error · HTTPException
The /process endpoint is deprecated and will be removed in a
Error message
The /process endpoint is deprecated and will be removed in a future version. Please use /run instead.
What it means
Error "The /process endpoint is deprecated and will be removed in a future version. Please use /run instead." thrown in langflow-ai/langflow.
Source
Thrown at src/backend/base/langflow/api/v1/endpoints.py:1254
@router.post(
"/predict/{_flow_id}",
dependencies=[Depends(api_key_security)],
include_in_schema=False,
)
@router.post(
"/process/{_flow_id}",
dependencies=[Depends(api_key_security)],
include_in_schema=False,
)
async def process(_flow_id) -> None:
"""Endpoint to process an input with a given flow_id."""
# Raise a depreciation warning
await logger.awarning(
"The /process endpoint is deprecated and will be removed in a future version. Please use /run instead."
)
raise HTTPException(
status_code=status.HTTP_400_BAD_REQUEST,
detail="The /process endpoint is deprecated and will be removed in a future version. Please use /run instead.",
)
@router.get("/task/{_task_id}", deprecated=True, include_in_schema=False)
async def get_task_status(_task_id: str) -> TaskStatusResponse:
"""Get the status of a task by ID (Deprecated).
This endpoint is deprecated and will be removed in a future version.
"""
raise HTTPException(
status_code=status.HTTP_400_BAD_REQUEST,
detail="The /task endpoint is deprecated and will be removed in a future version. Please use /run instead.",
)
@router.post(View on GitHub (pinned to 976ec789d2)
Solutions
- Migrate the client to call /run instead of /process.
When it happens
Trigger: Occurs when a client calls the deprecated /process endpoint instead of /run; returned as a deprecation warning/error.
Common situations: See trigger scenarios.
AI-assisted analysis of langflow-ai/langflow@976ec789d2 (2026-08-14).
Data as JSON: /api/errors/bbfa12530cadc77c.
Report an issue: GitHub.