labarchive-integration

Automate LabArchives REST API operations for notebook backups and entry management.

783|65|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/LeonChaoX/qinyan-academic-skills --skill labarchive-integration-leonchaox
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: labarchive-integration
Source: https://github.com/LeonChaoX/qinyan-academic-skills/tree/main/skills/13-%E5%AE%9E%E9%AA%8C%E5%AE%A4%E8%87%AA%E5%8A%A8%E5%8C%96%E4%B8%8E%E9%9B%86%E6%88%90/labarchive-integration
Command: npx skills add https://github.com/LeonChaoX/qinyan-academic-skills --skill labarchive-integration-leonchaox

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, labarchives-py, and includes scripts (resource) and references (resource) components.

What problem does it solve?

LabArchives users often need to back up notebooks, create or update entries, and upload attachments repeatedly, which is slow and error-prone when done manually.

Core Features & Use Cases

  • Notebook backup automation: programmatically download full notebook backups (with optional attachment inclusion) and save them locally for archiving or migration.
  • Entry creation & content management: create notebook entries, add comments, and structure entry content as HTML.
  • Attachment upload workflows: upload single files or batch-upload all files from a directory to a specific entry for reproducible documentation.
  • Practical integration support: enable ELN automation that connects LabArchives with tools like Protocols.io, Jupyter, and REDCap through documented API patterns.

Quick Start

Use the labarchive-integration skill to back up a specific notebook by running: python3 scripts/notebook_operations.py backup --uid USER_ID --nbid NOTEBOOK_ID.

Frequently Asked Questions about labarchive-integration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate LabArchives notebook backups via the API?

Automate LabArchives notebook backups by running the notebook_operations script with your uid and nbid parameters. This programmatically downloads full notebook contents locally for archiving, compliance, or migration.

Can I batch upload directory attachments to an ELN entry?

Yes, you can batch upload attachments by targeting a specific entry and processing all files from a local directory. This programmatic upload workflow ensures reproducible documentation within your electronic lab notebook.

Does LabArchives API integration require an enterprise account?

Yes, LabArchives API integration requires an enterprise-enabled API endpoint. You must configure credentials and supply correct uid, nbid, and entry_id parameters to authenticate and manage notebook operations.

How do I create ELN entries with HTML content programmatically?

Create electronic lab notebook entries programmatically by structuring entry content as HTML. The API supports adding comments and managing content structure to automate documentation workflows within LabArchives.

What is the best way to connect LabArchives with Jupyter or REDCap?

Connect LabArchives with Jupyter or REDCap through documented API patterns for ELN automation. This integration enables data pipelines that link third-party research tooling with your notebook for reproducible research workflows.

Can I download notebook backups without including file attachments?

Yes, you can download notebook backups without attachments. The API supports optional JSON and no-attachments modes, allowing for controlled backup outputs when you only need notebook text and metadata.