{
  "about": "Merch for humans and the agents who shop for them; everything on sale today is a digital download any agent can buy with no human in the loop. Every price includes shipping; nothing ships until it is paid. The total you see is the total you pay: no tax or fees are added at checkout.",
  "agents": "Idempotency-Key is required on POST /api/orders; a retry with the same key returns the same order. A missing size, color or address field is refused by name, never guessed. Docs for agents: /llms.txt",
  "anim": "POST /api/anim/solve (account key): a bnb-motion/1 script (what the body does, relative to the avatar's own landmarks) solved on the avatar, checked, returned as a .vrma + a check report + a preview film; GET /api/anim/jobs/{id}; with companions:true also GET /api/anim/jobs/{id}/in.vrma | out.vrma | once.vrma; hands may say contact:true|\"hands\". Full guide: /llms.txt, section Animation API",
  "animations": "GET /api/animations?tag=greet&energy=calm&fit=standard: find any clip we sell by meaning (tag, q, energy, faces, body, fit, loop, while_talking, prop, pack, limit up to 100, offset: page with next_offset until null); each hit has its stable `clip` id, structured `props`, and buy.items (the clip + the props packs it needs) for POST /api/quotes. Full guide: /llms.txt, section Animation lookup API",
  "base": "https://botsandborgs.com",
  "buy": [
    "GET /api/catalog — products, variants (sizes/colors) and prices in cents (a fraction of a cent is allowed: 0.001)",
    "POST /api/quotes {items:[{variant,qty}], ship_to?, email?} — the all-in price, held for a while (expires_at)",
    "POST /api/orders {quote, email?, channel?, pay?} + header Idempotency-Key — pay \"stripe\" (default; returns checkout_url), \"crypto\" (agents; returns a BNB Chain address + amount) or \"balance\" (an account's prepaid balance; any price, paid on the spot)",
    "GET /api/orders/{id}?token= — status, tracking, history (and crypto pay instructions while awaiting payment)",
    "POST /api/orders/{id}/cancel?token= — before payment only",
    "POST /api/orders/{id}/crypto?token= {tx_hash} — report an on-chain payment for a crypto order; verified then fulfilled",
    "GET /api/crypto — the crypto rail: chain and accepted assets (agents)",
    "POST /api/account/magic {email} — people: one email link signs in and creates the account if new (no password)",
    "GET then POST /api/account/register {challenge_id, answers, label?} — agents: no email; answer a challenge, get an account + API key (bnba_…)",
    "GET /api/account — the signed-in account (session cookie, or Authorization: Bearer bnba_… key)",
    "GET /api/live/{slug} — live passes on sale for a 3D avatar; with ?key=bnbl_… the pass and current version",
    "GET /api/live/{slug}/vrm?key=bnbl_… — the newest VRM (ETag; If-None-Match is a free 304)",
    "GET /api/live — your account's live passes and keys",
    "POST /api/account/keys {name} — mint an agent API key (shown once); GET lists, DELETE /api/account/keys/{id} revokes",
    "GET /api/account/orders — your orders (orders you place while authenticated are linked automatically)",
    "POST /api/account/deposit {amount_cents, pay_asset} + Idempotency-Key — top up the prepaid balance with one on-chain payment (a crypto order)",
    "GET /api/account/balance — balance_cents and its deposits and purchases",
    "POST /api/reports {summary, details, kind?, product?, order?, order_token?, images?:[base64 PNG or JPEG]} — report a defect or bug; needs an account, or an order with its token. Returns a token; GET /api/reports/{id}?token= shows our answer and, once fixed, the fix. GET /api/reports lists an account's",
    "POST /api/requests {prompt, wants:[\"3d_avatar\",\"2d_pack\"], images?:[base64 PNG or JPEG], rights_attested:true} — ask for a made-to-order avatar (needs an account; nothing is charged, we choose which to take); GET /api/requests lists yours, GET /api/requests/{id}, POST /api/requests/{id}/cancel"
  ],
  "currency": "usd",
  "errors": {
    "codes": [
      "bad_request",
      "unknown_param",
      "unauthorized",
      "not_found",
      "conflict",
      "quote_expired",
      "payments_unavailable",
      "use_balance",
      "insufficient_balance",
      "upstream",
      "rate_limited",
      "internal",
      "challenge_used",
      "challenge_failed",
      "challenge_unavailable",
      "slow_down",
      "unavailable"
    ],
    "shape": {
      "code": "code",
      "error": "message"
    }
  },
  "feed": "GET /api/account/feed (account key) or GET /api/live/{slug}/feed?key= (one live avatar): what your avatars learned (new clips and props, fixes, fits for this body, new model versions) as entries with the item ids to use them; poll ?since=<next_since>. Full guide: /llms.txt, section Update feed",
  "fit": "GET /api/live/{slug}/fit?key=: what is fitted to your avatar, pending or unsupported (with an owner-readable reason, a fix and clips that work instead). POST /api/fit/models (account key, raw .vrm): fit a model we do not host; it is deleted once fitted. Full guide: /llms.txt, section Fit service",
  "hooks": "POST /api/account/hooks {url}: we POST each new feed entry to your https url, signed X-BnB-Signature: sha256=HMAC(secret, body); optional, polling the feed works the same. Full guide: /llms.txt, section Webhooks",
  "library": "GET /api/library (account key): everything your account has, every product type, with versions, sha256, structured update notes and changed files; poll ?since=<next_since>, fetch by ETag, or single files from a zip at /api/library/{variant}/files/{name}. Full guide: /llms.txt, section Library",
  "linked_agents": "A person can let your agent use some of their own avatars, read-only: POST /api/account/links/request {owner_email, name?, note?} (same answer whether the email exists) or POST /api/account/links/accept {code}; then GET /api/account/links/{id} for the models, looks and roles you may use, files by sha256 (If-None-Match). Changes arrive in your feed; after an unlink every link route answers 403 link_ended. Full guide: /llms.txt, section Linked agents",
  "name": "Bots & Borgs",
  "order_statuses": [
    "awaiting_payment",
    "paid",
    "in_production",
    "shipped",
    "expired",
    "canceled",
    "payment_failed",
    "fulfillment_failed",
    "refunded"
  ],
  "pinning": "GET /api/live/{slug}/versions?key= lists the kept model versions; POST /api/live/{slug}/pin?key= {version} holds your avatar at one; DELETE unpins. Full guide: /llms.txt, section Pinning a live avatar",
  "props": "GET /api/props?kind=hand|floor|worn|head&clip=&q=: every prop we sell, how it attaches (bone, position, rotation + quaternion per clip and body fit), what to use it for, and the clips that play it (played_by). Per-avatar placements: GET /api/live/{slug}/props?key=. Full guide: /llms.txt, section Props API",
  "props_custom": "POST /api/anim/props?name= (account key, body = your .glb, <= 5 MB) -> {prop:{id: cpr_...}}; GET /api/anim/props; DELETE /api/anim/props/{id}. Use in a script: prop: {custom: id, hand, position?, rotation?}. Full guide: /llms.txt, section Animation API",
  "roles": "GET|PUT /api/account/roles {roles:{public, assistant, personal}}: an optional mirror of your agent's role map (private = personal; fallback public); GET /api/account/roles/{role} answers with that role's model. Products carry family / outfit / suits (outfits of one character). Full guide: /llms.txt, section Roles and outfits",
  "routes": {
    "public": [
      "GET /api",
      "GET /api/health",
      "GET /api/catalog?collection=&q=",
      "GET /api/collections",
      "GET /api/products/{slug}",
      "POST /api/quotes",
      "GET /api/quotes/{id}",
      "POST /api/orders",
      "GET /api/orders/{id}",
      "POST /api/orders/{id}/cancel",
      "POST /api/orders/{id}/crypto",
      "GET /api/crypto",
      "POST /api/account/magic",
      "POST /api/account/magic/finish",
      "GET /api/account/register",
      "POST /api/account/register",
      "GET /api/account",
      "DELETE /api/account/session",
      "GET /api/account/orders",
      "GET /api/account/balance",
      "POST /api/account/deposit",
      "GET /api/account/keys",
      "POST /api/account/keys",
      "DELETE /api/account/keys/{id}",
      "GET /api/account/challenge",
      "GET /api/live",
      "GET /api/live/{slug}?key=",
      "GET /api/live/{slug}/vrm?key=",
      "GET /api/live/{slug}/clips?key=",
      "GET /api/live/{slug}/clips/{pack}?key=",
      "GET /api/live/{slug}/props?key=",
      "PUT /api/live/{slot}/model",
      "POST /api/live/{slot}/model/uploads",
      "GET /api/live/{slot}/model/uploads/{id}",
      "POST /api/live/{slot}/model/uploads/{id}/complete",
      "GET /api/plan",
      "GET|PUT|DELETE /api/account/plan",
      "POST /api/account/plan/resume",
      "POST /api/account/plan/portal",
      "POST /api/account/plan/members",
      "DELETE /api/account/plan/members/{account}",
      "GET /api/animations?tag=&energy=&faces=&body=&fit=&loop=&while_talking=&prop=&pack=&q=&limit=&offset=",
      "GET /api/props?kind=&clip=&pack=&q=",
      "GET /api/wardrobe",
      "GET /api/wardrobe/{id}/file",
      "POST /api/wardrobe/{id}/wear {slot?}",
      "GET /api/library?since=&collection=&product=",
      "GET /api/library/{variant}",
      "GET /api/library/{variant}/files[/{name}]",
      "GET /api/live/{slug}/fit?key=",
      "GET /api/live/{slug}/media?key=",
      "GET /api/live/{slug}/media/{variant}/{file}?key=",
      "GET /api/live/{slug}/feed?key=&since=&limit=",
      "GET /api/account/feed?since=&limit=",
      "GET /api/live/{slug}/versions?key=",
      "POST|DELETE /api/live/{slug}/pin?key=",
      "GET|PUT /api/account/roles",
      "GET /api/account/roles/{role}",
      "POST /api/account/links/request",
      "POST /api/account/links/accept",
      "GET /api/account/links",
      "GET /api/account/links/{id}",
      "GET /api/account/links/{id}/files/{model}/{outfit}",
      "GET /api/account/links/{id}/roles/{role}",
      "DELETE /api/account/links/{id}",
      "GET /api/account/links/{id}/contacts",
      "GET /api/account/links/{id}/contacts/{key}/avatar",
      "PUT|DELETE /api/account/links/{id}/contacts/{key}",
      "GET|POST /api/locker/models",
      "GET|PATCH|DELETE /api/locker/models/{id}",
      "POST /api/locker/models/{id}/outfits",
      "PATCH|DELETE /api/locker/models/{id}/outfits/{outfit}",
      "POST /api/locker/models/{id}/outfits/{outfit}/versions",
      "GET /api/locker/models/{id}/outfits/{outfit}/uploads/{upload}",
      "POST /api/locker/models/{id}/outfits/{outfit}/uploads/{upload}/complete|cancel",
      "GET /api/locker/models/{id}/outfits/{outfit}/file",
      "GET|PUT /api/locker/models/{id}/outfits/{outfit}/preview",
      "GET /api/locker/models/{id}/outfits/{outfit}/fit",
      "GET /api/locker/models/{id}/outfits/{outfit}/fit/clips/{pack}",
      "GET|POST /api/locker/models/{id}/outfits/{outfit}/artifacts",
      "GET /api/locker/models/{id}/outfits/{outfit}/artifacts/{file}",
      "GET|POST /api/locker/models/{id}/looks",
      "GET|PUT|DELETE /api/locker/models/{id}/looks/{look}",
      "GET|PUT /api/locker/models/{id}/looks/{look}/preview",
      "GET /api/account/links/{id}/artifacts/{model}/{outfit}[/{file}]",
      "GET /api/account/links/{id}/fit/{model}/{outfit}",
      "GET /api/account/links/{id}/fit/{model}/{outfit}/clips/{pack}",
      "GET /api/account/links/{id}/portraits/{model}/{outfit}[/{look}]",
      "GET|POST /api/account/hooks",
      "DELETE /api/account/hooks/{id}",
      "POST /api/account/hooks/{id}/test|enable",
      "POST /api/fit/models",
      "GET /api/fit/models",
      "GET|DELETE /api/fit/models/{sha256}",
      "GET /api/fit/models/{sha256}/clips/{pack}",
      "POST /api/puppet/tokens",
      "GET /api/puppet/tokens",
      "DELETE /api/puppet/tokens/{id}",
      "GET /api/puppet/rig (Authorization: Bearer)",
      "WSS /api/puppet/ws",
      "GET /puppet/bnb-puppet-{version}.js",
      "GET /api/rig/live/{slug}?key=",
      "GET /api/rig/fit/{sha256}",
      "GET /api/locker/models/{id}/outfits/{outfit}/rig",
      "GET /api/account/links/{id}/rig/{model}/{outfit}",
      "POST /api/anim/solve",
      "GET /api/anim/jobs",
      "GET /api/anim/jobs/{id}",
      "GET /api/anim/jobs/{id}/clip.vrma|preview.mp4",
      "GET /api/creator/me",
      "GET /api/creator/products",
      "GET /api/creator/earnings",
      "GET /api/creator/submissions",
      "POST /api/creator/submissions",
      "GET /api/creator/submissions/{id}",
      "PATCH /api/creator/submissions/{id}",
      "DELETE /api/creator/submissions/{id}",
      "PUT /api/creator/submissions/{id}/model",
      "PUT /api/creator/submissions/{id}/art",
      "POST /api/creator/submissions/{id}/submit",
      "GET /api/kit/jobs?order=&token=",
      "GET /api/kit/jobs/{id}?token=",
      "PATCH /api/kit/jobs/{id}",
      "PUT /api/kit/jobs/{id}/model",
      "PUT /api/kit/jobs/{id}/art",
      "POST /api/kit/jobs/{id}/submit",
      "POST /api/kit/jobs/{id}/cancel",
      "GET /api/kit/jobs/{id}/download?token=",
      "GET /img/{file}"
    ]
  },
  "ship_countries": [
    "US"
  ],
  "teach": "POST /api/anim/teach (account key) {motion, note?, script?}: ask for a NEW motion in words; GET /api/anim/teach | /api/anim/teach/{id} follows it (new, drafting, review, published, parked, declined). Full guide: /llms.txt, section Teach a motion",
  "version": "0.81.0"
}