Skip to main content
PATCH
/
local-folders
/
{local_folder_id}
/
continuous-sync
Update continuous sync settings
curl --request PATCH \
  --url https://apigcp.trynia.ai/v2/local-folders/{local_folder_id}/continuous-sync \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "enabled": true
}
'
{
  "enabled": true,
  "last_sync": "<string>",
  "sync_cursor": {}
}

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Path Parameters

local_folder_id
string
required

Local folder ID

Body

application/json
enabled
boolean

Enable or disable continuous sync

Response

Continuous sync updated

enabled
boolean

Whether continuous sync is enabled

last_sync
string | null

Last sync timestamp

sync_cursor
object

Cursor for incremental sync