Skip to main content
POST
/
api
/
v0
/
instances
/
take_snapshot
/
{id}
Create instance take snapshot
curl --request POST \
  --url https://console.vast.ai/api/v0/instances/take_snapshot/{id}/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "personal_repo": "<string>",
  "docker_login_user": "<string>",
  "docker_login_pass": "<string>",
  "container_registry": "<string>",
  "scheduled_job_id": "<string>",
  "pause": "<string>",
  "docker_login_repo": "<string>"
}
'
{
  "success": true,
  "msg": "Operation completed successfully"
}

Documentation Index

Fetch the complete documentation index at: https://vastai-80aa3a82-auto-openapi-preview-pr-4175.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Path Parameters

id
integer
required

The id

Body

application/json
id
string

The id

personal_repo
string

The personal repo

docker_login_user
string

The docker login user

docker_login_pass
string

The docker login pass

container_registry
string

The container registry

scheduled_job_id
string

The scheduled job id

pause
string

The pause

docker_login_repo
string

The docker login repo

Response

Successful response

success
boolean
Example:

true

msg
string
Example:

"Operation completed successfully"