Metabind exposes content through three query surfaces. Each suits a different consumer; all return the same content model.Documentation Index
Fetch the complete documentation index at: https://docs.metabind.ai/llms.txt
Use this file to discover all available pages before exploring further.
| API | Best for |
|---|---|
| REST | Server-to-server, bulk operations, simple integrations |
| GraphQL | Web and mobile clients needing flexible joins and shape selection |
| Mobile SDKs (iOS, Android) | Native apps with offline caching, BindJS rendering |
REST
Endpoint shape:- Backend services pulling content for SSR.
- Cron jobs syncing content to other systems.
- Bulk operations (import/migrate/archive).
GraphQL
Endpoint:- Web apps that need to fetch only the fields they render.
- Mobile apps that want to batch related queries.
- Any client where reducing roundtrips matters.
iOS SDK
bindjs-apple for native rendering.
Android SDK
Choosing draft or production
Each query surface accepts a?preview=true flag (REST) or a preview argument (GraphQL) to query draft content instead of published:
Caching
Caching is on by default at the CDN edge for published content. Cache keys include the project, content type, query parameters, and locale. Invalidation:- Automatic. Publishing or unpublishing an entry invalidates that entry’s cached responses within seconds.
- Webhook-driven. Custom invalidation triggers from your own systems (rare).
Pagination
Two patterns:- Offset/limit.
?limit=10&offset=20— easy, fine for small collections. - Cursor.
?after=<cursor>&limit=10— recommended for large collections; stable under additions.
Connection types. The SDKs paginate automatically when you iterate over results.
Filtering
REST supports filter parameters per content type. GraphQL exposes typed filter inputs:Resolved content
Content with references can be returned resolved — references inlined to one or more levels of depth. Avoids round trips for client rendering:/content/resolved endpoint with similar behavior.
When to use which
A few rules of thumb:- Native mobile app? Use the iOS/Android SDK. They handle caching, offline, and pair cleanly with BindJS.
- Web app? Use GraphQL. Flexible queries, single-request data fetching, subscriptions for live updates.
- Backend service? REST. Simple, well-cached, works with any HTTP client.
- MCP App? Use a Data Tool that calls REST or GraphQL. The Data Tool pattern abstracts content fetching behind an AI-callable surface.
Related
REST API
Full REST reference.
GraphQL API
Schema, queries, subscriptions.
Mobile SDKs
iOS and Android client libraries.
AI content creation
AI-driven content workflows.