Syndai Docs

Pause or resume a synced folder

PATCH
/api/v1/external/coding/repos/{coding_repository_id}/knowledge/sources/{source_id}

Set a synced folder's status to paused (its sync is refused, its files stay searchable) or active. Requires coding:knowledge:sync.

Authorization

CustomerApiKey
headerAuthorizationBearer <API Key>

Customer API key sent as a bearer token

Path Parameters

coding_repository_id*string
Formatuuid
source_id*string
Formatuuid

Query Parameters

customer_id?|null

Request Body

application/json
  1. body
status*string
Match^(active|paused)$

Response Body

Request fulfilled, nothing follows

Example Request
curl -X PATCH 'https://api.syndai.ai/api/v1/external/coding/repos/497f6eca-6276-4993-bfeb-53cbbbba6f08/knowledge/sources/497f6eca-6276-4993-bfeb-53cbbbba6f08' \  -H 'Content-Type: application/json' \  -d '{  "status": "string"}'
Example Response
Empty
Was this page helpful?