Codevisor Docs
Api reference

Get the restart drain state (live turns being paused for a restart)

GET/v1/restart/drain

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/restart/drain"
{  "state": "idle",  "remaining": 0,  "startedAt": "string",  "pausedSessionIds": [    "string"  ],  "harnessIds": [    "string"  ],  "harnessNames": {    "property1": "string",    "property2": "string"  }}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}