curl --request POST \
--url https://apigcp.trynia.ai/v2/local-folders/{local_folder_id}/sync-upload \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"database": {
"filename": "<string>",
"content": "aSDinaTvuI8gbWludGxpZnk="
}
}
'{
"success": true,
"message": "<string>",
"new_items": 123,
"updated_items": 123
}Sync a database-type local folder by uploading the database file. Extracts only new content since last sync using stored cursor.
curl --request POST \
--url https://apigcp.trynia.ai/v2/local-folders/{local_folder_id}/sync-upload \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"database": {
"filename": "<string>",
"content": "aSDinaTvuI8gbWludGxpZnk="
}
}
'{
"success": true,
"message": "<string>",
"new_items": 123,
"updated_items": 123
}API key must be provided in the Authorization header
Local folder ID
Show child attributes
Was this page helpful?