diff --git a/src/backend/base/langflow/api/v1/chat.py b/src/backend/base/langflow/api/v1/chat.py index 2c9c7346f..f1b617944 100644 --- a/src/backend/base/langflow/api/v1/chat.py +++ b/src/backend/base/langflow/api/v1/chat.py @@ -158,7 +158,7 @@ async def build_flow( """Build and process a flow, returning a job ID for event polling. This endpoint requires authentication through the CurrentActiveUser dependency. - For public flows that don't require authentication, use the /build_public_tmp/{flow_id}/flow endpoint. + For public flows that don't require authentication, use the /build_public_tmp/flow_id/flow endpoint. Args: flow_id: UUID of the flow to build diff --git a/src/backend/base/langflow/api/v1/endpoints.py b/src/backend/base/langflow/api/v1/endpoints.py index 8de2cfc84..ba6cf0834 100644 --- a/src/backend/base/langflow/api/v1/endpoints.py +++ b/src/backend/base/langflow/api/v1/endpoints.py @@ -508,7 +508,7 @@ async def experimental_run_flow( ### Example usage: ```json - POST /run/{flow_id} + POST /run/flow_id x-api-key: YOUR_API_KEY Payload: {