---
title: "Test connection to remote repository"
method: POST
path: "/sync/test-connection"
tags: ["sync"]
---

# Test connection to remote repository

`POST /sync/test-connection`

Tests authentication and connectivity to the configured Git repository

## Query parameters

- `remoteNode` string

## Response `200`

Connection test result

- SyncConnectionTestResponse — Result of connection test
  - `success` boolean, required
  - `message` string
  - `error` string

## Other responses

- `default` — Unexpected error

---

[API](https://skmtc.net/dagucloud/apis/dagu.md) · [All operations](https://skmtc.net/dagucloud/apis/dagu/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dagucloud/dagu/revisions/93cc41f2018a/schema)
