Pipelines
Backfill pipeline tables
/pipelines/{uuid}/backfillTriggers a backfill for specified tables in the pipeline. Supports options for pre-backfill behavior (drop, truncate, or do nothing) and schema/database filtering.
Authorizations
AuthorizationstringheaderrequiredAPI key passed as a Bearer token in the Authorization header.
Request
curl --request POST \
--url https://api.artie.com/pipelines/{uuid}/backfill \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"backfillBatchSize": 0,
"backfillDefaults": {
"chunkSize": 100000,
"pagination": "client",
"parallelism": 1,
"preset": "normal",
"readMode": "primaryKey"
},
"backfillFromDatabases": [
"<string>"
],
"backfillFromSchemas": [
"<string>"
],
"beforeBackfill": "",
"historyMode": true,
"keepOldTable": true,
"tableUUIDs": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}'Path parameters
uuidstringrequired
Body
application/json
backfillBatchSizeinteger | nullOptional rows per batch. Saved as the pipeline's backfill batch size before the backfill starts, so later backfills use it too.
backfillDefaultsobjectOptional backfill speed. Saved as the pipeline's backfill speed before the backfill starts, so later backfills use it too.
Show child attributes
chunkSizeintegerpaginationstringparallelismintegerpresetstringreadModestring
backfillFromDatabasesstring[] | nullOptional source databases to backfill for regular-table backfills. Requires beforeBackfill to be the empty-string do-nothing option.
backfillFromSchemasstring[] | nullOptional source schemas to backfill for regular-table backfills. Requires beforeBackfill to be the empty-string do-nothing option.
beforeBackfillstringrequiredDestination handling before the backfill: empty string leaves existing data unchanged, truncate_table truncates the destination table, and drop_table drops it.
historyModebooleanWhen true, backfill the selected history tables instead of the regular tables.
keepOldTablebooleanOnly for swap_table: keep the destination table's old rows in a separate table after the swap, until the next swap_table backfill of this table.
tableUUIDsstring<uuid>[]requiredUUIDs of the regular or history tables to backfill.
Responses
204No Content
400Bad Request
403Forbidden
500Internal Server Error
Was this page helpful?
- Need help? Message us on Slack or email [email protected].
- Want a walkthrough? Book a demo.
- LLM? Read llms.txt.