---
title: "Trigger Sync"
method: POST
path: "/v1/knowledge-base/knowledge-bases/{kb_id}/sources/{source_id}/sync"
tags: ["knowledge-base-connectors"]
---

# Trigger Sync

`POST /v1/knowledge-base/knowledge-bases/{kb_id}/sources/{source_id}/sync`

Trigger a manual resync for a connector source.

Uses a single session (svc.session) for both the parent job insert and the
atomic source-status flip, so the writes commit together. The UPDATE is
guarded by `status IN ('active','error')` so concurrent trigger_sync calls
can't both flip the same source into SYNCING.

## Path parameters

- `kb_id` string, uuid, required
- `source_id` string, uuid, required

## Response `200`

Successful Response

- SyncTriggerResponse
  - `job_id` string, uuid, required
  - `status` string, required
  - `message` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/oneloop-hq/apis/feather-api.md) · [All operations](https://skmtc.dev/oneloop-hq/apis/feather-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/oneloop-hq/feather-api/revisions/9cd7291d4228/schema)
