reasoning and a confidence.
Modes
Each enrichment call takes amode that controls how much evidence the AI gathers — and how much it costs per product:
Enrich a single product
POST /api/v1/pim/products/{productId}/enrich?mode=standard runs synchronously and returns a suggestion:
PimEnrichmentSuggestion with a fieldSuggestions map, keyed by attribute code. Each entry has the proposed value, a reasoning string, a confidence (0–1), and accepted / rejected flags.
Accept or reject
Suggestions don’t change your product until you accept them:attributeCode.
Estimate and batch
Before a large run,POST /api/v1/pim/products/enrichment/estimate with a list of productIds and a mode tells you whether you can proceed — it returns creditsRequired, creditsAvailable, and canProceed, and does no AI work.
To enrich many products, POST /api/v1/pim/products/enrichment/batch accepts up to 200 productIds. It processes them sequentially and returns per-product results, successCount, and failedCount.
Python
Enrichment is billed per product; reads are free. Cost scales with mode (
enhanced and deep cost more than standard). Enrichment responses include x-credits-left and x-credits-used headers so you can track usage. See pricing for rates.