Skip to content
Select themeSelect language

`GET /api/workspace/repo_sync` — fetch the workspace's repo-sync config.

GET
/api/workspace/repo_sync
curl --request GET \
--url https://example.com/api/workspace/repo_sync
Media typeapplication/json
One of:
null
Examplegenerated
{
"auto_push": true,
"branch": "example",
"credential_resource_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"last_sync_at": "2026-04-15T12:00:00Z",
"last_sync_sha": "example",
"repo_url": "example",
"sync_mode": "example",
"workspace_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
}