> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Changelog

> What changed for callers of the API, newest first.

## 2026-11-26: Detail fields of recommendations, alerts and compliance answers

The free-form detail fields have clearer names. If you read one of the fields below, check it against the reference.

**Changed**

* Recommendations and orders: in `rationale`, the compliance check is under `compliance`, and `source` has new values.
* Alerts and webhook deliveries: `payload` (the webhook's `data`) uses `result_id` and `measure_type`.
* Compliance: a reason identifies its rule by `rule_ref`, `authority` of an official measure is `UK tariff` or `EU tariff`, and the wording of some messages changed.
* The sandbox's passports are sample products of the sandbox's own brand. A sandbox created earlier keeps the ones it has.

## 2026-11-26: Version 2.0.0: clearer field names

Some answers have new field names and values. If you read one of the fields below, check it against the reference. Where a request field or parameter was renamed, the older name is still accepted.

**Changed**

* Orders: `POST /v1/orders/actions` answers `order` and takes `order_id`.
* Ingest answers and sync runs: `results` and `entity_counts` are keyed `invoices`, `exceptions`, `events` and `tracked_items`.
* Inventory reads: new values in `demand_source.source` and in a forecast's `method`, and new names and values in the object that says whether a result was stored. Forecast accuracy answers `evaluation` and takes `evaluation_id`.
* Trade: tariff impact and tariff actions use `action_id`, `action_version` and `action_type`, and `filters` echoes `from` and `to`. Tariff checks, landed costs and duty orders have new values in their source fields.
* Recalls: new values for a notice's `source`. The filter accepts the older values.
* Passports: a UFLPA package carries `verdict`, and an impact estimate carries `basis`.
* Explanations: `evidence` carries `cost_benefit` and `confidence_reason`.
* Compliance: `rule_set_version` is an opaque token.
* `POST /v1/webhooks` without `events` subscribes to every event in the reference.
* A path that is not in the reference answers 404 `route_not_found`.

## 2026-11-21: Sandbox, key management, request log and webhook deliveries

Existing keys and webhook receivers keep working as they are.

**Added**

* A sandbox, reached with test keys (`ic_test_...`) on the same base URL and routes. See [Sandbox](/docs/sandbox.md).
* Key management through the API with the scope `keys`, key expiry (`expires_at`) and rotation with an overlap (`overlap_seconds`). See [Authentication](/docs/authentication.md).
* `GET /v1/request_logs` and `GET /v1/usage`: the calls your keys made and their quota.
* Your own `X-Request-ID` is echoed back as `X-Client-Request-ID`.
* `GET /v1/webhooks/{id}/deliveries` and `POST /v1/webhooks/{id}/deliveries/{delivery_id}/redeliver`. See [Webhooks](/docs/webhooks.md).
* SDKs for TypeScript, JavaScript and Python, and a Postman collection.

**Changed**

* A failed webhook delivery is retried up to 8 times over about two days. It was 5 times over about 11 hours.

**Deprecated**

* The webhook header `X-InsightChain-Signature` stops being sent on 2027-06-30. Verify `X-InsightChain-Signature-V2` instead.

## 2026-11-21: MCP: account sign-in, toolsets and typed results

An API key works as before, on the same URL, with the same tool and argument names.

**Added**

* Sign in with your account (OAuth 2.1) from clients that connect by URL.
* Toolsets: connect to one area, or pick several with the `toolsets` query parameter. See [Agents](/docs/agents.md).
* Every tool has an `outputSchema` and returns `structuredContent` next to the text.

**Changed**

* `POST /v1/mcp` lists a short default set of tools; `/v1/mcp/all` lists every tool. Calling a tool by name is unchanged.
* A large tool result is cut at whole rows and carries `next_cursor` for the rest.

## 2026-11-21: Resource paths and your own ids

The older paths and parameter names keep answering.

**Added**

* A resource path for every operation, for example `GET /v1/recommendations/{id}` and `POST /v1/tariff_checks`.
* `POST /v1/recommendations/{id}/approve` and `/dismiss`, and `POST /v1/alerts/{id}/acknowledge` and `/resolve`.
* Your own id in a path: `ext:<external_id>` in place of our id.
* One name per parameter. The list is under "Renamed parameters" below.

**Deprecated**

* The older paths (`/v1/…` with one extra segment). They answer until at least 2027-06-30 and carry `Deprecation`, `Sunset` and a `Link` to the new path.

## 2026-11-21: One error, one list, the same headers

Every route answers the same way. See [Conventions](/docs/conventions.md).

**Added**

* Lists: every list route answers `{ "object": "list", "data", "has_more", "next_cursor" }` and pages by `limit` and `cursor`.
* Rate-limit headers on every authenticated answer, and `Idempotency-Key` on every POST that changes something.

**Changed**

* Errors: every non-2xx answer is `{ "error": { type, code, message, param, doc_url }, "request_id" }`. `error` used to be a string; that string is now `error.message`.
* An unknown query parameter, or a value outside the documented range, is a 400 that names the parameter.
* A wrong method on a known path is a 405 with `Allow`.
* Publishing a passport, reviewing origin evidence and making a passport public need the `execute` scope.

## Versioning

New routes, fields, optional parameters and enum values ship at any time. A deprecated route, parameter or field keeps working for at least six months. More under [Versioning](/docs/versioning.md).

## Renamed parameters

Send the new name. The older name still works and is deprecated; send one or the other, not both.

| Now | Before | Where |
| - | - | - |
| `from`, `to` | `since`, `until` | tariff impact briefs and history, trade announcements (dates) |
| `from` | `since` | recall notices (date) |
| `q` | `search` | compliance verdicts |
| `location` | `store` | merchandise plan |
| `first_name`, `last_name`, `company_name`, `country_code`, `address_line1` | `firstName`, `lastName`, `companyName`, `countryCode`, `addressLine1` | denied party screenings (request body) |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.