get_import_set_runs
Retrieve recent import set run records to monitor data load batches, including completion status, row counts, and errors, with optional filters by table and state.
Instructions
Get recent import set run records.
Each import set run represents a batch of data loaded into a staging table. Shows whether the import completed, how many rows were processed, and any errors encountered.
Args: table_name: Filter by import set table name (STARTSWITH match). Optional. state: Filter by run state. Common values include "Loaded", "Processed", "Error", "Complete", "Complete with errors", "Cancelled". Values may vary by instance configuration. Optional. days: How far back to search in days (1-365, default 7). limit: Maximum runs to return (1-1000, default 25). offset: Pagination offset.
Returns: JSON object with "count", "days_back", and "import_set_runs" list containing sys_id, table_name, state, row counts, and timestamps.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | No | ||
| state | No | ||
| days | No | ||
| limit | No | ||
| offset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |