Runtime Functions API

The functions API from Runtime, for functions.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 36

POST /v2/functions Creates a function. #
GET /v2/functions Lists the project's functions, newest first #
GET /v2/functions/{id} Returns a function #
DELETE /v2/functions/{id} Deletes a function, its memory and its disk #
POST /v2/functions/{id}:pause Pauses a function with its memory and disk kept. A call to it resumes it #
POST /v2/functions/{id}:resume Resumes a paused function where it was, its memory and processes as they were #
POST /v2/functions/{id}:exec Runs a command as a process and returns it once it ended, with its output; with… #
GET /v2/functions/{id}/files Returns a file's bytes #
PUT /v2/functions/{id}/files Writes the request's bytes to a file as they come, of any size (Content-Length… #
GET /v2/functions/{id}/processes/{process}/output Returns a process's output after a cursor, and the cursor to read on from. #
POST /v2/functions/{id}/processes/{process}:write Sends input to a process started with stdinOpen or a pty, and returns how much… #
POST /v2/functions/{id}/processes/{process}:signal Sends a signal to a process and its group; a process that ended is not… #
POST /v2/functions/{id}/processes/{process}:resize Resizes the terminal of a process started with a pty (its window's columns and… #
GET /v2/functions/{id}/processes Lists a function's processes, newest first: those running and those that ended… #
POST /v2/functions/{id}/files:remove Removes a file, a link or a directory (recursive for one with contents). #
GET /v2/functions/{id}/files/stat Returns what is at a path: a file, a directory or a link, or nothing (exists… #
GET /v2/functions/{id}/files/list Lists a directory's entries in path order, to a depth #
GET /v2/functions/{id}/files/archive Returns a folder as a tar archive (`application/x-tar`, or `application/gzip`… #
PUT /v2/functions/{id}/files/archive Unpacks the request's tar archive (gzip-compressed or not, told by its first… #
POST /v2/functions/{id}/files/archive/uploads Begins a folder's upload in parts: tar starts in the function, unpacking into… #
PUT /v2/functions/{id}/files/archive/uploads/{upload} Sends the request's bytes, a part of the archive at its offset, into tar's… #
POST /v2/functions/{id}/files/archive/uploads/{upload}:commit Ends a folder upload's input and returns once tar has ended, as an exec returns… #
POST /v2/functions/{id}/files/archive/uploads/{upload}:abort Stops a folder upload's tar; what it unpacked so far stays #
POST /v2/functions/{id}/files:mkdir Makes a directory, and its parents unless parents is false. #
POST /v2/functions/{id}/files:rename Moves a file, a link or a directory; refused 409 when something is at its new… #
GET /v2/functions/{id}/network Returns where a function may connect out #
PUT /v2/functions/{id}/network Replaces where a function may connect out, for its next connection and within a… #
GET /v2/functions/{id}/metrics Returns a function's CPU, memory, disks and pressure, as its host reads them… #
POST /v2/functions/{id}:fork Copies a function as it is now, memory and disk, into `count` copies of its… #
POST /v2/functions/{id}:snapshot Keeps a function's memory and disk as they are now, a snapshot to start… #
POST /v2/functions/{id}:update Changes its name, labels, idle pause, maxCost, autoWake, lifetime, delete… #
GET /v2/functions/{id}/screenshot Returns what a function's screen shows now, as `image/png` (or `image/jpeg`)… #
POST /v2/functions/{id}:act Moves, clicks, drags and scrolls the mouse and types on the keyboard of a… #
POST /v2/functions/{id}:runCode Runs a cell of Python in a function as a notebook does, in a Jupyter kernel it… #

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/withruntime-com:withruntime-com-functions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

withruntime-com-functions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Runtime API v2 Functions API
  version: '2026-10-27'
servers:
- url: https://api.withruntime.com
security:
- bearer: []
tags:


# --- truncated at 32 KB (163 KB total) ---
# Full source: https://artifacts.apis.io/withruntime-com/openapi/withruntime-com-functions-api-openapi.yml