Skip to main content

Build Vertex

Build a vertex instead of the entire graph.

Args: flow_id (str): The ID of the flow. vertex_id (str): The ID of the vertex to build. background_tasks (BackgroundTasks): The background tasks dependency. inputs (Optional[InputValueRequest], optional): The input values for the vertex. Defaults to None. files (List[str], optional): The files to use. Defaults to None. current_user (Any, optional): The current user dependency. Defaults to Depends(get_current_active_user).

Returns: VertexBuildResponse: The response containing the built vertex information.

Raises: HTTPException: If there is an error building the vertex.

Path Parameters
flow_id uuid REQUIRED
vertex_id Vertex Id REQUIRED
Request Body
inputs
files Files
Responses
200

Successful Response

Schema OPTIONAL
id Id OPTIONAL
inactivated_vertices Inactivated Vertices OPTIONAL
next_vertices_ids Next Vertices Ids OPTIONAL
top_level_vertices Top Level Vertices OPTIONAL
valid Valid
params Params OPTIONAL
data object
timestamp Timestamp OPTIONAL
422

Validation Error

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

Hi, how can I help you?