OptixLog Docs
API ReferencePipeline

Pipeline API

Reference for the optixlog.pipeline module — ingest workflow nodes into a project graph.

The optixlog.pipeline module provides the write path for the OptixLog SDK. You use it to ingest typed workflow nodes into a project's graph, creating or updating nodes and wiring their edges.

from optixlog.pipeline import Pipeline, PipelineProject, IngestResult, IngestibleNode

Module contents

SymbolKindDescription
PipelineclassEntry point — wraps an SDKClient, resolves project handles.
PipelineProjectclassProject-scoped ingest surface — call .ingest() here.
IngestResultfrozen dataclassReturned by every .ingest() call.
IngestibleNodeProtocolStructural contract that node classes (generated or custom) must satisfy.

Typical usage

ingest.py
from optixlog import SDKClient
from optixlog.pipeline import Pipeline
from optixlog_gen import SimulationNode  # generated node class

client = SDKClient(base_url="https://optixlog.leidos.com", api_key="sk-opt-...")
pipeline = Pipeline(client)
project = pipeline.project("proj_grating_7f3a")

result = project.ingest(
    data=SimulationNode(config={}, solver="fdtd"),
    prompt="Ran an FDTD simulation of the grating coupler.",
)
print(result.node_id, result.created)

On this page