---
title: "Update Source Schedule"
method: PATCH
path: "/v1/knowledge-base/knowledge-bases/{kb_id}/sources/{source_id}/schedule"
tags: ["knowledge-base-connectors"]
---

# Update Source Schedule

`PATCH /v1/knowledge-base/knowledge-bases/{kb_id}/sources/{source_id}/schedule`

Enable/disable + configure a connector source's automatic (cron) re-sync.

Enabling requires ``sync_interval_seconds`` (schema-enforced) and is floored
server-side at ``kb_scheduled_sync_min_interval_seconds``; the first run is
seeded with a randomized initial delay so a batch of newly-enabled sources
doesn't stampede the first sweep. Disabling clears the interval + next run.

## Path parameters

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

## Request body

- UpdateSourceScheduleRequest — Configure a source's automatic (cron) re-sync schedule — ENG-196. ``sync_interval_seconds`` is required when enabling; the server-authoritative minimum (``kb_scheduled_sync_min_interval_seconds``) is enforced in the service layer (this only floors at 1s). Disabling ignores the interval.
  - `auto_sync_enabled` boolean, required
  - `sync_interval_seconds` integer, nullable

## Response `200`

Successful Response

- SourceResponse
  - `id` string, uuid, required
  - `knowledge_base_id` string, uuid, required
  - `provider` string
  - `integration_connection_id` string, uuid, nullable
  - `config` object, nullable
  - `status` string, required
  - `last_sync_job_id` string, uuid, nullable
  - `integration_key` string, nullable
  - `connection_nickname` string, nullable
  - `connection_metadata` object
  - `auto_sync_enabled` boolean
  - `sync_interval_seconds` integer, nullable
  - `next_sync_at` string, date-time, nullable
  - `last_auto_sync_at` string, date-time, nullable
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/oneloop-hq/apis/feather-api.md) · [All operations](https://skmtc.net/oneloop-hq/apis/feather-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/oneloop-hq/feather-api/versions/888bdd5c076e/schema)
