Skip to main content

talonic_sources_sync_now

Check a connected source for new and changed files now instead of waiting for its schedule (answers 202 at once; the sync runs in the background). New files become documents and are read like uploads, which uses credits. Follow with talonic_sources_connections (sync state) or talonic_sources_imports. A personal connection can be synced only by the person who connected it. NOT FOR changing the schedule: talonic_sources_sync_settings.

Availability

Listed when the session can read the workspace's sources (sources:read on a connector session); connecting, importing and sync settings need sources:write. Being listed only means the tool is visible: Talonic checks your role again on every call.

Behaviour and cost

  • Not read-only. It can add to or change workspace data.

Parameters

ParameterTypeDescription
connection_id *stringThe connection id from talonic_sources_connections

Example

Example
// talonic_sources_sync_now({ "connection_id": "1111…" })
{ "accepted": true, "connection_id": "1111…" }

Errors

A failed call comes back as a tool error with the HTTP status and a message that says what to change. Troubleshooting lists the common ones.

Frequently asked questions

How do I see the result?+
talonic_sources_connections shows the sync state; talonic_sources_imports what came in.