---
title: "Run sync"
method: GET
path: "/api/{workspaceId}/sources/run"
tags: ["Syncs"]
---

# Run sync

`GET /api/{workspaceId}/sources/run`

## Request

- Base URL: `https://use.jitsu.com`
- URL: `https://use.jitsu.com/api/{workspaceId}/sources/run`
- Auth: HTTP bearer

Schedules a sync (the connection between a service and a destination, identified by `syncId`) to run immediately. Returns the new `taskId` plus `status` and `logs` URLs to poll. If a task is already running, the call fails and returns `runningTask` pointing at the in-flight job. Pass `fullSync=true` to drop the saved cursor and re-sync from scratch.

Auth: bearer token (`<keyId>:<secret>`). Internal scheduler calls authenticate with the sync-controller key instead.

## Path parameters

- `workspaceId` string, required

## Query parameters

- `syncId` string, required
- `fullSync` string
- `ignoreRunning` string
- `taskId` string

## Response `200`

OK

- object
  - `ok` boolean, required
  - `error` string
  - `errorType` string
  - `taskId` string
  - `status` string
  - `logs` string
  - `runningTask` object
    - `taskId` string, required
    - `status` string, required
    - `logs` string, required

## Other responses

- `400`: Bad request
- `500`: Internal server error

---

[API](https://skmtc.dev/jitsu/apis/jitsu-api.md) - [All operations](https://skmtc.dev/jitsu/apis/jitsu-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jitsu/apis/jitsu-api/revisions/f6b8702d246f?raw)
