Skip to main content
GET
/
api
/
workspaces
/
{id}
Get Workspace
curl --request GET \
  --url http://localhost:8080/api/workspaces/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "name": "<string>",
  "path": "<string>",
  "created_at": "<string>",
  "updated_at": "<string>",
  "github_url": "<string>",
  "auto_fix_merge_conflicts": false,
  "auto_fix_ci_failures": false,
  "git_branch": "<string>",
  "git_status": "<string>",
  "git_dirty": false,
  "disk_usage_bytes": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

Successful Response

id
string
required
name
string
required
path
string
required
created_at
string
required
updated_at
string
required
github_url
string | null
auto_fix_merge_conflicts
boolean
default:false
auto_fix_ci_failures
boolean
default:false
git_branch
string | null
git_status
string | null
git_dirty
boolean
default:false
disk_usage_bytes
integer | null