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 Accounts API

The Accounts API from Vast.ai — 13 operation(s) for accounts.

Vast.ai Accounts 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 Account. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 21 operations across 13 paths, and defines 2 schemas. It is described by OpenAPI 3.2.0, at version 1.0.0.

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

21 operations 13 paths 2 schemas 3 DELETE9 GET4 POST5 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.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 Accounts 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 21

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

Accounts 21
POST
/api/v0/auth/apikeys/
create api-key
postApiV0AuthApikeys body → 200400401429
GET
/api/v0/auth/apikeys/
show api keys
getApiV0AuthApikeys → 200400401429
POST
/api/v0/secrets/
create env-var
postApiV0Secrets body → 200400401403429
DELETE
/api/v0/secrets/
delete env var
deleteUserSecret body → 200400401403429
GET
/api/v0/secrets/
show env vars
getApiV0Secrets → 200401403429
PUT
/api/v0/secrets/
update env var
putApiV0Secrets body → 200400401429
POST
/api/v0/ssh/
create ssh-key
postApiV0Ssh body → 200400401429
GET
/api/v0/ssh/
show ssh keys
getSshKeysUser 1 param → 200401404
POST
/api/v0/users/
create subaccount
postApiV0Users body → 200400403409429
PUT
/api/v0/users/
set user
putApiV0Users body → 200400401403429
DELETE
/api/v0/auth/apikeys/{id}/
delete api key
deleteApiV0AuthApikeysById 1 param → 200400401403404429
GET
/api/v0/auth/apikeys/{id}/
show api key
getApiV0AuthApikeysById 1 param → 200401403404429
DELETE
/api/v0/ssh/{id}/
delete ssh key
deleteSshKey 1 param → 200400
PUT
/api/v0/ssh/{id}/
update ssh key
putApiV0SshById 1 param body → 200400429
PUT
/api/v0/commands/reset_apikey/
reset api key
putApiV0CommandsResetApikey body → 200404429
GET
/api/v0/users/cloud_integrations/
show connections
getApiV0UsersCloudIntegrations → 200401429
GET
/api/v0/users/{user_id}/ipaddrs/
show ipaddrs
getApiV0UsersByUserIdIpaddrs 1 param → 200401403429
GET
/api/v0/subaccounts/
show subaccounts
getApiV0Subaccounts → 200401429
GET
/api/v0/team/roles/{id}/
show team role
getApiV0TeamRolesById 1 param → 200404
GET
/api/v0/users/current/
show user
getApiV0UsersCurrent → 200401500
PUT
/api/v0/commands/transfer_credit/
transfer credit
putApiV0CommandsTransferCredit body → 200400401429

Schemas 2

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

SuccessResponse
object
2 properties
Error
object
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

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

Other APIs Vast.ai publishes across the network.

Vast.ai REST API
Vast.ai Billing API
Vast.ai Instances 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 Accounts 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.