talonic_sources_imports
Recent imports from one connected source: their state and what each brought in. NOT FOR the source's sync 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
- Reads only. It never changes workspace data.
- Cost: no credits.
Parameters
| Parameter | Type | Description |
|---|---|---|
| connection_id * | string | The connection id from talonic_sources_connections |
Example
Example
// talonic_sources_imports({ "connection_id": "1111…" })
{ "data": [{ "id": "3333…", "status": "completed" }] }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
Are sync runs listed too?+
The sync state of a connection is on talonic_sources_connections.