Api reference
GET Workspaces
GET
/v1/workspacesAuthorization
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/workspaces"[ { "id": "string", "serverId": "string", "projectId": "string", "name": "string", "hasCustomName": true, "rootDirectory": "string", "isArchived": true, "archivedAt": "string", "createdAt": "string", "updatedAt": "string", "sidebarPosition": "string", "sidebarOrderRevision": 0, "labels": { "property1": "string", "property2": "string" }, "git": { "branch": "string", "detachedHead": "string", "pullRequest": { "number": 0, "title": "string", "state": "open", "isDraft": true, "url": "string", "checks": "passing" } }, "mainSessionId": "string", "defaultCheckoutId": "string" }]{ "error": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}