Daytona interpreter API

The interpreter API from Daytona — 3 operation(s) for interpreter.

Operations 4

GET /process/interpreter/context List all user-created interpreter contexts #
POST /process/interpreter/context Create a new interpreter context #
DELETE /process/interpreter/context/{id} Delete an interpreter context #
GET /process/interpreter/execute Execute code in an interpreter context #

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/daytona-io-interpreter-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

daytona-io-interpreter-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Daytona Toolbox API
  title: Daytona Sandbox Toolbox Interpreter API
  contact: {}
  license:
    name: Apache-2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
  version: v0.0.0-dev
servers:
- url: https://proxy.app.daytona.io/toolbox
  description: Daytona Sandbox Toolbox proxy
tags:
- name: interpreter
paths:
  /process/interpreter/context:
    get:
      description: Returns information about all user-created interpreter contexts (excludes default context)
      tags:
      - interpreter
      summary: List all user-created interpreter contexts
      operationId: ListInterpreterContexts
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListContextsResponse'
    post:
      description: Creates a new isolated interpreter context with optional working directory and language
      tags:
      - interpreter
      summary: Create a new interpreter context
      operationId: CreateInterpreterContext
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InterpreterContext'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: string
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateContextRequest'
        description: Context configuration
        required: true
  /process/interpreter/context/{id}:
    delete:
      description: Deletes an interpreter context and shuts down its worker process
      tags:
      - interpreter
      summary: Delete an interpreter context
      operationId: DeleteInterpreterContext
      parameters:
      - description: Context ID
        name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: string
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: string
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: string
  /process/interpreter/execute:
    get:
      description: Executes code in a specified context (or default context if not specified) via WebSocket streaming
      tags:
      - interpreter
      summary: Execute code in an interpreter context
      operationId: ExecuteInterpreterCode
      responses:
        '101':
          description: Switching Protocols
          headers:
            Connection:
              description: Upgrade
              schema:
                type: string
            Upgrade:
              description: websocket
              schema:
                type: string
          content:
            application/json:
              schema:
                type: string
components:
  schemas:
    ListContextsResponse:
      type: object
      required:
      - contexts
      properties:
        contexts:
          type: array
          items:
            $ref: '#/components/schemas/InterpreterContext'
    InterpreterContext:
      type: object
      required:
      - active
      - createdAt
      - cwd
      - id
      - language
      properties:
        active:
          type: boolean
        createdAt:
          type: string
        cwd:
          type: string
        id:
          type: string
        language:
          type: string
    CreateContextRequest:
      type: object
      properties:
        cwd:
          type: string
        language:
          type: string