Skip to content
GitLab

akili ingestion

Manage data ingestion for products. These commands let you inspect ingestion state (cursor position, last ingestion time), trigger historical backfills, and list ingestion status across a tenant.

Show the current ingestion state for a product, including status, last ingested timestamp, cursor position, and strategy.

Arguments:

ArgumentTypeRequiredDescription
productstringyesProduct name or ID

Examples:

Terminal window
# View ingestion state
akili ingestion state daily-orders
# As JSON
akili ingestion state daily-orders --json

If no ingestion state exists for the product, a message is displayed instead.


Trigger a historical backfill for a product. Optionally specify a date range and strategy override.

Arguments:

ArgumentTypeRequiredDescription
productstringyesProduct name or ID

Flags:

FlagShortDefaultDescription
--fromStart date in YYYY-MM-DD format
--toEnd date in YYYY-MM-DD format
--strategyStrategy override for the backfill

Examples:

Terminal window
# Trigger a full backfill
akili ingestion backfill daily-orders
# Backfill a specific date range
akili ingestion backfill daily-orders --from 2025-01-01 --to 2025-03-31
# Backfill with strategy override
akili ingestion backfill daily-orders \
--from 2025-01-01 \
--to 2025-12-31 \
--strategy full

List ingestion states for all products in a tenant.

Flags:

FlagShortDefaultDescription
--tenant-idTenant ID (required)

Examples:

Terminal window
# List all ingestion states for a tenant
akili ingestion list --tenant-id abc-123
# As JSON
akili ingestion list --tenant-id abc-123 --json