Skip to main content

Build Public Tmp

Build a public flow without requiring authentication.

This endpoint is specifically for public flows that don't require authentication. It uses a client_id cookie to create a deterministic flow ID for tracking purposes.

The endpoint:

  1. Verifies the requested flow is marked as public in the database
  2. Creates a deterministic UUID based on client_id and flow_id
  3. Uses the flow owner's permissions to build the flow

Requirements:

  • The flow must be marked as PUBLIC in the database
  • The request must include a client_id cookie

Args: flow_id: UUID of the public flow to build background_tasks: Background tasks manager inputs: Optional input values for the flow data: Optional flow data files: Optional files to include stop_component_id: Optional ID of component to stop at start_component_id: Optional ID of component to start from log_builds: Whether to log the build process flow_name: Optional name for the flow request: FastAPI request object (needed for cookie access) queue_service: Queue service for job management

Returns: Dict with job_id that can be used to poll for build status

Path Parameters
flow_id uuid REQUIRED
Query Parameters
stop_component_id Stop Component Id
start_component_id Start Component Id
log_builds Log Builds
flow_name Flow Name
Request Body
inputs
data
files Files
Responses
200

Successful Response

Schema OPTIONAL
undefined
422

Validation Error

Schema OPTIONAL
detail object[] OPTIONAL
loc undefined[]
msg Message
type Error Type
Search