Skip to main content
Add an instance to an overlay network.

Signature

VastAI.join_overlay(name: str, instance_id: int) -> str

Parameters

name
str
required
name
instance_id
int
required
instance_id

Returns

str — Result from the API call.

Example

from vastai import VastAI

client = VastAI(api_key="YOUR_API_KEY")
result = client.join_overlay(name="...", instance_id=12345)
print(result)