read scope, and lists page as described under Conventions.
Inventory
Reads over your ingested data: your positions, demand history and active signals. All routes areGET under /v1/inventory and take an API key with the read scope.
Forecast accuracy
GET /v1/inventory/forecast_accuracy returns a weekly backtest on your own sales history: at each of the last 26 weeks our forecast, a naive forecast (last week) and a seasonal naive forecast (the same week a year earlier) are made from the history before that week and compared with what sold over the next 4 weeks.
Each row carries error (mae, wape_pct), bias (bias_pct, above 0 is over-forecast), scaled error (rmsse, mase), the value added over naive, and its sample size. A series with too little history has status: insufficient_history and no number. run says when the backtest ran and how much history it rests on.
Parameters: level (item_location, item, category, location, location_type, org), period (summary, or weekly for category, location_type and org), from and to (weekly), item, location, status (ok, insufficient_history, no_actuals), sort (worst, value_add, bias, volume, name, period), evaluation_id, limit (max 200) and cursor.
Request: worst items first.
200 OK (abridged).
Forecast check
POST /v1/forecast_checks takes your own forecast rows mid-process (a replenishment run, a demand review) and returns, per row, our baseline for exactly that period, whether your number agrees with it, and the signals we hold for that item, location and window: rising or fading trends, calendar events, demand-driver events and supply exposure.
Up to 500 rows per call. A row whose item or location is not yours, or whose period is in the past or more than 90 days out, comes back with status: "error" and a code while the other rows are answered.
ESG footprint
GET /v1/inventory/esg_footprint returns an estimated emissions footprint of your purchases and transport, by lane, supplier, item and category, with the factors used and what the estimate does not cover (coverage). The same data powers the Sustainability dashboard of the app.
Disruptions
Disruption events matched to your network: your suppliers, open purchase orders and inventory. These are the figures the Disruptions page of the app shows. All routes areGET under /v1/disruptions.
/v1/disruptions/exposure_totals defaults to the headline figure of the app’s home page (supply risk only, severity 3 or more, starting within 14 days); pass supply_risk_only=false&min_severity=1&horizon_days=any for the totals of the Disruptions page.
Product recalls
Official product recall notices matched to your items, and where a recalled item is. Each match names the notice’s issuing authority and links the official notice; a person confirms or dismisses it in the app, and a confirmed match raises arecall alert (webhook event insightchain.recall). The Product Compliance module is enabled per organization; without it every route answers 403. Notice text is quoted as the publisher wrote it.
Lists take
limit (1 to 100, default 25) and return the list object: pass next_cursor back as cursor until has_more is false. The older matches and notices fields and the offset parameter still work and are deprecated.
Product compliance
Whether a product may enter a country:blocked, conditional (allowed with a named document or approval), clear or unknown, with the rules and official measures behind it and their source URLs. Reads and checks take an API key with the read scope, and the Product Compliance module.
How to read a verdict:
- Every verdict carries
scope, what it is complete for (import_measures,conformity,technical_fit). Aclearis only as wide as its scope, so aclearwith["import_measures"]says nothing about product safety or conformity. - An
unknownlists itsunknown_codes, each with the fix inreasons. - Every response carries a
disclaimer: this is not legal advice. - Verdicts are stored for your items and the countries of your locations and customers. A verdict computed more than 48 hours ago, or for a commodity code the item no longer has, comes with
stale: true. - An unknown item is a
404withcode: "item_not_found". An item with no stored verdict for the country answerscomputed: false,verdict: nullandnot_computed(not_a_destination,destination_cappedornot_yet_computed) with the fix; it is neverclear. POST /v1/compliance/checkhas a per-address limit of 30 a minute before authentication and 30 a minute per key. A lookup that cannot be completed answersunknownwithlookup_failed.
Attributes and certificates
An item’s product attributes and certificates are kept in the app, and an attribute counts for verdicts only once a person has confirmed it. A rule that depends on an attribute the item does not have confirmed answersunknown with rule_needs_attributes and the attribute named.
Technical fit compares plug type, rated voltage and frequency with the destination: a mismatch is conditional; when it cannot be compared, technical_fit stays out of scope and a not_checked reason says why.
A conformity or licence reason carries certificate.status: satisfied, not_satisfied, expired or not_specified; the verdict stays conditional.
Alerts
The alerts the Alerts page of the app shows: disruptions, connector failures, recommendations, tariff briefs, write-back differences, breaking changes in a connected system and the other agents’ alerts. Reading takes theread scope; acknowledging or resolving one takes execute. The Alerts module is enabled per organization. To receive alerts as they are raised, register a webhook.
Connections and sync
The state of your data connections and their sync runs, and starting a sync. Reads take theread scope. Starting a sync takes execute and a key whose creator is an organization admin; at most 4 per connection per hour, and a sync already running answers 409. Responses never carry connection settings, credentials or base URLs, and error text has secrets redacted. Configuring a connection stays in the app.