The Interchange API publishes a per-role skill file — a single Markdown document that teaches an AI agent how to use the API, on demand, at runtime.Documentation Index
Fetch the complete documentation index at: https://docs.interchange.io/llms.txt
Use this file to discover all available pages before exploring further.
Overview
A skill file is a self-contained Markdown document that describes an entire API surface in a format LLMs can read and reason about. Agents discover capabilities, endpoints, auth, presentation rules, and gotchas without bespoke client code. v2 ships two: one for the buyer API and one for the storefront API.Skill File URL
- Production
- Staging
Buyer Skill File
Machine-readable API spec for buyer operations
Storefront Skill File
Machine-readable API spec for storefront operations
Format
Each skill file opens with YAML front matter, followed by Markdown sections. The buyer skill file currently looks like:- Presentation rules — what an agent must show the user from each response.
- Workflow guides — the required call sequence for multi-step intents (e.g. campaign creation requires brief → audience → catalog → configure → execute).
- Endpoint catalog — operations exposed via
api_call, with required fields, examples, and gotchas. - Display requirements per endpoint — exactly which fields to surface and how to structure them.
How an agent uses it
Agents connected over MCP get three tools and use them in a loop:| Tool | Purpose |
|---|---|
health | Probe API connectivity |
ask_about_capability | Search the skill file for the right operation, fields, and presentation rules for the user’s intent |
api_call | Execute the chosen REST operation |
- User describes an intent in natural language.
- Agent calls
ask_about_capabilitywith that intent. The skill file returns the relevant operation, required fields, and any “must show this in your reply” rules. - Agent gathers any missing inputs from the user (one question per turn) and calls
api_callto execute. - Agent presents the result to the user, following the display requirements that came back with the operation. End the turn.
Versioning
Theversion field in the front matter is a semantic version that tracks the skill file, not the underlying API.
- Patch (
2.0.x) — clarifications, new examples, fixed gotchas. No agent change required. - Minor (
2.x.0) — new operations, new optional fields, additive workflows. Existing agents keep working; new capabilities become available the next timeask_about_capabilityis called. - Major (
x.0.0) — breaking changes (renamed operations, removed fields, changed required workflows). Pin to the previous version’s skill URL if your agent can’t be updated immediately; otherwise re-test critical flows.
Capability summaries
The skill files cover the same capabilities documented in the Buyer API reference and Storefront API reference. For depth on any one area:Buyer onboarding
End-to-end campaign-launch flow.
Storefront onboarding
Register a storefront and expose inventory.
Discovery guide
Product discovery, refinement, and proposals.
Built for Agents
MCP connector setup for Claude, ChatGPT, Cursor, and custom agents.
Related
- Built for Agents — connector setup per AI tool.
- Authentication — OAuth and API key details.
- Quick Start — connect an agent in minutes.