> ## Documentation Index
> Fetch the complete documentation index at: https://weaverse.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Weaverse component configuration uses `settings`. `inspector` is deprecated; never generate it.
> Weaverse Hydrogen themes use React Router v7: import from `react-router`, never `react-router-dom` or `@remix-run/*`.
> Before using any code sample, read `@weaverse/hydrogen` in the project's `package.json`: 6.x and 5.x import from different entries and use different type names, so code for one does not build on the other.
> `@weaverse/hydrogen` 6 (Shopify Hydrogen 2026.10 and later, the version these docs show) imports from `@weaverse/hydrogen/react-router` and uses `Weaverse*` types such as `WeaverseComponentProps`, `WeaverseComponentLoaderArgs` and `WeaverseComponentSchema`; the root `@weaverse/hydrogen` entry only exports `createSchema()`, data helpers and types.
> `@weaverse/hydrogen` 5.x (Hydrogen 2026.4 and earlier) imports everything from `@weaverse/hydrogen` and uses `HydrogenComponentProps`, `ComponentLoaderArgs` and `HydrogenComponentSchema`. On a 5.x project, convert samples to these names. Upgrade to 6 only when asked (`npx @weaverse/cli@latest migrate v6`, plus the Hydrogen 2026.10 upgrade). Do not mix major versions.
> Next.js themes use `@weaverse/hydrogen` 6.2.0 or later: import client and shared code from `@weaverse/hydrogen/next` and server-only code from `@weaverse/hydrogen/next/server`. `@weaverse/next` is deprecated; never install or import it.
> For live project data (pages, theme settings, translations), use the Weaverse MCP server: https://weaverse.io/docs/developer-tools/weaverse-mcp

# API Access

> Overview of Weaverse's two APIs — Content API for page data and Admin API Proxy for Shopify GraphQL

# API Access

Weaverse provides two APIs for accessing your store and content data from external applications:

| API | Type | Purpose |
| - | - | - |
| [Content API](https://weaverse.io/docs/content-api/overview.md) | REST (read + write) | Pages, theme settings, translations, languages, project metadata |
| [Admin API Proxy](https://weaverse.io/docs/features/admin-api-proxy.md) | Shopify GraphQL passthrough | Products, orders, metaobjects, themes |

## Authentication

Both APIs share the same **token system**. Generate tokens from **Dashboard → Settings** in the Weaverse Studio.

Pass your token via the `Authorization` header:

```bash theme={null}
Authorization: Bearer YOUR_API_KEY
```

Each token is scoped to a single Weaverse shop. The Admin API Proxy additionally supports **scope management** to control which Shopify resources the token can access.

## Content API

The Content API is a REST API for reading and updating Weaverse-managed content:

* **Pages** — retrieve page content and section data
* **Theme settings** — read global theme configuration
* **Languages** — list available translations
* **Projects** — enumerate projects for the shop

**Base URL:**

```
https://studio.weaverse.io/api/v1/content
```

See the [Content API documentation](https://weaverse.io/docs/content-api/overview.md) for endpoints, response formats, and query parameters.

## Admin API Proxy

The Admin API Proxy forwards Shopify Admin GraphQL queries through Weaverse, so you don't need to manage Shopify credentials directly:

* **Products & collections** — query catalog data
* **Metaobjects** — read custom data structures
* **Themes & files** — access theme assets and uploaded files
* **Orders & customers** — available with optional scopes

**Endpoint:**

```
POST https://studio.weaverse.io/api/admin-graphql
```

See the [Admin API Proxy documentation](https://weaverse.io/docs/features/admin-api-proxy.md) for request format, scopes, rate limits, and examples.

## Best Practices

* **One token per integration** — if a token is compromised, revoke it without disrupting other integrations
* **Use descriptive names** — label tokens by integration (e.g., "Mobile App - Production", "CMS Sync") for easy identification
* **Monitor `lastAccess`** — review token activity in Dashboard → Settings to detect stale or unauthorized usage
* **Principle of least privilege** — for Admin API Proxy, only enable the scopes your integration actually needs
* **Keep tokens server-side** — never embed API tokens in client-side JavaScript or mobile app bundles


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.