---
title: "power state"
method: POST
path: "/kvm/v2/get/power"
tags: ["Power Management"]
---

# power state

`POST /kvm/v2/get/power`

This endpoint retrieves the power state of the specified KVM VPS.  
The `api_host` parameter, obtained from the "Create AUTH-session" response, 
is dynamically set in the URL.  
Use the `signature`, `kvm_id`, and `valid_until` parameters returned from the 
"Create AUTH-session" response to authenticate the request.

## Response `200`

The power state of the KVM VPS was retrieved successfully.

- InlineResponse2002
  - `status` string
  - `kvmid` string
  - `serviceid` integer

## Other responses

- `400` — Bad Request - Missing or invalid parameters.
- `401` — Unauthorized - Invalid or expired session.
- `403` — Forbidden - You do not have permission to access this resource.
- `500` — Internal Server Error - An unexpected error occurred.

---

[API](https://skmtc.net/edisglobal/apis/edis-global-management-api.md) · [All operations](https://skmtc.net/edisglobal/apis/edis-global-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/edisglobal/edis-global-management-api/versions/223263c91ac0/schema)
