show instances
Retrieve a paginated list of instances for the authenticated user. Supports keyset pagination (max 25 per page), filtering, column selection, and sorting.
CLI Usage: vastai show instances [OPTIONS] [--api-key API_KEY] [--raw]
Authorizations
API key must be provided in the Authorization header
Query Parameters
Instances per page. Maximum 25. Omit or set ≤ 0 to use the server default (currently 5). Prefer an explicit limit (for example 25).
x <= 25Keyset pagination cursor from the previous response's next_token. An invalid token returns a 400 error.
JSON array of sort directives, e.g. [{"col":"id","dir":"asc"}]. Valid dir values: asc, desc (anything else treated as asc). id is always appended as a tiebreaker. Invalid column returns 400.
JSON array of column names to return, e.g. ["id","label","actual_status"]. Use ["*"] for all columns (default). Unknown column names are returned as null.
JSON object of column filters. Supported operators: eq, neq, gt, gte, lt, lte, in, notin.
Filterable columns: actual_status, gpu_name, verification, id, label, and other columns stored directly on the contract record
(including sla_r_claim and sla_r_target / target_reliability when present). Computed fields (e.g. dph_total, num_gpus, has_sla) are not filterable and return 400.
Prefer client-side filtering on target_reliability > 0 for SLA-covered instances. Optional select_filters on stored SLA fields may work for some keys; do not rely on it as the only detection path.
Response
Paginated list of instances
true
Number of instances returned in this page.
5
Total number of instances matching the filters.
42
Count of instances grouped by label. Unlabelled instances are keyed by empty string.
Pagination cursor for the next page. null when no more pages.
"eyJ2YWx1ZXMiOiB7ImlkIjogMTIzfX0="
List of instance objects.