Loading...
Loading...
Run a generic Vast.ai API lifecycle from offer search to teardown with safety checks and reproducible request steps. Use when users need to list/filter offers, create instances, attach SSH keys, poll readiness, stop/destroy instances, or inspect billing/usage, and when required runtime fields (image, instance type, API key source) should be collected in dialog with default suggestions.
npx skill4agent add bogdandidenko/skills vastai-workflowapi_key_sourceVAST_API_KEYkeys/.vast_envinstance_typegpu_name="RTX 4090"imagepytorch/pytorch:latestdisk_gb64count1labelvast-userofferscreatestatussshdestroybillingimagedisk_gbVAST_API_KEY/bundlesrentable=truerented=falsePUT /asks/{id}imagelabeldisk_gbno_such_askvast-usercurl -sS -L -G "https://console.vast.ai/api/v0/<endpoint>/" \
--data-urlencode "api_key=$VAST_API_KEY" \
--data-urlencode "<param>=<value>"curl -sS -L -X PUT "https://console.vast.ai/api/v0/asks/$OFFER_ID/?api_key=$VAST_API_KEY" \
-H "Content-Type: application/json" \
-d "{\"image\":\"$IMAGE\",\"disk\":$DISK_GB,\"label\":\"$LABEL\"}"401/4034294xx5xxreferences/api.mdreferences/api.md