Codevisor Docs
Api reference

GET Workspace Snapshot

GET/v1/workspace-snapshot

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/workspace-snapshot"
{  "workspaces": [    {      "id": "string",      "serverId": "string",      "projectId": "string",      "name": "string",      "hasCustomName": true,      "rootDirectory": "string",      "isArchived": true,      "archivedAt": "string",      "createdAt": "string",      "updatedAt": "string"    }  ],  "panes": [    {      "id": "string",      "workspaceId": "string",      "providerId": "string",      "paneType": "string",      "title": "string",      "resourceKind": "string",      "resourceId": "string",      "metadata": "string",      "revision": 0,      "createdAt": "string",      "updatedAt": "string"    }  ]}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}