How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Vast.ai Instances API

The Instances API from Vast.ai — 14 operation(s) for instances.

Vast.ai Instances API is one of 11 APIs that Vast.ai publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Instances. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 18 operations across 14 paths, and defines 3 schemas. It is described by OpenAPI 3.1.0, at version 1.0.0.

Requests are made against a single base URL, https://console.vast.ai.

18 operations 14 paths 3 schemas 4 DELETE3 GET2 POST9 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0.0
Base URL
https://console.vast.ai/api/v0
Authentication
HTTP Bearer, API Key, API Key
Resource Areas
1

Authentication & Security 3

Vast.ai Instances API declares 3 security schemes for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). An API key is passed in the header as Authorization (apiKeyAuth). An API key is passed in the query as api_key (ApiKeyAuth). By default, every request must be authenticated.

  • bearerAuth — API key authentication
  • ApiKeyAuth — API key must be provided as a query parameter

Paths & Operations 18

Across 14 paths, the API surfaces 18 operations — 4 DELETE, 3 GET, 2 POST, 9 PUT. Each is listed below with its method, path, parameters, and response codes.

Instances 18
POST
/api/v0/instances/{id}/ssh/
attach ssh-key
1 param body → 200400404401
DELETE
/api/v0/commands/copy_direct/
cancel copy
cancelRemoteRsync body → 200400404
PUT
/api/v0/commands/copy_direct/
copy
initiateRemoteRsync body → 200400404
DELETE
/api/v0/commands/rclone/
cancel sync
body → 200400404
POST
/api/v0/commands/rclone/
cloud copy
body → 200400
PUT
/api/v0/instances/bid_price/{id}/
change bid
1 param body → 200400404429
PUT
/api/v0/asks/{id}/
create instance
1 param body → 200400401403404410429
DELETE
/api/v0/instances/{id}/
destroy instance
1 param → 200400404429
PUT
/api/v0/instances/{id}/
manage instance
1 param body → 200400401404429
GET
/api/v0/instances/{id}/
show instance
1 param → 200400401429
DELETE
/api/v0/instances/{id}/ssh/{key}/
detach ssh-key
2 params → 200400404429500
PUT
/api/v0/instances/command/{id}/
execute
1 param body → 200400401403429483
PUT
/api/v0/instances/request_logs/{id}
show logs
1 param body → 200404403
PUT
/api/v0/instances/prepay/{id}/
prepay instance
1 param body → 200400411429
PUT
/api/v0/instances/reboot/{id}/
reboot instance
1 param → 200400401429
PUT
/api/v0/instances/recycle/{id}/
recycle instance
1 param → 200400401429
GET
/api/v0/instances/{instance_id}/ssh/
show ssh-keys
1 param → 200400401404
GET
/api/v0/instances/
show instances
→ 200401429

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are Instance (36 properties), Error (3 properties), SimpleBooleanSuccessResponse (1 property). Each schema is shown below with its type and property counts.

Instance
object
Detailed information about an instance.
36 properties
Error
object
3 properties
SimpleBooleanSuccessResponse
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

vast-ai-instances-api-openapi.yml Raw ↑

Other APIs Vast.ai publishes across the network.

Vast.ai REST API
Vast.ai Accounts API
Vast.ai Billing API
Vast.ai Machines API
Vast.ai Network Volumes API
Vast.ai Search API
Vast.ai Serverless API
Vast.ai Team API
Vast.ai Templates API
Vast.ai Volumes API
Where this information came from

This is an independent, third-party profile of Vast.ai Instances API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.