Skip to main content
Show details for a single deployment.

Signature

VastAI.show_deployment(id: int) -> str

Parameters

id
int
required
ID of the deployment to show.

Returns

str — Result from the API call.

Example

from vastai import VastAI

client = VastAI(api_key="YOUR_API_KEY")
result = client.show_deployment(id=12345)
print(result)