VMs
List VMs
List machines once each, newest execution first.
TypeScript SDKThe npm client, generated from the API spec.Python SDKThe PyPI client, sync and async.
| Method | Path | Required permissions |
|---|---|---|
| GET | /v1/vms | read:environments |
Token access
- API key
- Supported.
- CLI user token
- Supported.
- Sandbox token
- Requires the ellipsis:api scope and the required grants in the token's permissions.ellipsis configuration. Only the token's own VM.
Higher permission levels include lower levels: read < write < delete.
Includes paused and deleted VMs and their last recorded state. Use limit and offset to page through results.
Query parameters
limitdefault
50integeroffsetdefault
0integercurl "https://api.ellipsis.dev/v1/vms" \
-H "Authorization: Bearer $ELLIPSIS_API_TOKEN"import os
from ellipsis import Ellipsis
client = Ellipsis(api_key=os.environ["ELLIPSIS_API_TOKEN"])
result = client.vms.list()
print(result)import { Ellipsis } from '@ellipsis-dev/sdk';
const client = new Ellipsis({
apiKey: process.env.ELLIPSIS_API_TOKEN!,
});
const result = await client.vms.list();
console.log(result);Request
Response
Example response, 200
{
"next_offset": 0,
}