cURL
curl --request GET \ --url https://api.example.com/api/v1/workspaces/{workspace_id}/sync/state \ --header 'Authorization: Bearer <token>'
{ "synced_head_refs": [ "<string>" ], "synced_checkpoints": [ "<string>" ], "last_base_ref_sync_at": "2023-11-07T05:31:56Z", "last_base_ref_sync_ref": "<string>", "last_base_ref_sync_sha": "<string>" }
Get current sync state for a workspace.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
Current sync state for a workspace.