Codevisor Docs
Api reference

GET Sessions Id Usage Limits

GET/v1/sessions/{id}/usage-limits

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/sessions/string/usage-limits"
{  "state": "available",  "harnessId": "string",  "accountId": "string",  "accountLabel": "string",  "accountEmail": "string",  "plan": "string",  "windows": [    {      "id": "string",      "label": "string",      "usedPercent": 0,      "durationMinutes": 0,      "resetsAt": "string"    }  ],  "credits": {    "hasCredits": true,    "unlimited": true,    "balance": "string"  },  "detail": "string",  "fetchedAt": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}