---
title: "Pull changes from remote repository"
method: POST
path: "/sync/pull"
tags: ["sync"]
---

# Pull changes from remote repository

`POST /sync/pull`

Fetches and syncs changes from the remote Git repository

## Query parameters

- `remoteNode` string

## Response `200`

Pull completed successfully

- SyncResultResponse — Result of a sync operation
  - `success` boolean, required
  - `message` string
  - `synced` string[] — Sync item IDs that were synced
  - `modified` string[] — Sync item IDs that were modified
  - `conflicts` string[] — Sync item IDs with conflicts
  - `errors` SyncError[]
    - `itemId` string
    - `message` string, required
  - `timestamp` string, date-time, required

## 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)
