Skip to main content
The StateSet iCommerce Engine is one product with twelve API surfaces, and each runs on its own host with its own key. This page routes you to the right one in under a minute.

I want to…

Building an AI agent rather than an app? Start at Getting started for AI agents — every MCP server and skill in one place.

Hosts, keys, headers

One key does not fit all: each engine issues its own credentials and reads its own header. The generated examples on every page use the env var named here — export it once and every curl on that tab pastes clean. Host status shows what answers today, probed rather than promised. Most hosted keys are provisioned when your brand is onboarded — one flow creates the org and credentials across the engines you activate.
Two surfaces are contracts you deploy rather than hosted services: the Chat Widget API is what your backend implements for the widget, and the Agents API is the gateway stateset-agents serve runs.

Conventions that hold everywhere

  • JSON in, JSON out, except EDI outbound routes, which return the wire-ready X12 interchange (application/edi-x12), and streaming routes, which return text/event-stream.
  • Idempotency: mutating routes accept an Idempotency-Key header where the page says so — a retry with the same key replays the stored outcome instead of acting twice.
  • Errors: every engine returns a machine-readable error body — the shapes differ, and Errors across the engines lays them side by side with the five families an agent should branch on.
  • Rate limits are per-endpoint and named on each page’s Access table where the spec declares them.
  • Deprecations are announced, not sprung: a deprecated Temporal route answers with a Deprecation header carrying its sunset date, and every tab’s API history page lists operations added or removed from the surface, so a migration is a diff you can read.

Explore

Host status

What answers today — generated by probing, with a checked date.

Authentication

How keys are issued, scoped, and rotated.

For AI agents

MCP servers, skills, and the rules of engagement.
Last modified on August 31, 2026