# Gabooja > Gabooja turns artwork into real, purchasable products and handles > garments, printing, shop and fulfillment. Quickstart: https://gabooja.com/llms-full.txt **Here to buy, not to build?** Shopping needs no key. Catalog: https://gabooja.com/shop (all of it, no JavaScript: https://gabooja.com/shop/browse?all=1). Product pages carry `ProductGroup` JSON-LD. Checkout needs a browser; cart lives in browser storage. ## Base URL and auth - REST base URL: `https://gabooja.com/api/agent`. Send `Authorization: Bearer $GABOOJA_API_KEY` on every call. A human creator mints the key at https://gabooja.com/studio/settings (new creators apply at https://gabooja.com/for-creators#start, then register from the emailed invite); agents cannot self-register. Keys and URLs are host-bound: share only a returned `public_url`. Details: https://gabooja.com/llms-full.txt#1-get-a-key - MCP: `https://gabooja.com/api/mcp`, stateless streamable HTTP, plain tool names. Connect first by OAuth, with creator consent: https://gabooja.com/docs/agents/oauth (registration 500? use a key). Codex: `codex mcp add gabooja --url https://gabooja.com/api/mcp` then `codex mcp login gabooja` (headless `codex exec` also needs `default_tools_approval_mode = "approve"` under `[mcp_servers.gabooja]`). Claude Code: `claude mcp add --transport http gabooja https://gabooja.com/api/mcp` then `claude mcp login gabooja`. Or the bearer key. Details: https://gabooja.com/llms-full.txt#7-mcp - OpenAPI 3.1: https://gabooja.com/api/agent/openapi.json. Capabilities: https://gabooja.com/docs/agents/capabilities. Setup prompt: https://gabooja.com/agent-setup/prompt.md ## Response envelope Success is `{ "data": ... }` (201 on create, else 200; `existing: true` marks an idempotent repeat). Error is `{ "error": { "code", "message", "details" } }`; branch on `code`, never on `message`. Every keyed response carries `X-RateLimit-Limit` / `-Remaining` / `-Reset` (epoch seconds) and a `429` adds `Retry-After`. Per-shop budgets: `agent_api` 120 per 60s, `agent_vendor_write` 6 per 60s, `agent_image_generation` 6 per 60s, `agent_asset_upload` 20 per 60s; a request rejected before vendor work refunds its unit. Details: https://gabooja.com/llms-full.txt#4-budgets-read-this-before-you-loop ## The workflow, in order What sells, strongly recommended before making art: https://gabooja.com/playbook.md 1. `GET /me`: confirm the key. Read `brand_id`, `scopes` (without `listings:publish` creates land `private`, flagged `visibility_downgraded`), `storefront_visible`, and `art_system` (the garment and ink direction; the uploaded FILE stays transparent). Edit the shop: `PATCH /brand` (MCP `update_brand`); ask once to open it: `POST /brand/review` (MCP `request_review`). Details: https://gabooja.com/llms-full.txt#2-confirm-the-key 2. `GET /health` (MCP: `get_health`): `async_workers` is `expected`, `attached` or `unavailable`. When unavailable, sync and mockup statuses never move here; stop polling. Details: https://gabooja.com/llms-full.txt#5-which-world-are-you-in-environments-and-async-work 3. Upload the art: `POST /assets/presign`, `PUT` the bytes to `uploadUrl` with its headers, then `POST /assets/finalize` with `r2Key`, `mime_type`, `byte_size` and the SHA-256 `content_hash`; or one multipart `POST /assets/upload` (field `file`); or `POST /assets/import` with an https `{ "url" }`. All answer `asset_id` and `warnings[]`; an `Idempotency-Key` header makes a retry return the same asset. An `error` warning WILL block the create. Details: https://gabooja.com/llms-full.txt#artwork-spec-read-before-you-upload 4. `POST /designs` with `brand_id`, `title`, `source_asset_id` Details: https://gabooja.com/llms-full.txt#3-make-a-product 5. `GET /catalog?q=tee` for a `catalog_product_id`. `GET /catalog/{id}` has sizes and exact colour spellings, `/variants` the per-colour ids. Details: https://gabooja.com/llms-full.txt#3-make-a-product 6. `POST /quality/check` with the `asset_id` or `design_id`, the blank, the `garment_color`, and the `title` and `description` you will create with. When only print checks fail, `POST /assets/{asset_id}/repair` fixes them into a NEW asset. Advice, not a gate; an `error` print check still blocks a public create. Details: https://gabooja.com/llms-full.txt#the-publish-quality-gate 7. `POST /intents/make-product` with `brand_id`, `design_id`, `catalog_product_id` (optional `visibility`: `public` | `unlisted` | `private`, default `public`). Read `GET /listings/{id}?wait_seconds=25` (repeat while `mockup_ready` is false) until `public_url` is non-null (null: the link WOULD 404, `public_url_reason` says why). A `private` create skips the quality gate, so pre-flighting it is wasted. Details: https://gabooja.com/llms-full.txt#3-make-a-product 8. Drops: create a DRAFT with `POST /campaigns`, stage held products into it, then `POST /campaigns/{id}/publish` (no body: dry run; `{ "confirm": true }`: release) and poll `GET /campaigns/{id}/publish/{run_id}`. Details: https://gabooja.com/llms-full.txt#drops ## Facts to rely on - placement_geometry is in print-area pixels from the top-left, inside area_width x area_height (a tee front: 1800x2400, 12x16 in at 150 DPI); listing reads echo it. - Trust printful_image_url (REST: printfulImageUrl) only while mockup_ready is true; a re-render keeps the old mockup there. - A private or held create skips the print checks and safety screen (they run at publish) and has no link yet: public_url_when_live is null, public_url_status unavailable. ## Money Gabooja takes 10% of each item's price; production (`cost_cents` on `GET /catalog`, no key needed) and the card fee (2.9% + 30c of the order) also come out; the creator keeps the rest. The buyer pays shipping at cost, calculated at checkout for the address, on top of the price. Ships to the US and most countries worldwide. Payouts are manual. Details: https://gabooja.com/llms-full.txt#9-money ## The quality gate, in one paragraph Every `public` or `unlisted` create and every publish runs the print checks, which block on an `error`, and a content safety screen, which holds flagged work for a Gabooja review (only Gabooja can release it). A refusal is `422 quality_gate_blocked` with `details.reasons`. `POST /quality/check` previews the print checks and adds an optional taste critique. Read its `would_pass` first: it is what a create would do right now. The critique is advice and does not change `would_pass` while `taste.blocks_publish` is false, the default. A check outage is `503 gate_unavailable`: retry after `Retry-After`, and if it persists, stop and tell the user. Details: https://gabooja.com/llms-full.txt#the-publish-quality-gate ## Endpoint index Paths are under the REST base URL. Bodies are snake_case; the presign RESPONSE is camelCase. - `POST /feedback` - `POST /signup` - `GET /me` - `GET /brand`, `PATCH /brand`, `GET /brand/review`, `POST /brand/review` - `GET /health` - `GET /playbook` - `POST /assets/presign`, `POST /assets/finalize`, `POST /assets/upload`, `POST /assets/import`, `POST /assets/upload-links`, `GET /assets/upload-links/{id}`, `GET /assets`, `PATCH /assets/{id}`, `DELETE /assets/{id}`, `POST /assets/{id}/repair` - `GET /catalog`, `GET /catalog/{productId}`, `GET /catalog/{productId}/variants` - `GET /designs`, `POST /designs`, `GET /designs/{id}`, `PATCH /designs/{id}`, `DELETE /designs/{id}`, `POST /designs/{id}/versions` - `POST /design-applications` - `GET /generations`, `POST /generations`, `GET /generations/{id}` - `GET /listings`, `POST /listings`, `GET /listings/{id}`, `PATCH /listings/{id}`, `POST /listings/{id}/publish`, `POST /listings/{id}/resync`, `POST /listings/{id}/archive`, `POST /listings/{id}/preview-link`, `POST /listings/{id}/hero`, `GET /listings/{id}/print`, `PUT /listings/{id}/print`, `GET /listings/{id}/media`, `POST /listings/{id}/media` - `GET /campaigns`, `POST /campaigns`, `GET /campaigns/{id}`, `PATCH /campaigns/{id}`, `DELETE /campaigns/{id}`, `PUT /campaigns/{id}/listings`, `POST /campaigns/{id}/listings`, `POST /campaigns/{id}/publish`, `GET /campaigns/{id}/publish/{runId}` - `POST /intents/make-product` - `POST /discounts/preview`, `POST /discounts`, `GET /discounts`, `POST /discounts/{id}/cancel` - `GET /orders` - `GET /sales`, `GET /sales/report` - `POST /competitions` - `POST /quality/check` - `POST /mockups/preview`, `GET /mockups/preview/{id}`