No articles match “”. Try a broader term like token, yaml, or 429.
Getting started
Quickstart
Avyron Space provisions ephemeral, container-isolated development workspaces on demand. This guide takes you from zero to a running workspace in three commands. You will need an Avyron account and an organization seat — create one at account.avyron.space.
terminal
# 1. install the CLI (no global install required)
npx @avyron/cli@latest init --region eu-west
# 2. authenticate against your organization
avyron login --org acme
# 3. boot a workspace from your committed .avyron.yaml
avyron up
The first boot in a new region warms a kernel pool for your org. Subsequent avyron up calls resume from snapshot in ~1.9 seconds.
CLI
CLI installation & commands
The @avyron/cli package is distributed on npm and ships a single self-updating binary. Pin a version in CI, or track latest locally.
Core commands
avyron up — boot or resume the workspace defined in .avyron.yaml.
avyron code <ws-id> — attach your local VS Code over a secure tunnel.
avyron ports expose <port> --share team — publish an org-scoped preview URL.
avyron down — suspend the workspace; pinned volumes are retained.
Workspaces
.avyron.yaml workspace reference
Commit a .avyron.yaml file to the root of your repository. It declares the runtime image, resources, feature flags, and the volumes that persist across ephemeral boots.
.avyron.yaml
version:1runtime: container
image:ghcr.io/acme/base:node20region:eu-west-ams1resources:cpu:8# vCPU, burstable to 16memory:16Gistorage:40Gifeatures:docker:true# rootless Docker-in-Dockerdotfiles:github.com/acme/dotfilesvolumes:-path:/workspace/.cachepersist:trueenv:NODE_ENV:developmentidle_timeout:20m# auto-suspend after inactivity
Field summary
runtime — currently container; microvm is in private beta.
resources.cpu — baseline vCPU; workspaces burst to 2× under load.
volumes[].persist — when true, the path survives suspend/teardown and is snapshot-eligible.
idle_timeout — duration string (10m, 1h) before auto-suspend.
Workspaces
Workspace lifecycle
A workspace moves through four states. Transitions are event-sourced and streamed to your audit log.
provisioning — kernel pulled from warm pool, volumes mounted, dotfiles applied.
running — interactive; metered per compute-second.
suspended — idle past idle_timeout; CPU released, pinned volumes retained.
terminated — ephemeral state discarded; snapshots (if any) retained per policy.
REST API
POST /api/v1/auth/verify
Validates a workspace provisioning token against the organization ACL and returns the granted scopes. Called by the CLI and the account portal before establishing a session. Requests must be made from a source IP registered in your organization’s allowlist.
A 401 with “source IP not registered in organization ACL” means the request originated outside your allowlist. Add the egress range under account.avyron.space → Security.
REST API
GET /api/v1/subscriptions/manifest
Returns the seat-license manifest for the authenticated organization — the authoritative source for seat counts, included compute, and renewal dates. Poll this endpoint to synchronize seat state into your own systems; it is also surfaced at sub.avyron.space.
All endpoints return conventional HTTP status codes. Error bodies carry a machine-readable error, a human message, and a trace_id you can quote to support.
Code
Meaning
When you’ll see it
200
OK
Token valid; manifest returned successfully.
401
Unauthorized
Workspace token invalid, expired, or source IP not in the organization ACL.
403
Forbidden
Seat suspended, or the role lacks the required scope (e.g. iam:workspace.read).
422
Unprocessable Entity
Payload failed validation — malformed Workspace ID or subscription key checksum.
429
Too Many Requests
Verification rate limit exceeded; honor the Retry-After header.
REST API
Response headers
Every API response includes observability and rate-limit headers. Log the X-Avyron-Trace-Id alongside your own request IDs to correlate with Avyron support.