labapi is a Python library that enables computational workflows to connect to LabArchives' electronic lab notebook (ELN). Without an Application Programming Interface (API) connection, researchers must manually add workflow outputs through the LabArchives web interface, navigating to the appropriate page and uploading each output so that it appears with the experimental notes that provide context. labapi translates the flat LabArchives API into a Python object model following the existing hierarchy of the web interface, allowing workflows to navigate and modify notebook content through familiar paths. labapi enables researchers to build interconnected workflows that both read in and write data to LabArchives' ELN automatically. Researchers can inspect those outputs in the notebook, and later analysis code can read them back for another stage of analysis.