Compare a synced folder
POST
syndai sync: send every file of the folder as {path, sha256}. The answer lists the paths that are new or changed; files gone from the folder are deleted with their text. A paused folder is a 409. Requires coding:knowledge:sync.
CustomerApiKeyheader
AuthorizationBearer <API Key>Customer API key sent as a bearer token
coding_repository_id*stringFormat
uuidname*stringcustomer_id?|nullapplication/json- body
files*array<>Items
items <= 20000Request fulfilled, document follows
application/json- response
need*array<string>removed*integersource_id*stringFormat
uuidcurl -X POST 'https://api.syndai.ai/api/v1/external/coding/repos/497f6eca-6276-4993-bfeb-53cbbbba6f08/knowledge/folders/string/manifest' \ -H 'Content-Type: application/json' \ -d '{ "files": [ { "path": "string", "sha256": "string" } ]}'Example Response
{ "need": [ "string" ], "removed": 0, "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81"}