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-v1 [OPTIONS] [--api-key API_KEY] [--raw]
API key must be provided in the Authorization header
Instances per page. Default 25, max 25. Values ≤ 0 are treated as 5.
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. Computed fields (e.g. dph_total, num_gpus) are not filterable and return 400.
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.
{ "ML Training Job": 3, "": 2 }Pagination cursor for the next page. null when no more pages.
"eyJ2YWx1ZXMiOiB7ImlkIjogMTIzfX0="
List of instance objects.