The ID of the Devbox.
A list of capability groups this devbox has access to.
Creation time of the Devbox (Unix timestamp milliseconds).
The time the Devbox finished execution (Unix timestamp milliseconds). Present if the Devbox is in a terminal state.
The launch parameters used to create the Devbox.
The user defined Devbox metadata.
A list of state transitions in order with durations
The current status of the Devbox.
Optionalblueprint_The Blueprint ID used in creation of the Devbox, if the devbox was created from a Blueprint.
Optionalfailure_The category of failure experienced by the Devbox.
out_of_memory: The Devbox ran out of memory at runtime. Use launch parameters to request a larger resource size. out_of_disk: The Devbox ran out of disk at runtime. Please reach out to support for us to better support your use case. execution_failed: The Devbox failed at runtime. Please use the dashboard to look at the logs of the failure. health_check_failed: The Devbox failed its health checks. This may indicate resource utilization is close to the maximum. Consider requesting a larger resource size.
Optionalgateway_Gateway specifications configured for this devbox. Map key is the environment variable prefix (e.g., 'GWS_ANTHROPIC').
Optionalinitiator_The ID of the initiator that created the Devbox.
Optionalinitiator_The type of initiator that created the Devbox.
Optionalmcp_[Beta] MCP specifications configured for this devbox. Map key is the environment variable name for the MCP token envelope. Each spec links an MCP config to a secret for MCP server access through the MCP hub.
OptionalnameThe name of the Devbox.
Optionalshutdown_The reason that caused the transition of the Devbox to the shutown state.
api_shutdown: The Devbox shutdown due to API request. entrypoint_exit: The Devbox entrypoint program completed. idle: The Devbox shutdown due to configured action on idle configuration. ttl_expired: The Devbox shutdown due to TTL expiration.
Optionalsnapshot_The Snapshot ID used in creation of the Devbox, if the devbox was created from a Snapshot.
OptionaltunnelA V2 tunnel provides secure HTTP access to services running on a Devbox. Tunnels allow external clients to reach web servers, APIs, or other HTTP services running inside a Devbox without requiring direct network access. Each tunnel is uniquely identified by an encrypted tunnel_key and can be configured for either open (public) or authenticated access. Usage: https://{port}-{tunnel_key}.tunnel.runloop.ai. Authenticated tunnels should pass auth_token as X-Runloop-Tunnel-Authorization: Bearer {auth_token}.
A Devbox represents a virtual development environment. It is an isolated sandbox that can be given to agents and used to run arbitrary code such as AI generated code.