Examples
You use these guides when you already know how to authenticate and want copy-adaptable patterns for real products. Each example lives on its own page so you can follow it end to end without scrolling through unrelated scenarios.What you need first
Before you run the code on any example page, you complete this checklist:- You create an API key in the dashboard (or your operator issues one).
- You set
VR_API_KEYin your environment. - On the hosted platform you rely on the SDK default API host (same as OpenAPI
servers). For self-hosted deployments you setVR_API_URL/API_URLorbaseUrl/base_url=: see Self-hosted deployments. - You install
@voidrun/sdkorvoidrunas described in the Quickstart. For Cursor and MCP instead of SDK code, follow VoidRun MCP.
On the hosted VoidRun platform, valid system images are
code, docker-lite, max, and docker (see System images). You confirm names and versions with GET /images or the dashboard. Self-hosted deployments may differ.
