> For the complete documentation index, see [llms.txt](https://docs.cloudeka.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.ai/cloudeka-api/cloudeka-backend/vm-list.md).

# VM List

This API is used to get a list of VMs

```json
{"openapi":"3.1.1","info":{"title":"Cloudeka AI - API Documentation","version":"1.0.0"},"tags":[{"name":"Cloudeka Backend","description":"API endpoints for Cloudeka Backend (base: /core)"}],"servers":[{"url":"https://ai.cloudeka.id/"}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"description":"Type 'Bearer ' followed by your JWT token. Example: \"Bearer eyJhbGciOi...\"","type":"apiKey","name":"Authorization","in":"header"}},"schemas":{"ai_backend__handler.SuccessRespond":{"type":"object","properties":{"code":{"type":"integer"},"data":{},"message":{"type":"string"}}},"ai_backend__handler.GetVMListsResponseWithPage":{"type":"object","properties":{"message":{"type":"string"},"pagination":{"$ref":"#/components/schemas/ai_backend__virtualmachine.Paginate"},"status":{"type":"string"},"virtualmachine":{"type":"array","items":{"$ref":"#/components/schemas/ai_backend__virtualmachine.ListVirtualMachine"}}}},"ai_backend__virtualmachine.Paginate":{"type":"object","properties":{"count":{"type":"integer"},"page":{"type":"integer"},"totalpage":{"type":"number"}}},"ai_backend__virtualmachine.ListVirtualMachine":{"type":"object","properties":{"created":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"},"raw":{},"ready":{"type":"string"},"source":{"type":"string"},"status":{"type":"string"}}},"ai_backend__handler.BaseError":{"type":"object","properties":{"code":{"type":"string"},"error":{}}}}},"paths":{"/core/virtual-machine/list/all":{"get":{"description":"This API is used to get a list of VMs","tags":["Cloudeka Backend","VMs"],"summary":"VM List","parameters":[{"schema":{"type":"string"},"description":"Project ID","name":"project_id","in":"query","required":true},{"schema":{"type":"string"},"description":"Page","name":"page","in":"query"},{"schema":{"type":"string"},"description":"Limit","name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ai_backend__handler.SuccessRespond"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ai_backend__handler.GetVMListsResponseWithPage"}}}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_backend__handler.BaseError"}}}}}}}}}
```
