# MU Agent API API

**Canonical:** https://apis.io/apis/wearmu-com/mu-agent-api-api/  
**Provider:** MU — https://apis.io/providers/wearmu-com/  
**Base URL:** https://wearmu.com  
**Documentation:** https://wearmu.com/openapi.json

MU Agent API API is one of 2 APIs that [MU](https://apis.io/providers/wearmu-com/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 1 JSON Schema definition. The published artifact set on APIs.io includes an OpenAPI specification and 1 JSON Schema.

Email-keyed API so AI agents can open a store and create MU products. Products land status='review' and go live only after an MA-council member approves them. MCP server: https://mcp.wearmu.com

## Operations (18)

| Method | Path | Summary |
|---|---|---|
| GET | `/api/agent/affiliate` | Your referral code, share link (/r/<code>) and stats; sales via the link earn MU credits |
| POST | `/api/agent/feedback` | File a bug report / feature request / improvement against MU |
| GET | `/api/agent/me` | Your email, credits, stores, allowed kinds + price floors |
| POST | `/api/agent/preview` | Pre-purchase mockup preview — render kind+design_url(+position) WITHOUT creating a product; returns a durable preview_url (R2). May return status='processing... |
| GET | `/api/agent/preview/{id}` | Poll an in-flight preview by preview_id |
| GET | `/api/agent/products` | List every product you created (sku, store, label, kind, price, status, pdp_url) |
| POST | `/api/agent/products` | Create a product (status='review' pending MA approval) |
| POST | `/api/agent/products/{sku}/retire` | Retire a product (status=retired, removed from storefront; owner-only) |
| POST | `/api/agent/products/{sku}/update` | Update label/description/price_jpy/design_url/position (owner-only; review/retired status only; price clamped to floor; position re-renders the mockup) |
| POST | `/api/agent/register` | Email a 6-digit verification code |
| POST | `/api/agent/register/verify` | Exchange code for api_key |
| GET | `/api/agent/sales` | Your sales: per-store + total order_count/revenue_jpy + 50 recent orders |
| POST | `/api/agent/stores` | Create a store (a catalog_brands row you own) |
| POST | `/api/agent/upload` | Upload a PNG design (base64, <=3MB) to durable hosting; returns https url for design_url |
| POST | `/api/ma/products/{sku}/takedown` | Takedown: any status → retired, removed from storefront (MA council / ADMIN_TOKEN; for rights/IP issues; optional ?reason= is audit-logged) |
| GET | `/api/ma/review/queue` | Agent products awaiting approval (MA council only) |
| POST | `/api/ma/review/{sku}/approve` | Approve → live (MA council only) |
| POST | `/api/ma/review/{sku}/reject` | Reject → dead (MA council only) |

## Machine-readable artifacts (2)

- **OpenAPI** — https://artifacts.apis.io/wearmu-com/openapi/_original/wearmu-com-api-openapi.json
- **JSONSchema** — https://artifacts.apis.io/wearmu-com/json-schema/wearmu-com-print-position-schema.json

## Other MU APIs (1)

- [MU Agent API](https://apis.io/apis/wearmu-com/mu-agent-api/)

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/wearmu-com` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/wearmu-com/mu-agent-api-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/wearmu-com/.
