Skip to main content

Welcome to Runtime

Runtime is a powerful code execution API service that enables you to run code snippets securely in isolated Docker containers. Built with Spring Boot, it provides a simple REST API for executing code across multiple programming languages with built-in resource limits and security controls.

Quickstart

Get up and running in minutes with our quick tutorial

API Reference

Explore the complete API documentation and endpoints

Architecture

Learn how Runtime executes code securely with Docker

Supported Languages

See all supported programming languages and runtimes

Key Features

Docker-Based Isolation

Every code execution runs in its own isolated Docker container for maximum security

Multi-Language Support

Execute code in Java, Python, C, C++, and JavaScript

Resource Limits

Built-in memory and CPU constraints prevent resource exhaustion

REST API

Simple HTTP API built with Spring Boot for easy integration

Execution Tracking

Get detailed execution time metrics for every code run

Automatic Cleanup

Containers are automatically cleaned up after execution

How It Works

Runtime accepts code snippets through a REST API endpoint, dynamically spins up a Docker container for the specified language, executes the code in isolation, and returns the output along with execution metrics.
Runtime requires Docker to be installed and running on the host system. See the Setup Guide for installation instructions.

Use Cases

  • Online Coding Platforms: Execute user-submitted code safely in educational or interview platforms
  • Code Testing Services: Run automated tests in isolated environments
  • Serverless Functions: Deploy lightweight code execution as a service
  • API Testing: Execute code snippets for API testing and validation

Next Steps

Quick Tutorial

Execute your first code snippet in under 5 minutes

Setup Guide

Install and configure Runtime for your environment

Build docs developers (and LLMs) love