Skip to content
Book a Demo
API Light@8x

API

The Code Ocean API enables programmatic access without using the user interface. Tap into core functionality to run Computations, create Data Assets, retrieve metadata, and more.

Key capabilities

How the API works with the rest of the platform

Frequently asked questions

API@8xAPI

What can I do with the Code Ocean API?

The Public API allows you to interact with Code Ocean programmatically, without using the web application. You can automate tasks that you can do in the UI, such as running Capsules and Pipelines, managing Data Assets, programmatically provisioning compute, collecting results, and more.

Who is the API for?

Engineering teams, bioinformatics / data science groups, platform teams, and anyone who needs reproducible research workflows embedded in their own tools.

Is it REST or GraphQL?

REST. The API is organized around REST with predictable resource‑oriented URLs, JSON-encoded requests and responses, and standard HTTP verbs, authentication, and status codes.

How do I create an Access Token to use the Public API?

You can view and manage your access tokens from within your Account page under Access Tokens.

What is the Code Ocean Python SDK?

The Python SDK is a wrapper over the public API that makes it easy to leverage the full functionality of the API from your Python scripts and applications. 

Built for Computational Science

  • Data analysis

    data-analysis
    Compute Scalability@8x

    Data analysis

    Use ready-made template Compute Capsules to analyze your data, develop your data analysis workflow in your preferred language and IDE using any open-source software, and take advantage of built-in containerization to guarantee reproducibility.

  • Data management

    data-management
    Data Management Light@8x

    Data management

    Manage your organization's data and control who has access to it. Built specifically to meet all FAIR principles, data management in Code Ocean uses custom metadata and controlled vocabularies to ensure consistency and improve searchability.

  • Bioinformatics pipelines

    bioinformatic-pipelines
    Pipelines Light@8x

    Bioinformatics pipelines

    Build, configure and monitor bioinformatics pipelines from scratch using a visual builder for easy set-up. Or, import from nf-core in one click for instant access to a curated set of best practice analysis pipelines. Runs on AWS Batch out-of-the-box, so your pipelines scale automatically. No setup needed.

  • ML models

    AI-MLflow
    Data Analysis Light@8x

    ML model development

    Code Ocean is uniquely suited for Artificial Intelligence, Machine Learning, Deep Learning, and Generative AI. Install GPU-ready environments and provision GPU resources in a few clicks. Integration with MLFlow allows you to develop models, track parameters, manage models from development to production, while enjoying out-of-the-box reproducibility and lineage.

  • Multiomics

    multiomics
    Multiomics Light@8x

    Multiomics

    Analyze and work with large multimodal datasets efficiently using scalable compute and storage resources, cached packages for R and Python, preloaded multiomics analysis software that works out of the box and full lineage and reproducibility.

  • Imaging

    image-processing
    Image processing Light@8x

    Imaging

    Process images using a variety of tools: from dedicated desktop applications to custom-written deep learning pipelines, from a few individual files to petabyte-sized datasets. No DevOps required, always with lineage.

  • Cloud management

    cloud-management
    Cloud management Light@8x

    Cloud management

    Code Ocean makes it easy to manage data and provision compute: CPUs, GPUs, and RAM. Assign flex machines and dedicated machines to manage what is available to your users. Spot instances, idleness detection, and automated shutdown help reduce cloud costs. 

  • Data/model provenance

    result-provenance
    Provenance Light@8x

    Data/model provenance

    Keep track of all data and results with automated result provenance and lineage graph generation. Assess reproducibility with a visual representation of every Capsule, Pipeline, and Data asset involved in a computation.

data-analysis
Compute Scalability@8x

Data analysis

Use ready-made template Compute Capsules to analyze your data, develop your data analysis workflow in your preferred language and IDE using any open-source software, and take advantage of built-in containerization to guarantee reproducibility.

data-management
Data Management Light@8x

Data management

Manage your organization's data and control who has access to it. Built specifically to meet all FAIR principles, data management in Code Ocean uses custom metadata and controlled vocabularies to ensure consistency and improve searchability.

bioinformatic-pipelines
Pipelines Light@8x

Bioinformatics pipelines

Build, configure and monitor bioinformatics pipelines from scratch using a visual builder for easy set-up. Or, import from nf-core in one click for instant access to a curated set of best practice analysis pipelines. Runs on AWS Batch out-of-the-box, so your pipelines scale automatically. No setup needed.

AI-MLflow
Data Analysis Light@8x

ML model development

Code Ocean is uniquely suited for Artificial Intelligence, Machine Learning, Deep Learning, and Generative AI. Install GPU-ready environments and provision GPU resources in a few clicks. Integration with MLFlow allows you to develop models, track parameters, manage models from development to production, while enjoying out-of-the-box reproducibility and lineage.

multiomics
Multiomics Light@8x

Multiomics

Analyze and work with large multimodal datasets efficiently using scalable compute and storage resources, cached packages for R and Python, preloaded multiomics analysis software that works out of the box and full lineage and reproducibility.

image-processing
Image processing Light@8x

Imaging

Process images using a variety of tools: from dedicated desktop applications to custom-written deep learning pipelines, from a few individual files to petabyte-sized datasets. No DevOps required, always with lineage.

cloud-management
Cloud management Light@8x

Cloud management

Code Ocean makes it easy to manage data and provision compute: CPUs, GPUs, and RAM. Assign flex machines and dedicated machines to manage what is available to your users. Spot instances, idleness detection, and automated shutdown help reduce cloud costs. 

result-provenance
Provenance Light@8x

Data/model provenance

Keep track of all data and results with automated result provenance and lineage graph generation. Assess reproducibility with a visual representation of every Capsule, Pipeline, and Data asset involved in a computation.

Join thousands of other Computational Scientists using Code Ocean